/* F5: The Operating System for Experience — Vision Site */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface2: #1a1a28;
  --border: #2a2a3a;
  --text: #e0e0e8;
  --text-dim: #888898;
  --accent: #6366f1;
  --accent-glow: #818cf8;
  --red: #ef4444;
  --green: #22c55e;
  --gold: #f59e0b;
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Layout */
.site-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-header {
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.sidebar-header h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-glow);
  letter-spacing: 2px;
}

.sidebar-header p {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-section {
  padding: 8px 24px;
}

.nav-section h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.nav-section a {
  display: block;
  padding: 6px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.nav-section a:hover {
  background: var(--surface2);
  color: var(--accent-glow);
}

.nav-section a.active {
  background: var(--accent);
  color: white;
}

.main-content {
  margin-left: 280px;
  flex: 1;
  padding: 48px 64px;
  max-width: 900px;
}

/* Typography */
h1 { font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
h2 { font-size: 24px; font-weight: 600; margin: 40px 0 16px; color: var(--accent-glow); }
h3 { font-size: 18px; font-weight: 600; margin: 24px 0 12px; }
p { margin-bottom: 16px; }

.subtitle {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.lead {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--text);
}

blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-dim);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

th {
  text-align: left;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 2px solid var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-glow);
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
}

.card h3 {
  margin-top: 0;
  color: var(--accent-glow);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-card .number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-glow);
}

.stat-card .label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Highlight box */
.highlight {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.05));
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.highlight strong {
  color: var(--accent-glow);
}

/* Budget tiers */
.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
}

.tier h3 {
  margin-top: 0;
}

.tier .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Feedback widget */
.feedback-section {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.feedback-section h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.record-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.record-btn:hover { background: #dc2626; transform: scale(1.02); }
.record-btn.recording { background: #991b1b; animation: pulse 1.5s infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(239,68,68,0); }
}

.stop-btn {
  padding: 14px 28px;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  cursor: pointer;
  margin-left: 12px;
}

.transcript-live {
  margin-top: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 60px;
  font-style: italic;
  color: var(--text-dim);
}

.speaker-input {
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  width: 250px;
}

.submit-feedback {
  margin-top: 12px;
  padding: 10px 24px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Notes display */
.notes-list {
  margin-top: 24px;
}

.note-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.note-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.note-meta strong {
  color: var(--accent-glow);
}

.note-text {
  font-size: 14px;
  line-height: 1.6;
}

/* Login page */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
}

.login-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  width: 400px;
  text-align: center;
}

.login-box h1 {
  font-size: 28px;
  color: var(--accent-glow);
  margin-bottom: 8px;
}

.login-box .tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.login-box input[type="password"] {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px;
  margin-bottom: 16px;
  text-align: center;
}

.login-box input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
}

.login-box button {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.login-box .error {
  color: var(--red);
  font-size: 14px;
  margin-top: 12px;
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 24px; }
}
