/* ============================================
   nuuvi — Marketing Landing Page
   ============================================ */

:root {
    /* Color palette (from app design system, dark mode) */
    --color-bg: #0A0A0A;
    --color-surface: #171717;
    --color-raised: #262626;
    --color-text: #F5F5F5;
    --color-text-secondary: #A3A3A3;
    --color-text-tertiary: #525252;
    --color-accent: #E87F50;
    --color-accent-hover: #F09060;
    --color-accent-active: #D4714A;
    --color-sage: #83A673;
    --color-border: #262626;
    --color-border-subtle: rgba(255, 255, 255, 0.06);

    /* Typography */
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-pad-y: 128px;
    --container-max: 1100px;
    --container-pad: 24px;
}

/* ---- Reset ---- */

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

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

body {
    font-family: var(--font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---- Layout ---- */

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

.section {
    padding: 80px 0;
    position: relative;
}

.section--subtle {
    background: linear-gradient(180deg, var(--color-bg) 0%, #111111 50%, var(--color-bg) 100%);
}

/* ---- Shared typography ---- */

.section__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-text-tertiary);
    margin-bottom: 16px;
}

.section__heading {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 48px;
}

/* ---- Animations ---- */

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   HERO
   ============================================ */

.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 96px var(--container-pad) 48px;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 127, 80, 0.07) 0%, transparent 70%);
}

.hero__glow {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 220px;
    background: radial-gradient(ellipse at center, rgba(232, 127, 80, 0.14) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero__headline {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero__sub {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: var(--color-text-tertiary);
    cursor: pointer;
    padding: 8px;
    animation: chevron-pulse 1.8s ease-in-out infinite alternate;
}

@keyframes chevron-pulse {
    from { opacity: 0.3; transform: translateX(-50%) translateY(0); }
    to   { opacity: 0.8; transform: translateX(-50%) translateY(4px); }
}

/* ============================================
   BUTTON (primary CTA)
   ============================================ */

.btn {
    display: inline-block;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--color-bg);
    background: var(--color-accent);
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: box-shadow 300ms ease-out, transform 200ms ease-out, background 200ms ease-out;
    box-shadow: 0 0 0 0 rgba(232, 127, 80, 0);
}

.btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 32px 0 rgba(232, 127, 80, 0.35), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn:active {
    background: var(--color-accent-active);
    transform: translateY(0) scale(0.98);
    box-shadow: none;
    transition: all 80ms ease-in;
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* ============================================
   WHY
   ============================================ */

.why__text {
    max-width: 600px;
}

.why__text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.why__text p:last-child {
    margin-bottom: 0;
    color: var(--color-text);
    font-weight: 500;
}

/* ============================================
   WHAT — Feature Pillars
   ============================================ */

.pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.pillar {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-sage) 100%);
    border-radius: 16px 16px 0 0;
}

.pillar__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.pillar__body {
    font-size: 14px;
    line-height: 1.65;
}

.pillars__hint {
    font-size: 14px;
    font-style: italic;
    color: var(--color-text-tertiary);
    text-align: center;
}

/* ============================================
   HOW — Built Together
   ============================================ */

.how__grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.how__text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.how__list {
    margin-top: 8px;
}

.how__list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 8px;
}

.how__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* Stats Card */

.stats-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
}

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

.stat:first-child { padding-top: 0; }
.stat:last-child  { border-bottom: none; padding-bottom: 0; }

.stat__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    margin-bottom: 4px;
}

.stat__value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat__desc {
    display: block;
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* ============================================
   CTA (Final)
   ============================================ */

.cta {
    text-align: center;
}

.cta__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 320px;
    height: 240px;
    background: radial-gradient(ellipse at center, rgba(232, 127, 80, 0.10) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.cta__content {
    position: relative;
    z-index: 1;
}

.cta__pre {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    margin-bottom: 16px;
}

.cta__heading {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--color-text);
    max-width: 640px;
    margin: 0 auto 20px;
}

.cta__sub {
    font-size: 16px;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 48px;
}

.cta__footnote {
    font-size: 13px;
    color: var(--color-text-tertiary);
    margin-top: 20px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 48px 0;
    border-top: 1px solid #1A1A1A;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer__slogan {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.footer__copy {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-tertiary);
}

/* ============================================
   RESPONSIVE — Desktop (lg: 1024px+)
   ============================================ */

@media (min-width: 1024px) {
    :root {
        --section-pad-y: 128px;
    }

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

    .hero__glow {
        width: 600px;
        height: 400px;
    }

    .hero__headline {
        font-size: 64px;
    }

    .hero__sub {
        font-size: 20px;
    }

    .section__heading {
        font-size: 44px;
    }

    /* Pillars — 3 columns */
    .pillars {
        flex-direction: row;
        gap: 16px;
    }

    .pillar {
        flex: 1;
    }

    /* How — 2 columns */
    .how__grid {
        flex-direction: row;
        gap: 64px;
        align-items: flex-start;
    }

    .how__text {
        flex: 1.2;
    }

    .stats-card {
        flex: 0.8;
    }

    .stat__value {
        font-size: 32px;
    }

    /* CTA */
    .cta__glow {
        width: 500px;
        height: 350px;
    }

    .cta__heading {
        font-size: 52px;
    }

    .cta__sub {
        font-size: 18px;
    }

    /* Footer */
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
