/* ─── Variables ─────────────────────────────────────── */
:root {
  --bg: #0d1520;
  --bg-card: #131f2e;
  --bg-elevated: #1a2a3d;
  --bg-highlight: #1f3047;
  --border: rgba(212, 168, 83, 0.15);
  --border-strong: rgba(212, 168, 83, 0.3);
  --gold: #d4a853;
  --gold-dim: rgba(212, 168, 83, 0.6);
  --gold-bright: #e8c06a;
  --text-primary: #f0ebe2;
  --text-secondary: #8a9ab5;
  --text-muted: #4a5a70;
  --green: #4ade80;
  --red: #f87171;
  --radius: 12px;
  --radius-sm: 6px;
}

/* ─── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
  gap: 60px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 83, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.05) 0%, transparent 70%);
  bottom: 0; right: -100px;
}

.hero-inner {
  flex: 0 0 auto;
  max-width: 540px;
  position: relative;
  z-index: 1;
}

.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.module-pill {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
}

.hero-cta {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.cta-label {
  font-size: 13px;
  color: var(--text-muted);
}
.cta-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.cta-period {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
}
.cta-detail {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-mobile-cta {
  display: none;
}

/* ─── Console Frame ───────────────────────────────────── */
.console-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,83,0.1);
}
.console-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.console-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }
.console-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.console-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.convo-line { display: flex; gap: 10px; align-items: flex-start; }
.convinew { }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.avatar-guest { background: var(--bg-highlight); color: var(--text-secondary); border: 1px solid var(--border); }
.avatar-ai { background: var(--gold); }

.bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 280px;
}
.bubble-guest { }
.bubble-ai { border-color: rgba(212,168,83,0.2); }
.bubble-ai strong { color: var(--gold); font-weight: 600; }

.convo-meta {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  flex-wrap: wrap;
}
.badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}
.badge-resolved { background: rgba(74,222,128,0.1); color: var(--green); border: 1px solid rgba(74,222,128,0.2); }
.badge-pending { background: rgba(212,168,83,0.1); color: var(--gold); border: 1px solid rgba(212,168,83,0.2); }

.console-stats {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-val { font-size: 16px; font-weight: 600; color: var(--gold); }
.stat-lbl { font-size: 10px; color: var(--text-muted); }

/* ─── Revenue Widget ─────────────────────────────────── */
.revenue-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.revenue-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(212,168,83,0.2), transparent);
}
.rw-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.rw-icon { display: flex; }
.rw-price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 600; color: var(--text-primary); line-height: 1; margin-bottom: 6px; }
.rw-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.4; }
.rw-actions { display: flex; flex-direction: column; gap: 8px; }
.rw-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  background: var(--bg-elevated);
}
.rw-up { color: var(--green); }
.rw-down { color: var(--red); }

/* ─── Modules Section ────────────────────────────────── */
.modules {
  padding: 100px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.modules-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.modules-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.modules-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 60px;
  line-height: 1.7;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 60px;
}
.mod {
  background: var(--bg-card);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s;
}
.mod:hover { background: var(--bg-elevated); }
.mod-primary { background: rgba(212,168,83,0.06); }
.mod-highlight { background: rgba(212,168,83,0.1); border: 1px solid rgba(212,168,83,0.2); }
.mod-brand { background: var(--bg-elevated); }

.mod-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.mod-icon {
  color: var(--gold);
  margin-bottom: 16px;
}
.mod-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.mod-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.mod-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}
.mod-stat-gold { color: var(--gold); }

.modules-proof {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.proof-item { display: flex; flex-direction: column; gap: 4px; }
.proof-val { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.proof-lbl { font-size: 12px; color: var(--text-muted); }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── Dashboard Section ──────────────────────────────── */
.dashboard-section {
  padding: 100px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.db-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.db-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 500px;
}
.db-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.db-comparison {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 60px;
}
.db-side {
  flex: 1;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.db-side-old {
  background: var(--bg);
  border-color: rgba(248,113,113,0.15);
}
.db-side-new {
  background: rgba(212,168,83,0.04);
  border-color: var(--border-strong);
}

.db-side-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.old-label { color: var(--red); }
.new-label { color: var(--gold); }

.old-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.old-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.old-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.old-tool-crossed { color: var(--text-muted); text-decoration: line-through; }

.old-cost { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid rgba(248,113,113,0.1); }
.old-cost-line, .new-cost-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.old-cost-total, .new-cost-total {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.db-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  flex-shrink: 0;
}
.vs-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.new-tools { margin-bottom: 24px; }
.new-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}
.new-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  flex-shrink: 0;
}

.new-cost { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--border); }
.new-cost-save { color: var(--green) !important; }
.save-val { font-weight: 700; }

.db-quote {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 600px;
  margin: 0 auto;
}
.db-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.db-quote cite {
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
}

/* ─── Pricing Section ────────────────────────────────── */
.pricing-section {
  padding: 100px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.pricing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.pricing-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.pricing-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.price-card-featured {
  border-color: var(--gold);
  background: rgba(212,168,83,0.05);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
}
.price-period {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  font-weight: 400;
}
.price-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.price-features li svg {
  color: var(--green);
  flex-shrink: 0;
}

.pricing-enterprise {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ent-icon { color: var(--text-muted); flex-shrink: 0; }
.ent-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ent-text strong { color: var(--text-primary); }

/* ─── Closing Section ────────────────────────────────── */
.closing-section {
  padding: 120px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.closing-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.closing-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.closing-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.closing-body-em {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold) !important;
  margin-top: 40px;
}
.closing-decoration {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.closing-orb {
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 60%);
  filter: blur(40px);
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 30px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-sep { color: var(--border); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .price-card:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 60px 24px; }
  .hero-inner { max-width: 100%; }
  .hero-visual { width: 100%; }
  .hero-cta { display: none; }
  .hero-mobile-cta { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
  .console-body { padding: 16px; }

  .modules, .dashboard-section, .pricing-section, .closing-section { padding: 60px 24px; }
  .module-grid { grid-template-columns: 1fr; }
  .modules-proof { flex-direction: column; align-items: flex-start; gap: 24px; }
  .proof-divider { width: 40px; height: 1px; }

  .db-comparison { flex-direction: column; gap: 16px; }
  .db-vs { flex-direction: row; padding: 16px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .price-card:last-child { grid-column: auto; }

  .site-footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-tagline { padding-left: 0; }
}