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

:root {
    --green: #34C759;
    --green-dark: #2DA44E;
    --green-glow: rgba(52, 199, 89, 0.4);
    --blue: #4A90D9;
    --carb-green: #50C878;
    --amber: #FFB347;
    --bg: #050505;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --text: #f5f5f7;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-tertiary: rgba(255, 255, 255, 0.35);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== UTILITIES ===== */
.gradient-text {
    background: linear-gradient(135deg, #34C759 0%, #30D158 40%, #5AC8FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-inner-narrow {
    max-width: 800px;
}

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 100px;
}

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

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: #000;
    padding: 12px 24px;
}

.btn-primary:hover {
    background: #2FCB53;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(52, 199, 89, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 20px;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    padding: 12px 24px;
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    background: var(--green);
    padding: 8px 18px;
    border-radius: 10px;
    transition: all 0.25s;
}

.nav-cta:hover {
    background: #2FCB53;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(52, 199, 89, 0.3);
}

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

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
}

.mobile-nav-cta {
    background: var(--green);
    color: #000 !important;
    padding: 12px 24px !important;
    border-radius: 12px;
    text-align: center;
    font-weight: 600 !important;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.2), transparent 70%);
    top: -100px;
    right: 10%;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(90, 200, 250, 0.1), transparent 70%);
    bottom: -100px;
    left: 5%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--green);
    background: rgba(52, 199, 89, 0.08);
    border: 1px solid rgba(52, 199, 89, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
}

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

.hero-proof {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-stars {
    display: flex;
    gap: 2px;
}

.hero-proof span {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ===== PHONE MOCKUP ===== */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 44px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(52, 199, 89, 0.08);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

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

.phone-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 44px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Mock App UI */
.mock-app {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}

.mock-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.mock-greeting {
    padding: 8px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mock-greeting-small {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.mock-greeting-name {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.mock-calories {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.mock-rings {
    position: relative;
    width: 120px;
    height: 120px;
}

.mock-ring-svg {
    width: 100%;
    height: 100%;
}

.mock-cal-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mock-cal-num {
    font-size: 18px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.mock-cal-label {
    font-size: 8px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.mock-macros {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.mock-macro {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
}

.mock-macro-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    grid-column: 1 / -1;
    order: 1;
}

.mock-macro-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.protein-fill { background: var(--blue); }
.carbs-fill { background: var(--carb-green); }
.fat-fill { background: var(--amber); }

.mock-macro-label {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    order: 0;
}

.mock-macro-val {
    font-size: 10px;
    font-weight: 600;
    color: white;
    order: 0;
    text-align: right;
}

.mock-macro-dim {
    color: rgba(255,255,255,0.3);
    font-weight: 400;
}

.mock-recent {
    flex: 1;
    padding: 10px 0;
}

.mock-recent-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    display: block;
    margin-bottom: 8px;
}

.mock-food-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    margin-bottom: 6px;
}

.mock-food-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    flex-shrink: 0;
}

.mock-food-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mock-food-name {
    font-size: 11px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-food-meta {
    font-size: 9px;
    color: rgba(255,255,255,0.35);
}

.mock-food-confidence {
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
    background: rgba(52, 199, 89, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    flex-shrink: 0;
}

.mock-tab-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.mock-tab {
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-tab.active {
    color: var(--green);
}

.mock-camera-btn {
    width: 40px;
    height: 40px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -8px;
}

/* Floating cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    white-space: nowrap;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: float-bob 6s ease-in-out infinite;
}

.float-card-1 {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: -3s;
}

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

.float-card-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-pulse {
    width: 32px;
    height: 32px;
    background: rgba(52, 199, 89, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card-text {
    display: flex;
    flex-direction: column;
}

.float-card-text strong {
    font-size: 13px;
    font-weight: 600;
}

.float-card-text span {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* ===== PROOF BAR ===== */
.proof-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.01);
}

.proof-bar-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.proof-num {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.proof-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

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

/* ===== FEATURES ===== */
.features {
    padding: 120px 24px;
}

.feature-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-lg);
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.feature-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 32px;
    align-items: start;
}

.feature-card-large .feature-icon-wrap {
    grid-row: 1 / 3;
}

.feature-card-large .feature-tag-row {
    grid-column: 2;
}

.feature-card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.06), transparent 70%);
    pointer-events: none;
}

.feature-icon-wrap {
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

.feature-tag-row {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.feature-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 1) 50%, var(--bg) 100%);
}

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

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(52, 199, 89, 0.1);
    color: var(--green);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.step-phone {
    width: 180px;
    height: 320px;
    margin: 0 auto 24px;
    background: #1a1a1a;
    border-radius: 28px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-phone-screen {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow {
    flex-shrink: 0;
    padding-top: 80px;
}

.step h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Step demos */
.step-demo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.step-demo-camera {
    background: #000;
    gap: 24px;
}

.step-viewfinder {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-corners span {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--green);
    border-style: solid;
    border-width: 0;
}

.step-corners span:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-radius: 4px 0 0 0; }
.step-corners span:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-radius: 0 4px 0 0; }
.step-corners span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 4px; }
.step-corners span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 4px 0; }

.step-food-emoji {
    font-size: 40px;
}

.step-shutter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid white;
    position: relative;
}

.step-shutter::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: white;
    opacity: 0.9;
}

.step-demo-result {
    padding: 20px 14px;
    gap: 16px;
}

.step-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.step-food-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.step-confidence {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    background: rgba(52, 199, 89, 0.1);
    padding: 3px 8px;
    border-radius: 8px;
}

.step-result-macros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.step-macro-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.step-macro-val {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.step-macro-unit {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

.step-result-btn {
    background: var(--green);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
}

.step-demo-track {
    gap: 12px;
}

.step-ring-svg {
    width: 110px;
    height: 110px;
}

.step-track-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
}

/* ===== COMPARISON ===== */
.comparison {
    padding: 120px 24px;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.comp-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-row > div {
    padding: 16px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.comp-header > div {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 20px 20px;
}

.comp-header .comp-calvue {
    color: var(--green);
}

.comp-feature {
    font-weight: 500;
    color: var(--text-secondary);
}

.comp-app {
    justify-content: center;
    text-align: center;
}

.comp-calvue {
    background: rgba(52, 199, 89, 0.04);
}

.comp-check {
    color: var(--green);
    font-size: 18px;
    font-weight: 700;
}

.comp-check.dim {
    opacity: 0.4;
}

.comp-x {
    color: rgba(255, 255, 255, 0.2);
    font-size: 16px;
}

.comp-row-price .comp-calvue strong {
    color: var(--green);
}

.comp-row-price .comp-app:not(.comp-calvue) {
    color: var(--text-tertiary);
}

/* ===== PRICING ===== */
.pricing {
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 1) 50%, var(--bg) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: all 0.35s;
}

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

.price-card-popular {
    border-color: rgba(52, 199, 89, 0.3);
    background: rgba(52, 199, 89, 0.03);
}

.price-card-popular:hover {
    border-color: rgba(52, 199, 89, 0.5);
}

.price-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.price-card-header {
    margin-bottom: 28px;
}

.price-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.price-dollar {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-cents {
    font-size: 24px;
    font-weight: 700;
}

.price-period {
    font-size: 15px;
    color: var(--text-tertiary);
    margin-left: 4px;
}

.price-billed {
    display: block;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
}

.price-features li strong {
    color: var(--text);
}

/* ===== FAQ ===== */
.faq {
    padding: 120px 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

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

.faq-item[open] {
    border-color: rgba(52, 199, 89, 0.15);
    background: rgba(52, 199, 89, 0.02);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--text-tertiary);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== CTA ===== */
.cta {
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.12), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
}

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

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

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.app-store-badge {
    display: inline-flex;
    transition: all 0.25s;
    border-radius: 8px;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

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

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 48px;
}

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

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

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

/* ===== ANIMATIONS ===== */
.ring-animate {
    animation: ring-fill 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-play-state: paused;
}

.ring-animate.animate {
    animation-play-state: running;
}

@keyframes ring-fill {
    from { stroke-dashoffset: 400; }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

    .feature-card-large {
        grid-template-columns: 1fr;
    }

    .feature-card-large .feature-icon-wrap {
        grid-row: auto;
    }

    .feature-card-large .feature-tag-row {
        grid-column: 1;
    }

    .float-card {
        display: none;
    }
}

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

    .nav-mobile-toggle {
        display: flex;
    }

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

    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-arrow {
        display: none;
    }

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

    .comparison-table {
        font-size: 13px;
    }

    .comp-row > div {
        padding: 12px 10px;
        font-size: 12px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }

    .proof-bar-inner {
        gap: 24px;
    }

    .proof-divider {
        display: none;
    }

    .proof-bar-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: clamp(36px, 8vw, 54px);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 16px 40px;
    }

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

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

    .phone-frame {
        width: 240px;
        height: 500px;
        border-radius: 36px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    .phone-notch {
        width: 100px;
        height: 24px;
    }

    .step-phone {
        width: 160px;
        height: 280px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .features, .how-it-works, .comparison, .pricing, .faq, .cta {
        padding: 80px 16px;
    }

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

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

    .pricing-grid {
        max-width: 100%;
    }

    .comp-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .comp-feature {
        font-size: 11px;
    }

    .faq-item summary {
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-item p {
        padding: 0 18px 16px;
        font-size: 14px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .proof-num {
        font-size: 22px;
    }

    .proof-label {
        font-size: 11px;
    }

    .nav-inner {
        height: 56px;
    }

    .footer-links {
        gap: 24px;
    }

    .footer-col {
        min-width: 120px;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 80px 12px 32px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 15px;
    }

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

    .section-header h2 {
        font-size: 24px;
    }

    .price-dollar {
        font-size: 36px;
    }

    .comp-row {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }

    .comp-header > div {
        font-size: 10px;
        padding: 14px 6px;
    }

    .comp-row > div {
        padding: 10px 6px;
        font-size: 11px;
    }
}

/* Smooth scrolling offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(52, 199, 89, 0.3);
    color: white;
}

/* Prevent horizontal overflow on any device */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}
