:root {
    --bg: #0a0a10;
    --bg-dark: #050508;
    --bg-elevated: #101016;
    --bg-card: rgba(255, 255, 255, 0.04);
    --accent: #FFF600;
    --accent-yellow: #FFF600;
    --accent-dim: rgba(255, 246, 0, 0.15);
    --primary-bg: #000000;
    --text: #f5f5f7;
    --text-primary: #f5f5f7;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 246, 0, 0.2);
    --radius: 20px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --max-w: 1200px;
    --section-pad: clamp(60px, 8vw, 100px);
}

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

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

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 35%, transparent 70%),
        radial-gradient(ellipse 700px 600px at 8% 10%, rgba(255, 246, 0, 0.16), transparent 65%),
        radial-gradient(ellipse 600px 600px at 88% 80%, rgba(80, 200, 80, 0.13), transparent 65%);
}

.bg-elements {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.floating-element:nth-child(1) {
    width: 500px;
    height: 500px;
    background: rgba(255, 246, 0, 0.15);
    top: -150px;
    left: -100px;
}

.floating-element:nth-child(2) {
    width: 450px;
    height: 450px;
    background: rgba(74, 222, 128, 0.12);
    bottom: -120px;
    right: -80px;
}

.floating-element:nth-child(3) {
    width: 300px;
    height: 300px;
    background: rgba(255, 246, 0, 0.06);
    bottom: 25%;
    left: 45%;
}

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

.section-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

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

/* ============================================================
   ANIMATIONS (scroll-triggered via JS)
   ============================================================ */

.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* End on `none`, not translateY(0): a lingering transform keeps a stacking
   context alive, which blocks the lighten-blend on phone screenshots from
   reaching the page background (black boxes come back). */
.anim-fade-up.visible {
    opacity: 1;
    transform: none;
}

.anim-scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.anim-scale-in.visible {
    opacity: 1;
    transform: none;
}

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
                border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    height: 56px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

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

/* Subscribe dropdown */
.nav-subscribe-dropdown {
    position: relative;
}

.nav-cta {
    background: var(--accent);
    color: #000 !important;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--accent);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.nav-cta:hover {
    opacity: 0.85;
}

.nav-subscribe-toggle {
    background: rgba(255, 246, 0, 0.1);
    backdrop-filter: blur(20px);
    color: var(--accent) !important;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-accent);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.nav-subscribe-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 246, 0, 0.4);
}

.nav-subscribe-toggle .dropdown-arrow {
    font-size: 0.6em;
    transition: transform 0.3s ease;
}

.nav-subscribe-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-subscribe-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1100;
}

.nav-subscribe-dropdown.open .nav-subscribe-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-subscribe-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s ease;
    color: var(--text) !important;
}

.nav-subscribe-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-subscribe-menu .menu-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.nav-subscribe-menu .menu-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nav-subscribe-menu .menu-label {
    font-size: 0.875rem;
    font-weight: 700;
}

.nav-subscribe-menu .menu-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-subscribe-menu .menu-ad-free .menu-icon {
    background: linear-gradient(135deg, rgba(255, 246, 0, 0.2), rgba(255, 246, 0, 0.08));
    color: var(--accent);
}

.nav-subscribe-menu .menu-ad-free:hover {
    background: rgba(255, 246, 0, 0.06);
}

.nav-subscribe-menu .menu-ad-free .menu-icon .fa-cog {
    color: var(--text-secondary);
}

.nav-subscribe-menu .menu-ad-free:has(.fa-cog) .menu-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.nav-subscribe-menu .menu-call-credits .menu-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.08));
    color: #66bb6a;
}

.nav-subscribe-menu .menu-call-credits:hover {
    background: rgba(76, 175, 80, 0.06);
}

.nav-subscribe-menu .menu-restore-streak .menu-icon {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(255, 87, 34, 0.08));
    color: #ff7043;
}

.nav-subscribe-menu .menu-restore-streak:hover {
    background: rgba(255, 87, 34, 0.06);
}

.nav-subscribe-menu .menu-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 10px;
}

.nav-mobile-subscribe {
    display: none !important;
}

.nav-subscribe {
    background: rgba(255, 246, 0, 0.1);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav-subscribe:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-call-credits {
    background: rgba(255, 246, 0, 0.1);
    color: var(--accent);
    border-color: var(--border-accent);
}

.mobile-auth-cta {
    display: none;
    text-align: center;
    padding: 28px 0 0;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-auth-cta .nav-login-link,
.mobile-auth-cta .nav-register-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 14px 28px;
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px clamp(20px, 5vw, 60px) 30px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--accent);
}

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

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badge-link {
    display: inline-block;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.store-badge-link:hover {
    transform: translateY(-3px);
}

button.store-badge-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.store-badge {
    width: 170px;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* Hero stats row */
.hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    min-width: 110px;
}

.hero-stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.hero-stat-number i {
    font-size: 0.9rem;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Phone mockup */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 246, 0, 0.12) 0%, rgba(255, 246, 0, 0.04) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    animation: glowFloat 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-phone-img {
    position: relative;
    z-index: 2;
    width: 400px;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* Phone screenshots have black baked into their pixels; lighten-blending
   lets the page background show through those black areas so the frames
   sit on the gradient instead of inside black rectangles.
   The blend must live on the element that fades (the slide, not the img):
   opacity on an element between the blender and the page isolates the
   blend and the black boxes reappear during every crossfade. */
.hero-phone-img,
.screenshot-slot img,
.fi-slide,
.wt-slide,
.more-card-img {
    mix-blend-mode: lighten;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   APP SHOWCASE (screenshot gallery)
   ============================================================ */

.showcase {
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.showcase-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.showcase-screenshot-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 32px);
}

.screenshot-slot {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    aspect-ratio: 9 / 16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.7;
}

/* ============================================================
   FEATURES - Scroll-pinned interactive section
   ============================================================ */

.fi-scroll-region {
    height: 300vh;
    position: relative;
}

.fi-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0 20px;
    overflow: hidden;
}

.fi-sticky .section-title {
    margin-bottom: 16px;
}

.fi-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    margin-top: 20px;
}

.fi-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.fi-phone-frame {
    position: relative;
    width: 340px;
    height: 740px;
    background: transparent;
    border-radius: 44px;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

.fi-phone-notch {
    display: none;
}

.fi-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.fi-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

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

.fi-slide .screenshot-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    border-radius: 0;
    border: none;
}

.fi-slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

.fi-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fi-dots {
    display: flex;
    gap: 8px;
}

.fi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fi-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* Feature cards */
.fi-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fi-card {
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.5s var(--ease);
    opacity: 0.6;
    transform: translateY(4px);
}

.fi-card:hover {
    opacity: 0.7;
    border-color: rgba(255, 255, 255, 0.15);
}

.fi-card.active {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--border-accent);
    background: rgba(255, 246, 0, 0.04);
    box-shadow: 0 8px 30px rgba(255, 246, 0, 0.04);
}

.fi-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.fi-card.active h3 {
    color: var(--accent);
}

.fi-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   WORKOUT TRACKER - Interactive (cards left, phone right)
   ============================================================ */

.wt-section {
    padding: var(--section-pad) 0;
    background: transparent;
}

.more-section {
    padding: var(--section-pad) 0;
    background: transparent;
}

.more-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 48px;
    grid-auto-rows: 820px;
}

.more-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    cursor: default;
    transition: transform 0.3s ease;
}

.more-card:nth-child(1) {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.more-card:nth-child(2) {
    background: #1a1207;
}

.more-card:nth-child(3) {
    background: #0d1117;
}

.more-card:hover {
    transform: translateY(-4px);
}

.more-card-text {
    padding: 28px 24px 20px;
    text-align: center;
}

.more-card-label {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #fff;
    margin-bottom: 6px;
}

.more-card-text h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

.more-card-screen {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.more-card-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.more-card-img.active {
    opacity: 1;
}

.more-card-img .screenshot-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    aspect-ratio: auto;
    max-height: none;
}

.more-card-img picture {
    width: 100%;
    height: 100%;
    display: block;
}

.more-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.more-card-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.more-card-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

/* Why Free section */
.why-free-section {
    padding: var(--section-pad) 0;
    background: var(--bg-elevated);
    position: relative;
    z-index: 1;
}

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

.why-free-card {
    padding: 40px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease;
}

.why-free-card:hover {
    transform: translateY(-4px);
}

.why-free-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.why-free-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.why-free-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing section */
.pricing-section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 36px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    opacity: 0.65;
}

.pricing-card:not(.featured) .pricing-period {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-card:not(.featured) .pricing-features li {
    color: var(--text-secondary);
}

.pricing-check {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--accent);
}

.pricing-card.featured .pricing-check {
    color: #000;
}

.pricing-cta {
    display: block;
    padding: 14px 20px;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pricing-card:not(.featured) .pricing-cta {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
}

.pricing-card:not(.featured) .pricing-cta:hover {
    background: rgba(255, 255, 255, 0.12);
}

.pricing-card.featured .pricing-cta {
    background: #000;
    color: var(--accent);
}

.pricing-card.featured .pricing-cta:hover {
    background: #111;
}

.pricing-cta:active {
    transform: scale(0.98);
}

.wt-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-top: 48px;
}

.wt-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.wt-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

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

.wt-slide .screenshot-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    border-radius: 0;
    border: none;
}

.wt-slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

.wt-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.screenshot-placeholder {
    aspect-ratio: 9 / 16;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-height: 600px;
}

/* ============================================================
   STATS BAND
   ============================================================ */

.stats-band {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--accent);
    display: block;
    letter-spacing: -2px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--bg-elevated);
}

.steps-container {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 520px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
    padding: var(--section-pad) 0;
    overflow: hidden;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}

.reviews-scroll-wrapper {
    margin-top: 56px;
    position: relative;
}

.reviews-scroll-wrapper::before,
.reviews-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.reviews-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 20%, transparent);
}

.reviews-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 20%, transparent);
}

/* Auto-scroll is driven per-frame in JS (initReviewsCarousel), so no
   scroll-snap and no smooth scroll-behavior here — both fight the drift. */
.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 60px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 380px;
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.4s var(--ease), border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.review-stars {
    display: flex;
    gap: 4px;
    color: var(--accent);
    font-size: 0.85rem;
}

.review-stars .fas.fa-star {
    color: var(--accent);
    font-size: 0.9rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(255, 246, 0, 0.35));
}

.hero-stat-number .fas.fa-star {
    color: var(--accent);
    font-size: 0.85em;
    margin-left: 2px;
    filter: drop-shadow(0 0 6px rgba(255, 246, 0, 0.35));
}

.review-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.review-quote {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.review-footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewer {
    font-weight: 700;
    font-size: 1rem;
}

.review-meta {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.review-platform {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 5px 10px;
}

.review-platform .fa-apple {
    position: relative;
    top: -1.5px;
    border-radius: 8px;
    white-space: nowrap;
}

/* ============================================================
   CTA
   ============================================================ */

.cta-section {
    padding: var(--section-pad) 0;
    text-align: center;
}

.cta-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 80px clamp(20px, 5vw, 60px);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 246, 0, 0.06), rgba(255, 246, 0, 0.02));
    border: 1px solid var(--border-accent);
}

.cta-inner h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

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

footer {
    padding: 80px clamp(20px, 5vw, 60px) 32px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.6;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-links a i {
    font-size: 1.05rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a.social-link-x:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.social-links a.social-link-instagram:hover {
    color: #f77737;
    border-color: rgba(247, 119, 55, 0.35);
    background: rgba(247, 119, 55, 0.1);
}

.social-links a.social-link-email:hover {
    color: var(--accent);
    border-color: var(--border-accent);
    background: rgba(255, 246, 0, 0.08);
}

.social-links a:hover {
    color: var(--accent);
    border-color: var(--border-accent);
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 0;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .fi-phone-frame {
        width: 280px;
        height: 590px;
        border-radius: 38px;
    }

    .fi-phone-screen {
        border-radius: 35px;
    }

    .fi-phone-notch {
        width: 86px;
        height: 24px;
        top: 10px;
    }
}

@media (max-width: 768px) {
    .bg-gradient {
        background:
            radial-gradient(ellipse 350px 300px at 8% 10%, rgba(255, 246, 0, 0.06), transparent 65%),
            radial-gradient(ellipse 300px 300px at 88% 80%, rgba(80, 200, 80, 0.05), transparent 65%);
    }

    .floating-element:nth-child(1) {
        width: 250px;
        height: 250px;
        background: rgba(255, 246, 0, 0.08);
    }

    .floating-element:nth-child(2) {
        width: 220px;
        height: 220px;
        background: rgba(74, 222, 128, 0.06);
    }

    .floating-element:nth-child(3) {
        display: none;
    }

    nav {
        padding: 0 20px;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
    }

    .nav-container { height: 52px; }

    .nav-links,
    .nav-subscribe-dropdown {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }

    .mobile-auth-cta {
        display: flex !important;
    }

    .nav-links.mobile-active .nav-login-link,
    .nav-links.mobile-active .nav-register-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: min(300px, calc(100vw - 56px));
        padding: 15px 22px;
        border-radius: 18px;
        font-size: 1.05rem;
        font-weight: 700;
    }

    .nav-links.mobile-active .nav-register-link {
        background: var(--accent);
        color: #000 !important;
        border: 1px solid rgba(255, 246, 0, 0.9);
    }

    .nav-links.mobile-active .nav-login-link {
        background: rgba(255, 246, 0, 0.08);
        color: var(--accent) !important;
        border: 1px solid var(--border-accent);
    }

    .nav-links.mobile-active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1000;
    }

    .nav-links.mobile-active li {
        list-style: none;
    }

    .nav-links.mobile-active .nav-subscribe-dropdown {
        display: none !important;
    }

    .nav-links.mobile-active .nav-mobile-subscribe {
        display: list-item !important;
        width: min(300px, calc(100vw - 56px));
    }

    .nav-links.mobile-active a {
        color: var(--text);
        font-size: 1.4rem;
        font-weight: 600;
        padding: 12px 20px;
        display: block;
        text-align: center;
    }

    .nav-links.mobile-active .nav-mobile-subscribe .nav-subscribe {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 15px 22px;
        border-radius: 18px;
        background: var(--accent);
        color: #000 !important;
        border: 1px solid rgba(255, 246, 0, 0.9);
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: -0.01em;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    }

    .nav-links.mobile-active .nav-mobile-subscribe .nav-subscribe i {
        font-size: 0.95em;
    }

    .nav-links.mobile-active .nav-mobile-subscribe .nav-call-credits {
        background: rgba(76, 175, 80, 0.18);
        color: #8ee99a !important;
        border-color: rgba(76, 175, 80, 0.55);
    }

    .nav-links.mobile-active .nav-mobile-subscribe .nav-restore-streak {
        background: rgba(255, 112, 67, 0.18);
        color: #ffab91 !important;
        border-color: rgba(255, 112, 67, 0.55);
    }

    .nav-links.mobile-active .nav-mobile-subscribe .nav-subscribe:active {
        transform: scale(0.98);
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-phone {
        order: 2;
    }

    .hero-phone-img {
        width: 300px;
    }

    .phone-glow {
        width: 260px;
        height: 260px;
    }

    .hero-title {
        letter-spacing: -1.5px;
    }

    .hero-scroll-hint {
        display: none;
    }

    .showcase-screenshot-row {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
        margin: 0 auto;
    }

    .screenshot-slot {
        max-height: 500px;
    }

    .fi-scroll-region {
        height: auto !important;
    }

    .fi-sticky {
        position: static !important;
        height: auto !important;
        padding: 60px 0 40px;
    }

    .fi-layout {
        grid-template-columns: 1fr;
    }

    .fi-phone {
        order: -1;
    }

    .fi-phone-frame {
        width: 260px;
        height: 540px;
        border-radius: 34px;
        margin: 0 auto;
    }

    .fi-phone-screen {
        border-radius: 31px;
    }

    .fi-phone-notch {
        width: 80px;
        height: 22px;
        top: 8px;
    }

    .fi-card {
        opacity: 1 !important;
        transform: none !important;
    }

    .wt-layout {
        grid-template-columns: 1fr;
    }

    .wt-phone {
        order: -1;
    }

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

    .stats-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .step {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }

    .step-content p {
        max-width: 100%;
    }

    .review-card {
        flex: 0 0 280px;
    }

    .reviews-track {
        padding: 8px 20px 24px;
    }

    .reviews-scroll-wrapper::before,
    .reviews-scroll-wrapper::after {
        width: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-inner {
        padding: 48px 24px;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
        letter-spacing: -1px;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .spotlight-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .more-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .why-free-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}
