/* ========================================
   ESNEK.NET — Page-Specific Styles
   ======================================== */

/* Page Header (inner pages) */
.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 4rem 5% 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 102, 255, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.0625rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ========================================
   PRICING
   ======================================== */
.pricing-section {
    padding: 4rem 5%;
    background: var(--surface);
}

.billing-toggle {
    text-align: center;
    margin-bottom: 3rem;
}

.toggle-container {
    display: inline-flex;
    background: var(--surface-raised);
    border-radius: 50px;
    padding: 0.35rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.toggle-btn {
    padding: 0.7rem 1.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--font);
    transition: all var(--transition);
    color: var(--text);
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}

.discount-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-left: 0.4rem;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.12);
}

.featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--heading);
    letter-spacing: -0.01em;
}

.pricing-card .plan-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.15rem;
    letter-spacing: -0.02em;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: block;
}

.features-list {
    list-style: none;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.features-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.features-list li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li strong {
    color: var(--heading);
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

.info-section {
    padding: 4rem 5%;
    background: var(--bg-soft);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.info-card {
    background: var(--surface-raised);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.info-card h3 {
    color: var(--heading);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.info-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-section {
    padding: 4rem 5%;
    background: var(--surface);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info,
.contact-form-wrap,
.contact-form {
    background: var(--surface-raised);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-info h2,
.contact-form-wrap h2,
.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    color: var(--heading);
    letter-spacing: -0.02em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--heading);
    margin-bottom: 0.3rem;
    font-size: 0.9375rem;
    font-weight: 700;
}

.contact-details p {
    color: var(--text);
    margin-bottom: 0.2rem;
    font-size: 0.875rem;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--font);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.form-button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.form-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.support-hours {
    padding: 3rem 5%;
    background: var(--gradient-stats);
    color: var(--white);
    text-align: center;
}

.support-hours h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.support-hours p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 480px;
    margin: 0 auto;
}

.map-section {
    padding: 3rem 5% 4rem;
    background: var(--bg-soft);
    text-align: center;
}

.map-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* ========================================
   ABOUT
   ======================================== */
.about-content {
    padding: 4rem 5%;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-soft);
}

.about-section {
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.about-section h2 {
    color: var(--heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 0.875rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.value-card {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    color: var(--heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--text);
    margin-bottom: 0;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.875rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-stats);
    border-radius: var(--radius-md);
    color: var(--white);
}

.about-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.about-stat p {
    font-size: 0.8125rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.about-content .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.about-content .stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-stats);
    border-radius: var(--radius-md);
    color: var(--white);
}

.about-content .stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.about-content .stat-label {
    font-size: 0.8125rem;
    opacity: 0.8;
}

/* ========================================
   ARTICLE / CONTENT PAGES
   ======================================== */
.content {
    padding: 3rem 5% 4rem;
    background: var(--bg-soft);
    max-width: 820px;
    margin: 0 auto;
}

.article-hero {
    margin: -2rem auto 2rem;
    max-width: 820px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.content h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--heading);
    letter-spacing: -0.02em;
}

.content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--heading);
    font-size: 1.0625rem;
    font-weight: 700;
}

.content p {
    margin: 0.875rem 0;
    line-height: 1.85;
    color: var(--text);
    font-size: 1rem;
}

.content ul,
.content ol {
    margin: 0.875rem 0 0.875rem 1.5rem;
    line-height: 1.85;
    color: var(--text);
}

.content li {
    margin-bottom: 0.4rem;
}

.content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content a:hover {
    color: var(--primary-dark);
}

.note {
    background: rgba(91, 163, 255, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 1.5rem;
    border: 1px solid rgba(91, 163, 255, 0.2);
    border-left: 4px solid var(--primary);
}

.note p {
    margin: 0;
    color: var(--text);
    font-size: 0.9375rem;
}

/* ========================================
   PRIVACY POLICY
   ======================================== */
.legal-content {
    padding: 3rem 5% 4rem;
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-soft);
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
    line-height: 1.85;
    color: var(--text);
    font-size: 0.9375rem;
}

.legal-content ul {
    margin: 0.75rem 0 0.75rem 1.5rem;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrap {
        padding: 1.75rem;
    }

    .about-section {
        padding: 1.75rem;
    }

    .page-header {
        padding: 3rem 5% 2.5rem;
    }

    .map-container iframe {
        height: 280px;
    }
}
