/* ==========================================================================
   GIGTIME — GLOBAL STYLESHEET
   Consolidated CSS for gigtime.app public site
   ========================================================================== */


/* ==========================================================================
   1. CSS VARIABLES (Brand Style Guide)
   ========================================================================== */

:root {
    /* Primary */
    --teal: #2CB67D;
    --teal-dark: #1A9A6A;
    --teal-light: rgba(44, 182, 125, 0.1);
    --navy: #1E3A5F;
    --mid-blue: #2E6B8A;

    /* Gradient */
    --gradient: linear-gradient(135deg, #2CB67D 0%, #1E3A5F 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(44,182,125,0.08) 0%, rgba(30,58,95,0.08) 100%);

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray: #64748B;
    --dark-gray: #334155;
    --dark-bg: #0F172A;
    --black: #1E1E1E;

    /* Borders */
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-pad: 96px;
    --container: 1140px;

    /* Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12), 0 10px 15px rgba(0,0,0,0.06);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    line-height: 1.25;
    font-weight: 600;
}
h1 { font-size: 3rem; font-weight: 700; line-height: 1.15; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}


/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gray { color: var(--gray); }
.text-navy { color: var(--navy); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.badge-teal {
    background: var(--teal-light);
    color: var(--teal);
}
.badge-navy {
    background: rgba(30,58,95,0.08);
    color: var(--navy);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
    margin-bottom: 16px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    line-height: 1.7;
}
.text-center .section-subtitle,
.features-header .section-subtitle,
.pricing-header .section-subtitle,
.faq-header .section-subtitle {
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--gray);
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { width: 14px; height: 14px; }


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 182, 125, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 12px 26px;
}
.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}
.btn-white:hover {
    background: var(--off-white);
    color: var(--navy);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--teal);
    padding: 14px 16px;
}
.btn-ghost:hover {
    background: var(--teal-light);
    color: var(--teal-dark);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


/* ==========================================================================
   5. HEADER / NAV
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s;
}
.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}
.logo:hover { color: var(--navy); }

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}
.logo-icon svg { width: 20px; height: 20px; }

.logo-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-gray);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav a:hover {
    color: var(--teal);
    background: var(--teal-light);
}
.nav a.active-nav { color: var(--teal); }

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--navy);
}
.mobile-toggle svg { width: 24px; height: 24px; }

/* Mobile Nav */
@media (max-width: 768px) {
    .nav, .header-cta .btn-secondary { display: none; }
    .mobile-toggle { display: flex; }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        box-shadow: var(--shadow-lg);
    }
    .nav.open a {
        padding: 12px 16px;
        width: 100%;
    }
}


/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */

.hero {
    padding: 140px 0 var(--section-pad);
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44,182,125,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -50px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,58,95,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 540px; }

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1875rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 700;
}
.hero-stat span {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-visual {
    position: relative;
}

.hero-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 24px;
    border: 1px solid var(--border-light);
    position: relative;
}

/* Placeholder app mockup */
.mockup-placeholder {
    background: var(--gradient-subtle);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    color: var(--gray);
    font-size: 0.875rem;
}
.mockup-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.4;
}

.hero-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 14px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 6s ease-in-out infinite;
}
.hero-float.f1 { top: -16px; right: -16px; animation-delay: 0s; }
.hero-float.f2 { bottom: 40px; left: -24px; animation-delay: 2s; }

.hero-float .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-green { background: var(--teal); }
.dot-blue { background: var(--mid-blue); }

.launch-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: rgba(44,182,125,0.08);
    border: 1px solid rgba(44,182,125,0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 24px;
}
.launch-banner .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 64px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero h1 { font-size: 2.25rem; }
    .hero-stats { gap: 24px; }
    .hero-visual { order: -1; }
}


/* ==========================================================================
   7. FEATURES SECTION
   ========================================================================== */

.features {
    padding: var(--section-pad) 0;
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}
.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.fi-teal { background: var(--teal-light); color: var(--teal); }
.fi-navy { background: rgba(30,58,95,0.08); color: var(--navy); }
.fi-blue { background: rgba(46,107,138,0.1); color: var(--mid-blue); }

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.6;
}

.feature-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 16px;
}
.tag-live { background: rgba(44,182,125,0.1); color: var(--teal); }
.tag-soon { background: rgba(30,58,95,0.06); color: var(--gray); }

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   8. HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--off-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 56px;
}

.step {
    text-align: center;
    position: relative;
}
.step::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -24px;
    width: 48px;
    height: 2px;
    background: var(--border);
}
.step:last-child::after { display: none; }

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p { font-size: 0.9375rem; color: var(--gray); line-height: 1.6; }

@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .step::after { display: none; }
}


/* ==========================================================================
   9. PRICING SECTION
   ========================================================================== */

.pricing {
    padding: var(--section-pad) 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.pricing-toggle span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.2s;
}
.pricing-toggle span.active { color: var(--navy); font-weight: 600; }

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--teal);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch.annual::after { transform: translateX(24px); }

.save-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(44,182,125,0.1);
    color: var(--teal);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg);
}

.pricing-card .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.pricing-card .plan-desc {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.price {
    margin-bottom: 32px;
}
.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    vertical-align: super;
    color: var(--gray);
}
.price .period {
    font-size: 0.9375rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--dark-gray);
}
.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.check-teal { color: var(--teal); }
.check-gray { color: var(--gray); opacity: 0.4; }

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

.trial-note { text-align: center; margin-top: 24px; font-size: 0.875rem; color: var(--gray); }
.trial-note strong { color: var(--teal); }

@media (max-width: 600px) {
    .pricing-cards { grid-template-columns: 1fr; }
}


/* ==========================================================================
   10. DOWNLOAD / PLATFORMS SECTION
   ========================================================================== */

.download {
    padding: var(--section-pad) 0;
    background: var(--dark-bg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(44,182,125,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(30,58,95,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.download .container { position: relative; z-index: 1; }

.download h2 { color: var(--white); }
.download .section-subtitle { color: rgba(255,255,255,0.6); }

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 40px auto 32px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 4px;
    max-width: 640px;
}

.platform-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}
.platform-tab svg { width: 16px; height: 16px; }
.platform-tab:hover { color: rgba(255,255,255,0.8); }
.platform-tab.active {
    background: var(--teal);
    color: var(--white);
}

.platform-content {
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.platform-content p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
}

.platform-content .btn-white { margin-top: 8px; }

.coming-soon-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.5);
    font-size: 0.9375rem;
    font-weight: 500;
}
.coming-soon-label svg { width: 18px; height: 18px; }

.detected-platform {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    margin-top: 24px;
}


/* ==========================================================================
   11. FAQ SECTION
   ========================================================================== */

/* --- Homepage inline FAQ --- */
.faq {
    padding: var(--section-pad) 0;
    background: var(--off-white);
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    background: var(--white);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-item:hover {
    box-shadow: var(--shadow-sm);
}
.faq-item.open {
    border-color: rgba(44,182,125,0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
    gap: 16px;
}
.faq-question:hover { color: var(--teal); }

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--gray);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--teal); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
}
.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.7;
}
.faq-answer-inner strong { color: var(--navy); }
.faq-answer-inner a { color: var(--teal); }

/* --- Full FAQ page --- */
.page-header {
    padding: 140px 0 56px;
    background: var(--off-white);
    text-align: center;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.faq-page { padding: 64px 0 96px; }
.faq-category { margin-bottom: 48px; }
.faq-category h2 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.faq-cta {
    text-align: center;
    margin-top: 56px;
    padding: 48px;
    background: var(--off-white);
    border-radius: var(--radius-xl);
}
.faq-cta h3 { margin-bottom: 8px; }
.faq-cta p { color: var(--gray); margin-bottom: 24px; }

/* FAQ section variant (used on compare subpages) */
.faq-section { padding: 80px 0; background: var(--off-white); }
.faq-section h2 { text-align: center; margin-bottom: 40px; }


/* ==========================================================================
   12. CONTACT / CTA SECTION
   ========================================================================== */

.cta {
    padding: var(--section-pad) 0;
}

.cta-box {
    background: var(--gradient);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.cta-box h2 { color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.cta-box .btn-group {
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* CTA section variant (used on compare subpages) */
.cta-section { padding: 80px 0; }
.cta-section .cta-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 40px;
    color: var(--white);
}
.cta-section .cta-box h2 { color: var(--white); margin-bottom: 12px; }
.cta-section .cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.0625rem; }
.cta-section .cta-box .btn-primary { background: var(--white); color: var(--navy); }
.cta-section .cta-box .btn-primary:hover { background: var(--off-white); color: var(--navy); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.cta-box .cta-note { font-size: 0.8125rem; color: rgba(255,255,255,0.6); margin-top: 12px; }

@media (max-width: 768px) {
    .cta-box { padding: 40px 24px; }
}

/* Contact section */
.contact {
    padding: var(--section-pad) 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 16px;
}
.contact-info p {
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
}
.contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-method-icon svg { width: 20px; height: 20px; }
.contact-method strong {
    display: block;
    font-size: 0.875rem;
    color: var(--navy);
}
.contact-method span {
    font-size: 0.875rem;
    color: var(--gray);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--dark-gray);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(44,182,125,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}


/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}
.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}
.footer-brand .logo-icon {
    background: rgba(44,182,125,0.2);
}
.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    padding: 5px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8125rem;
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--teal); }

/* Subpage simplified footer */
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer a { color: rgba(255,255,255,0.5); }
.footer a:hover { color: var(--teal); }
.footer-links { display: flex; gap: 24px; font-size: 0.8125rem; }
.footer-copy { font-size: 0.8125rem; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}


/* ==========================================================================
   14. ANIMATIONS
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger .fade-in:nth-child(1) { transition-delay: 0.05s; }
.stagger .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger .fade-in:nth-child(3) { transition-delay: 0.15s; }
.stagger .fade-in:nth-child(4) { transition-delay: 0.2s; }
.stagger .fade-in:nth-child(5) { transition-delay: 0.25s; }
.stagger .fade-in:nth-child(6) { transition-delay: 0.3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(44,182,125,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(44,182,125,0); }
}


/* ==========================================================================
   15. NEWSLETTER SIGNUP
   ========================================================================== */

.signup-inline {
    display: flex;
    gap: 8px;
    max-width: 440px;
    margin-top: 24px;
}
.signup-inline input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: var(--font);
    background: var(--white);
    transition: border-color 0.2s;
}
.signup-inline input[type="email"]:focus { outline: none; border-color: var(--teal); }
.signup-inline .btn { white-space: nowrap; flex-shrink: 0; }
.signup-hint { font-size: 0.8125rem; color: var(--gray); margin-top: 8px; }

.cta-box .signup-inline { margin: 24px auto 0; max-width: 460px; }
.cta-box .signup-inline input[type="email"] {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.cta-box .signup-inline input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.cta-box .signup-inline input[type="email"]:focus {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
}
.cta-box .signup-hint { color: rgba(255,255,255,0.5); text-align: center; }

@media (max-width: 480px) {
    .signup-inline { flex-direction: column; }
    .signup-inline .btn { width: 100%; justify-content: center; }
}


/* ==========================================================================
   16. APP SHOWCASE (Mobile Screenshots)
   ========================================================================== */

.app-showcase { padding: 80px 0; background: var(--off-white); }
.app-showcase .features-header { margin-bottom: 48px; }

.showcase-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1060px;
    margin: 0 auto;
}
.showcase-item {
    text-align: center;
    flex: 0 0 auto;
}
.showcase-item img {
    width: 180px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
}
.showcase-item img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.showcase-item p {
    margin-top: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
}

@media (max-width: 768px) {
    .showcase-grid { gap: 20px; }
    .showcase-item img { width: 140px; }
}
@media (max-width: 480px) {
    .showcase-grid { gap: 16px; }
    .showcase-item img { width: 120px; }
}


/* ==========================================================================
   17. SUBPAGE-SPECIFIC STYLES
   ========================================================================== */

/* --- Subpage Hero --- */
.subpage-hero {
    padding: 140px 0 64px;
    background: var(--off-white);
    text-align: center;
}
.subpage-hero h1 { margin-bottom: 16px; }
.subpage-hero .section-subtitle { margin: 0 auto; }

@media (max-width: 768px) {
    .subpage-hero { padding: 120px 0 48px; }
    .subpage-hero h1 { font-size: 2rem; }
}

/* --- Compare Pages --- */
.compare-hero {
    padding: 140px 0 64px;
    background: var(--off-white);
    text-align: center;
}
.compare-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.compare-hero h1 {
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.compare-hero .subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Competitor Cards Grid */
.compare-section { padding: 80px 0; }
.compare-section h2 { text-align: center; margin-bottom: 40px; }

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.compare-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.3s, transform 0.3s;
}
.compare-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.compare-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.compare-card p { font-size: 0.9375rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.compare-card .price-compare {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    padding: 10px 14px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
}
.compare-card .price-compare strong { color: var(--teal); }
.compare-card .card-link {
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.compare-card .card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.compare-card:hover .card-link svg { transform: translateX(3px); }

@media (max-width: 600px) {
    .compare-grid { grid-template-columns: 1fr; }
}

/* Comparison Table */
.table-section { padding: 80px 0; background: var(--off-white); }
.table-section h2 { text-align: center; margin-bottom: 40px; }

.compare-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.compare-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    border-bottom: 2px solid var(--border);
}
.compare-table thead th:first-child { width: 30%; }
.compare-table thead th.highlight {
    color: var(--teal);
    background: var(--teal-light);
    border-radius: var(--radius) var(--radius) 0 0;
}
.compare-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
}
.compare-table tbody td.highlight { background: var(--teal-light); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--teal); font-weight: 700; font-size: 1.125rem; }
.compare-table .cross { color: #EF4444; font-weight: 700; font-size: 1.125rem; }
.compare-table .muted { color: var(--gray); font-size: 0.8125rem; }

.table-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray);
    margin-top: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .compare-table thead th,
    .compare-table tbody td { padding: 10px 8px; font-size: 0.75rem; }
    .compare-table thead th { letter-spacing: 0; }
}

/* Advantage Cards (AND.CO compare page) */
.advantage-section { padding: 80px 0; background: var(--off-white); }
.advantage-section h2 { text-align: center; margin-bottom: 40px; }

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.advantage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.advantage-card .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
}
.advantage-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.advantage-card p { font-size: 0.9375rem; color: var(--gray); line-height: 1.6; }

@media (max-width: 768px) {
    .advantage-grid { grid-template-columns: 1fr; }
}

/* Import Callout (AND.CO compare page) */
.import-callout { padding: 80px 0; }

.import-callout-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--teal);
    border-radius: var(--radius-xl);
}
.import-callout-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.import-callout-text h3 { margin-bottom: 8px; }
.import-callout-text p { color: var(--gray); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 16px; }

@media (max-width: 600px) {
    .import-callout-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* --- Legal Pages (Privacy Policy, Terms of Service) --- */
.legal-content { padding: 64px 0 96px; }

.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body p {
    margin-bottom: 16px;
    font-size: 0.9375rem;
    color: var(--dark-gray);
    line-height: 1.8;
}
.legal-body ul {
    margin: 0 0 16px 24px;
    font-size: 0.9375rem;
    color: var(--dark-gray);
    line-height: 1.8;
}
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--navy); }
.legal-body h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; }
.legal-body h3 { font-size: 1.125rem; margin-top: 24px; margin-bottom: 8px; }

.legal-meta {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
}

.highlight-box {
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: var(--radius);
    background: rgba(44,182,125,0.08);
    border: 1px solid rgba(44,182,125,0.25);
    font-weight: 600;
    color: var(--navy);
}

.provider-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.provider-table th {
    background: var(--off-white);
    text-align: left;
    padding: 10px 14px;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
}
.provider-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    color: var(--dark-gray);
}
.provider-table tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
    .provider-table { font-size: 0.8125rem; }
    .provider-table th,
    .provider-table td { padding: 8px 10px; }
}

/* --- Delete Account Page --- */
.content {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}
.content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 40px;
    margin-bottom: 16px;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 8px;
}
.content p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.content ul, .content ol {
    margin-left: 24px;
    margin-bottom: 16px;
}
.content li {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 6px;
}

/* Delete account steps box */
.delete-steps {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 24px 0;
}
.delete-steps ol {
    margin-left: 24px;
    margin-bottom: 0;
}
.delete-steps li {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 8px;
}
.delete-steps li:last-child { margin-bottom: 0; }
.delete-steps li strong { color: var(--navy); }

/* Highlight box (delete account) */
.highlight {
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 24px 0;
}
.highlight p {
    font-size: 0.9375rem;
    margin-bottom: 0;
    color: var(--dark-gray);
}

/* Warning box (delete account) */
.warning {
    background: rgba(239, 68, 68, 0.06);
    border-left: 3px solid #EF4444;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 24px 0;
}
.warning p {
    font-size: 0.9375rem;
    margin-bottom: 0;
    color: var(--dark-gray);
}
.warning strong { color: #DC2626; }

/* Delete account CTA */
.content .cta-section {
    margin-top: 56px;
    padding: 48px;
    background: var(--off-white);
    border-radius: var(--radius-xl);
    text-align: center;
}
.content .cta-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    margin-top: 0;
}
.content .cta-section p {
    color: var(--gray);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .page-header { padding: 120px 0 48px; }
    .page-header h1 { font-size: 1.75rem; }
    .page-header p { font-size: 1rem; }
    .content { padding: 40px 20px 64px; }
    .content h2 { font-size: 1.25rem; margin-top: 32px; }
    .delete-steps { padding: 24px; }
    .content .cta-section { padding: 32px 24px; }
}


/* ==========================================================================
   18. BLOG STYLES
   ========================================================================== */

/* Blog listing */
.blog-listing { padding: 64px 0 var(--section-pad); }

.blog-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* Sidebar (desktop) */
.blog-sidebar {
    flex: 0 0 200px;
    position: sticky;
    top: 96px;
}
.blog-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.blog-category-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    text-decoration: none;
}
.blog-category-link:hover { color: var(--navy); background: var(--off-white); }
.blog-category-link.active {
    color: var(--navy);
    font-weight: 600;
    background: var(--off-white);
}

/* Category pills (mobile) */
.blog-category-pills {
    display: none;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.blog-pill {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s;
}
.blog-pill:hover { border-color: var(--teal); color: var(--teal); }
.blog-pill.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

/* Posts list */
.blog-posts { flex: 1; min-width: 0; }

a.blog-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    background: var(--white);
}
a.blog-card:last-child { margin-bottom: 0; }
a.blog-card:hover {
    color: inherit;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: transparent;
}
a.blog-card:hover h3 { color: var(--teal); }

.blog-card-body { }

.blog-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--teal-light);
    color: var(--teal);
    margin-bottom: 8px;
}

.blog-card h3 { font-size: 1.375rem; margin-bottom: 8px; line-height: 1.3; color: var(--navy); transition: color 0.2s; }

.blog-card-excerpt {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.blog-card-footer time {
    font-size: 0.8125rem;
    color: var(--gray);
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
}
.read-more:hover { color: var(--teal-dark); }

.blog-empty {
    text-align: center;
    padding: 64px 0;
    color: var(--gray);
}

/* Blog post page */
.blog-post-header {
    padding: 140px 0 48px;
    max-width: 720px;
    margin: 0 auto;
}
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 24px;
}
.blog-back-link:hover { color: var(--teal-dark); }

.blog-post-meta {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog-post-tag {
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--teal-light);
    color: var(--teal);
}
.blog-post-header h1 { font-size: 2.5rem; margin-bottom: 16px; }
.blog-post-lead { font-size: 1.125rem; color: var(--gray); line-height: 1.7; }

.blog-post-content { max-width: 720px; margin: 0 auto; }
.blog-post-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.blog-post-content h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.blog-post-content p { margin-bottom: 16px; line-height: 1.7; }
.blog-post-content ul, .blog-post-content ol { margin: 16px 0; padding-left: 24px; }
.blog-post-content li { margin-bottom: 8px; line-height: 1.6; }
.blog-post-content strong { color: var(--navy); }

.blog-post-nav {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 32px 0 0;
    border-top: 1px solid var(--border);
}
.blog-post-nav a { font-weight: 600; }

@media (max-width: 768px) {
    .blog-sidebar { display: none; }
    .blog-category-pills { display: flex; }
    .blog-layout { gap: 0; }
    .blog-post-header { padding: 120px 24px 32px; }
    .blog-post-header h1 { font-size: 1.75rem; }
    .blog-post-content { padding: 0 24px; }
    .blog-post-nav { padding: 32px 24px 0; }
}


/* ==========================================================================
   19. LANGUAGE SWITCHER
   ========================================================================== */

.lang-switcher { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s;
}
.lang-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 140px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow: hidden;
}
.lang-dropdown.open { display: block; }

.lang-option {
    display: block;
    padding: 8px 16px;
    font-size: 0.875rem;
    color: var(--dark-gray);
    transition: all 0.2s;
}
.lang-option:hover {
    background: var(--teal-light);
    color: var(--teal);
}
.lang-option.active {
    font-weight: 600;
    color: var(--teal);
}


/* ==========================================================================
   20. LANGUAGE DETECTION BANNER
   ========================================================================== */

.lang-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    font-size: 0.875rem;
}
.lang-banner a {
    font-weight: 600;
    color: var(--teal);
}
.lang-banner-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0 0 0 8px;
}


/* ==========================================================================
   21. RESPONSIVE — GLOBAL MOBILE OVERRIDES
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.375rem; }
}
