/* AiEnglish Website Styles - Matching App Onboarding Aesthetic */

/* CSS Variables for App Colors */
:root {
    /* App blue (HSL-based so we can derive a consistent scale) */
    --app-blue-h: 202;
    --app-blue-s: 100%;
    --app-blue-l: 61%;
    --primary-blue: hsl(var(--app-blue-h), var(--app-blue-s), var(--app-blue-l));
    --primary-blue-light: hsl(var(--app-blue-h), calc(var(--app-blue-s) - 10%), calc(var(--app-blue-l) + 12%));
    --primary-blue-lighter: hsl(var(--app-blue-h), calc(var(--app-blue-s) - 20%), calc(var(--app-blue-l) + 20%));
    --primary-blue-dark: hsl(var(--app-blue-h), var(--app-blue-s), calc(var(--app-blue-l) - 12%));
    --orange-accent: #ff9500;
    --orange-light: #ffad33;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 16px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: relative;
    background: transparent;
    border-bottom: none;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-feature-settings: "ss01", "ss02";
    -webkit-font-feature-settings: "ss01", "ss02";
}

@media (min-width: 1025px) {
    .nav-logo .logo {
        width: 36px;
        height: 36px;
    }

    .nav-logo .logo-text {
        font-size: 22px;
    }
}

/* Mobile logo menu toggle */
.logo-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.logo-menu-toggle .logo {
    width: 28px;
    height: 28px;
}


.nav-links {
    display: flex;
    gap: 32px;
}

.nav-download {
    display: flex;
    align-items: center;
}

/* Compact padding for the header download button only */
.nav-download .btn {
    padding: 10px 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.01em;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-link:hover {
    color: var(--primary-blue);
}


.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding: 40px 0 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: hsla(var(--app-blue-h), var(--app-blue-s), var(--app-blue-l), 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid hsla(var(--app-blue-h), var(--app-blue-s), var(--app-blue-l), 0.2);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: hsla(var(--app-blue-h), var(--app-blue-s), var(--app-blue-l), 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid hsla(var(--app-blue-h), var(--app-blue-s), var(--app-blue-l), 0.2);
    transition: all 0.3s ease;
}

.nav-badge:hover {
    background: hsla(var(--app-blue-h), var(--app-blue-s), var(--app-blue-l), 0.15);
    color: var(--primary-blue);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-badge .btn-icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.6;
    max-width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #000000;
    color: var(--white);
    border: 2px solid #000000;
}

.btn-primary:hover {
    background: #333333;
    border-color: #333333;
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    max-width: 300px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 20px;
    background: transparent;
}


/* Screenshot Carousel */
.screenshot-carousel {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active:hover {
    background: var(--primary-blue-dark);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    border-top: 1px solid var(--gray-100);
}


.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title.section-title-small {
    font-size: 30px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* App Preview Section */
.app-preview {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.app-preview .section-header {
    margin-bottom: 80px;
}

.app-preview .section-title {
    color: var(--gray-900);
}

.app-preview .section-subtitle {
    color: var(--gray-600);
}

.app-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.gallery-phone {
    position: relative;
    max-width: 200px;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
    transition: none; /* Disable hover animation */
}

.gallery-phone:hover {
    transform: none; /* Disable hover animation */
}

.gallery-screenshot {
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: transparent;
}

/* Lightbox styles for click-to-enlarge */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: min(90vw, 700px);
    max-height: 90vh;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    color: var(--gray-800);
    box-shadow: var(--shadow-md);
}

.gallery-content {
    max-width: 220px;
}

.gallery-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.gallery-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Premium Section */
.premium {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.premium-content {
    display: grid;
    grid-template-columns: 1fr auto; /* text left, button right */
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.premium-text {
    text-align: left;
}

.premium-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subscription-mockup {
    position: relative;
    max-width: 300px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

.subscription-screenshot {
    width: 100%;
    height: auto;
    border-radius: 20px;
    background: transparent;
}

.premium-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.premium-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 600px;
}

.premium-features {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.premium-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    color: var(--gray-700);
}

.premium-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

.premium-cta {
    text-align: center;
}

.premium-cta-right {
    justify-self: end;  /* push button to the right on desktop */
    text-align: right;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo {
    width: 28px;
    height: 28px;
}

.footer-logo .logo-text {
    font-size: 18px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-description {
    font-size: 16px;
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.hamburger-menu span {
    width: 24px;
    height: 3px;
    background: var(--gray-600);
    border-radius: 2px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .desktop-logo {
        display: none;
    }
    
    .logo-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--gray-200);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 0;
        z-index: 1001;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links .nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
        text-align: left;
        color: var(--gray-900);
        font-weight: 500;
    }
    
    .nav-links .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-links .nav-link:hover {
        color: var(--primary-blue);
    }
    
    .nav-links .nav-link.active {
        color: var(--primary-blue);
        font-weight: 600;
    }
    
    .hero {
        /* Slightly more padding on tablet/mobile */
        padding-top: 28px;
        padding-bottom: 56px;
        align-items: flex-start;
    }
    
    .hero-content {
        gap: 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        max-width: 280px;
    }
    
    .screenshot-carousel {
        max-width: 320px;
    }
    
    .app-gallery {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-phone {
        max-width: 180px;
    }
    
    .gallery-content {
        max-width: 200px;
    }
    
    .premium-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .premium-text {
        text-align: center;
    }
    
    .subscription-mockup {
        max-width: 250px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        max-width: none;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features .container {
        padding: 0 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .premium {
        padding: 80px 0;
    }
    
    .premium .container {
        padding: 0 32px;
    }
    
    .premium-content {
        gap: 40px;
    }
    
    .premium-cta {
        display: flex;
        justify-content: center;
    }
    
    /* Ensure CTA wrapper itself is centered on mobile */
    .premium-cta-right {
        justify-self: center;
        text-align: center;
    }
    
    .footer .container {
        padding: 0 32px;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .premium-title {
        font-size: 28px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .premium {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .features .container,
    .premium .container,
    .footer .container {
        padding: 0 24px;
    }
    
    .hero {
        /* Slightly more padding on small phones */
        padding-top: 18px;
        padding-bottom: 36px;
        align-items: flex-start;
    }
    
    .hero-content {
        gap: 20px;
    }

    .hero-badge {
        /* Minimize space between badge and hero title on small phones */
        margin-bottom: 6px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .phone-mockup {
        max-width: 240px;
    }
    
    .screenshot-carousel {
        max-width: 260px;
    }
    
    .gallery-phone {
        max-width: 160px;
    }
    
    .gallery-content {
        max-width: 180px;
    }
    
    .subscription-mockup {
        max-width: 220px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .feature-card {
        padding: 30px 24px;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .premium {
        padding: 80px 0;
    }
}


/* Content Pages Styles */
.content-page {
    padding: 80px 0 80px;
    min-height: 100vh;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    text-align: center;
}

.content-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 60px;
    text-align: center;
    line-height: 1.6;
}

.content-body {
    background: var(--white);
    padding: 32px 48px 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    line-height: 1.8;
}

.content-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 40px 0 20px;
}

.content-body h2.faq-subtitle {
    font-size: 20px;
    margin: 32px 0 16px;
}

/* Reduce space before the very first section title in content pages */
.content-body h2:first-of-type {
    margin-top: 16px;
}

.content-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 30px 0 15px;
}

.content-body p {
    margin-bottom: 20px;
    color: var(--gray-700);
}

.content-body ul, .content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-body li {
    margin-bottom: 10px;
    color: var(--gray-700);
}

.content-body strong {
    color: var(--gray-900);
    font-weight: 600;
}

.content-body a {
    color: var(--primary-blue);
    text-decoration: none;
}

.content-body a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
}

.back-link:hover {
    color: var(--primary-blue-dark);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .content-body {
        padding: 40px 30px;
    }
    
    .content-title {
        font-size: 32px;
    }
    
    .content-subtitle {
        font-size: 18px;
    }
    
    .content-body h2 {
        font-size: 24px;
    }
    
    .content-body h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .content-body {
        padding: 30px 20px;
    }
    
    .content-title {
        font-size: 28px;
    }
    
    .content-subtitle {
        font-size: 16px;
    }
}

/* FAQ and Support Page Styles */
.faq-section {
    margin-bottom: 32px;
}

.faq-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-blue);
}

.faq-item {
    margin-bottom: 16px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 768px) {
    .faq-section h3 {
        font-size: 18px;
    }

    .faq-item {
        padding: 10px;
        margin-bottom: 14px;
    }

    .faq-item h4 {
        font-size: 14px;
    }

    .faq-item p {
        font-size: 13px;
    }
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.contact-method h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-method .btn {
    color: var(--white) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-all;
    padding: 10px 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-method .btn:hover {
    color: var(--white) !important;
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.response-time {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.response-time h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.response-time-list {
    display: grid;
    gap: 12px;
}

.response-time-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.response-time-label {
    font-weight: 600;
    color: var(--gray-900);
}

.response-time-value {
    color: var(--gray-600);
}

.additional-resources {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 30px 0;
}

.additional-resources h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.additional-resources-list {
    display: grid;
    gap: 12px;
}

.additional-resources-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.additional-resources-item a {
    font-weight: 600;
    text-decoration: none;
}

.additional-resources-item a:hover {
    text-decoration: underline;
}

.resource-desc {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.4;
}

/* Safety Page Styles */
.safety-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.safety-category {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--orange-accent);
}

.safety-category h4 {
    color: var(--gray-900);
    margin-bottom: 10px;
    font-size: 16px;
}

.safety-category p {
    color: var(--gray-600);
    font-size: 14px;
}

.safety-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.safety-level {
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.safety-level.safe {
    background: #f0f9ff;
    border: 2px solid #22c55e;
}

.safety-level.warning {
    background: #fffbeb;
    border: 2px solid #f59e0b;
}

.safety-level.blocked {
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.safety-level.critical {
    background: #fef2f2;
    border: 2px solid #dc2626;
}

.safety-level h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.safety-level p {
    font-size: 14px;
    color: var(--gray-600);
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.help-option {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.help-option h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.safety-commitment {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: 40px 0;
}

.safety-commitment h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.safety-commitment p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
}
