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

:root {
  --bg: #111010;
  --bg-2: #1a1919;
  --bg-3: #222222;
  --fg: #f0ede8;
  --fg-2: #a09890;
  --fg-3: #706860;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(17,16,16,0.85);
  backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.78rem;
  color: var(--fg-3);
  letter-spacing: 0.01em;
}
.glow-nav-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
  margin-left: 16px;
}
.glow-nav-btn:hover { background: var(--accent-dim); border-color: rgba(245,166,35,0.5); }

.glow-demo-wrap { min-height: 100vh; padding: 80px 24px 40px; }
.glow-demo-inner { max-width: 1100px; margin: 0 auto; }
.glow-demo-header { margin-bottom: 48px; }
.glow-demo-label { font-size: 0.8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.glow-demo-h1 { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--fg); margin-bottom: 16px; }
.glow-demo-sub { font-size: 1rem; color: var(--fg-2); max-width: 560px; line-height: 1.7; }
.glow-demo-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.glow-demo-widget-area { background: var(--bg-2); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; padding: 32px; min-height: 420px; }
.glow-demo-widget-label { font-size: 0.78rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.glow-demo-sidebar { display: flex; flex-direction: column; gap: 20px; }
.glow-demo-card { background: var(--bg-2); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 24px; }
.glow-demo-card-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--fg); margin-bottom: 10px; }
.glow-demo-card-text { font-size: 0.85rem; color: var(--fg-2); line-height: 1.6; margin-bottom: 16px; }
.glow-demo-step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.glow-demo-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-dim); border: 1px solid rgba(245,166,35,0.2); color: var(--accent); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.glow-demo-step-text { font-size: 0.85rem; color: var(--fg-2); line-height: 1.5; padding-top: 3px; }
.glow-demo-code { background: var(--bg-3); border-radius: 10px; padding: 16px; font-family: 'Courier New', monospace; font-size: 0.78rem; color: #a09890; line-height: 1.6; overflow-x: auto; white-space: pre; }
.glow-demo-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2); border-radius: 6px; padding: 4px 10px; font-size: 0.75rem; color: #4ade80; margin-bottom: 12px; }
.glow-demo-badge::before { content: ''; width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
@media (max-width: 900px) { .glow-demo-layout { grid-template-columns: 1fr; } }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 11px;
}
.hero-pill-sep { color: var(--fg-3); font-size: 0.75rem; }

/* === WIDGET === */
.widget {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.widget-dots { display: flex; gap: 6px; }
.widget-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.widget-label { font-size: 0.75rem; color: var(--fg-3); }
.widget-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 85%;
}
.chat-user { align-self: flex-end; background: var(--accent); color: #111; font-weight: 500; }
.chat-bot { align-self: flex-start; background: var(--bg-3); color: var(--fg); }
.widget-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--accent);
  margin-top: 4px;
}
.status-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}
.widget-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.widget-stat {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px;
}
.stat-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.stat-lbl { font-size: 0.72rem; color: var(--fg-3); line-height: 1.4; }

/* === PROOF === */
.proof {
  padding: 80px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-label {
  font-size: 0.8rem;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 40px;
}
.proof-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.proof-stat {
  flex: 1;
  padding: 0 40px;
}
.proof-stat:first-child { padding-left: 0; }
.proof-stat:last-child { padding-right: 0; }
.proof-divider {
  width: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0 20px;
}
.proof-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.proof-desc { font-size: 0.88rem; color: var(--fg-2); line-height: 1.5; }

/* === SECTIONS === */
.section-label {
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 56px;
}

/* === FEATURES === */
.features { padding: 100px 24px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(245,166,35,0.2); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.feature-desc { font-size: 0.88rem; color: var(--fg-2); line-height: 1.65; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  font-size: 0.82rem;
  color: var(--fg-2);
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

/* === HOW === */
.how { padding: 100px 24px; background: var(--bg-2); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step { flex: 1; padding: 0 40px 0 0; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  padding: 0 20px;
  flex-shrink: 0;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step-desc { font-size: 0.85rem; color: var(--fg-2); line-height: 1.6; }

/* === PRICING === */
.pricing { padding: 100px 24px; }
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-card {
  background: var(--bg-2);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 20px;
  padding: 48px;
  max-width: 560px;
}
.pricing-header { margin-bottom: 32px; }
.pricing-tier {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.pricing-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.pricing-val {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--fg);
}
.pricing-per { font-size: 1rem; color: var(--fg-3); }
.pricing-tagline { font-size: 0.88rem; color: var(--fg-3); }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.pricing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--fg-2);
}
.pricing-item svg { flex-shrink: 0; }
.pricing-cta { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07); }
.pricing-model {
  font-size: 0.82rem;
  color: var(--fg-3);
  font-style: italic;
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  background: linear-gradient(135deg, var(--bg) 0%, #1a1510 100%);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(245,166,35,0.07) 0%, transparent 60%);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-2);
  max-width: 540px;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-copy { font-size: 0.82rem; color: var(--fg-3); }
.footer-sub { font-size: 0.75rem; color: var(--fg-3); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-stats { flex-direction: column; gap: 32px; }
  .proof-stat { padding: 0; }
  .proof-divider { display: none; }
  .steps { flex-direction: column; gap: 32px; }
  .step { padding: 0; }
  .step-arrow { display: none; }
  .pricing-card { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 80px; }
  .hero-headline { font-size: 2.2rem; }
  .nav-tagline { display: none; }
}