/* ==========================================================================
   AiStep Landing Page — Main Stylesheet
   Premium dark-themed landing page for an AI education company
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    /* Backgrounds */
    --bg-primary:   #0A0A0A;
    --bg-secondary: #111111;
    --bg-tertiary:  #1A1A1A;
    --bg-surface:   #141414;

    /* Accent */
    --accent:        #00C853;
    --accent-hover:  #00E676;
    --accent-glow:   rgba(0, 200, 83, 0.15);
    --accent-subtle: rgba(0, 200, 83, 0.08);

    /* Text */
    --text-primary:   #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted:     #666666;

    /* Borders */
    --border:       rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 200, 83, 0.3);

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

    /* Layout */
    --container-width:   1200px;
    --container-padding: 1.5rem;
    --section-padding:   8rem 0;

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}


/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    /* Offset anchor targets so fixed header doesn't overlap content */
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* Text selection */
::selection {
    background-color: var(--accent);
    color: #000000;
}

::-moz-selection {
    background-color: var(--accent);
    color: #000000;
}

/* Visually hidden — accessible to screen readers only */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus-visible for keyboard accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}


/* ==========================================================================
   3. Container
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}


/* ==========================================================================
   4. Typography
   ========================================================================== */

.text-accent {
    color: var(--accent);
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.0625rem;
    font-weight: 600;
}

p {
    line-height: 1.7;
}


/* ==========================================================================
   5. Header (.site-header)
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background-color: transparent;
    transition:
        background-color var(--transition-base),
        backdrop-filter var(--transition-base),
        border-color var(--transition-base),
        padding var(--transition-base);
}

/* Scrolled state — frosted glass effect */
.site-header.scrolled {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

/* Header container layout (uses .container from §3) */
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-ai {
    color: #ffffff;
}

.logo-step {
    color: var(--accent);
}

/* --- Primary Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link.active {
    color: var(--accent);
}

/* --- Header CTA Button --- */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    background-color: var(--accent);
    color: #000000;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast);
    flex-shrink: 0;
}

.header-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

/* --- Burger Menu (mobile only — hidden on desktop) --- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition:
        transform var(--transition-base),
        opacity var(--transition-fast);
    transform-origin: center;
}


/* ==========================================================================
   6. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

/* Primary button */
.btn-primary {
    background-color: var(--accent);
    color: #000000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 40px rgba(0, 200, 83, 0.3);
    transform: translateY(-2px);
}

/* Outline button */
.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Large variant */
.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}


/* ==========================================================================
   7. Hero (.hero)
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* account for fixed header */
}

/* Decorative background glow */
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 200, 83, 0.12) 0%,
        rgba(0, 200, 83, 0.04) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

/* Small label above the title */
.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Green dot before label text */
.hero-label::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}


/* ==========================================================================
   8. Section — Common
   ========================================================================== */

.section {
    padding: var(--section-padding);
    position: relative;
}

/* Section label row (number + text descriptor) */
.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-number {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.15em;
    padding: 0.4rem 0.8rem;
    background-color: var(--accent-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 200, 83, 0.15);
    white-space: nowrap;
}

.section-number-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.section-subtitle,
.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

.section-desc + .section-desc {
    margin-top: 1rem;
}

.section-desc.centered,
.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 3rem;
}


/* ==========================================================================
   9. About (.about)
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-left .section-number {
    margin-bottom: 1rem;
}

.about-right,
.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    cursor: pointer;
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

.value-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.value-card-icon,
.value-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card-body {
    flex: 1;
}

.value-card-title,
.value-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.value-card-text,
.value-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}


/* ==========================================================================
   10. Stats (.stats)
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

/* Vertical divider between stats */
.stat-card + .stat-card {
    border-left: 1px solid var(--border);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent);
    display: inline;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}


/* ==========================================================================
   11. Founder (.founder)
   ========================================================================== */

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.founder-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Decorative glow behind the photo */
.founder-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 200, 83, 0.18) 0%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
}

.founder-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    display: block;
}

/* Placeholder shown when no photo is provided */
.founder-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    font-size: 0.9375rem;
}

.founder-name {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.founder-name .text-accent {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.founder-info .section-number {
    margin-bottom: 1rem;
}

.founder-bio {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.founder-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.founder-highlight-item,
.founder-highlights li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.founder-highlight-item:first-child,
.founder-highlights li:first-child {
    border-top: 1px solid var(--border);
}

.highlight-icon {
    color: var(--accent);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}


/* ==========================================================================
   12. Services (.services)
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition:
        border-color var(--transition-base),
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.service-card {
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 200, 83, 0.08);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Large decorative background number */
.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: var(--accent-hover);
}

.service-link:hover .arrow {
    transform: translateX(4px);
}

.arrow {
    display: inline-block;
    transition: transform var(--transition-fast);
}


/* ==========================================================================
   13. FAQ (.faq)
   ========================================================================== */

.faq-list {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 500;
    font-family: inherit;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

/* Rotate the plus/cross icon when item is open */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ==========================================================================
   14. CTA (.cta)
   ========================================================================== */

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, #111111, #0D1A0F);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Decorative radial glow inside the CTA box */
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 200, 83, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.cta-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ==========================================================================
   15. Footer (.site-footer)
   ========================================================================== */

.site-footer {
    background-color: var(--bg-secondary);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-heading {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-nav ul,
.footer-contacts ul {
    display: flex;
    flex-direction: column;
}

.footer-nav li,
.footer-contacts li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-contacts a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-contacts a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}


/* ==========================================================================
   16. Scroll Animations
   ========================================================================== */

[data-animate] {
    opacity: 0;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

/* JS adds this class when element enters the viewport */
[data-animate].animate-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* ==========================================================================
   17. Responsive — Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 5rem 0;
    }

    /* Collapse about to single column */
    .about-grid {
        grid-template-columns: 1fr;
    }

    /* Collapse founder to single column */
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Services: 2 columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats: 2 columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Remove left border from first stat in each row (columns 1, 3 …) */
    .stats-grid .stat-card:nth-child(2n+1) {
        border-left: none;
    }

    /* Footer: 2 columns */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ==========================================================================
   18. Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    /* --- Mobile Navigation — fullscreen slide-in overlay --- */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right var(--transition-base);
        z-index: 1050;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    /* --- Show burger button on mobile --- */
    .burger {
        display: flex;
    }

    /* Active (X) state */
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hide the header CTA button on mobile */
    .header-cta {
        display: none;
    }

    /* --- Layout adjustments --- */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Smaller container padding on mobile */
    :root {
        --container-padding: 1rem;
    }

    /* Allow hero title to wrap on mobile */
    .hero-title {
        white-space: normal;
    }

    /* CTA box padding */
    .cta-box {
        padding: 3rem 1.5rem;
    }

    /* Founder image max width on mobile */
    .founder-image-wrap {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ==========================================================================
   19. Responsive — Small screens (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    /* Stats: single column */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Replace left border with top border for stacked stats */
    .stat-card + .stat-card {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    /* Hero action buttons: full width */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* ==========================================================================
   20. Reduced Motion — Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}
