/* ================================================
   GYMMETRIC LANDING PAGE — STYLES
   ================================================ */

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

:root {
    --primary: #6BD18A;
    --primary-dark: #42AD6B;
    --primary-light: #9ADCB0;
    --green: #6BD18A;
    --blue: #6BD18A;
    --purple: #8B5CF6;
    --pink: #E05D9E;

    --bg: #0D1712;
    --bg-subtle: #14211A;
    --bg-card: rgba(23, 36, 31, 0.88);
    --bg-card-hover: rgba(28, 43, 36, 0.95);
    --border: rgba(173, 224, 189, 0.14);
    --border-light: rgba(173, 224, 189, 0.30);

    --text: #F0F7F2;
    --text-secondary: #ADC4B5;
    --text-muted: #7A9E86;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow: 0 4px 16px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.6);
    --shadow-glow: 0 0 60px rgba(107,209,138,.18);

    --transition: 0.3s cubic-bezier(.4,0,.2,1);
    --transition-slow: 0.6s cubic-bezier(.4,0,.2,1);

    --container: 1120px;
    --nav-h: 72px;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 16px auto 0;
}

.gradient-text {
    background: linear-gradient(135deg, #6BD18A 0%, #9ADCB0 45%, #C5EDD5 65%, #9ADCB0 85%, #6BD18A 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 0%; }
    100% { background-position: -250% 0%; }
}

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

/* ---------- Badge ---------- */
.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(107,209,138,.1);
    border: 1px solid rgba(107,209,138,.25);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn--block { width: 100%; }

.btn--primary {
    background: linear-gradient(135deg, #6BD18A, #42AD6B);
    color: #fff;
    box-shadow: 0 2px 20px rgba(107,209,138,.32);
}
.btn--primary:hover {
    background: linear-gradient(135deg, #7ADCA0, #4BBC78);
    box-shadow: 0 6px 30px rgba(107,209,138,.48);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn--ghost:hover {
    color: var(--text);
    border-color: var(--border-light);
    background: rgba(255,255,255,.04);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(107,209,138,.05);
}

/* ======================== NAV ======================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 100;
    transition: var(--transition);
    background: transparent;
}

.nav--scrolled {
    background: rgba(13,23,18,.9);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav__logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.footer__logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}

.nav__links a:hover {
    color: var(--text);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(13,23,18,.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 24px;
    z-index: 99;
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--text);
}

/* ======================== HERO ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(66,173,107,.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out 1s infinite reverse;
    z-index: 0;
}

.hero__bg-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(107,209,138,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 20px;
    line-height: 1.7;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

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

.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Scroll hint */
.hero__scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: 32px;
    position: relative;
    z-index: 1;
}

.hero__scroll-hint span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero__scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* ---------- Phone Mockup ---------- */
.hero__visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    perspective: 1200px;
}

.phone-mockup__frame {
    width: 280px;
    height: 580px;
    background: #162219;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 2px rgba(107,209,138,.22),
        0 20px 60px rgba(0,0,0,.5),
        0 0 80px rgba(107,209,138,.12);
    animation: phone-float 6s ease-in-out infinite, border-pulse 4s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
    50% { transform: translateY(-12px) rotateX(-1deg) rotateY(1deg); }
}

@keyframes border-pulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(107,209,138,.22), 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(107,209,138,.12);
    }
    50% {
        box-shadow: 0 0 0 2px rgba(107,209,138,.45), 0 20px 60px rgba(0,0,0,.5), 0 0 140px rgba(107,209,138,.26);
    }
}

/* ======================== PARTICLES ======================== */
.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero__particle {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: #6BD18A;
    border-radius: 50%;
    opacity: var(--opacity, 0.3);
    animation: particle-float var(--duration, 5s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-22px) scale(1.15); }
    70% { transform: translateY(-10px) translateX(8px) scale(0.85); }
}

.phone-mockup__notch {
    width: 120px;
    height: 28px;
    background: #162219;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-mockup__screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
}

.phone-mockup__screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ======================== FEATURES ======================== */
.features {
    padding: 120px 0;
    position: relative;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(107,209,138,.07), transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107,209,138,.07), transparent);
    transform: skewX(-15deg);
    pointer-events: none;
}

.feature-card:hover::after {
    animation: shimmer 0.8s ease forwards;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.feature-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(107,209,138,.08);
    color: var(--accent, var(--primary));
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1);
    background: rgba(107,209,138,.14);
}

.feature-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ======================== HOW IT WORKS ======================== */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-subtle);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.step {
    flex: 0 1 300px;
    text-align: center;
}

.step__number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(107,209,138,.15);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
}

.step__content {
    padding: 24px;
}

.step__icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin: 0 auto 16px;
    transition: var(--transition);
}

.step:hover .step__icon-wrap {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.step__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.step__connector {
    display: flex;
    align-items: center;
    padding-top: 60px;
}

/* ======================== SHOWCASE ======================== */
.showcase {
    padding: 120px 0;
}

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

.showcase-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
}

.showcase-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.showcase-card__emoji {
    font-size: 2rem;
    margin-bottom: 12px;
}

.showcase-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.showcase-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ======================== PRICING ======================== */
.pricing {
    padding: 120px 0;
    background: var(--bg-subtle);
}

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

.pricing-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--pro {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(107,209,138,.07) 0%, var(--bg-card) 40%);
    box-shadow: 0 0 40px rgba(107,209,138,.12);
}

.pricing-card--pro:hover {
    box-shadow: 0 0 60px rgba(107,209,138,.22);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--primary);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-card__header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pricing-card__cents {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-card__period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-card__savings {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(107,209,138,.1);
    border: 1px solid rgba(107,209,138,.22);
    border-radius: var(--radius-full);
    margin: -8px 0 16px;
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* ======================== PRIVACY ======================== */
.privacy {
    padding: 120px 0;
}

.privacy__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.privacy__icon {
    margin-bottom: 16px;
}

.privacy__intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 16px auto 48px;
    max-width: 560px;
    line-height: 1.7;
}

.privacy__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.privacy__card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.privacy__card:hover {
    border-color: var(--border-light);
}

.privacy__card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.privacy__card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.privacy__footer {
    margin-top: 40px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ======================== CTA ======================== */
.cta {
    padding: 120px 0;
    background: var(--bg-subtle);
    position: relative;
    overflow: hidden;
}

.cta__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(107,209,138,.1), transparent 70%);
    pointer-events: none;
    animation: pulse-glow 5s ease-in-out infinite;
}

.cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__inner .section-subtitle {
    margin-bottom: 36px;
}

.btn--app-store {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* ======================== FOOTER ======================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--text);
}

.footer__copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ======================== REVEAL ANIMATION ======================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
    .features__grid,
    .showcase__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding: 60px 24px;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .step__connector {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__hamburger {
        display: flex;
    }

    .features__grid,
    .showcase__cards,
    .privacy__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .phone-mockup__frame {
        width: 240px;
        height: 500px;
    }

    .features,
    .how-it-works,
    .showcase,
    .pricing,
    .privacy,
    .cta {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        gap: 16px;
    }

    .hero__stat-value {
        font-size: 1.2rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .phone-mockup__frame {
        width: 220px;
        height: 460px;
    }
}

/* ================================================
   PORTFOLIO ALIGNMENT OVERRIDES
   ================================================ */

:root {
    --primary: #3f9a60;
    --primary-dark: #24784a;
    --primary-light: #9adcb0;
    --green: #3f9a60;
    --blue: #0f7b7e;
    --purple: #ee6a4d;
    --pink: #efbf56;

    --bg: #f6efe6;
    --bg-subtle: #efe4d7;
    --paper: rgba(255, 251, 245, 0.78);
    --paper-solid: #fffaf4;
    --bg-card: rgba(255, 251, 245, 0.78);
    --bg-card-hover: rgba(255, 253, 249, 0.94);
    --border: rgba(23, 20, 18, 0.08);
    --border-light: rgba(23, 20, 18, 0.16);

    --text: #171412;
    --text-secondary: #615c57;
    --text-muted: #7d756d;

    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 10px 24px rgba(43, 30, 18, 0.07);
    --shadow: 0 22px 70px rgba(43, 30, 18, 0.08);
    --shadow-lg: 0 24px 90px rgba(43, 30, 18, 0.16);
    --shadow-soft: 0 22px 70px rgba(43, 30, 18, 0.08);
    --shadow-glow: 0 18px 38px rgba(63, 154, 96, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(238, 106, 77, 0.16), transparent 28%),
        radial-gradient(circle at 85% 16%, rgba(63, 154, 96, 0.18), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(239, 191, 86, 0.15), transparent 24%),
        var(--bg);
    color: var(--text);
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -2;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.35;
    pointer-events: none;
    animation: drift 14s ease-in-out infinite;
}

body::before {
    top: -7rem;
    left: -6rem;
    background: rgba(238, 106, 77, 0.25);
}

body::after {
    right: -6rem;
    bottom: -8rem;
    background: rgba(63, 154, 96, 0.22);
    animation-delay: -7s;
}

@keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(1.6rem, -1.2rem, 0) scale(1.08); }
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #13313f;
    color: #fff;
    transition: top 0.2s ease;
    z-index: 140;
}

.skip-link:focus {
    top: 1rem;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 160;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--primary), var(--blue), var(--pink));
}

.section-title,
.hero__title,
.footer__brand,
.nav__logo {
    font-family: "Space Grotesk", sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 45%, var(--pink) 100%);
    background-size: 220% 100%;
}

.badge {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--primary-dark);
    background: rgba(63, 154, 96, 0.08);
    border: 1px solid rgba(63, 154, 96, 0.18);
    border-radius: 999px;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--blue));
    box-shadow: 0 18px 38px rgba(15, 123, 126, 0.18);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #4aaa6f, #11868a);
    box-shadow: 0 20px 42px rgba(15, 123, 126, 0.22);
}

.btn--ghost,
.btn--outline {
    background: rgba(255, 255, 255, 0.48);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--ghost:hover,
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    border-color: var(--border-light);
}

.nav {
    height: auto;
    padding: 1rem 0 0;
    background: transparent;
}

.nav__inner {
    min-height: var(--nav-h);
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(255, 249, 241, 0.75);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav--scrolled .nav__inner {
    background: rgba(255, 251, 245, 0.92);
    box-shadow: var(--shadow-lg);
    transform: translateY(0.15rem);
}

.nav__logo {
    gap: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav__logo-img,
.footer__logo-img {
    mix-blend-mode: normal;
}

.nav__links a {
    color: var(--text-secondary);
    font-weight: 700;
}

.nav__links a.active,
.nav__links a:hover {
    color: var(--text);
}

.nav__links a.active::after,
.nav__links a:hover::after {
    width: 100%;
}

.mobile-menu {
    left: 50%;
    right: auto;
    top: calc(var(--nav-h) + 1.1rem);
    width: min(100% - 1rem, var(--container));
    transform: translate(-50%, -110%);
    background: rgba(255, 249, 241, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    transform: translate(-50%, 0);
}

.mobile-menu a {
    color: var(--text-secondary);
}

.mobile-menu a:hover {
    color: var(--text);
}

.hero {
    min-height: 100vh;
    padding-top: 0;
}

.hero::before {
    background: radial-gradient(circle, rgba(238, 106, 77, 0.12) 0%, transparent 70%);
}

.hero__bg-glow {
    background: radial-gradient(circle, rgba(63, 154, 96, 0.18) 0%, transparent 70%);
}

.hero__bg-grid {
    opacity: 0.32;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: center;
    padding: 8rem 24px 4rem;
}

.hero__content {
    text-align: left;
}

.hero__title {
    font-size: clamp(3.3rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--text);
}

.hero__subtitle,
.section-subtitle,
.feature-card__desc,
.step__desc,
.showcase-card p,
.privacy__intro,
.privacy__card p,
.footer__copy {
    color: var(--text-secondary);
}

.hero__portfolio-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.hero__stats {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: fit-content;
}

.hero__stat-label {
    color: var(--text-secondary);
}

.phone-mockup {
    filter: drop-shadow(0 24px 90px rgba(43, 30, 18, 0.18));
}

.phone-mockup__frame {
    background: linear-gradient(155deg, rgba(19, 49, 63, 0.98), rgba(15, 123, 126, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.phone-mockup__notch {
    background: #102228;
}

.features,
.showcase,
.privacy,
.creator-bridge {
    position: relative;
}

.how-it-works,
.cta {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 251, 245, 0.06));
}

.feature-card,
.showcase-card,
.privacy__card,
.priv-summary__item,
.priv-toc,
.priv-section,
.step__content {
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.feature-card:hover,
.showcase-card:hover,
.privacy__card:hover {
    box-shadow: var(--shadow-lg);
}

.feature-card__icon,
.privacy__icon,
.priv-section__icon,
.priv-summary__icon,
.step__icon-wrap {
    background: rgba(63, 154, 96, 0.08);
}

.step__content {
    border-radius: var(--radius-xl);
}

.step__number {
    color: rgba(63, 154, 96, 0.2);
}

.showcase-card__emoji {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.creator-bridge {
    padding: 0 0 120px;
}

.creator-bridge__card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(239, 191, 86, 0.22), transparent 24%),
        linear-gradient(155deg, rgba(19, 49, 63, 0.98), rgba(15, 123, 126, 0.92));
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.creator-bridge__card .badge {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.creator-bridge__card .section-title,
.creator-bridge__card .section-subtitle {
    max-width: 16ch;
}

.creator-bridge__card .section-title {
    color: #fff;
}

.creator-bridge__card .section-subtitle {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.creator-bridge__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.creator-bridge__card .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.privacy__inner,
.cta__inner {
    padding: 2rem;
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.cta__inner {
    background:
        radial-gradient(circle at top right, rgba(63, 154, 96, 0.12), transparent 24%),
        var(--paper);
}

.cta__glow {
    background: radial-gradient(circle, rgba(63, 154, 96, 0.12), transparent 70%);
}

.footer {
    padding-top: 0;
    border-top: none;
}

.footer__inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: var(--radius-xl);
    background: rgba(255, 251, 245, 0.78);
    box-shadow: var(--shadow-soft);
}

.footer__links a {
    color: var(--text-secondary);
}

.footer__links a:hover {
    color: var(--text);
}

.reveal {
    filter: blur(12px);
    transition:
        opacity 0.7s cubic-bezier(.4,0,.2,1),
        transform 0.7s cubic-bezier(.4,0,.2,1),
        filter 0.7s cubic-bezier(.4,0,.2,1);
}

.reveal.visible {
    filter: blur(0);
}

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: left;
        padding-top: 7rem;
        gap: 3rem;
    }

    .hero__subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero__actions,
    .hero__stats {
        justify-content: flex-start;
    }

    .creator-bridge__card .section-title,
    .creator-bridge__card .section-subtitle {
        max-width: none;
    }

    .footer__inner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav {
        padding-top: 0.6rem;
    }

    .nav__inner {
        padding: 0.8rem 1rem;
        border-radius: 28px;
    }

    .mobile-menu {
        top: calc(var(--nav-h) + 0.7rem);
    }

    .hero__inner {
        padding: 6.5rem 16px 3rem;
    }

    .hero__actions,
    .creator-bridge__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn,
    .creator-bridge__actions .btn {
        width: 100%;
    }

    .hero__stats {
        width: 100%;
    }

    .privacy__inner,
    .cta__inner,
    .creator-bridge__card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer__links {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.phone-mockup--asset {
    position: relative;
    width: min(100%, 400px);
    margin-inline: auto;
    filter: none;
    perspective: 1200px;
    transform-style: preserve-3d;
    animation: phone-float 6s ease-in-out infinite;
    will-change: transform;
}

.phone-mockup--asset::before {
    content: "";
    position: absolute;
    inset: 10% 8% 12%;
    border-radius: 2.75rem;
    background: radial-gradient(circle, rgba(107, 209, 138, 0.24), transparent 68%);
    filter: blur(22px);
    z-index: -2;
    animation: gymmetric-mockup-glow 4.4s ease-in-out infinite;
}

.phone-mockup--asset::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -3%;
    height: 12%;
    border-radius: 999px;
    background: rgba(18, 27, 22, 0.24);
    filter: blur(18px);
    z-index: -3;
    animation: mockup-shadow-breathe 6s ease-in-out infinite;
}

.phone-mockup__asset {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 28px 88px rgba(43, 30, 18, 0.2));
    will-change: transform;
}

@keyframes gymmetric-mockup-glow {
    0%,
    100% {
        opacity: 0.62;
        transform: scale(0.94);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes mockup-shadow-breathe {
    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.92);
    }

    50% {
        opacity: 0.18;
        transform: translateY(8px) scaleX(1.04);
    }
}

@media (max-width: 768px) {
    .phone-mockup--asset {
        width: min(100%, 340px);
    }
}

/* ================================================
   THEME MODES
   ================================================ */

:root {
    color-scheme: light;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --primary: #6BD18A;
    --primary-dark: #42AD6B;
    --primary-light: #9ADCB0;
    --green: #6BD18A;
    --blue: #6BD18A;
    --purple: #8B5CF6;
    --pink: #E05D9E;

    --bg: #0c1510;
    --bg-subtle: #132019;
    --paper: rgba(14, 24, 18, 0.84);
    --paper-solid: #101812;
    --bg-card: rgba(18, 29, 22, 0.88);
    --bg-card-hover: rgba(24, 37, 29, 0.94);
    --border: rgba(173, 224, 189, 0.14);
    --border-light: rgba(173, 224, 189, 0.28);

    --text: #EEF7F0;
    --text-secondary: #ADC4B5;
    --text-muted: #7A9E86;

    --shadow-sm: 0 12px 24px rgba(0, 0, 0, 0.22);
    --shadow: 0 24px 76px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 30px 96px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 24px 76px rgba(0, 0, 0, 0.28);
}

.nav__inner {
    gap: 0.85rem;
}

.nav__links {
    margin-left: auto;
}

.theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: var(--shadow-sm);
}

.theme-switcher__button {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.55rem 0.72rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-switcher__button:hover,
.theme-switcher__button:focus-visible {
    color: var(--text);
    outline: none;
}

.theme-switcher__button[aria-pressed="true"] {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 24px rgba(107, 209, 138, 0.18);
}

.mobile-menu__theme {
    padding-top: 0.35rem;
}

.mobile-menu__theme .theme-switcher {
    width: 100%;
    justify-content: space-between;
}

:root[data-theme="dark"] body {
    background:
        radial-gradient(circle at top left, rgba(107, 209, 138, 0.12), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(66, 173, 107, 0.14), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(107, 209, 138, 0.08), transparent 24%),
        var(--bg);
}

:root[data-theme="dark"] body::before {
    background: rgba(107, 209, 138, 0.18);
}

:root[data-theme="dark"] body::after {
    background: rgba(66, 173, 107, 0.14);
}

:root[data-theme="dark"] .nav__inner,
:root[data-theme="dark"] .mobile-menu,
:root[data-theme="dark"] .hero__stats,
:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .showcase-card,
:root[data-theme="dark"] .privacy__card,
:root[data-theme="dark"] .priv-summary__item,
:root[data-theme="dark"] .priv-toc,
:root[data-theme="dark"] .priv-section,
:root[data-theme="dark"] .step__content,
:root[data-theme="dark"] .privacy__inner,
:root[data-theme="dark"] .cta__inner,
:root[data-theme="dark"] .footer__inner,
:root[data-theme="dark"] .theme-switcher,
:root[data-theme="dark"] .priv-meta-pill {
    background: var(--paper);
    border-color: rgba(173, 224, 189, 0.14);
    box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .nav--scrolled .nav__inner {
    background: rgba(12, 21, 16, 0.92);
}

:root[data-theme="dark"] .btn--ghost,
:root[data-theme="dark"] .btn--outline {
    background: rgba(16, 25, 20, 0.72);
    color: var(--text);
    border-color: rgba(173, 224, 189, 0.18);
}

:root[data-theme="dark"] .btn--ghost:hover,
:root[data-theme="dark"] .btn--outline:hover {
    background: rgba(23, 35, 28, 0.9);
}

:root[data-theme="dark"] .showcase-card__emoji {
    background: rgba(16, 25, 20, 0.76);
}

:root[data-theme="dark"] .creator-bridge__card .btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #08110c;
}

:root[data-theme="dark"] .creator-bridge__card .btn--primary:hover {
    background: linear-gradient(135deg, #7ADCA0, #4BBC78);
}

@media (max-width: 768px) {
    .theme-switcher--nav {
        display: none;
    }
}
