/* ═══════════════════════════════════════
   ScribMind — Landing Page Styles
   Dark theme · Purple accent · Professional
   ═══════════════════════════════════════ */

/* ── Reset & Tokens ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep:    #050508;
  --bg-primary: #0a0a0f;
  --bg-card:    #111118;
  --bg-card-hover: #16161f;
  --bg-elevated:#1a1a24;

  --accent:     #8b5cf6;
  --accent-light:#a78bfa;
  --accent-dim: rgba(139, 92, 246, 0.15);
  --accent-glow: rgba(139, 92, 246, 0.4);
  --gradient:   linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #818cf8 100%);

  --text-primary:   #f4f4f5;
  --text-secondary:  #a1a1aa;
  --text-muted:      #71717a;

  --border:     rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);

  --success:    #10b981;
  --blue:       #3b82f6;
  --green:      #22c55e;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* ── Gradient Text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 12px 28px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 12px 28px;
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 20px;
}
.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--accent-dim);
  color: var(--accent-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.25s;
}
.nav-cta:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-dim);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* ── Hero Visual ── */
.hero-visual {
  max-width: 800px;
  margin: 60px auto 0;
  perspective: 1000px;
}
.hero-window {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(139, 92, 246, 0.08);
  transform: rotateX(2deg);
  transition: transform 0.4s ease;
}
.hero-window:hover {
  transform: rotateX(0deg);
}
.window-bar {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.window-dots {
  display: flex;
  gap: 8px;
}
.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #22c55e; }
.window-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.window-body {
  padding: 24px;
}

/* Mock transcript */
.mock-transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
}
.mock-speaker {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-other {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}
.mock-me {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.mock-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.mock-time {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}
.mock-line.mock-ai {
  background: var(--accent-dim);
  border-left-color: var(--accent);
  flex-direction: column;
  gap: 6px;
}
.mock-ai-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.mock-rec-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ef4444;
}
.rec-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-rec 1.5s ease infinite;
}
@keyframes pulse-rec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.mock-accuracy {
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
}

/* ── Trust ── */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all 0.25s;
}
.trust-item:hover {
  color: var(--text-secondary);
  border-color: var(--border-light);
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features ── */
.features {
  padding: 120px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 8px 20px;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.04) 100%);
}
.feature-large .feature-icon {
  grid-row: span 2;
  align-self: start;
}
.feature-large h3 { font-size: 22px; }
.feature-large p { max-width: 640px; }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--accent-light);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Beyond Meetings ── */
.beyond {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.beyond-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.beyond-card:hover {
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateY(-4px);
}
.beyond-number {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}
.beyond-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.beyond-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How It Works ── */
.how {
  padding: 120px 0;
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.step-number {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(139, 92, 246, 0.2));
  margin-top: 28px;
  flex-shrink: 0;
}

/* ── Privacy ── */
.privacy {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.02) 100%);
}
.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.privacy-text .section-tag,
.privacy-text .section-title,
.privacy-text .section-desc { text-align: left; }

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.privacy-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s;
}
.privacy-card:hover {
  border-color: rgba(139, 92, 246, 0.2);
}
.privacy-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  color: var(--accent-light);
}
.privacy-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.privacy-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Pricing ── */
.pricing {
  padding: 120px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-featured {
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.1);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.pricing-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}
.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
}
.price-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period {
  font-size: 15px;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: var(--accent-dim);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ── CTA ── */
.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Footer ── */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-secondary); }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .beyond-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-layout { grid-template-columns: 1fr; gap: 40px; }
  .privacy-text .section-tag,
  .privacy-text .section-title,
  .privacy-text .section-desc { text-align: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 120px 0 60px; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
  .stat-divider { width: 60px; height: 1px; }
  .hero-visual { margin: 40px auto 0; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .feature-large .feature-icon { grid-row: auto; }

  .beyond-grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), rgba(139, 92, 246, 0.2));
  }

  .privacy-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .mock-line { flex-wrap: wrap; }
  .mock-time { display: none; }
}
