/* ===========================================
   FITEANDO — Landing
   Bento Grid + Claymotion
   Urbano Tech + Energía
   =========================================== */

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

/* --- Tokens --- */
:root {
    --bg:       #F7F8FA;
    --surface:  #FFFFFF;
    --text:     #101828;
    --text-2:   #475467;
    --primary:  #10B981;
    --primary-h:#059669;
    --accent:   #FF4D6D;
    --border:   #E4E7EC;
    --border-h: #D0D5DD;

    --gray-50:  #F9FAFB;
    --gray-100: #F2F4F7;
    --gray-200: #EAECF0;
    --gray-300: #D0D5DD;
    --gray-400: #98A2B3;
    --gray-500: #667085;
    --gray-600: #475467;
    --gray-700: #344054;
    --gray-800: #1D2939;
    --gray-900: #101828;

    --s-2: 0.25rem; --s-4: 0.5rem; --s-6: 0.75rem;
    --s-8: 1rem;    --s-12: 1.5rem; --s-16: 2rem;
    --s-20: 2.5rem; --s-24: 3rem;  --s-32: 4rem;
    --s-48: 6rem;   --s-64: 8rem;

    --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-20: 20px; --r-full: 999px;

    --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
    --shadow-sm: 0 1px 3px rgba(16,24,40,.1), 0 1px 2px rgba(16,24,40,.06);
    --shadow-md: 0 4px 8px -2px rgba(16,24,40,.1), 0 2px 4px -2px rgba(16,24,40,.06);
    --shadow-lg: 0 12px 16px -4px rgba(16,24,40,.08), 0 4px 6px -2px rgba(16,24,40,.03);
    --shadow-xl: 0 20px 24px -4px rgba(16,24,40,.08), 0 8px 8px -4px rgba(16,24,40,.03);
    --shadow-clay: 0 8px 24px -4px rgba(16,24,40,.12), 0 0 0 1px var(--border);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p  { color: var(--text-2); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-16);
}

/* --- Chips / Tags --- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-4) var(--s-8);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--r-full);
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--border);
}
.chip-accent {
    background: rgba(255,77,109,.08);
    color: var(--accent);
    border-color: rgba(255,77,109,.2);
}
.chip-white {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-color: rgba(255,255,255,.25);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-4);
    padding: var(--s-6) var(--s-16);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--r-12);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
}
.btn-sm { padding: var(--s-4) var(--s-12); font-size: .875rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(16,185,129,.28);
}
.btn-primary:hover {
    background: var(--primary-h);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16,185,129,.22);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover {
    background: rgba(16,185,129,.06);
}

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

/* ===========================================
   HEADER
   =========================================== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: var(--s-6) 0;
    background: rgba(247,248,250,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.scrolled {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.nav {
    display: flex;
    gap: var(--s-24);
}
.nav a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    transition: color .2s;
}
.nav a:hover { color: var(--text); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--s-4);
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===========================================
   HERO
   =========================================== */
.hero {
    padding: calc(var(--s-48) + 56px) 0 var(--s-48);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-32);
    align-items: center;
}
.hero-content h1 { margin-bottom: var(--s-8); }
.hero-sub {
    font-size: 1.125rem;
    color: var(--text-2);
    margin-bottom: var(--s-20);
    max-width: 480px;
}
.hero-ctas { display: flex; gap: var(--s-8); flex-wrap: wrap; }

/* Hero chip */
.hero-content .chip { margin-bottom: var(--s-12); }

/* Social proof ticker */
.social-proof-ticker {
    display: inline-flex;
    align-items: center;
    gap: var(--s-6);
    font-size: .875rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: var(--s-12);
}
.social-proof-ticker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* --- Clay Scene (Hero visual) --- */
.hero-visual { display: flex; justify-content: center; position: relative; }

.clay-scene {
    position: relative;
    width: 340px;
    height: 440px;
}
.clay-blob {
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(16,185,129,.12), rgba(16,185,129,.04));
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(2px);
}

.clay-phone {
    position: absolute;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 380px;
    background: var(--surface);
    border-radius: 28px;
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
    padding: 12px;
    z-index: 2;
}
.clay-phone-notch {
    width: 80px; height: 6px;
    background: var(--gray-200);
    border-radius: var(--r-full);
    margin: 4px auto 12px;
}
.clay-phone-screen {
    background: var(--gray-50);
    border-radius: 18px;
    height: calc(100% - 22px);
    padding: var(--s-8);
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
    overflow: hidden;
}
.clay-app-header {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    font-size: .75rem;
    font-weight: 600;
    color: var(--text);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid var(--border);
}
.clay-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.clay-match-card {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-12);
    padding: var(--s-6);
    box-shadow: var(--shadow-xs);
}
.clay-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}
.clay-avatar-1 { background: linear-gradient(135deg, #f9a8d4, #f472b6); }
.clay-avatar-2 { background: linear-gradient(135deg, #93c5fd, #60a5fa); }
.clay-avatar-3 { background: linear-gradient(135deg, #fcd34d, #f59e0b); }

.clay-match-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.clay-text-line {
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
}
.clay-text-line.light { background: var(--gray-100); }
.w-40 { width: 40%; } .w-50 { width: 50%; }
.w-60 { width: 60%; } .w-70 { width: 70%; }

.clay-match-btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(16,185,129,.1);
    border-radius: 50%;
    font-size: .75rem;
}

.clay-person {
    position: absolute;
    z-index: 1;
    bottom: 40px;
}
.clay-person-left { left: 10px; }
.clay-person-right { right: 10px; }
.clay-head {
    width: 28px; height: 28px;
    border-radius: 50%;
    margin: 0 auto 4px;
    box-shadow: var(--shadow-sm);
}
.clay-body {
    width: 24px; height: 40px;
    border-radius: 12px 12px 8px 8px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}
.clay-person-left .clay-head  { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.clay-person-left .clay-body  { background: linear-gradient(180deg, #7c3aed, #6d28d9); }
.clay-person-right .clay-head { background: linear-gradient(135deg, #fb923c, #f97316); }
.clay-person-right .clay-body { background: linear-gradient(180deg, #f97316, #ea580c); }

.clay-pin {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 24px;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-8px); }
}

/* ===========================================
   SECTIONS (base)
   =========================================== */
.section {
    padding: var(--s-48) 0;
}
.section-header {
    text-align: center;
    margin-bottom: var(--s-32);
}
.section-header .chip { margin-bottom: var(--s-8); }
.section-header h2 { margin-bottom: var(--s-6); }
.section-sub {
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

/* ===========================================
   PROBLEM SECTION
   =========================================== */
.section-problem {
    padding-top: 0;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-12);
}
.problem-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-20);
    padding: var(--s-20);
    text-align: center;
}
.problem-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--s-12);
    background: rgba(255,77,109,.08);
    border-radius: 50%;
    color: var(--accent);
}
.problem-card h3 {
    margin-bottom: var(--s-4);
    font-size: 1.125rem;
}
.problem-card p {
    font-size: .9375rem;
    color: var(--text-2);
}
.problem-closer {
    text-align: center;
    margin-top: var(--s-24);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===========================================
   BENTO GRID
   =========================================== */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: var(--s-12);
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-20);
    padding: var(--s-20);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--s-8);
}
.card-tag svg { color: var(--primary); }

.bento-card h3 { margin-bottom: var(--s-4); }
.bento-card > p,
.card-content p { color: var(--text-2); font-size: .9375rem; }

/* (old card-compat/coord/session/streak removed — replaced by card-feat-* in features section) */

/* --- Clay inside Bento Cards --- */

/* Compat: clay chips */
.clay-chips {
    display: flex;
    gap: var(--s-4);
    flex-wrap: wrap;
    margin-bottom: var(--s-6);
}
.clay-chips.row-2 { opacity: .6; }
.clay-chip {
    padding: var(--s-4) var(--s-8);
    font-size: .75rem;
    font-weight: 600;
    border-radius: var(--r-full);
    border: 1px solid;
    box-shadow: var(--shadow-xs);
}
.clay-chip-activity { background: #ECFDF5; color: #059669; border-color: #A7F3D0; }
.clay-chip-zone     { background: #EFF6FF; color: #2563EB; border-color: #BFDBFE; }
.clay-chip-time     { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }

.clay-arrow {
    display: flex;
    justify-content: center;
    padding: var(--s-4) 0;
}
.clay-result {
    display: flex;
    justify-content: center;
}
.clay-result-badge {
    background: var(--primary);
    color: #fff;
    padding: var(--s-4) var(--s-12);
    border-radius: var(--r-full);
    font-size: .8125rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16,185,129,.3);
}

/* Coord: clay chat */
.clay-chat {
    margin-top: var(--s-12);
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}
.clay-bubble {
    padding: var(--s-6) var(--s-8);
    border-radius: var(--r-16);
    font-size: .8125rem;
    max-width: 85%;
    box-shadow: var(--shadow-xs);
}
.clay-bubble-out {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: var(--r-8);
}
.clay-bubble-in {
    background: var(--gray-100);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: var(--r-8);
}
.clay-quick-btns {
    display: flex;
    gap: var(--s-4);
    margin-top: var(--s-4);
}
.clay-qbtn {
    padding: var(--s-2) var(--s-8);
    font-size: .75rem;
    font-weight: 600;
    border-radius: var(--r-full);
    background: var(--gray-100);
    color: var(--text-2);
    border: 1px solid var(--border);
}
.clay-qbtn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Session: clay check-in */
.clay-checkin {
    margin-top: var(--s-12);
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}
.clay-checkin-row {
    display: flex;
    align-items: center;
    gap: var(--s-6);
}
.clay-mini-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
}
.clay-mini-avatar.a1 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.clay-mini-avatar.a2 { background: linear-gradient(135deg, #fb923c, #f97316); }

.clay-check-status {
    font-size: .75rem;
    font-weight: 600;
    padding: var(--s-2) var(--s-6);
    border-radius: var(--r-full);
}
.clay-check-status.confirmed {
    background: #ECFDF5;
    color: #059669;
}
.clay-session-confirmed {
    margin-top: var(--s-4);
    padding: var(--s-4) var(--s-8);
    background: var(--primary);
    color: #fff;
    border-radius: var(--r-12);
    font-size: .8125rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16,185,129,.25);
}

/* Streak: clay days */
.clay-streak { margin-top: var(--s-12); }
.streak-days {
    display: flex;
    gap: var(--s-4);
    margin-bottom: var(--s-8);
}
.streak-day {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-400);
    border: 1px solid var(--border);
}
.streak-day.done {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(16,185,129,.25);
}
.streak-stat {
    display: flex;
    align-items: baseline;
    gap: var(--s-4);
}
.streak-number {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.streak-label {
    font-size: .8125rem;
    color: var(--text-2);
}

/* ===========================================
   FEATURES SECTION (condensed bento)
   =========================================== */
.section-features { background: var(--gray-50); }

.bento-features {
    grid-template-columns: repeat(2, 1fr);
}
.card-feat-compat  { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); }
.card-feat-coord   { grid-column: span 1; }
.card-feat-session { grid-column: span 1; }
.card-feat-summary { grid-column: span 2; }

/* Badge Premium inline */
.badge-premium {
    display: inline-block;
    padding: var(--s-2) var(--s-6);
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-h));
    color: #fff;
    margin-bottom: var(--s-4);
}

/* Compat demo */
.ai-compat-demo { margin-top: var(--s-12); }
.ai-compat-card {
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--r-16);
    padding: var(--s-12);
}
.ai-compat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--s-8);
}
.ai-compat-avatars {
    display: flex;
}
.ai-compat-avatars .clay-mini-avatar {
    width: 32px; height: 32px;
    border: 2px solid var(--surface);
}
.ai-compat-avatars .clay-mini-avatar + .clay-mini-avatar {
    margin-left: -8px;
}
.ai-compat-score {
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.ai-compat-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    margin-bottom: var(--s-8);
}
.ai-compat-row {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    font-size: .8125rem;
    color: var(--text-2);
}
.ai-compat-row.faded {
    opacity: .5;
}
.ai-compat-label {
    padding-top: var(--s-6);
    border-top: 1px solid var(--border);
}

/* (old ai-suggestion/ai-plan styles removed — sections no longer in HTML) */

/* Summary demo */
.ai-summary-demo { margin-top: var(--s-12); }
.ai-summary-basic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
    margin-bottom: var(--s-8);
}
.ai-summary-stat {
    text-align: center;
    padding: var(--s-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-12);
}
.ai-stat-value {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .9375rem;
    color: var(--text);
}
.ai-stat-label {
    display: block;
    font-size: .6875rem;
    color: var(--gray-400);
    margin-top: 2px;
}
.ai-insight {
    padding: var(--s-8);
    background: linear-gradient(135deg, rgba(16,185,129,.06), rgba(16,185,129,.02));
    border: 1px dashed rgba(16,185,129,.3);
    border-radius: var(--r-12);
}
.ai-insight .badge-premium { margin-bottom: var(--s-4); }
.ai-insight p {
    font-size: .8125rem;
    color: var(--text-2);
    font-style: italic;
}

/* ===========================================
   BENEFITS SECTION
   =========================================== */
.section-benefits {
    padding: var(--s-32) 0;
}
.benefits-card {
    background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
    border-radius: var(--r-20);
    padding: var(--s-32);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-24);
    align-items: center;
    color: #fff;
}
.benefits-text h2 { color: #fff; margin-bottom: var(--s-6); }
.benefits-text p  { color: rgba(255,255,255,.85); font-size: 1.0625rem; }

.benefits-tags {
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}
.benefit-tag {
    display: flex;
    align-items: flex-start;
    gap: var(--s-6);
    padding: var(--s-8) var(--s-12);
    background: rgba(255,255,255,.12);
    border-radius: var(--r-12);
    font-size: .9375rem;
    backdrop-filter: blur(4px);
}
.benefit-tag svg { opacity: .85; flex-shrink: 0; margin-top: 2px; }
.benefit-tag-content { display: flex; flex-direction: column; gap: 2px; }
.benefit-tag-title { font-weight: 600; }
.benefit-tag-desc { font-size: .875rem; opacity: .85; }

/* ===========================================
   TRUST & SAFETY SECTION
   =========================================== */
.section-trust {
    background: var(--gray-50);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-12);
}
.trust-card-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-20);
    padding: var(--s-20);
    text-align: center;
}
.trust-card-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--s-12);
    background: rgba(16,185,129,.08);
    border-radius: 50%;
    color: var(--primary);
}
.trust-card-item h3 {
    margin-bottom: var(--s-4);
    font-size: 1.125rem;
}
.trust-card-item p {
    font-size: .9375rem;
    color: var(--text-2);
}
.trust-badges-inline {
    display: flex;
    gap: var(--s-4);
    justify-content: center;
    margin-top: var(--s-12);
    flex-wrap: wrap;
}
.trust-badge {
    padding: var(--s-4) var(--s-8);
    font-size: .75rem;
    font-weight: 600;
    border-radius: var(--r-full);
    border: 1px solid;
}
.badge-new    { background: var(--gray-50); color: var(--gray-500); border-color: var(--border); }
.badge-active { background: #EFF6FF; color: #2563EB; border-color: #BFDBFE; }
.badge-trusted{ background: #ECFDF5; color: #059669; border-color: #A7F3D0; }

/* ===========================================
   PLANS
   =========================================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-16);
    max-width: 800px;
    margin: 0 auto;
}
.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-20);
    padding: var(--s-24);
    position: relative;
    display: flex;
    flex-direction: column;
}
.plan-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.plan-badge {
    position: absolute;
    top: -11px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: var(--s-2) var(--s-12);
    border-radius: var(--r-full);
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.plan-top {
    text-align: center;
    padding-bottom: var(--s-16);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--s-16);
}
.plan-top h3 { font-size: 1.375rem; margin-bottom: var(--s-6); }
.plan-desc { font-size: .9375rem; color: var(--text-2); }

.plan-price {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: var(--s-2);
}
.plan-price small {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-2);
}
.plan-price-note {
    font-size: .8125rem;
    color: var(--gray-400);
}
.plan-list {
    list-style: none;
    flex: 1;
    margin-bottom: var(--s-16);
}
.plan-list li {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    padding: var(--s-4) 0;
    font-size: .9375rem;
    color: var(--text-2);
}
.plan-list li svg { flex-shrink: 0; }

/* ===========================================
   CTA + WAITLIST
   =========================================== */
.section-cta { padding-bottom: var(--s-48); }
.cta-card {
    background: var(--gray-900);
    border-radius: var(--r-20);
    padding: var(--s-48) var(--s-32);
    text-align: center;
    color: #fff;
}
.cta-card .chip { margin-bottom: var(--s-12); }
.cta-card h2 { color: #fff; margin-bottom: var(--s-6); }
.cta-card p  { color: var(--gray-400); margin-bottom: var(--s-16); font-size: 1.0625rem; }

.waitlist-form {
    display: flex;
    gap: var(--s-8);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--s-8);
}

.input {
    min-width: 280px;
    width: min(420px, 100%);
    padding: var(--s-8) var(--s-12);
    border-radius: var(--r-12);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .9375rem;
    outline: none;
    box-shadow: var(--shadow-xs);
    transition: border-color .2s, box-shadow .2s;
}
.input:focus {
    border-color: rgba(16,185,129,.45);
    box-shadow: 0 0 0 4px rgba(16,185,129,.12);
}
.input::placeholder { color: var(--gray-400); }

.input-dark {
    background: var(--gray-800);
    border-color: var(--gray-700);
    color: #fff;
}
.input-dark:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16,185,129,.15);
}
.input-dark::placeholder { color: var(--gray-500); }

.muted {
    color: var(--gray-500);
    font-size: .8125rem;
}
.muted-dark {
    color: var(--gray-500);
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    padding: var(--s-16) 0;
    border-top: 1px solid var(--border);
}
.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-16);
}
.footer-links {
    display: flex;
    gap: var(--s-16);
}
.footer-links a {
    font-size: .875rem;
    color: var(--text-2);
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
    font-size: .8125rem;
    color: var(--gray-400);
}

/* ===========================================
   LEGAL PAGES
   =========================================== */
.legal-page { padding-top: calc(var(--s-48) + 56px); }
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h1 { margin-bottom: var(--s-4); }
.legal-content h2 { font-size: 1.125rem; margin-top: var(--s-24); margin-bottom: var(--s-6); }
.legal-content p { margin-bottom: var(--s-8); }
.legal-content ul { padding-left: var(--s-16); margin-bottom: var(--s-8); }
.legal-content li { color: var(--text-2); font-size: .9375rem; padding: var(--s-2) 0; }
.legal-updated { font-size: .875rem; color: var(--gray-400); margin-bottom: var(--s-24); }

/* ===========================================
   STEPS SECTION (How it works)
   =========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-16);
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-20);
    padding: var(--s-24);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.step-number {
    font-family: 'Manrope', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--s-8);
    opacity: .2;
}
.step-card h3 {
    margin-bottom: var(--s-4);
    font-size: 1.125rem;
}
.step-card > p {
    font-size: .9375rem;
    color: var(--text-2);
    margin-bottom: var(--s-12);
}
.step-visual {
    margin-top: auto;
    padding: var(--s-8);
    background: var(--gray-50);
    border-radius: var(--r-12);
    border: 1px solid var(--border);
}

/* ===========================================
   DIFFERENTIATOR SECTION (Not Tinder)
   =========================================== */
.section-diff {
    background: var(--gray-900);
    color: #fff;
}
.section-diff .section-header h2 { color: #fff; }
.section-diff .section-sub { color: var(--gray-400); }

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-16);
    max-width: 800px;
    margin: 0 auto;
}
.diff-card {
    border-radius: var(--r-20);
    padding: var(--s-24);
}
.diff-card-bad {
    background: rgba(255,77,109,.06);
    border: 1px solid rgba(255,77,109,.2);
}
.diff-card-good {
    background: rgba(16,185,129,.06);
    border: 1px solid rgba(16,185,129,.2);
}
.diff-card-header {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    font-family: 'Manrope', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--s-12);
}
.diff-card-bad .diff-card-header { color: var(--accent); }
.diff-card-good .diff-card-header { color: var(--primary); }

.diff-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
}
.diff-list li {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    font-size: .9375rem;
    color: var(--gray-300);
}
.diff-list li svg { flex-shrink: 0; }

.diff-closer {
    text-align: center;
    margin-top: var(--s-24);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===========================================
   GAMIFICATION SECTION
   =========================================== */
.section-gamification { background: var(--gray-50); }

.gamification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-24);
    align-items: center;
}
.gamification-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-20);
    padding: var(--s-24);
}
.gamification-visual .streak-days {
    justify-content: center;
    margin-bottom: var(--s-12);
}
.gamification-visual .streak-day {
    width: 40px;
    height: 40px;
    font-size: .875rem;
}
.gamification-visual .streak-stat {
    justify-content: center;
    margin-bottom: var(--s-16);
}
.gamification-visual .streak-number {
    font-size: 2.5rem;
}

.badge-pills {
    display: flex;
    gap: var(--s-6);
    flex-wrap: wrap;
    justify-content: center;
    padding-top: var(--s-12);
    border-top: 1px solid var(--border);
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-4) var(--s-8);
    font-size: .8125rem;
    font-weight: 600;
    border-radius: var(--r-full);
    background: var(--gray-50);
    color: var(--text-2);
    border: 1px solid var(--border);
}
.badge-pill-icon {
    font-size: .875rem;
}

.gamification-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--s-4);
}
.gamification-content p {
    font-size: .9375rem;
    color: var(--text-2);
    margin-bottom: var(--s-16);
}
.gamification-content p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   SHARING SECTION (Social Sharing)
   =========================================== */
.sharing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-32);
    align-items: center;
}

.story-mockup {
    max-width: 280px;
    margin: 0 auto;
    border-radius: var(--r-20);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Photo area with real image + overlaid data */
.story-photo {
    position: relative;
    aspect-ratio: 9 / 16;
    background: var(--gray-900);
    overflow: hidden;
}
.story-photo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Subtle dark vignette so overlays stay readable */
.story-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 30%),
        linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 35%);
    pointer-events: none;
    z-index: 1;
}

/* Top overlay: logo + date */
.story-overlay-top {
    position: absolute;
    top: var(--s-16);
    left: var(--s-16);
    right: var(--s-16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
.story-overlay-logo {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: .875rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.story-overlay-date {
    font-size: .6875rem;
    color: rgba(255,255,255,.7);
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2px var(--s-8);
    border-radius: var(--r-full);
}

/* Stat chips — positioned at corners, not blocking center */
.story-overlay-stat {
    position: absolute;
    z-index: 2;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-12);
    padding: var(--s-6) var(--s-12);
    text-align: center;
}
.story-overlay-tl {
    bottom: 40%;
    left: var(--s-16);
}
.story-overlay-tr {
    bottom: 40%;
    right: var(--s-16);
}
.story-overlay-value {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: #fff;
    line-height: 1.2;
}
.story-overlay-label {
    display: block;
    font-size: .625rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 1px;
}

/* Bottom overlay: badge + url */
.story-overlay-bottom {
    position: absolute;
    bottom: var(--s-16);
    left: var(--s-16);
    right: var(--s-16);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-6);
}
.story-overlay-badge {
    display: inline-block;
    background: rgba(16,185,129,.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16,185,129,.3);
    color: var(--primary);
    padding: var(--s-4) var(--s-12);
    border-radius: var(--r-full);
    font-size: .8125rem;
    font-weight: 600;
}
.story-overlay-url {
    font-size: .6875rem;
    color: rgba(255,255,255,.4);
}

.sharing-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--s-4);
}
.sharing-content p {
    font-size: .9375rem;
    color: var(--text-2);
    margin-bottom: var(--s-16);
}
.sharing-content .badge-pills {
    margin-bottom: var(--s-16);
}
.sharing-platforms {
    font-size: .8125rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-bottom: 0;
}

/* ===========================================
   B2B SECTION (Gyms)
   =========================================== */
.section-b2b {
    border-top: 1px solid var(--border);
}
.b2b-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-12);
    margin-bottom: var(--s-24);
}
.b2b-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-20);
    padding: var(--s-20);
    text-align: center;
}
.b2b-card-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--s-12);
    background: rgba(16,185,129,.08);
    border-radius: 50%;
    color: var(--primary);
}
.b2b-card h3 {
    margin-bottom: var(--s-4);
    font-size: 1.125rem;
}
.b2b-card p {
    font-size: .9375rem;
    color: var(--text-2);
}
.b2b-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.b2b-form-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: var(--s-4);
}
.b2b-form-wrapper > p {
    font-size: .9375rem;
    color: var(--text-2);
    margin-bottom: var(--s-16);
}
.b2b-form {
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
    margin-bottom: var(--s-8);
}
.b2b-form .input {
    width: 100%;
    min-width: 0;
}
.input-textarea {
    resize: vertical;
    min-height: 72px;
    font-family: inherit;
}
.b2b-form-wrapper .muted {
    display: block;
    font-size: .8125rem;
    color: var(--text-2);
}

/* ===========================================
   ICON UTILITIES
   =========================================== */
.icon-primary { color: var(--primary); }
.icon-accent  { color: var(--accent); }

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-visual { order: -1; }
    .clay-scene { width: 280px; height: 380px; }
    .clay-phone { width: 170px; height: 320px; }
    .clay-person { display: none; }

    .problem-grid { grid-template-columns: repeat(3, 1fr); }

    .steps-grid { grid-template-columns: repeat(3, 1fr); }

    .bento-features { grid-template-columns: repeat(2, 1fr); }
    .card-feat-compat { grid-column: span 2; }

    .benefits-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--s-24);
    }
    .benefits-tags { align-items: center; }

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

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

@media (max-width: 768px) {
    .nav { display: none; }
    .nav-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: var(--s-12) var(--s-16);
        gap: var(--s-8);
        box-shadow: var(--shadow-lg);
    }
    .header .btn-sm { display: none; }
    .mobile-menu-btn { display: flex; }

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

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

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

    .bento-features { grid-template-columns: 1fr; }
    .card-feat-compat {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    .card-feat-summary { grid-column: span 1; }

    .sharing-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gamification-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gamification-visual .streak-days { justify-content: center; }

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

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

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

    .footer-bar {
        flex-direction: column;
        text-align: center;
        gap: var(--s-8);
    }

    .cta-card { padding: var(--s-32) var(--s-16); }
    .waitlist-form { flex-direction: column; }
    .input { min-width: 0; }
}

@media (max-width: 480px) {
    .hero { padding-top: calc(var(--s-32) + 56px); }
    .clay-scene { width: 240px; height: 320px; }
    .clay-phone { width: 150px; height: 280px; border-radius: 22px; padding: 8px; }
    .clay-phone-screen { border-radius: 14px; padding: var(--s-4); gap: var(--s-4); }
    .clay-match-card { padding: var(--s-4); }
    .clay-avatar { width: 24px; height: 24px; }

    .step-number { font-size: 2rem; }

    .gamification-visual .streak-day { width: 32px; height: 32px; font-size: .75rem; }
    .gamification-visual .streak-number { font-size: 2rem; }

    .streak-days { gap: 3px; }
    .streak-day { width: 28px; height: 28px; font-size: .6875rem; }
}
