:root {
    --bg: #0B0B0B;
    --bg-surface: #121212;
    --border: #222222;
    --text: #F2F2F2;
    --text-muted: #888888;
    --accent: #E63946;
    
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

body {
    padding-top: 60px; /* Space for fixed header */
    max-width: 600px; /* Mobile first lock */
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    min-height: 100vh;
}

@media (max-width: 600px) {
    body { border: none; }
}

/* Typography Utils */
h1 { font-size: 3rem; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 8px; }
h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }

.hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.hero-main {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 8px;
}

.hero-sub {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-top: 8px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.text-muted { color: var(--text-muted); }
.text-red { color: var(--accent) !important; }
.center { text-align: center; }

/* Spacing Utils */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Layout */
.section { padding: 48px 24px; border-bottom: 1px solid #1a1a1a; }
.section:last-of-type { border-bottom: none; }

/* Top Header */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    z-index: 100;
}

@media (min-width: 601px) {
    .topbar {
        max-width: 600px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }
}

.brand-mark {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn-nav {
    font-size: 0.8rem;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 4px;
}
.btn {
    display: inline-block;
    padding: 16px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
}
.full-width { width: 100%; }
.primary {
    background: var(--text);
    color: var(--bg);
}

/* Hero */
.hero { padding: 80px 24px 64px; }

/* Live System Card */
.system-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.mono-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.live-dot {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    display: flex; align-items: center; gap: 6px;
}
.live-dot::before {
    content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-box {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 12px;
    border-radius: 4px;
    display: flex; flex-direction: column; gap: 4px;
}
.border-red { border-color: rgba(230,57,70,0.3); }
.metric-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); }
.metric-val { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 500; }

/* Daily Flow */
.flow-chain { padding: 40px 24px; }
.chain-diagram {
    font-family: var(--font-mono);
    color: var(--text);
    line-height: 2;
    word-spacing: -2px; /* Pull arrows tighter */
    font-size: 0.95rem;
    padding: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}

/* Lists */
.system-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 12px;
}
.system-list li {
    font-size: 1rem;
    padding-left: 16px;
    position: relative;
}
.system-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Stacked Mockups */
.mockup-ui {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}
.ui-header { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 16px;}
.fake-input { border: 1px solid var(--border); background: var(--bg); padding: 12px; font-size: 0.875rem; color: var(--text-muted); border-radius: 4px; }
.fake-input.amount { font-family: var(--font-mono); font-size: 1.5rem; text-align: left; background: transparent; border: none; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0 0 12px 0;}
.fake-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.fake-tabs span { font-family: var(--font-mono); font-size: 0.75rem; text-align: center; padding: 8px; border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); }
.fake-tabs span.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Contrast */
.contrast-box {
    border: 1px solid var(--border);
    background: var(--bg-surface);
    padding: 24px;
    border-radius: 6px;
}
.contrast-box.old { background: var(--bg); border-color: rgba(230,57,70,0.2); }
.contrast-box.new { border-color: rgba(255,255,255,0.2); }
.box-title { font-family: var(--font-mono); font-size: 0.875rem; margin-bottom: 16px; }
.contrast-box ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contrast-box li { font-size: 0.9rem; color: var(--text); }
.contrast-box.old li { color: var(--text-muted); }

/* Neelam */
.neelam { padding: 80px 24px; font-size: 1.25rem; font-weight: 500; }

/* Forms */
.auth-form {
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 8px;
    background: var(--bg-surface);
}
.auth-form .field { display: flex; flex-direction: column; gap: 8px; }
.auth-form label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.auth-form input[type="text"], .auth-form input[type="tel"] {
    background: var(--bg); border: 1px solid var(--border); padding: 16px; border-radius: 4px; color: var(--text); font-family: var(--font-sans); font-size: 1rem; width: 100%;
}
.input-phone { display: flex; border: 1px solid var(--border); border-radius: 4px; background: var(--bg); overflow: hidden; }
.input-phone .prefix { font-family: var(--font-mono); padding: 16px; background: var(--bg-surface); border-right: 1px solid var(--border); color: var(--text-muted); }
.input-phone input { border: none !important; border-radius: 0 !important; }
.input-phone:focus-within { border-color: var(--text-muted); }

footer { padding: 40px 24px; text-align: center; font-size: 0.875rem; }
