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

:root {
  --bg: #0B1120;
  --bg-card: #111827;
  --bg-card-hover: #1a2337;
  --accent: #00E5C3;
  --accent-dim: #00b89e;
  --secondary: #6366F1;
  --amber: #F59E0B;
  --text: #F1F5F9;
  --text-muted: #8896AB;
  --text-dim: #4B5563;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,195,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 120px 48px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,195,0.08); border: 1px solid rgba(0,229,195,0.2);
  color: var(--accent); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-headline em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted); max-width: 440px;
  line-height: 1.7;
}

/* ===== DASHBOARD FRAME ===== */
.hero-visual { display: flex; justify-content: flex-end; }
.dashboard-frame {
  width: 100%; max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,229,195,0.06);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.dashboard-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dt-dots { display: flex; gap: 6px; }
.dt-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--text-dim); }
.dt-dots span:nth-child(1) { background: #FF5F57; }
.dt-dots span:nth-child(2) { background: #FFBD2E; }
.dt-dots span:nth-child(3) { background: #28CA41; }
.dt-title { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.dt-status { display: flex; align-items: center; gap: 5px; font-size: 0.65rem; color: var(--accent); font-weight: 500; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

.dashboard-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* Transcript */
.transcript-strip { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.ts-label { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.ts-entries { display: flex; flex-direction: column; gap: 6px; }
.ts-entry { display: flex; align-items: flex-start; gap: 8px; }
.ts-avatar { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 600; flex-shrink: 0; }
.ts-rep .ts-avatar { background: var(--secondary); color: white; }
.ts-prospect .ts-avatar { background: rgba(255,255,255,0.1); color: var(--text-muted); }
.ts-text { font-size: 0.68rem; color: var(--text-muted); line-height: 1.4; }

/* AI Panel */
.ai-panel { background: rgba(0,229,195,0.04); border: 1px solid rgba(0,229,195,0.12); border-radius: var(--radius); padding: 12px; }
.ai-panel-header { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.ai-tasks { display: flex; flex-direction: column; gap: 6px; }
.ai-task { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--text-dim); }
.ai-task.done { color: var(--text-muted); }
.ai-task.active { color: var(--accent); }
.ai-task.pending { color: var(--text-dim); }
.ai-spinner { width: 10px; height: 10px; border: 1.5px solid rgba(0,229,195,0.2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Email Preview */
.email-preview { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ep-header { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 0.65rem; color: var(--text-dim); }
.ep-dots { display: flex; gap: 4px; }
.ep-dots::before, .ep-dots::after, .ep-dots span::before {
  content: ''; display: block; width: 5px; height: 5px; background: var(--text-dim); border-radius: 50%;
}
.ep-status { margin-left: auto; color: var(--accent); font-size: 0.6rem; font-weight: 500; }
.ep-body { padding: 10px 12px; position: relative; }
.ep-body p { font-size: 0.68rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 4px; }
.ep-body strong { color: var(--text); font-weight: 500; }
.ep-tag {
  position: absolute; bottom: 8px; right: 12px;
  background: rgba(0,229,195,0.12); color: var(--accent);
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}

/* ===== WORKFLOW ===== */
.workflow { padding: 120px 0; }
.workflow-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2;
  color: var(--text); margin-bottom: 64px;
  max-width: 520px;
}
.workflow-steps { display: flex; align-items: stretch; gap: 0; }
.wf-step { flex: 1; position: relative; }
.wf-connector { width: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.wf-connector::before {
  content: ''; position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0.3;
}
.wf-number { font-family: var(--font-head); font-size: 0.75rem; color: var(--accent); margin-bottom: 12px; font-style: italic; }
.wf-content h3 { font-family: var(--font-head); font-size: 1.25rem; color: var(--text); margin-bottom: 12px; font-weight: 400; }
.wf-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.wf-visual { }
.wv-box { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; }
.wv-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255,255,255,0.04); border-radius: 8px; }
.wv-box span { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.wv-actions { flex-direction: column; align-items: flex-start; gap: 6px; }
.wv-action { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 500; }
.wv-action.done { color: var(--accent); }
.wv-action.alert { color: var(--amber); }

/* ===== OUTCOMES ===== */
.outcomes { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.outcome-card { background: var(--bg); padding: 48px 40px; text-align: center; }
.outcome-card.accent-card { background: rgba(0,229,195,0.03); }
.oc-value { font-family: var(--font-head); font-size: 4rem; font-weight: 400; color: var(--text); line-height: 1; margin-bottom: 12px; }
.oc-value span { font-size: 2rem; color: var(--accent); }
.oc-label { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; max-width: 220px; margin: 0 auto; }

/* ===== MANIFESTO ===== */
.manifesto { padding: 120px 0; }
.manifesto-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-style: italic; font-weight: 400;
  color: var(--text); line-height: 1.35;
  max-width: 700px; margin-bottom: 32px;
  position: relative; padding-left: 32px;
}
.manifesto-quote::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; background: linear-gradient(180deg, var(--accent), var(--secondary));
  border-radius: 2px;
}
.manifesto-body { font-size: 1rem; color: var(--text-muted); max-width: 600px; line-height: 1.8; }

/* ===== CLOSING ===== */
.closing { padding: 120px 0; }
.closing-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; text-align: center; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.25; color: var(--text); margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.closing-accent { color: var(--accent); font-style: italic; }
.closing-sub { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.fl-mark { width: 32px; height: 32px; background: var(--accent); color: var(--bg); font-family: var(--font-head); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 400; }
.fl-name { font-family: var(--font-head); font-size: 1.2rem; color: var(--text); font-weight: 400; }
.footer-tagline { font-size: 0.8rem; color: var(--text-dim); }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links span { font-size: 0.75rem; color: var(--text-dim); }
.footer-links a { font-size: 0.75rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding: 80px 24px 60px; gap: 48px; }
  .hero-visual { justify-content: flex-start; }
  .hero-sub { max-width: 100%; }
  .workflow-inner, .outcomes-inner, .manifesto-inner, .closing-inner, .footer-inner { padding: 0 24px; }
  .workflow-steps { flex-direction: column; }
  .wf-connector { width: 100%; height: 32px; }
  .wf-connector::before { top: 50%; left: 0; transform: none; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
  .outcomes-grid { grid-template-columns: 1fr; }
  .section-headline { font-size: 1.75rem; }
  .closing-headline { font-size: 1.75rem; }
  .oc-value { font-size: 3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .manifesto-quote { font-size: 1.4rem; padding-left: 20px; }
}