@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ══════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════ */
:root {
    --bg:            #0A0A0F;
    --bg-alt:        #0D0D18;
    --surface:       rgba(16, 16, 26, 0.85);
    --surface-solid: #10101A;
    --border:        rgba(255, 255, 255, 0.07);
    --border-bright: rgba(33, 150, 243, 0.45);

    --primary:       #0061A4;
    --primary-mid:   #1976D2;
    --primary-bright:#2196F3;
    --success:       #2DB56F;
    --warning:       #F2B44D;
    --danger:        #E45757;

    --text:          #FFFFFF;
    --text-secondary:#B8B8CC;
    --text-muted:    #72728A;

    --radius-xl:     24px;
    --radius-card:   20px;
    --radius-sm:     12px;
    --radius-xs:     8px;

    --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring:   cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --shadow-sm:     0 2px 12px rgba(0,0,0,0.3);
    --shadow-md:     0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg:     0 24px 64px rgba(0,0,0,0.5);
    --shadow-glow:   0 0 40px rgba(33,150,243,0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 700; }

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

section { padding: 120px 0; }

.pillars,
.for-you,
.shared-wallets,
.coherence,
.intelligence,
.daily-loop {
    display: none;
}

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--text);
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.gradient-text {
    background: linear-gradient(130deg, #2196F3 0%, #00BCD4 50%, #2DB56F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-bright);
    margin-bottom: 14px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-eyebrow { display: block; }
.section-header h2 { margin-bottom: 14px; }
.section-header p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s var(--ease),
                transform  0.25s var(--ease),
                box-shadow 0.25s var(--ease),
                border-color 0.25s;
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-bright);
    border-color: var(--primary-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(33,150,243,0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.07);
    color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity  0.65s var(--ease),
                transform 0.65s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════
   1. NAVIGATION
══════════════════════════════════════ */
#nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: padding 0.3s, border-color 0.3s, background 0.3s;
}
#nav.scrolled {
    padding: 14px 0;
    border-bottom-color: var(--border);
    background: rgba(10, 10, 15, 0.88);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-right: auto;
}
.logo img { height: 28px; border-radius: 7px; }

.nav-links {
    display: flex;
    gap: 26px;
}
.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { padding: 10px 20px; font-size: 0.875rem; }

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

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 65%;
    height: 120%;
    background: radial-gradient(ellipse at 60% 40%,
        rgba(0, 97, 164, 0.2) 0%,
        rgba(33, 150, 243, 0.05) 40%,
        transparent 70%);
    pointer-events: none;
    animation: heroPulse 12s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    from { opacity: 0.6; transform: scale(1); }
    to   { opacity: 1;   transform: scale(1.08) translateX(-20px); }
}

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

/* Hero copy — CSS keyframe entrance (not IntersectionObserver) */
.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-bright);
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeUp 0.8s 0.15s var(--ease) forwards;
}
.hero-copy h1 {
    opacity: 0;
    animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}
.hero-sub {
    margin-top: 22px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.65s var(--ease) forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Phone mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s var(--ease) forwards;
}

.phone-wrap { position: relative; margin-top: 16px; }

.phone-mockup {
    width: 285px;
    height: 620px;
    background: #0C0C18;
    border-radius: 46px;
    border: 7px solid #1E1E30;
    position: relative;
    box-shadow:
        0 50px 100px -20px rgba(0,0,0,0.65),
        inset 0 0 0 1px rgba(255,255,255,0.04);
    transform: perspective(900px) rotateY(-14deg) rotateX(2deg);
    transition: transform 0.7s var(--ease-spring);
}
.phone-mockup:hover {
    transform: perspective(900px) rotateY(-4deg) rotateX(0deg) scale(1.03);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 11px;
    height: 11px;
    background: #0A0A0F;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.05);
}

.phone-screen {
    height: 100%;
    background: #0A0A15;
    border-radius: 39px;
    overflow: hidden;
    padding: 0;
}

.phone-screen--screenshot {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Status bar — own dark strip */
.phone-status-bar {
    flex-shrink: 0;
    height: 24px;
    background: #0A0A0F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
    border-radius: 39px 39px 0 0;
}

.psb-time {
    font-size: 0.52rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.02em;
    font-family: Inter, sans-serif;
}

.psb-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.psb-battery-pct {
    font-size: 0.46rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-family: Inter, sans-serif;
}

/* Screenshot image — fills remaining space */
.phone-screenshot-img {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

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

.phone-screenshot-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8%;
    background: linear-gradient(to bottom, transparent 0%, #0A0A0F 100%);
    pointer-events: none;
}

/* Gesture bar — own dark strip */
.phone-gesture-wrap {
    flex-shrink: 0;
    height: 18px;
    background: #0A0A0F;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 39px 39px;
}

.phone-gesture-bar {
    width: 90px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.phone-glow {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 50px;
    background: rgba(242,180,77,0.35);
    filter: blur(28px);
    border-radius: 50%;
    pointer-events: none;
}

/* Screen internals */
.screen-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.screen-greeting {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 500;
}
.guardian-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(45,181,111,0.12);
    border: 1px solid rgba(45,181,111,0.28);
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--success);
    letter-spacing: 0.02em;
}
.guardian-dot {
    width: 5px;
    height: 5px;
    background: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.screen-balance { line-height: 1; }
.balance-label  { font-size: 0.58rem; color: var(--text-muted); font-weight: 500; margin-bottom: 3px; }
.balance-amount {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}
.balance-cents {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.screen-section-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.screen-budgets {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.budget-row {
    display: flex;
    align-items: center;
    gap: 7px;
}
.budget-label {
    font-size: 0.58rem;
    color: var(--text-muted);
    width: 52px;
    flex-shrink: 0;
}
.budget-bar-wrap {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}
.budget-bar {
    height: 100%;
    border-radius: 2px;
}
.budget-pct {
    font-size: 0.52rem;
    color: var(--text-muted);
    width: 22px;
    text-align: right;
    flex-shrink: 0;
}

.screen-chat {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.chat-bubble {
    font-size: 0.58rem;
    padding: 6px 9px;
    border-radius: 10px;
    line-height: 1.45;
    max-width: 88%;
}
.chat-bubble.user {
    background: rgba(0,97,164,0.32);
    border: 1px solid rgba(33,150,243,0.3);
    color: #90CAF9;
    align-self: flex-end;
    border-radius: 10px 10px 3px 10px;
}
.chat-bubble.reply {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    align-self: flex-start;
    border-radius: 10px 10px 10px 3px;
}

/* Scroll arrow */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.35;
    animation: scrollBounce 2.2s ease-in-out infinite;
}
.scroll-arrow {
    width: 11px;
    height: 11px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    transform: rotate(45deg);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}

/* ══════════════════════════════════════
   3. PILLARS STRIP
══════════════════════════════════════ */
.pillars {
    padding: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.012);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 30px 28px;
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(255,255,255,0.02); }

.pillar-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: rgba(33,150,243,0.08);
    border: 1px solid rgba(33,150,243,0.18);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bright);
    margin-top: 1px;
}

.pillar-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.pillar-text strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    display: block;
}
.pillar-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ══════════════════════════════════════
   4. FEATURES GRID
══════════════════════════════════════ */
.features {
    background: var(--bg-alt);
}

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

.features-grid .feature-card:nth-child(n+7) {
    display: none;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform  0.35s var(--ease),
                box-shadow 0.35s var(--ease),
                border-color 0.35s;
    position: relative;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-bright);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), var(--shadow-glow);
}
.feature-card--highlight {
    border-color: rgba(33,150,243,0.22);
    background: rgba(0,61,104,0.15);
}

.card-icon-wrap {
    width: 42px;
    height: 42px;
    background: rgba(33,150,243,0.09);
    border: 1px solid rgba(33,150,243,0.18);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bright);
    margin-bottom: 18px;
}
.card-icon-wrap--highlight {
    background: rgba(33,150,243,0.15);
    border-color: rgba(33,150,243,0.3);
}

.feature-card h3 {
    margin-bottom: 8px;
    line-height: 1.25;
}
.feature-card p  {
    font-size: 0.875rem;
    line-height: 1.65;
}

.card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-bright);
    transition: opacity 0.2s, gap 0.2s;
}
.card-link:hover { opacity: 0.75; }

/* ══════════════════════════════════════
   5. SHARED WALLETS
══════════════════════════════════════ */
.shared-wallets { background: var(--bg); }

.shared-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.shared-copy h2 { margin-bottom: 32px; }

.shared-panels {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.shared-panel {
    padding-left: 18px;
    border-left: 2px solid rgba(33,150,243,0.28);
}
.shared-panel-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-bright);
    margin-bottom: 6px;
}
.shared-panel p { font-size: 0.875rem; }

.shared-footnote {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--text-muted);
}

/* Two-phone visual */
.shared-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.shared-phone {
    width: 148px;
    height: 276px;
    background: #0C0C18;
    border-radius: 26px;
    border: 5px solid #1E1E30;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.shared-phone--a { transform: rotate(-4deg); }
.shared-phone--b { transform: rotate(4deg);  }

.sp-screen {
    height: 100%;
    background: #0A0A15;
    padding: 14px 11px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.sp-wallet-name {
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
.sp-balance {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
}
.sp-members {
    display: flex;
    align-items: center;
    gap: 4px;
}
.sp-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 0.46rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.sp-avatar--a { background: var(--primary); }
.sp-avatar--b { background: var(--success); }
.sp-member-label {
    font-size: 0.5rem;
    color: var(--text-muted);
    margin-left: 3px;
}

.sp-entry {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border-radius: 7px;
    padding: 5px 7px;
}
.sp-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sp-dot--green { background: var(--success); }
.sp-dot--blue  { background: var(--primary-bright); }
.sp-entry span { font-size: 0.52rem; color: var(--text-secondary); }

.sync-arrow {
    font-size: 1.4rem;
    color: var(--primary-bright);
    flex-shrink: 0;
    animation: syncPulse 2.4s ease-in-out infinite;
    user-select: none;
}
@keyframes syncPulse {
    0%, 100% { opacity: 0.25; }
    50%       { opacity: 0.85; }
}

/* ══════════════════════════════════════
   6. COHERENCE
══════════════════════════════════════ */
.coherence { background: var(--bg-alt); }

.coherence-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.coherence-copy p {
    margin-top: 22px;
    max-width: 460px;
}
.coherence-emphasis {
    font-style: italic;
    color: var(--text) !important;
    font-weight: 500;
    border-left: 3px solid var(--primary-bright);
    padding-left: 16px;
    margin-left: -19px;
}

.coherence-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
}
.diagram-svg {
    width: 100%;
    max-width: 370px;
    height: auto;
    overflow: visible;
}

/* SVG nodes start invisible — JS animates them in */
.diagram-node { opacity: 0; transition: opacity 0.5s var(--ease); }

/* Lines injected by JS — stroke set by CSS */
#diagram-lines line {
    stroke: rgba(33,150,243,0.3);
    stroke-width: 1.5;
    fill: none;
}

/* ══════════════════════════════════════
   7. STRAIGHT TALK
══════════════════════════════════════ */
.straight-talk {
    background: var(--bg);
    padding: 92px 0;
}
.st-inner {
    max-width: 780px;
    margin: 0 auto;
}
.st-inner h2 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 0;
}
.st-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 18px 0 52px;
}

.st-statements {
    display: flex;
    flex-direction: column;
}
.st-statement {
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}
.st-statement:first-child { border-top: 1px solid var(--border); }

.st-quote {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 22px;
}
.st-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--primary-bright);
    border-radius: 2px;
}

.st-closing {
    margin-top: 44px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Bank sync callout */
.bank-sync-callout {
    margin-top: 52px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 34px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.bs-heading {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 18px;
}
.bs-body {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 26px;
}
.bs-body p { font-size: 0.9rem; }
.bs-body strong { color: var(--text); font-weight: 600; }

.bs-pillars {
    display: flex;
    gap: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.bs-pillar { display: flex; flex-direction: column; gap: 4px; }
.bs-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-bright);
    letter-spacing: -0.03em;
    line-height: 1;
}
.bs-pillar > div:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ══════════════════════════════════════
   8. INTELLIGENCE SPOTLIGHT
══════════════════════════════════════ */
.intelligence {
    background: #07070F;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.intel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.intel-panel {
    background: rgba(12, 12, 22, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.3s;
}
.intel-panel:hover { border-color: rgba(33,150,243,0.3); }

.intel-tag {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-bright);
    background: rgba(33,150,243,0.1);
    border: 1px solid rgba(33,150,243,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    width: fit-content;
}

.intel-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 0;
}
.intel-panel > p {
    font-size: 0.85rem;
    flex-grow: 1;
}

/* Terminal boxes */
.terminal-box {
    background: #04040C;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.75rem;
    color: var(--success);
    min-height: 130px;
    white-space: pre-wrap;
    line-height: 1.75;
    letter-spacing: 0.01em;
    margin-top: auto;
}

/* Chat-style terminal (Assistant panel) */
.terminal-chat {
    font-family: var(--font);
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    white-space: normal;
    padding: 14px;
    min-height: 130px;
}
.tc-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 88%;
    line-height: 1.5;
    color: var(--text-secondary);
    min-height: 0;
}
.tc-user {
    background: rgba(0,97,164,0.2);
    border: 1px solid rgba(33,150,243,0.18);
    color: #90CAF9;
    align-self: flex-end;
    border-radius: 12px 12px 3px 12px;
}
.tc-reply {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    align-self: flex-start;
    border-radius: 12px 12px 12px 3px;
}

.intel-footnote {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.65;
    margin-top: 4px;
}

/* ══════════════════════════════════════
   9. HOW IT WORKS
══════════════════════════════════════ */
.how-it-works { background: var(--bg-alt); }

.steps-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.step {
    flex: 1;
    padding: 0 36px;
}
.step:first-child { padding-left: 0; }
.step:last-child  { padding-right: 0; }

.step-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-bright);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.step h3 { margin-bottom: 10px; }
.step p  { font-size: 0.875rem; }

.step-connector {
    display: flex;
    align-items: flex-start;
    padding-top: 8px;
    flex-shrink: 0;
    color: var(--text-muted);
    opacity: 0.25;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2.4rem;
}
.step-connector::after {
    content: '→';
}

/* ══════════════════════════════════════
   10. DOWNLOAD CTA
══════════════════════════════════════ */
.download-cta {
    background: var(--bg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse at center,
        rgba(0,97,164,0.18) 0%,
        rgba(33,150,243,0.06) 40%,
        transparent 70%);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { margin-bottom: 14px; }
.cta-inner > p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: none;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 38px;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════
   11. FOOTER
══════════════════════════════════════ */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 22px;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════
   FEATURE MODAL SYSTEM
══════════════════════════════════════ */
.card-explore {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(4, 4, 12, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
    pointer-events: none;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.modal-open {
    background: rgba(4, 4, 12, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

.modal-panel {
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    background: #0E0E1C;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 28px 28px 0 0;
    padding: 36px 40px 48px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
    transform: translateY(100%);
    transition: transform 0.45s var(--ease-spring);
    /* scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(33,150,243,0.2) transparent;
}
.modal-overlay.modal-open .modal-panel {
    transform: translateY(0);
}

/* Drag handle */
.modal-panel::before {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    margin: 0 auto 28px;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    font-family: var(--font);
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}
.modal-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(33,150,243,0.1);
    border: 1px solid rgba(33,150,243,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bright);
    flex-shrink: 0;
    margin-top: 2px;
}
.modal-header > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.modal-header #modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0;
}

#modal-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 660px;
}

/* Modal body layout — two columns when there's a visual */
.modal-body {
    display: grid;
    gap: 28px;
}
.modal-body.has-visual {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 36px;
}

/* Bullet list */
.modal-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}
.modal-bullets li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.modal-bullets li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-bright);
    flex-shrink: 0;
    margin-top: 7px;
}

/* Highlight chip */
.modal-highlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45,181,111,0.08);
    border: 1px solid rgba(45,181,111,0.2);
    border-radius: 100px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--success);
    width: fit-content;
}
.modal-chip.chip-blue {
    background: rgba(33,150,243,0.08);
    border-color: rgba(33,150,243,0.22);
    color: var(--primary-bright);
}
.modal-chip.chip-warn {
    background: rgba(242,180,77,0.08);
    border-color: rgba(242,180,77,0.22);
    color: var(--warning);
}
.modal-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* Mini mock-UI inside modal */
.modal-mock {
    width: 220px;
    background: #080812;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 16px;
    flex-shrink: 0;
}
.modal-mock-title {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.mock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-row:last-child { border-bottom: none; }
.mock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mock-label {
    flex: 1;
    font-size: 0.72rem;
    color: var(--text-secondary);
}
.mock-bar-wrap {
    width: 70px;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}
.mock-bar { height: 100%; border-radius: 2px; }
.mock-val {
    font-size: 0.65rem;
    color: var(--text-muted);
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}
.mock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
}
.mock-badge.green {
    background: rgba(45,181,111,0.12);
    border: 1px solid rgba(45,181,111,0.25);
    color: var(--success);
}
.mock-badge.yellow {
    background: rgba(242,180,77,0.12);
    border: 1px solid rgba(242,180,77,0.25);
    color: var(--warning);
}
.mock-badge.red {
    background: rgba(228,87,87,0.12);
    border: 1px solid rgba(228,87,87,0.25);
    color: var(--danger);
}
.mock-score-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid rgba(33,150,243,0.15);
    border-top-color: var(--primary-bright);
    border-right-color: var(--primary-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto;
    position: relative;
}
.mock-score-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
}
.mock-score-label {
    font-size: 0.6rem;
    color: var(--success);
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}
.mock-receipt-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-receipt-line:last-child { border-bottom: none; }
.mock-receipt-line span:first-child {
    font-size: 0.62rem;
    color: var(--text-secondary);
}
.mock-receipt-line span:last-child {
    font-size: 0.62rem;
    color: var(--text-muted);
}
.mock-wallet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    margin-bottom: 5px;
}
.mock-wallet-name { font-size: 0.65rem; color: var(--text-secondary); }
.mock-wallet-amt  { font-size: 0.7rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.mock-flag {
    font-size: 0.55rem;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(33,150,243,0.1);
    color: var(--primary-bright);
    border: 1px solid rgba(33,150,243,0.18);
}
.mock-list-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-list-item:last-child { border-bottom: none; }
.mock-checkbox {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.mock-checkbox.checked {
    background: var(--success);
    border-color: var(--success);
}
.mock-list-text { font-size: 0.65rem; color: var(--text-secondary); flex: 1; }
.mock-list-text.done { text-decoration: line-through; opacity: 0.5; }
.mock-list-amt { font-size: 0.6rem; color: var(--text-muted); }

/* Modal divider */
.modal-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

@media (max-width: 860px) {
    .modal-panel { padding: 28px 20px 40px; border-radius: 20px 20px 0 0; }
    .modal-body.has-visual { grid-template-columns: 1fr; }
    .modal-mock { width: 100%; }
}

/* ══════════════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid  { grid-template-columns: repeat(2, 1fr); }

    .pillar { border-right: none; border-bottom: 1px solid var(--border); }
    .pillar:nth-child(odd)  { border-right: 1px solid var(--border); }
    .pillar:nth-child(4)    { border-bottom: none; }
    .pillar:last-child      { border-bottom: none; }

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

/* ══════════════════════════════════════
   RESPONSIVE — 860px
══════════════════════════════════════ */
@media (max-width: 860px) {
    section { padding: 80px 0; }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 52px;
        padding: 40px 0;
    }
    .hero-sub  { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero { justify-content: flex-start; }
    .hero-visual { order: -1; padding-top: 10px; }

    .shared-inner    { grid-template-columns: 1fr; gap: 52px; }
    .coherence-inner { grid-template-columns: 1fr; gap: 52px; }
    .coherence-copy p { max-width: none; }

    .steps-row { flex-direction: column; gap: 0; }
    .step {
        padding: 28px 0;
        border-bottom: 1px solid var(--border);
    }
    .step:last-child  { border-bottom: none; }
    .step-connector   { display: none; }
}

/* ══════════════════════════════════════
   RESPONSIVE — 600px
══════════════════════════════════════ */
@media (max-width: 600px) {
    .container { padding: 0 20px; }

    .nav-links { display: none; }
    .nav-cta   { padding: 9px 16px; font-size: 0.8rem; }

    .features-grid { grid-template-columns: 1fr; }
    .pillars-grid  { grid-template-columns: 1fr; }
    .pillar        { border-right: none; border-bottom: 1px solid var(--border); }

    .shared-phones { gap: 10px; }
    .shared-phone  { width: 130px; height: 246px; }

    .bs-pillars    { flex-direction: column; gap: 14px; }

    .footer-inner  { flex-direction: column; align-items: flex-start; }
    .cta-buttons   { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* ══════════════════════════════════════
   BETA FORM
══════════════════════════════════════ */
.beta-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.beta-input {
    flex: 1;
    min-width: 220px;
    padding: 13px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.beta-input::placeholder { color: var(--text-muted); }
.beta-input:focus {
    border-color: var(--primary-bright);
    background: rgba(33,150,243,0.06);
}

.beta-note {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: none;
}

/* ══════════════════════════════════════
   REAL SCREENSHOTS SECTION
══════════════════════════════════════ */
.screenshots {
    padding: 120px 0;
    overflow: hidden;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
    margin-top: 64px;
}

.screenshot-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
}

.screenshot-frame--batch::after {
    content: '→';
    position: absolute;
    top: 238px;
    right: -26px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(33, 150, 243, 0.28);
    border-radius: 999px;
    background: rgba(10, 10, 15, 0.82);
    color: var(--primary-bright);
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), 0 0 24px rgba(33, 150, 243, 0.18);
    pointer-events: none;
}

/* Outer wrapper — handles visual frame, border-radius clip, gradient hint */
.screenshot-phone-wrap {
    width: 100%;
    max-width: 230px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    background: #080810;
    position: relative;
    flex-shrink: 0;
}

/* Inset border overlay — stays fixed over scrolling content */
.screenshot-phone-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

/* Bottom gradient — hints that content scrolls */
.screenshot-phone-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to top,
        rgba(8, 8, 16, 0.95) 0%,
        rgba(8, 8, 16, 0.5) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 40px 40px;
    transition: opacity 0.3s ease;
}

/* Inner scrollable viewport */
.screenshot-phone {
    width: 100%;
    height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshot-phone::-webkit-scrollbar {
    display: none;
}

.screenshot-phone img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    text-align: center;
    max-width: 230px;
}

.screenshot-caption strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.screenshot-caption span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .screenshots-grid {
        gap: 28px;
    }
    .screenshot-phone-wrap {
        max-width: 200px;
    }
    .screenshot-phone {
        height: 460px;
    }
    .screenshot-frame--batch::after {
        right: -23px;
        top: 210px;
    }
}

@media (max-width: 860px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
    .screenshot-frame--batch::after {
        right: -24px;
    }
}

@media (max-width: 600px) {
    .screenshots {
        padding: 80px 0;
    }
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .screenshot-phone-wrap {
        max-width: 100%;
    }
    .screenshot-phone {
        height: 540px;
    }
    .screenshot-frame--batch {
        margin-bottom: 24px;
    }
    .screenshot-frame--batch::after {
        content: '↓';
        top: auto;
        right: 50%;
        bottom: -46px;
        transform: translateX(50%);
    }
}

/* ── Platform Badges ── */
.platform-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.platform-badges--centered {
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 4px;
}
.platform-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid;
    transition: opacity 0.2s;
}
.platform-badge--active {
    background: rgba(45, 181, 111, 0.08);
    border-color: rgba(45, 181, 111, 0.25);
    color: var(--success);
}
.platform-badge--active svg {
    color: var(--success);
}
.platform-badge--soon {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}
.platform-badge--soon svg {
    color: var(--text-muted);
}
.platform-badge-status {
    font-weight: 500;
    opacity: 0.8;
    padding-left: 4px;
    border-left: 1px solid currentColor;
    margin-left: 1px;
}

.beta-form--large .beta-input {
    padding: 16px 20px;
    font-size: 1rem;
    min-width: 260px;
}

/* Success state */
.beta-form.submitted {
    display: none;
}
.beta-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(45,181,111,0.1);
    border: 1px solid rgba(45,181,111,0.25);
    border-radius: var(--radius-sm);
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 4px;
}
.beta-success.visible { display: flex; }
.beta-success svg { flex-shrink: 0; }

.beta-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--success);
    margin-bottom: 16px;
}

.beta-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    align-items: center;
}
.beta-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.beta-perk svg { color: var(--success); flex-shrink: 0; }

/* ══════════════════════════════════════
   FOR YOU SECTION
══════════════════════════════════════ */
.for-you { background: var(--bg); }

.for-you-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.for-you-card {
    background: var(--bg);
    padding: 36px 32px;
    transition: background 0.3s;
}
.for-you-card:hover { background: rgba(255,255,255,0.018); }

.fy-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-bright);
    opacity: 0.6;
    margin-bottom: 16px;
}

.for-you-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.35;
}
.for-you-card p { font-size: 0.875rem; }

@media (max-width: 860px) {
    .for-you-grid { grid-template-columns: 1fr; }
    .beta-form { flex-direction: column; }
    .beta-form--large { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .beta-form--large { flex-direction: column; }
    .beta-form--large .beta-input { min-width: 0; width: 100%; }
}
/* ══════════════════════════════════════
   LOGGING PATHS SECTION
══════════════════════════════════════ */
.logging-paths {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.lp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 344px;
    transition: border-color 0.3s var(--ease),
                transform    0.3s var(--ease),
                box-shadow   0.3s var(--ease);
}

.lp-card:hover {
    border-color: rgba(33,150,243,0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.lp-card--featured {
    border-color: rgba(33,150,243,0.22);
    background: rgba(10, 16, 30, 0.9);
}

.lp-timing {
    display: inline-flex;
    align-items: center;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 20px;
    width: fit-content;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    line-height: 1;
}

.lp-timing--blue {
    background: rgba(33,150,243,0.08);
    border-color: rgba(33,150,243,0.2);
    color: var(--primary-bright);
}

.lp-timing--green {
    background: rgba(45,181,111,0.08);
    border-color: rgba(45,181,111,0.2);
    color: var(--success);
}

.lp-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(33,150,243,0.08);
    border: 1px solid rgba(33,150,243,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bright);
    flex-shrink: 0;
}

.lp-card h3 {
    font-size: 1.12rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.lp-card > p {
    font-size: 0.9rem;
    line-height: 1.65;
    flex-grow: 1;
}

.lp-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.lp-step {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 5px 10px;
    white-space: nowrap;
    line-height: 1.2;
}

.lp-step--done {
    color: var(--success);
    background: rgba(45,181,111,0.08);
    border-color: rgba(45,181,111,0.2);
}

.lp-arrow {
    display: none;
}

.lp-footnote {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 40px;
    font-style: italic;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.lp-ocr-story {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(520px, 1.08fr);
    gap: 44px;
    align-items: center;
    max-width: 1040px;
    margin: 56px auto 0;
    padding: 34px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.lp-ocr-story-copy {
    max-width: 500px;
}

.lp-ocr-story h3 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.lp-ocr-story p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.lp-ocr-route {
    display: grid;
    grid-template-columns: minmax(126px, 1fr) auto minmax(126px, 1fr) auto minmax(138px, 1fr);
    align-items: center;
    gap: 12px;
    justify-content: stretch;
    max-width: none;
}

.lp-ocr-route-item {
    min-width: 0;
    min-height: 58px;
    padding: 11px 13px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.lp-ocr-route-item strong {
    display: block;
    font-size: 0.74rem;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 4px;
}

.lp-ocr-route-item span {
    display: block;
    font-size: 0.66rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.lp-ocr-route-item--done {
    background: rgba(45,181,111,0.08);
    border-color: rgba(45,181,111,0.22);
}

.lp-ocr-route-item--done strong {
    color: var(--success);
}

.lp-ocr-route-divider,
.lp-ocr-route-arrow {
    color: var(--text-muted);
    opacity: 0.55;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

.lp-ocr-route-arrow {
    color: var(--primary-bright);
    opacity: 0.75;
}

/* Proof block — Batch OCR + receipt result */
.lp-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.lp-proof--ocr {
    margin-top: 44px;
}

.lp-proof-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
}

.lp-proof-phone {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow:
        0 32px 64px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.03);
    background: #080810;
    position: relative;
    height: 440px;
}

.lp-proof-phone::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(8,8,16,0.9) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 0 0 32px 32px;
}

.lp-proof-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.lp-proof-caption {
    text-align: center;
    max-width: 220px;
}

.lp-proof-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-bright);
    margin-bottom: 6px;
}

.lp-proof-caption p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.lp-proof-arrow {
    font-size: 1.6rem;
    color: var(--text-muted);
    opacity: 0.2;
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 80px; /* visually center relative to phone frame */
}

@media (max-width: 860px) {
    .lp-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    .lp-card {
        min-height: 0;
    }
    .lp-ocr-story {
        grid-template-columns: 1fr;
        max-width: 560px;
        gap: 24px;
    }
    .lp-ocr-route {
        grid-template-columns: 1fr;
        max-width: none;
    }
    .lp-ocr-route-divider {
        text-align: center;
    }
    .lp-ocr-route-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 600px) {
    .lp-proof { gap: 40px; }
    .lp-proof-arrow { transform: rotate(90deg); margin-bottom: 0; }
    .lp-proof-phone { height: 380px; }
    .lp-card {
        padding: 24px;
    }
    .lp-flow {
        gap: 7px;
    }
    .lp-step {
        font-size: 0.66rem;
        padding: 5px 9px;
    }
    .lp-ocr-story {
        padding: 26px 0;
    }
}

/* ══════════════════════════════════════
   DAILY LOOP — Interactive
══════════════════════════════════════ */
.daily-loop .section-header { margin-bottom: 52px; }

.loop-interactive {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 28px;
    align-items: start;
    max-width: 940px;
    margin: 0 auto;
}

/* Step tabs (left column) */
.loop-steps {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.loop-step-tab {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s var(--ease), border-color 0.2s;
    font-family: var(--font);
    width: 100%;
}

.loop-step-tab:hover { background: rgba(255,255,255,0.03); }
.loop-step-tab.active {
    background: rgba(33,150,243,0.07);
    border-color: rgba(33,150,243,0.22);
}

.lst-num {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.3;
    line-height: 1.9;
    flex-shrink: 0;
    width: 20px;
}
.loop-step-tab.active .lst-num { color: var(--primary-bright); opacity: 1; }

.lst-content { display: flex; flex-direction: column; gap: 2px; }

.lst-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.35;
    transition: color 0.2s;
}
.loop-step-tab.active .lst-label { color: var(--text); }

.lst-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.4;
    line-height: 1.3;
    transition: color 0.2s, opacity 0.2s;
}
.loop-step-tab.active .lst-sub { color: var(--primary-bright); opacity: 0.65; }

/* Display panel (right column) */
.loop-display {
    background: rgba(7, 7, 16, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.loop-panel {
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: loopPanelIn 0.3s var(--ease) forwards;
}
.loop-panel.active { display: flex; }

@keyframes loopPanelIn {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
}

.loop-panel-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--primary-bright);
    opacity: 0.65;
    margin-bottom: 2px;
}

/* Loop mock UI elements */
.lm-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.lm-label { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }

.lm-chip {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid;
    line-height: 1.6;
}
.lm-chip--blue  { color: var(--primary-bright); background: rgba(33,150,243,0.08); border-color: rgba(33,150,243,0.2); }
.lm-chip--green { color: var(--success); background: rgba(45,181,111,0.08); border-color: rgba(45,181,111,0.2); }

.lm-bar-row { display: flex; align-items: center; gap: 10px; }

.lm-bar-wrap {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.lm-bar { height: 100%; border-radius: 2px; transition: width 0.9s var(--ease); }
.lm-bar--animated { width: var(--tw); }

.lm-bar-val { font-size: 0.62rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

.lm-note { font-size: 0.7rem; color: var(--text-muted); line-height: 1.5; }
.lm-note--dim { opacity: 0.5; }

.lm-list-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lm-list-row:last-of-type { border-bottom: none; }

.lm-budget-pill {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--success);
    background: rgba(45,181,111,0.08);
    border: 1px solid rgba(45,181,111,0.18);
    border-radius: 20px;
    padding: 3px 10px;
    width: fit-content;
    margin-top: 2px;
}

/* Events (panel 1) */
.lm-event-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lm-event-row:last-child { border-bottom: none; }

.lm-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.lm-dot--red   { background: var(--danger); }
.lm-dot--amber { background: var(--warning); }
.lm-dot--green { background: var(--success); }

.lm-event-info { flex: 1; }
.lm-event-name { display: block; font-size: 0.72rem; color: var(--text-secondary); font-weight: 500; }
.lm-event-meta { font-size: 0.6rem; color: var(--text-muted); }

.lm-amt { font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.lm-amt--red   { color: var(--danger); }
.lm-amt--green { color: var(--success); }

/* Log form (panel 2) */
.lm-form-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}
.lm-field-label { font-size: 0.62rem; color: var(--text-muted); }
.lm-field-val { font-size: 0.82rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }

.lm-timing-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
}
.lm-timing-badge--blue { color: var(--primary-bright); background: rgba(33,150,243,0.08); border-color: rgba(33,150,243,0.2); }

.lm-log-btn {
    padding: 9px 14px;
    background: var(--primary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.lm-queue-pill {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--primary-bright);
    background: rgba(33,150,243,0.08);
    border: 1px solid rgba(33,150,243,0.18);
    border-radius: 20px;
    padding: 3px 10px;
    width: fit-content;
}

/* Budget (panel 3) */
.lm-budget-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}
.lm-cat-label { width: 72px; flex-shrink: 0; font-size: 0.68rem; }

.lm-pct { font-size: 0.62rem; color: var(--text-muted); width: 32px; text-align: right; flex-shrink: 0; }
.lm-pct--green { color: var(--success); }
.lm-pct--amber { color: var(--warning); }

.lm-status-chip {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 10px;
    line-height: 1.6;
}
.lm-status--green {
    color: var(--success);
    background: rgba(45,181,111,0.1);
    border: 1px solid rgba(45,181,111,0.2);
}

/* Health score + chat (panel 4) */
.lm-score-row { display: flex; align-items: center; gap: 20px; }
.lm-score-block { text-align: center; flex-shrink: 0; }
.lm-score-val { font-size: 2.2rem; font-weight: 800; color: var(--text); letter-spacing: -0.05em; line-height: 1; }
.lm-score-sub { font-size: 0.58rem; color: var(--text-muted); margin-top: 3px; }
.lm-score-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.lm-score-line { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-secondary); }
.lm-val--green { color: var(--success); font-weight: 700; }
.lm-val--blue  { color: var(--primary-bright); font-weight: 700; }

.lm-chat {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-bubble {
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 92%;
}
.lm-bubble--user {
    background: rgba(0,97,164,0.2);
    border: 1px solid rgba(33,150,243,0.18);
    color: #90CAF9;
    align-self: flex-end;
    border-radius: 10px 10px 3px 10px;
}
.lm-bubble--reply {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    align-self: flex-start;
    border-radius: 10px 10px 10px 3px;
}

/* List footer (plan + shop panels) */
.lm-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: 2px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Checked list items (shop panel) */
.lm-list-row--checked { opacity: 0.5; }

.lm-check-box {
    font-size: 0.6rem;
    width: 16px;
    flex-shrink: 0;
    color: var(--text-muted);
    text-align: center;
}
.lm-check-box--done { color: var(--success); }
.lm-item-done { text-decoration: line-through; opacity: 0.65; }

/* Success note (log panel) */
.lm-success-note {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--success);
    background: rgba(45,181,111,0.08);
    border: 1px solid rgba(45,181,111,0.18);
    border-radius: 8px;
    padding: 8px 12px;
}

/* Next list card (panel 4) */
.lm-next-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.lm-next-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 6px;
}
.lm-log-btn--ghost {
    background: rgba(0,97,164,0.15);
    border: 1px solid rgba(33,150,243,0.25);
    color: var(--primary-bright);
}

/* Progress bar */
.loop-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255,255,255,0.04);
}
.loop-progress-bar {
    height: 100%;
    background: var(--primary-bright);
    width: 0%;
    opacity: 0.7;
}

/* Footnote */
.loop-footnote {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 52px;
    font-style: italic;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 860px) {
    .loop-interactive { grid-template-columns: 1fr; gap: 16px; }
    .loop-steps { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .loop-step-tab { flex: 1; min-width: 130px; padding: 10px 12px; }
    .lst-sub { display: none; }
    .loop-display { min-height: 280px; }
}

/* Floating overlay labels for screenshots */
.screenshot-label {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 5;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    opacity: 0.9;
}
