/* TabibAI shared product site styles */
:root {
  --bg: #07090d;
  --bg-2: #0b0f14;
  --panel: rgba(255,255,255,0.052);
  --panel-strong: rgba(255,255,255,0.082);
  --text: #f5f7fb;
  --muted: #9aa5b4;
  --soft: #c6d2e4;
  --subtle: #687386;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);
  --brand: #4fd1c5;
  --brand-2: #7c8cff;
  --brand-3: #b5f4ef;
  --success: #58e39a;
  --warning: #ffd166;
  --danger: #ff7a90;
  --shadow: 0 24px 80px rgba(0,0,0,0.42);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(79,209,197,0.17), transparent 28rem),
    radial-gradient(circle at 82% 4%, rgba(124,140,255,0.16), transparent 28rem),
    linear-gradient(180deg, #07090d 0%, #090b10 58%, #07090d 100%);
  font-feature-settings: 'cv01','ss03';
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black 0%, transparent 82%); }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav-wrap { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(7,9,13,.76); backdrop-filter: blur(22px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 680; letter-spacing: -.035em; }
.mark { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: #05100f; background: linear-gradient(135deg, var(--brand-3), var(--brand) 52%, var(--brand-2)); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 14px 32px rgba(79,209,197,.18); }
.mark svg { width: 21px; height: 21px; }
.nav-links { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.06); border-radius: 999px; background: rgba(255,255,255,.026); }
.nav-links a { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #adb8c8; font-size: 13px; font-weight: 560; transition: background .18s ease, color .18s ease; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { background: rgba(255,255,255,.07); color: #f5f7fb; outline: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--text); font-weight: 620; font-size: 14px; transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn:hover, .btn:focus-visible { transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.065); outline: none; }
.btn.primary { color: #04110f; border-color: rgba(181,244,239,.3); background: linear-gradient(135deg, var(--brand-3), var(--brand)); box-shadow: 0 18px 42px rgba(79,209,197,.18); }
.btn.danger { color: #ffe1e7; border-color: rgba(255,122,144,.24); background: rgba(255,122,144,.07); }
.mobile-menu { display: none; }
.mobile-panel { display: none; }
.page-hero { padding: 92px 0 54px; }
body[data-page="pricing"] .page-hero { padding-bottom: 18px; }
body[data-page="pricing"] .section:first-of-type { padding-top: 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr); gap: 48px; align-items: center; }
.eyebrow, .badge { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #d7fffb; font-size: 12px; font-weight: 620; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(88,227,154,.12); }
h1 { margin: 22px 0 18px; max-width: 820px; font-size: clamp(44px, 7vw, 82px); line-height: .93; letter-spacing: -.078em; text-wrap: balance; }
.hero-lede, .lede { margin: 0; color: #b9c5d6; font-size: clamp(16px, 2vw, 20px); line-height: 1.72; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; max-width: 720px; }
.metric { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.metric strong { display: block; font-size: 20px; letter-spacing: -.04em; }
.metric span { display: block; margin-top: 4px; color: var(--subtle); font-size: 12px; line-height: 1.45; }
.panel { border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(circle at 20% 0%, rgba(79,209,197,.13), transparent 21rem), linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.032)); box-shadow: var(--shadow); overflow: hidden; }
.panel-pad { padding: clamp(24px, 4vw, 38px); }
.browser-top { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--subtle); font-family: var(--mono); font-size: 11px; }
.traffic { display: inline-flex; gap: 6px; }
.traffic i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.section { padding: 58px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-title { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.section-copy { margin: 10px 0 0; color: var(--muted); line-height: 1.7; max-width: 700px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.045); padding: 22px; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 0%, rgba(181,244,239,.08), transparent 15rem); opacity: .8; }
.card > * { position: relative; }
.card h2, .card h3 { margin: 0 0 10px; letter-spacing: -.04em; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { color: #c9d4e5; line-height: 1.5; font-size: 13px; display: grid; grid-template-columns: 18px 1fr; gap: 9px; }
.card li::before { content: '✓'; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(88,227,154,.12); color: var(--success); font-size: 11px; font-weight: 800; }
.product-visual { display: grid; gap: 12px; }
.workflow-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { counter-increment: step; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.038); }
.step::before { content: '0' counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 13px; color: #04110f; background: linear-gradient(135deg, var(--brand-3), var(--brand)); font-family: var(--mono); font-size: 12px; font-weight: 800; }
.step h3 { margin: 0 0 8px; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--muted); line-height: 1.62; font-size: 13px; }
.price-card { padding: 26px; border-radius: 28px; }
.price-card.featured { border-color: rgba(181,244,239,.28); background: radial-gradient(circle at 20% 0%, rgba(79,209,197,.16), transparent 19rem), rgba(255,255,255,.055); box-shadow: var(--shadow); }
.price { margin: 20px 0 4px; font-size: 42px; letter-spacing: -.065em; }
.price small { color: var(--subtle); font-size: 14px; letter-spacing: 0; }
.plan-note { color: var(--subtle); font-size: 12px; line-height: 1.55; min-height: 38px; }
.compare-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); color: #cbd6e8; font-size: 13px; }
.compare-table th { color: #f5f7fb; background: rgba(255,255,255,.055); }
.compare-table tr:last-child td { border-bottom: 0; }
.legal-page { max-width: 840px; }
.legal-page h2 { margin: 34px 0 10px; letter-spacing: -.04em; }
.legal-page p, .legal-page li { color: #c2ccdc; line-height: 1.75; }
.legal-page ul { padding-left: 20px; }
.workspace-page { background: #07090d; }
.workspace-shell { width: min(1420px, calc(100% - 28px)); margin: 0 auto; }
.workspace-hero { padding: 34px 0 18px; }
.workspace-gate { display: none; margin: 24px auto 60px; max-width: 760px; }
.workspace-gate.show { display: block; }
.workspace-app { display: none; padding: 16px 0 50px; }
.workspace-app.show { display: block; }
.app-frame { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 118px); border: 1px solid rgba(255,255,255,.09); border-radius: 30px; overflow: hidden; background: rgba(255,255,255,.035); box-shadow: var(--shadow); }
.sidebar { padding: 20px; border-right: 1px solid rgba(255,255,255,.08); background: rgba(5,7,11,.62); }
.user-chip { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.04); margin-bottom: 18px; }
.avatar { width: 38px; height: 38px; border-radius: 14px; display: grid; place-items: center; color: #04110f; background: linear-gradient(135deg, var(--brand-3), var(--brand)); font-weight: 850; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-chip strong { display: block; font-size: 13px; }
.user-chip span { display: block; max-width: 150px; color: var(--subtle); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav { display: grid; gap: 7px; }
.side-nav a, .side-nav button { width: 100%; min-height: 40px; padding: 0 12px; display: flex; align-items: center; border-radius: 14px; border: 0; background: transparent; color: #aeb9ca; font-size: 13px; text-align: left; }
.side-nav a.active, .side-nav a:hover, .side-nav button:hover { background: rgba(255,255,255,.07); color: #fff; }
.app-main { min-width: 0; padding: 22px; display: grid; gap: 18px; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.app-top h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.06em; }
.app-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.queue, .chart-card, .note-card, .right-rail { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.045); overflow: hidden; }
.block-head { min-height: 50px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.block-head strong { letter-spacing: -.02em; }
.queue-list { display: grid; gap: 10px; padding: 14px; }
.patient { width: 100%; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.036); color: inherit; text-align: left; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.patient:hover, .patient.active { transform: translateY(-1px); border-color: rgba(181,244,239,.24); background: rgba(79,209,197,.08); }
.patient strong { display: block; margin-bottom: 4px; font-size: 13px; }
.patient span { color: var(--subtle); font-size: 12px; }
.tag { display: inline-flex; min-height: 24px; align-items: center; padding: 0 8px; border-radius: 999px; color: #d8fffb; background: rgba(79,209,197,.09); border: 1px solid rgba(79,209,197,.16); font-size: 11px; font-weight: 700; }
.note-body { padding: 16px; display: grid; gap: 14px; }
.field { border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(5,7,11,.42); padding: 14px; }
.field label { display: block; margin-bottom: 8px; color: var(--subtle); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.field textarea { width: 100%; min-height: 118px; resize: vertical; border: 0; outline: 0; background: transparent; color: #eef5ff; line-height: 1.62; }
.timeline { display: grid; gap: 10px; padding: 14px; }
.timeline-item { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: #c7d2e3; font-size: 13px; line-height: 1.55; }
.timeline-item::before { content: ''; width: 10px; height: 10px; margin: 6px auto 0; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(88,227,154,.1); }
.notice { padding: 14px; border-radius: 18px; border: 1px solid rgba(255,209,102,.22); background: rgba(255,209,102,.08); color: #ffe7a6; font-size: 13px; line-height: 1.62; }
.notice.success { border-color: rgba(88,227,154,.24); background: rgba(88,227,154,.08); color: #d9ffe9; }
.footer { padding: 42px 0; color: var(--subtle); border-top: 1px solid rgba(255,255,255,.065); margin-top: 42px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #aab5c7; font-size: 13px; }
.footer-links a:hover { color: #fff; }
@media (max-width: 1040px) { .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; } .workflow-line { grid-template-columns: repeat(2,1fr); } .app-grid { grid-template-columns: 1fr; } .app-frame { grid-template-columns: 1fr; } .sidebar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); } .side-nav { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .shell { width: min(100% - 28px, 1160px); } .nav { min-height: 66px; } .nav-links, .nav-actions .ghost, .nav-actions .hide-mobile { display: none; } .mobile-menu { display: inline-flex; } .mobile-panel { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: rgba(10,14,20,.96); box-shadow: var(--shadow); backdrop-filter: blur(18px); } .nav.open .mobile-panel { display: grid; gap: 6px; } .mobile-panel a { min-height: 42px; display: flex; align-items: center; padding: 0 13px; border-radius: 14px; color: #d6dfec; font-size: 14px; } .mobile-panel a:hover { background: rgba(255,255,255,.07); } .page-hero { padding-top: 56px; } h1 { font-size: clamp(42px, 14vw, 62px); } .metric-row, .workflow-line { grid-template-columns: 1fr; } .section-head { display: block; } .compare-table { display: block; overflow-x: auto; } .workspace-shell { width: min(100% - 18px, 1420px); } .app-main { padding: 14px; } .app-top { display: grid; } .side-nav { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
