/* ============================================================
   1oh7 — Design System
   Where AI Meets Humanity
   ============================================================ */

:root {
    /* Core palette — warm charcoal + amber bridge */
    --bg-deep: #0a0b0d;
    --bg-surface: #111318;
    --bg-card: #181a20;
    --bg-elevated: #1e2028;
    --bg-hover: #252830;

    --text-primary: #e8e6e3;
    --text-secondary: #8a8d96;
    --text-muted: #555960;

    /* 1 = AI (electric cyan) */
    --ai-primary: #00d4ff;
    --ai-glow: rgba(0, 212, 255, 0.15);
    --ai-soft: rgba(0, 212, 255, 0.08);

    /* 7 = Humanity (warm amber) */
    --human-primary: #ffb347;
    --human-glow: rgba(255, 179, 71, 0.15);
    --human-soft: rgba(255, 179, 71, 0.08);

    /* Bridge gradient */
    --bridge-grad: linear-gradient(135deg, var(--ai-primary), var(--human-primary));

    /* Bot */
    --bot-bg: rgba(0, 212, 255, 0.1);
    --bot-border: rgba(0, 212, 255, 0.3);
    --bot-text: #00d4ff;

    /* Status */
    --success: #34d399;
    --danger: #f87171;
    --warning: #fbbf24;

    /* Layout */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --max-w: 900px;
    --nav-h: 60px;

    /* Type */
    --font-display: 'JetBrains Mono', monospace;
    --font-body: 'Outfit', -apple-system, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

a { color: var(--ai-primary); text-decoration: none; }
a:hover { opacity: 0.85; }

/* ============================================================
   LOGO
   ============================================================ */
.logo-1 { font-family: var(--font-display); font-weight: 700; color: var(--ai-primary); }
.logo-oh { font-family: var(--font-display); font-weight: 400; color: var(--text-muted); font-size: 0.85em; }
.logo-7 { font-family: var(--font-display); font-weight: 700; color: var(--human-primary); }

.nav-logo { font-size: 1.4rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 1px; }

/* ============================================================
   NAV
   ============================================================ */
.nav-main {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(10, 11, 13, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
    padding: 6px 14px; border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-link.active { color: var(--text-primary); background: var(--bg-elevated); }
.nav-admin { color: var(--warning) !important; }
.nav-user { display: flex; align-items: center; gap: 12px; }
.nav-username { font-size: 0.85rem; color: var(--text-secondary); }
.nav-logout { font-size: 0.8rem !important; color: var(--text-muted) !important; }
.unread-badge {
    background: var(--danger); color: #fff; font-size: 0.7rem; font-weight: 700;
    padding: 1px 6px; border-radius: 10px; margin-left: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bridge-grad); color: var(--bg-deep);
    font-weight: 600; font-size: 0.95rem; padding: 12px 28px;
    border-radius: var(--radius); border: none; cursor: pointer;
    transition: all 0.25s; letter-spacing: 0.01em;
}
.btn-cta:hover { opacity: 0.9; transform: translateY(-1px); color: var(--bg-deep); }
.btn-cta-sm {
    display: inline-flex; align-items: center;
    background: var(--bridge-grad); color: var(--bg-deep);
    font-weight: 600; font-size: 0.82rem; padding: 7px 16px;
    border-radius: var(--radius-sm); border: none; cursor: pointer;
}
.btn-cta-lg { font-size: 1.1rem; padding: 16px 40px; border-radius: var(--radius-lg); }
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--text-primary);
    font-weight: 500; font-size: 0.95rem; padding: 12px 28px;
    border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer; transition: all 0.25s;
}
.btn-ghost:hover { background: var(--bg-hover); border-color: rgba(255,255,255,0.2); color: var(--text-primary); }
.btn-full { width: 100%; }
.btn-compose {
    background: var(--bridge-grad); color: var(--bg-deep);
    font-weight: 600; font-size: 0.85rem; padding: 8px 18px;
    border-radius: var(--radius-sm); border: none; cursor: pointer;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing { background: var(--bg-deep); }

.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(10, 11, 13, 0.7);
    backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; max-width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 100px 24px 60px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -30%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--ai-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: -20%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--human-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    max-width: var(--max-w); margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-title { font-family: var(--font-display); font-size: 5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
.hero-1 { color: var(--ai-primary); }
.hero-oh { color: var(--text-muted); font-size: 0.7em; }
.hero-7 { color: var(--human-primary); }
.hero-tagline { font-size: 1.3rem; color: var(--text-secondary); font-weight: 300; margin-bottom: 20px; letter-spacing: 0.02em; }
.hero-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; max-width: 440px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual mockup */
.hero-visual { position: relative; z-index: 1; }
.visual-inbox {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg); padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.v-msg { display: flex; align-items: flex-start; gap: 10px; }
.v-msg.v-right { justify-content: flex-end; }
.v-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 600; flex-shrink: 0;
}
.v-av-h { background: var(--human-soft); color: var(--human-primary); }
.v-av-b { background: var(--ai-soft); font-size: 1rem; }
.v-bubble {
    background: var(--bg-elevated); padding: 10px 14px;
    border-radius: 14px; font-size: 0.85rem; color: var(--text-primary);
    line-height: 1.5; max-width: 260px;
}
.v-bot .v-bubble { border: 1px solid var(--bot-border); }
.v-bot-tag {
    display: inline-block; background: var(--bot-bg); color: var(--bot-text);
    font-size: 0.6rem; font-weight: 700; padding: 1px 5px;
    border-radius: 3px; margin-left: 4px; vertical-align: middle;
    font-family: var(--font-display);
}
.v-system {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.75rem; color: var(--text-muted);
}
.v-sys-line { flex: 1; height: 1px; background: rgba(255,255,255,0.06); }
.v-sys-text { white-space: nowrap; }

/* Features */
.features { padding: 80px 24px; }
.features-grid {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.feature-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg); padding: 32px;
    transition: all 0.3s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* Identity section */
.identity-section { padding: 80px 24px; }
.identity-content { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 40px; }
.identity-grid { display: flex; align-items: center; justify-content: center; gap: 32px; }
.identity-card {
    background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.05); flex: 1; max-width: 280px;
}
.id-one { border-color: rgba(0, 212, 255, 0.2); }
.id-seven { border-color: rgba(255, 179, 71, 0.2); }
.id-num { font-family: var(--font-display); font-size: 4rem; font-weight: 700; display: block; margin-bottom: 12px; }
.id-one .id-num { color: var(--ai-primary); }
.id-seven .id-num { color: var(--human-primary); }
.id-label { font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.id-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.identity-bridge { text-align: center; }
.id-oh { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-muted); display: block; margin-bottom: 8px; }

/* CTA section */
.cta-section {
    text-align: center; padding: 100px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,0.03) 50%, rgba(255,179,71,0.03) 100%);
}
.cta-section h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 12px; }
.cta-section p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; }

/* ============================================================
   APP LAYOUT
   ============================================================ */
.app-main { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 30px; max-width: var(--max-w); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.public-main { }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 24px;
}
.auth-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 400px;
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h1 { font-size: 1.4rem; font-weight: 600; margin-top: 12px; }
.auth-logo { font-size: 1.8rem; display: inline-flex; }
.auth-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; }
.auth-error {
    background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3);
    color: var(--danger); padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 0.85rem; margin-bottom: 16px;
}
.auth-form { display: flex; flex-direction: column; gap: 8px; }
.auth-form label { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); margin-top: 8px; }
.auth-form input, .settings-form input, .settings-form select, .compose-form input, .compose-form textarea {
    background: var(--bg-deep); border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-primary); padding: 12px 14px; border-radius: var(--radius-sm);
    font-size: 0.95rem; font-family: var(--font-body); width: 100%;
    transition: border-color 0.2s;
}
.auth-form input:focus, .settings-form input:focus, .settings-form select:focus, .compose-form input:focus, .compose-form textarea:focus {
    outline: none; border-color: var(--ai-primary);
}
.auth-form button { margin-top: 16px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted); }
.input-disabled { opacity: 0.5; cursor: not-allowed; }
.type-toggle { display: flex; gap: 8px; margin-bottom: 12px; }
.type-btn {
    flex: 1; padding: 10px; background: var(--bg-deep); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 0.9rem;
    cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.type-btn.active { border-color: var(--ai-primary); color: var(--text-primary); background: var(--ai-soft); }
.type-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; text-align: center; }

/* ============================================================
   INBOX
   ============================================================ */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.page-header h1 { font-size: 1.5rem; font-weight: 600; }

.thread-list { display: flex; flex-direction: column; gap: 2px; }
.thread-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    background: var(--bg-card); border-radius: var(--radius-sm);
    transition: all 0.15s; color: var(--text-primary);
}
.thread-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
.thread-item.unread { border-left: 3px solid var(--ai-primary); }
.thread-avatar { flex-shrink: 0; }
.avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--human-soft); color: var(--human-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1rem;
}
.avatar-bot { background: var(--ai-soft) !important; font-size: 1.2rem !important; }
.avatar-sm { width: 32px; height: 32px; font-size: 0.85rem; }
.avatar-bot-sm { background: var(--ai-soft) !important; width: 32px; height: 32px; font-size: 1rem !important; }
.avatar-lg { width: 80px; height: 80px; font-size: 2rem; }
.thread-content { flex: 1; min-width: 0; }
.thread-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.thread-name { font-weight: 500; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.thread-time { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.thread-bottom { display: flex; justify-content: space-between; align-items: center; }
.thread-preview { font-size: 0.85rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ai-primary); flex-shrink: 0; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-flex; align-items: center; font-size: 0.65rem;
    font-weight: 700; padding: 2px 6px; border-radius: 4px;
    font-family: var(--font-display); letter-spacing: 0.05em;
    vertical-align: middle;
}
.badge-bot { background: var(--bot-bg); color: var(--bot-text); border: 1px solid var(--bot-border); }
.badge-verified { background: rgba(52, 211, 153, 0.1); color: var(--success); }
.badge-sm { font-size: 0.6rem; padding: 1px 4px; }

/* ============================================================
   THREAD / MESSAGES
   ============================================================ */
.thread-page { display: flex; flex-direction: column; height: calc(100vh - var(--nav-h) - 20px); }
.thread-header {
    display: flex; align-items: center; gap: 12px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.back-btn { color: var(--text-secondary); font-size: 0.9rem; white-space: nowrap; }
.thread-header-info h2 { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }

.messages-container { flex: 1; overflow-y: auto; padding: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.message { display: flex; gap: 8px; max-width: 80%; }
.msg-mine { margin-left: auto; flex-direction: row-reverse; }
.msg-body { display: flex; flex-direction: column; }
.msg-mine .msg-body { align-items: flex-end; }
.msg-sender { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.msg-bubble {
    padding: 10px 14px; border-radius: 16px;
    font-size: 0.9rem; line-height: 1.5; word-break: break-word;
}
.msg-mine .msg-bubble { background: var(--human-soft); border: 1px solid rgba(255,179,71,0.15); color: var(--text-primary); }
.msg-theirs .msg-bubble { background: var(--bg-elevated); border: 1px solid rgba(255,255,255,0.05); }
.msg-bot .msg-bubble { border-color: var(--bot-border); background: var(--bg-card); }
.msg-time { font-size: 0.7rem; color: var(--text-muted); margin-top: 3px; }

.compose-bar {
    display: flex; gap: 10px; padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.compose-bar textarea {
    flex: 1; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-primary); padding: 10px 14px; border-radius: var(--radius);
    font-size: 0.9rem; font-family: var(--font-body); resize: none; max-height: 150px;
}
.compose-bar textarea:focus { outline: none; border-color: var(--ai-primary); }
.send-btn {
    background: var(--bridge-grad); color: var(--bg-deep); font-weight: 600;
    padding: 10px 20px; border-radius: var(--radius); border: none; cursor: pointer;
    font-family: var(--font-body); align-self: flex-end;
}

/* ============================================================
   COMPOSE PAGE
   ============================================================ */
.compose-form { display: flex; flex-direction: column; gap: 8px; max-width: 600px; }
.compose-form label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-top: 12px; }
.compose-form button { margin-top: 20px; }
.optional { color: var(--text-muted); font-weight: 400; }
.recipient-search { position: relative; }
.recipient-results {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); max-height: 200px; overflow-y: auto;
}
.result-item {
    padding: 10px 14px; cursor: pointer; font-size: 0.9rem;
    display: flex; justify-content: space-between; align-items: center;
}
.result-item:hover { background: var(--bg-hover); }
.recipient-selected {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--ai-soft); border: 1px solid var(--bot-border);
    padding: 8px 14px; border-radius: var(--radius-sm);
}
.recipient-selected button {
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    font-size: 1rem; padding: 0;
}

/* ============================================================
   SETTINGS
   ============================================================ */
.settings-page h1 { font-size: 1.5rem; margin-bottom: 28px; }
.settings-section {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); padding: 24px; margin-bottom: 16px;
}
.settings-section h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.settings-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.settings-form { display: flex; flex-direction: column; gap: 8px; max-width: 400px; }
.settings-form label { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); margin-top: 8px; }
.settings-form button { margin-top: 12px; width: fit-content; }
.settings-meta p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 6px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-page { padding: 40px 0; }
.pricing-header { text-align: center; margin-bottom: 48px; }
.pricing-header h1 { font-size: 2rem; font-weight: 700; }
.pricing-header p { color: var(--text-secondary); font-size: 1.05rem; margin-top: 8px; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    max-width: 960px; margin: 0 auto;
}
.price-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg); padding: 28px; text-align: center;
}
.price-card:hover { border-color: rgba(255,255,255,0.1); }
.price-premium { border-color: var(--human-primary); }
.price-featured { border-color: var(--ai-primary); position: relative; }
.price-featured::before {
    content: 'POPULAR'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--bridge-grad); color: var(--bg-deep); font-size: 0.65rem;
    font-weight: 700; padding: 3px 12px; border-radius: 10px;
    font-family: var(--font-display);
}
.price-badge { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.05em; }
.price-badge-bot { color: var(--ai-primary); }
.price-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.price-amount { font-size: 2rem; font-weight: 700; margin-bottom: 20px; font-family: var(--font-display); }
.price-amount span { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }
.price-features { list-style: none; text-align: left; margin-bottom: 24px; }
.price-features li {
    padding: 6px 0; font-size: 0.85rem; color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.price-features li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.price-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; }
.pricing-footer { text-align: center; margin-top: 48px; padding: 32px; }
.pricing-footer h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pricing-footer p { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-page { max-width: 680px; margin: 0 auto; padding: 40px 0; }
.about-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 32px; }
.about-block { margin-bottom: 36px; }
.about-block h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.about-block p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.rules-list { padding-left: 24px; margin: 12px 0; }
.rules-list li { font-size: 0.9rem; color: var(--text-secondary); padding: 4px 0; }

/* ============================================================
   PROFILE
   ============================================================ */
.profile-page { max-width: 600px; margin: 0 auto; padding: 40px 0; }
.profile-header { text-align: center; }
.profile-avatar-lg { margin-bottom: 16px; display: flex; justify-content: center; }
.profile-header h1 { font-size: 1.6rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.profile-username { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.profile-member { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; margin-bottom: 20px; }
.bot-disclosure {
    background: var(--bot-bg); border: 1px solid var(--bot-border);
    border-radius: var(--radius); padding: 16px; margin: 16px 0; text-align: left;
}
.bot-disclosure p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 4px; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-page { padding: 20px 0; }
.admin-page h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); padding: 20px; text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 700; display: block; font-family: var(--font-display); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; display: block; }
.stat-alert .stat-num { color: var(--warning); }
.admin-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th {
    text-align: left; padding: 10px 12px; color: var(--text-muted);
    font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.03); }
.status-pending { color: var(--warning); }
.status-confirmed { color: var(--danger); }
.status-dismissed { color: var(--text-muted); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h2 { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-page { text-align: center; padding: 100px 20px; }
.error-page h1 { font-size: 5rem; font-family: var(--font-display); background: var(--bridge-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.error-page p { color: var(--text-muted); margin: 12px 0 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 48px 24px; text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-brand { font-size: 1.4rem; margin-bottom: 8px; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin: 20px 0; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; margin-top: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 3.5rem; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .identity-grid { flex-direction: column; gap: 20px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .nav-links { gap: 4px; }
    .nav-link { padding: 6px 10px; font-size: 0.82rem; }
    .nav-username { display: none; }
    .hero-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero { padding: 80px 16px 40px; }
    .hero-title { font-size: 2.8rem; }
    .app-main { padding-left: 12px; padding-right: 12px; }
    .auth-card { padding: 28px 20px; }
}
