/* ============================
   BILL SONIC – Landing Page
   Design System & Styles
   ============================ */

/* ── CSS Variables ── */
:root {
    --primary: #ff6b00;
    --primary-light: #ff8c33;
    --primary-dark: #cc5500;
    --primary-glow: rgba(255, 107, 0, 0.25);
    --primary-subtle: rgba(255, 107, 0, 0.08);

    --secondary: #22c55e;
    --secondary-light: #34d76f;

    --accent: #e85d3a;

    --bg-primary: #0c0c14;
    --bg-secondary: #14141c;
    --bg-tertiary: #1e1e28;
    --bg-elevated: #272733;
    --bg-card: #1a1a26;

    --text-primary: #fafafa;
    --text-secondary: #a0a0b0;
    --text-tertiary: #6b6b80;

    --border: #2a2a38;
    --border-light: #3a3a4a;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(255, 107, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 78% 10%, rgba(255, 196, 64, 0.30) 0%, rgba(255, 196, 64, 0) 40%),
        radial-gradient(circle at 84% 78%, rgba(255, 96, 48, 0.20) 0%, rgba(255, 96, 48, 0) 46%),
        radial-gradient(circle at 26% 92%, rgba(255, 128, 168, 0.16) 0%, rgba(255, 128, 168, 0) 42%),
        linear-gradient(160deg, #090d1a 0%, #101529 34%, #161228 64%, #1f1225 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* ── Utility ── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #ffb366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-subtle);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-xl);
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(12, 12, 20, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.brand-bill {
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fbbf24, #ff6b00, #fbbf24, #ff6b00);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    background: linear-gradient(135deg, #fbbf24, #ff6b00, #fbbf24, #ff6b00) !important;
    background-size: 300% 300% !important;
    animation: gradient-shift 4s ease infinite !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    font-weight: 600 !important;
    border: none;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-bg-glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    top: auto;
    bottom: -100px;
    left: -100px;
    right: auto;
    animation-delay: 3s;
    animation-duration: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5px, -8px) scale(1.02);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-light);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
}

.hero-languages {
    display: block;
    margin-top: 14px;
}

.hero-languages-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.2px;
    color: #d6d9e8;
    margin-bottom: 8px;
}

.hero-language-list {
    display: block;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.2px;
    color: #ffd987;
    text-shadow: 0 4px 18px rgba(255, 171, 64, 0.18);
}

.hero-language-list:nth-child(3) {
    color: #ffcf7a;
}

.hero-language-list:nth-child(4) {
    color: #ffc468;
}

.hero-language-list:nth-child(5) {
    color: #ffb85d;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 2px;
}

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

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

.hero-phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

/* iPhone 15 Pro Mockup — Thin Bezels + Dynamic Island */
.iphone-mockup {
    position: relative;
    width: 280px;
    background: #000000;
    border-radius: 50px;
    padding: 6px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 1.5px #5a5a60,
        0 0 0 3px #2c2c2e,
        0 0 0 4px #5a5a60,
        0 25px 70px rgba(0, 0, 0, 0.65),
        0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Titanium side button (power) */
.iphone-mockup::before {
    content: '';
    position: absolute;
    right: -3.5px;
    top: 110px;
    width: 3px;
    height: 44px;
    background: linear-gradient(180deg, #6a6a70, #4a4a50, #6a6a70);
    border-radius: 0 2px 2px 0;
}

/* Dynamic Island */
.iphone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #000000;
    border-radius: 20px;
    z-index: 10;
}

/* Camera dot inside Dynamic Island */
.iphone-notch::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 40% 40%, #1a1a2e, #0a0a15);
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.05);
}

.iphone-screen {
    border-radius: 44px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    background: #000;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Small variant */
.iphone-mockup--small {
    width: 240px;
    border-radius: 44px;
    padding: 5px;
}

.iphone-mockup--small::before {
    top: 90px;
    height: 36px;
    width: 2.5px;
    right: -3px;
}

.iphone-mockup--small .iphone-notch {
    width: 76px;
    height: 20px;
    top: 13px;
    border-radius: 16px;
}

.iphone-mockup--small .iphone-notch::before {
    width: 7px;
    height: 7px;
    right: 12px;
}

.iphone-mockup--small .iphone-screen {
    border-radius: 40px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 12px;
}

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

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

@keyframes scroll-bounce {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ── Features ── */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px 20px;
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 0, 0.05);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon--green {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: var(--secondary);
}

.feature-icon--purple {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.feature-icon--teal {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
}

.feature-icon--rose {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.2);
    color: #f43f5e;
}

.feature-icon--amber {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.feature-icon--sky {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.feature-icon--lime {
    background: rgba(132, 204, 22, 0.1);
    border-color: rgba(132, 204, 22, 0.2);
    color: #84cc16;
}

.feature-icon--indigo {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Expandable Feature Card Layout */
.feature-card {
    cursor: pointer;
}

.feature-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.feature-card-header .feature-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-height: 56px;
}

.feature-card-title-row h3 {
    margin-bottom: 0;
}

.feature-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
    flex-shrink: 0;
    transition: all 0.3s;
}

.feature-card.expanded .feature-toggle-icon {
    transform: rotate(180deg);
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary);
}

.feature-preview {
    display: none;
}

.feature-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.3s;
    opacity: 0;
}

.feature-card.expanded .feature-body {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
}

/* ── Screens Showcase ── */
.screens {
    padding: 120px 0;
    position: relative;
}

.screen-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.screen-showcase:last-child {
    margin-bottom: 0;
}

.screen-showcase--reverse {
    direction: rtl;
}

.screen-showcase--reverse>* {
    direction: ltr;
}

.screen-number {
    display: inline-block;
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.45), rgba(255, 107, 0, 0.18));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.screen-text h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.screen-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
}

.screen-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.screen-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.screen-phone {
    display: flex;
    justify-content: center;
}

.screen-phone .iphone-mockup {
    animation: mockup-float 5s ease-in-out infinite;
}

.screen-phone .iphone-mockup--tilted-left {
    animation: mockup-float-left 6s ease-in-out infinite;
}

.screen-phone .iphone-mockup--tilted-right {
    animation: mockup-float-right 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes mockup-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes mockup-float-left {

    0%,
    100% {
        transform: rotate(-5deg) translateX(20px) translateY(0);
    }

    50% {
        transform: rotate(-5deg) translateX(20px) translateY(-14px);
    }
}

@keyframes mockup-float-right {

    0%,
    100% {
        transform: rotate(5deg) translateX(-20px) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateX(-20px) translateY(-20px);
    }
}

.screen-phone-duo {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.iphone-mockup--tilted-left {
    transform: rotate(-5deg) translateX(20px);
    z-index: 2;
}

.iphone-mockup--tilted-right {
    transform: rotate(5deg) translateX(-20px);
    z-index: 1;
}

/* ── How It Works ── */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    text-align: center;
    max-width: 300px;
    flex: 1;
    min-width: 240px;
    transition: all 0.4s;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-glow);
}

.step-number-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    color: var(--primary);
    opacity: 0.4;
}

/* ── Cost Comparison ── */
.comparison {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.comparison-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

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

.comparison-card--old {
    border-color: rgba(255, 80, 80, 0.15);
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.04), var(--bg-card));
}

.comparison-card--new {
    border-color: rgba(255, 107, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.06), var(--bg-card));
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.08);
}

.comparison-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.comparison-emoji {
    font-size: 32px;
}

.comparison-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.comparison-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-badge--expensive {
    background: rgba(255, 80, 80, 0.15);
    color: #ff5555;
}

.comparison-badge--free {
    background: rgba(50, 205, 100, 0.15);
    color: #32cd64;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.comparison-item span:first-of-type {
    flex: 1;
}

.comparison-item--crossed svg {
    color: #ff5555;
    flex-shrink: 0;
}

.comparison-item--crossed span:first-of-type {
    text-decoration: line-through;
    opacity: 0.6;
}

.comparison-item--check svg {
    color: #32cd64;
    flex-shrink: 0;
}

.comparison-price {
    font-size: 13px;
    font-weight: 600;
    color: #ff5555;
    white-space: nowrap;
}

.comparison-price--free {
    color: #32cd64 !important;
}

.comparison-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-tertiary);
}

.comparison-total-price {
    font-size: 28px;
    font-weight: 800;
    color: #ff5555;
}

.comparison-total--free {
    border-top-color: rgba(255, 107, 0, 0.2);
}

.comparison-total--free .comparison-total-price {
    color: #32cd64;
    text-shadow: 0 0 20px rgba(50, 205, 100, 0.3);
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.comparison-vs span {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.25);
}

@media (max-width: 768px) {
    .comparison-grid {
        flex-direction: column;
        gap: 0;
    }

    .comparison-vs {
        padding: 16px 0;
    }

    .comparison-card {
        padding: 24px 20px;
    }
}

/* ── Marquee ── */
.marquee-section {
    padding: 32px 0;
    background: var(--bg-tertiary);
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 32px;
    align-items: center;
    white-space: nowrap;
    animation: marquee 12s linear infinite;
}

.marquee-content span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.marquee-dot {
    color: var(--primary) !important;
    font-size: 14px !important;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Download CTA ── */
.download-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.download-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.download-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.download-content p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

.store-button {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all 0.3s;
    cursor: pointer;
}

.store-button:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 0, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.store-button--coming-soon {
    opacity: 0.45;
    cursor: default;
    filter: grayscale(40%);
}

.store-button--coming-soon:hover {
    border-color: var(--border-light);
    background: var(--bg-elevated);
    transform: none;
    box-shadow: none;
}

.store-label {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
    text-align: left;
}

.store-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.download-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 600;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(52, 215, 111, 0.42);
    background: rgba(52, 215, 111, 0.10);
    color: #39d978;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.platform-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #34d76f;
    box-shadow: 0 0 14px rgba(52, 215, 111, 0.85);
}

/* ── Footer ── */
.footer {
    padding: 64px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.footer-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-group a {
    font-size: 14px;
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-bottom a {
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ── Animations ── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

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

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .hero-phone {
        order: -1;
    }

    .iphone-mockup {
        width: 220px;
    }

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

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

    .screen-showcase--reverse {
        direction: ltr;
    }

    .screen-phone {
        order: -1;
    }

    .screen-text {
        max-width: 480px;
        margin: 0 auto;
    }

    .screen-features-list {
        align-items: center;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(12, 12, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 22px;
        font-weight: 600;
    }

    .nav-links .nav-cta {
        margin-top: 12px;
        padding: 14px 32px;
        font-size: 18px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero h1 {
        font-size: clamp(32px, 8vw, 48px);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

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

    .iphone-mockup--small {
        width: 200px;
        border-radius: 38px;
        padding: 4px;
    }

    .iphone-mockup--tilted-left {
        animation: mockup-float-left-mobile 6s ease-in-out infinite;
    }

    .iphone-mockup--tilted-right {
        animation: mockup-float-right-mobile 6s ease-in-out infinite;
        animation-delay: 1.5s;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-connector svg {
        transform: rotate(0deg);
    }

    .step-card {
        max-width: 100%;
    }

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

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 22px;
    }

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

    .store-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .screen-number {
        font-size: 48px;
    }

    .screen-text h3 {
        font-size: 22px;
    }

    .iphone-mockup--small {
        width: 170px;
        border-radius: 34px;
        padding: 4px;
    }

    .iphone-mockup--small .iphone-screen {
        border-radius: 30px;
    }

    .iphone-mockup--small .iphone-notch {
        width: 60px;
        height: 16px;
        top: 10px;
        border-radius: 12px;
    }

    .iphone-mockup--small .iphone-notch::before {
        width: 5px;
        height: 5px;
        right: 10px;
    }
}

@keyframes mockup-float-left-mobile {

    0%,
    100% {
        transform: rotate(-4deg) translateX(15px) translateY(0);
    }

    50% {
        transform: rotate(-4deg) translateX(15px) translateY(-14px);
    }
}

@keyframes mockup-float-right-mobile {

    0%,
    100% {
        transform: rotate(4deg) translateX(-15px) translateY(0);
    }

    50% {
        transform: rotate(4deg) translateX(-15px) translateY(-20px);
    }
}