/* SC Analytics — Polished modern style, no cards */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-alt: #f4f1ee;
  --bg-dark: #1c1917;
  --text: #1c1917;
  --text-mid: #57534e;
  --text-light: #a8a29e;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-pale: #ede9fe;
  --warm: #f59e0b;
  --border: #e7e5e4;
  --error: #dc2626;
  --error-bg: #fef2f2;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Nav ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-brand:hover { text-decoration: none; }
.nav-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border-radius: 6px;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: var(--bg-dark);
  color: #fff;
}
.btn-secondary:hover { background: #292524; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-light); }
.btn-sc {
  background: #ff5500;
  color: #fff;
}
.btn-sc:hover { background: #e64d00; color: #fff; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-lg { padding: 0.6875rem 1.75rem; font-size: 0.9375rem; }

/* ─── Hero ─── */
.hero {
  padding: 6rem 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-text h1 .highlight {
  color: var(--accent);
}
.hero-text p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
}
.hero-visual {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: var(--accent-pale);
  border-radius: 50%;
  opacity: 0.6;
}
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  position: relative;
  z-index: 1;
}
.mock-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  opacity: 0.15;
}
.mock-bar:nth-child(3n) { opacity: 0.35; }
.mock-bar:nth-child(5n) { opacity: 0.55; }
.mock-bar:last-child { opacity: 0.8; }

/* ─── Metrics strip ─── */
.metrics-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2.5rem;
  background: var(--bg-alt);
}
.metrics-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 5rem;
}
.metric {
  text-align: center;
}
.metric-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.metric-desc {
  font-size: 0.8125rem;
  color: var(--text-mid);
  margin-top: 0.25rem;
}

/* ─── Features ─── */
.features-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}
.features-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.features-heading .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.features-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 500px;
  margin: 0 auto;
}
.feat-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.feat-row:last-child {
  border-bottom: 1px solid var(--border);
}
.feat-idx {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 2rem;
}
.feat-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}
.feat-content p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── How section ─── */
.how-section {
  background: var(--bg-dark);
  color: #fafaf9;
  padding: 5rem 2.5rem;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.how-heading .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-pale);
  margin-bottom: 0.75rem;
}
.how-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fafaf9;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.how-step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(124, 58, 237, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.how-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fafaf9;
}
.how-step p {
  font-size: 0.875rem;
  color: #a8a29e;
  line-height: 1.65;
}

/* ─── CTA ─── */
.cta {
  text-align: center;
  padding: 5rem 2.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.cta h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.cta p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-light);
}
.footer a { color: var(--text-light); }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 1.25rem; }

/* ─── Auth ─── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--bg-alt);
}
.auth-box {
  background: var(--bg);
  border-radius: 10px;
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
}
.auth-box h1 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.auth-box .subtitle {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.3125rem;
  color: var(--text);
}
.form-group input {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus {
  border-color: var(--accent);
}
.form-group input::placeholder { color: #c7c2bd; }
.form-error {
  background: var(--error-bg);
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 0.5625rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--error);
  margin-bottom: 1rem;
  display: none;
}
.form-error.visible { display: block; }
.form-actions { margin-top: 1.25rem; }
.form-actions .btn { width: 100%; }
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ─── Callback ─── */
.callback-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ─── Privacy ─── */
.privacy-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.privacy-page h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.privacy-page .updated {
  color: var(--text-light);
  font-size: 0.8125rem;
  margin-bottom: 2.5rem;
}
.privacy-page h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}
.privacy-page p {
  color: var(--text-mid);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav { padding: 0.875rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem;
    gap: 2rem;
  }
  .hero h1 { font-size: 2rem; }
  .hero-visual { display: none; }
  .metrics-inner { flex-direction: column; gap: 1.5rem; align-items: center; }
  .features-section { padding: 3rem 1.5rem; }
  .feat-row { flex-direction: column; gap: 0.25rem; }
  .how-section { padding: 3rem 1.5rem; }
  .how-steps { grid-template-columns: 1fr; gap: 2rem; }
  .cta { padding: 3rem 1.5rem; }
  .footer { padding: 1.25rem; flex-direction: column; gap: 0.5rem; }
}
