/* ===================================================
   PRAXILY — Main Stylesheet
   Brand: Midnight Green #193D45 | Olive #978C2C | Orange #F44A25
   Fonts: Roboto (headings) | Open Sans (body)
   =================================================== */

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #193D45;
    --midnight-dark: #0f2529;
    --olive: #978C2C;
    --olive-light: #b3a733;
    --gunmetal: #112222;
    --orange: #F44A25;
    --orange-dark: #d13d1f;
    --citron: #D9CF77;
    --bg-gray: #F0ECEC;
    --off-white: #E2E7E7;
    --white: #FFFFFF;
    --text-body: #2a3535;
    --text-muted: #5a6a6a;
    --border: #dde4e4;
    --shadow-sm: 0 1px 3px rgba(25,61,69,0.08), 0 1px 2px rgba(25,61,69,0.04);
    --shadow-md: 0 4px 16px rgba(25,61,69,0.10), 0 2px 4px rgba(25,61,69,0.06);
    --shadow-lg: 0 12px 40px rgba(25,61,69,0.14), 0 4px 12px rgba(25,61,69,0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --max-w: 1200px;
    --nav-h: 72px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--midnight);
}

p { line-height: 1.7; }

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul { list-style: none; }

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

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

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--orange);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244,74,37,0.35);
}

.btn-lg {
    font-size: 0.95rem;
    padding: 15px 36px;
}

.btn-full {
    width: 100%;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--midnight);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.btn-ghost:hover {
    color: var(--olive);
    background: rgba(25,61,69,0.05);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    transform: translateY(-1px);
}
.btn-outline-white.btn-lg {
    font-size: 0.95rem;
    padding: 15px 36px;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--midnight);
    color: var(--midnight);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline-dark:hover {
    background: var(--midnight);
    color: var(--white);
    transform: translateY(-1px);
}

/* ── Section Labels ── */
.section-label {
    display: inline-block;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--olive);
    background: rgba(151,140,44,0.10);
    border: 1px solid rgba(151,140,44,0.25);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-label-light {
    display: inline-block;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--citron);
    background: rgba(217,207,119,0.12);
    border: 1px solid rgba(217,207,119,0.25);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    color: var(--midnight);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-header-light {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header-light h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.section-header-light p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

/* ═══════════════════════════════════
   HEADER / NAV
═══════════════════════════════════ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
    transition: box-shadow var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 2px 20px rgba(25,61,69,0.10);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gunmetal);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
    color: var(--midnight);
    background: var(--bg-gray);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-cta {
    font-size: 0.85rem !important;
    padding: 10px 22px !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
#hero {
    position: relative;
    background: linear-gradient(160deg, #1f4b55 0%, var(--midnight) 45%, #0e2428 100%);
    overflow: hidden;
    padding: 100px 0 110px;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 500px at 68% 35%, rgba(151,140,44,0.20) 0%, transparent 65%),
        radial-gradient(ellipse 600px 500px at 8% 85%, rgba(244,74,37,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 700px 350px at 38% -10%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(0,0,0,0.28) 100%);
    pointer-events: none;
}

.hero-accent-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--olive) 0%, transparent 58%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.45;
}

.hero-accent-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 240px;
    height: 240px;
    background: linear-gradient(315deg, var(--olive) 0%, transparent 58%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.32;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--citron);
    background: rgba(217,207,119,0.12);
    border: 1px solid rgba(217,207,119,0.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

#hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.78);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════
   STATS BAR
═══════════════════════════════════ */
#stats {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 32px;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.stat-number {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--midnight);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* ═══════════════════════════════════
   PROBLEM / SOLUTION
═══════════════════════════════════ */
#problem {
    padding: 100px 0;
    background: var(--bg-gray);
}

.problem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.problem-text .section-label {
    display: block;
    text-align: left;
}

.problem-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.problem-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.problem-text .btn-primary {
    margin-top: 12px;
}

.problem-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stack-chaos {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.chaos-label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.chaos-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chaos-pill {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-gray);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 100px;
    text-decoration: line-through;
    opacity: 0.75;
}

.arrow-down {
    color: var(--olive);
    line-height: 1;
}

.solution-box {
    width: 100%;
    background: var(--midnight);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.solution-logo {
    height: 44px;
    width: auto;
}

.solution-box p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

/* ═══════════════════════════════════
   FEATURES
═══════════════════════════════════ */
#features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(25,61,69,0.15);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(25,61,69,0.07);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight);
    margin-bottom: 20px;
    transition: background var(--transition), color var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--midnight);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--midnight);
}

.feature-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.65;
}

.feature-bullets {
    border-top: 1px solid var(--off-white);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.feature-bullets li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: var(--olive);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ═══════════════════════════════════
   REPLACE YOUR STACK
═══════════════════════════════════ */
#replace {
    padding: 100px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

#replace::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151,140,44,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.replace-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 48px;
}

.replace-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    transition: background var(--transition), border-color var(--transition);
}

.replace-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(151,140,44,0.3);
}

.replace-old {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    text-decoration: line-through;
    flex: 1;
    text-align: right;
}

.replace-arrow {
    font-size: 1rem;
    color: var(--olive);
    font-weight: 700;
    flex-shrink: 0;
}

.replace-new {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    flex: 1;
}

.replace-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.replace-footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════
   MID CTA
═══════════════════════════════════ */
#mid-cta {
    padding: 100px 0;
    background: var(--midnight-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mid-cta-accent-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--olive) 0%, transparent 65%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.4;
}

.mid-cta-accent-br {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 160px;
    height: 160px;
    background: linear-gradient(315deg, var(--olive) 0%, transparent 65%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.3;
}

.mid-cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.mid-cta-content h2 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.mid-cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 40px;
    line-height: 1.7;
}

.mid-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════
   WHY PRAXILY
═══════════════════════════════════ */
#why {
    padding: 100px 0;
    background: var(--bg-gray);
}

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

.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 48px;
    height: 48px;
    background: rgba(151,140,44,0.10);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive);
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--midnight);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ═══════════════════════════════════
   CONTACT / FINAL CTA
═══════════════════════════════════ */
#contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-text .section-label {
    display: block;
    text-align: left;
}

.contact-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.contact-text > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
}

.contact-perks li svg {
    color: var(--olive);
    flex-shrink: 0;
}

.contact-card {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.contact-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

#contact-form-embed {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
#footer {
    background: var(--midnight-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
}

.footer-accent-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--olive) 0%, transparent 60%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.25;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav-group h4 {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

.footer-nav-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-group a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.62);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.footer-powered {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35) !important;
}

.footer-powered a {
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.footer-powered a:hover {
    color: var(--citron);
}

/* ═══════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
═══════════════════════════════════ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
═══════════════════════════════════ */
@media (max-width: 768px) {

    /* Nav */
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Hero */
    #hero {
        padding: 72px 0 80px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

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

    .stat-item {
        padding: 20px 16px;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .stat-divider {
        display: none;
    }

    /* Problem */
    .problem-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Features */
    #features {
        padding: 72px 0;
    }

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

    /* Replace */
    .replace-grid {
        grid-template-columns: 1fr;
    }

    .replace-old {
        text-align: left;
    }

    /* Mid CTA */
    .mid-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Why */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ═══════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 480px)
═══════════════════════════════════ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    #hero {
        padding: 60px 0 70px;
    }

    .hero-ctas .btn-outline-white,
    .hero-ctas .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .stat-item .stat-number {
        font-size: 1.9rem;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .section-header {
        margin-bottom: 48px;
    }
}
