/* ===== VARIABLES ===== */
:root {
    --teal-900: #1a3a34;
    --teal-800: #1e4d44;
    --teal-700: #256b5f;
    --teal-600: #2d8a7a;
    --teal-500: #37a897;
    --teal-400: #4ec4b0;
    --teal-300: #7dd8c9;
    --teal-200: #b0e8de;
    --teal-100: #d9f5f0;
    --teal-50: #eefaf7;
    --amber: #f5a623;
    --amber-light: #fef3cd;
    --green: #34c759;
    --red: #ff3b30;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 107, 95, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
    box-shadow: 0 6px 20px rgba(37, 107, 95, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--teal-700);
    border: 2px solid var(--teal-200);
    padding: 10px 26px;
}

.btn-outline:hover {
    background: var(--teal-50);
    border-color: var(--teal-400);
}

.btn-arrow {
    transition: transform 0.2s;
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--teal-800);
}

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

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal-700);
}

.nav-links a.active::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--teal-500);
    border-radius: 50%;
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.88rem;
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--teal-100);
    color: var(--teal-700);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

/* Store Badges */
.store-badges {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-900);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.store-badge:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-badge small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.8;
    line-height: 1;
}

.store-badge strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat span {
    font-size: 0.82rem;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ===== iPHONE 17 PRO FRAME ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.iphone-pro {
    position: relative;
    z-index: 2;
}

.iphone-frame {
    width: 280px;
    height: 572px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e 40%, #2a2a2c 60%, #1a1a1c);
    border-radius: 54px;
    padding: 10px;
    position: relative;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.15),
        inset 0 -1px 1px rgba(0,0,0,0.3),
        0 0 0 0.5px rgba(255,255,255,0.08),
        0 2px 4px rgba(0,0,0,0.2),
        0 8px 24px rgba(0,0,0,0.25),
        0 24px 48px rgba(0,0,0,0.2);
}

.iphone-pro.small .iphone-frame {
    width: 230px;
    height: 470px;
    border-radius: 46px;
    padding: 8px;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.15),
        inset 0 -1px 1px rgba(0,0,0,0.3),
        0 0 0 0.5px rgba(255,255,255,0.08),
        0 2px 4px rgba(0,0,0,0.2),
        0 8px 20px rgba(0,0,0,0.22),
        0 20px 40px rgba(0,0,0,0.18);
}

.iphone-pro.mini .iphone-frame {
    width: 170px;
    height: 348px;
    border-radius: 34px;
    padding: 6px;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.15),
        inset 0 -1px 1px rgba(0,0,0,0.3),
        0 0 0 0.5px rgba(255,255,255,0.08),
        0 2px 4px rgba(0,0,0,0.15),
        0 6px 16px rgba(0,0,0,0.18),
        0 14px 32px rgba(0,0,0,0.14);
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.iphone-pro.small .dynamic-island {
    top: 15px;
    width: 80px;
    height: 24px;
    border-radius: 16px;
}

.iphone-pro.mini .dynamic-island {
    top: 11px;
    width: 60px;
    height: 18px;
    border-radius: 12px;
}

/* Screen */
.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 44px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.iphone-pro.small .iphone-screen {
    border-radius: 38px;
}

.iphone-pro.mini .iphone-screen {
    border-radius: 28px;
}

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

/* Side Buttons */
.iphone-side-btn {
    position: absolute;
    background: linear-gradient(180deg, #3a3a3c, #2a2a2c);
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.5);
}

.right-btn {
    right: -2.5px;
    width: 2.5px;
}

.left-btn {
    left: -2.5px;
    width: 2.5px;
}

.btn-1 { top: 145px; height: 30px; }
.btn-2 { top: 190px; height: 48px; }
.btn-3 { top: 115px; height: 26px; }
.btn-4 { top: 168px; height: 48px; }
.btn-5 { top: 228px; height: 48px; }

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 60px;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 80px;
    right: -40px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-icon {
    background: var(--teal-100);
    color: var(--teal-600);
}

.health-icon {
    background: #fde8e8;
    color: #e53e3e;
}

/* ===== SECTIONS COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--teal-600);
    transition: color 0.2s;
}

.feature-link:hover {
    color: var(--teal-800);
}

/* Featured Card (phone in features) */
.feature-card.featured {
    background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.feature-card.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(26, 58, 52, 0.3);
}

.feature-phone {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    flex: 1;
    max-width: 320px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    color: var(--teal-300);
    flex-shrink: 0;
}

/* ===== APP PREVIEW ===== */
.app-preview {
    padding: 100px 0;
}

.preview-carousel {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 32px;
}

.preview-phone {
    transition: all 0.4s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.preview-phone.active {
    opacity: 1;
    transform: scale(1);
}

.preview-label {
    text-align: center;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-500);
}

.preview-phone.active .preview-label {
    color: var(--teal-700);
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--teal-400);
    box-shadow: 0 0 0 1px var(--teal-400), var(--shadow-xl);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.pricing-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.price {
    margin-bottom: 28px;
}

.amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gray-900);
}

.period {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-left: 4px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.pricing-features svg {
    flex-shrink: 0;
    color: var(--teal-500);
}

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

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
}

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

.stars {
    display: flex;
    gap: 2px;
    color: var(--amber);
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-200), var(--teal-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--teal-900);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--teal-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    font-family: inherit;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gray-400);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--teal-600);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== REFERRAL PROMO ===== */
.referral-promo {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, #f0fdf9 100%);
}

.referral-promo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.referral-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
    color: var(--teal-700);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--teal-200);
    margin-bottom: 20px;
}

.referral-promo-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.referral-promo-highlight {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.referral-promo-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

.referral-tier-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.referral-tier-item:hover {
    border-color: var(--teal-300);
    box-shadow: 0 2px 8px rgba(78, 196, 176, 0.1);
}

.referral-tier-item.tier-highlight {
    background: linear-gradient(135deg, #f0fdf9, #e6f7f3);
    border-color: var(--teal-300);
    box-shadow: 0 2px 12px rgba(78, 196, 176, 0.15);
}

.referral-tier-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tier-highlight .referral-tier-number {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    box-shadow: 0 2px 8px rgba(37, 107, 95, 0.3);
}

.referral-tier-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--teal-700);
}

.referral-tier-info span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.referral-promo-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Visual Card */
.referral-promo-visual {
    display: flex;
    justify-content: center;
}

.referral-visual-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 380px;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 8px 24px rgba(0,0,0,0.06),
        0 20px 48px rgba(0,0,0,0.04);
}

.referral-visual-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.referral-visual-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
    border: 1px solid var(--teal-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
}

.referral-visual-header span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
}

.referral-visual-link {
    padding: 12px 16px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.82rem;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    color: var(--teal-700);
    margin-bottom: 24px;
    word-break: break-all;
}

.referral-visual-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.referral-visual-stat {
    text-align: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #f0fdf9, #e6f7f3);
    border: 1px solid var(--teal-100);
    border-radius: 14px;
}

.referral-visual-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal-700);
    line-height: 1;
    margin-bottom: 4px;
}

.referral-visual-stat span {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

.referral-visual-progress {
    height: 8px;
    background: var(--gray-100);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.referral-visual-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
    border-radius: 8px;
}

.referral-visual-next {
    font-size: 0.82rem;
    color: var(--gray-500);
    text-align: center;
}

.referral-visual-next strong {
    color: var(--teal-700);
}

/* ===== FEEDBACK PROMO ===== */
.feedback-promo {
    padding: 100px 0;
}

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

.feedback-promo-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feedback-promo-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.feedback-promo-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin: 0 auto 20px;
}

.feedback-promo-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.feedback-promo-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Nav CTA group */
.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta-secondary {
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
}

/* ===== DOWNLOAD CTA ===== */
.download-cta {
    padding: 80px 0;
}

.cta-content {
    background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-content .store-badges {
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-content .store-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-content .store-badge:hover {
    background: rgba(255,255,255,0.25);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-img {
    height: 40px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-top: 16px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--gray-500);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--teal-600);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--gray-400);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--teal-600);
}

/* ===== HERO ACTIONS ===== */
.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.waitlist-note {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

/* CTA Waitlist Button */
.cta-waitlist-btn {
    position: relative;
    z-index: 1;
    background: var(--white);
    color: var(--teal-800);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta-waitlist-btn:hover {
    background: var(--teal-50);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== WAITLIST PAGE ===== */
.waitlist-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 50%);
}

.waitlist-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.waitlist-info h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin: 20px 0;
    letter-spacing: -0.02em;
}

.waitlist-info > p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.waitlist-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 12px;
}

.perk-icon {
    width: 32px;
    height: 32px;
    background: var(--teal-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.perk span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Waitlist Form Card */
.waitlist-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.waitlist-form-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.waitlist-form-card > p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.signup-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group .optional {
    font-weight: 400;
    color: var(--gray-400);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--teal-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(78, 196, 176, 0.15);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

/* Platform Radio Options */
.platform-options {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.platform-option {
    flex: 1;
    cursor: pointer;
}

.platform-option input[type="radio"] {
    display: none;
}

.platform-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--gray-50);
    transition: all 0.2s ease;
}

.platform-option input[type="radio"]:checked + .platform-label {
    border-color: var(--teal-400);
    background: var(--teal-50);
    color: var(--teal-700);
}

.platform-label:hover {
    border-color: var(--teal-300);
}

/* Submit Button */
.submit-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    margin-top: 4px;
}

/* Success Modal */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.success-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.success-overlay.active .success-modal {
    transform: scale(1) translateY(0);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--teal-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin: 0 auto 24px;
}

.success-modal h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.success-modal p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-actions,
    .store-badges {
        justify-content: center;
    }

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

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

    .waitlist-perks {
        align-items: center;
    }

    .hero-visual {
        order: -1;
    }

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

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

    .pricing-card.popular {
        transform: scale(1);
    }

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

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

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

    .referral-promo-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .referral-promo-actions {
        justify-content: center;
    }

    .referral-tiers-grid {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta,
    .nav-cta-group {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .iphone-frame {
        width: 240px;
        height: 490px;
        border-radius: 46px;
        padding: 8px;
    }

    .iphone-screen {
        border-radius: 38px;
    }

    .floating-card {
        display: none;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

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

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

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

    .preview-carousel {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .preview-phone {
        transform: scale(0.95);
    }

    .preview-phone.active {
        transform: scale(1);
    }

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

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

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

    .referral-promo-content h2 {
        font-size: 2rem;
    }

    .referral-promo-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-content {
        padding: 40px 24px;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

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

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

    .waitlist-info h1 {
        font-size: 2rem;
    }

    .waitlist-form-card {
        padding: 28px 20px;
    }

    .signup-form {
        grid-template-columns: 1fr;
    }

    .platform-options {
        flex-direction: column;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .iphone-frame {
        width: 220px;
        height: 450px;
        border-radius: 42px;
        padding: 7px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

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