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

:root {
  --navy: #070D1A;
  --navy-mid: #0D1B2E;
  --cyan: #00E5C9;
  --cyan-dim: rgba(0, 229, 201, 0.12);
  --warm: #F4F2EE;
  --warm-dark: #E8E4DC;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: #F4F2EE;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--warm);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(7, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 201, 0.1);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-mark {
  width: 32px; height: 32px;
  background: var(--cyan);
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--cyan); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  background: var(--cyan);
  color: var(--navy) !important;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-left: 16px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 229, 201, 0.3);
  color: var(--navy) !important;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,229,201,0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
}

.label-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.hero-headline {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 800px;
}

.hero-highlight {
  color: var(--cyan);
  display: block;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 14px;
  border: 1px solid rgba(0,229,201,0.3);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* === STATS === */
.stats {
  background: var(--navy-mid);
  border-top: 1px solid rgba(0,229,201,0.1);
  border-bottom: 1px solid rgba(0,229,201,0.1);
  padding: 0 40px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--cyan);
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0,229,201,0.15);
}

/* === SECTIONS SHARED === */
section { padding: 80px 40px; }

.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === FEATURES === */
.features {
  background: var(--warm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--warm-dark);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 201, 0.12);
}

.feature-card--large {
  grid-column: span 2;
}

.feature-icon {
  width: 44px; height: 44px;
  background: var(--cyan-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 16px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.feature-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
  padding-top: 12px;
  border-top: 1px solid var(--warm);
}

/* === PROCESS === */
.process {
  background: var(--navy);
  color: #fff;
}

.process .section-title { color: #fff; }
.process .section-sub { color: rgba(255,255,255,0.5); }

.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 0 32px 0 0;
}

.process-step:first-child { padding-left: 0; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.process-connector {
  width: 40px;
  height: 1px;
  background: rgba(0,229,201,0.2);
  margin-top: 28px;
  flex-shrink: 0;
}

/* === NICHES === */
.niches {
  background: var(--warm);
}

.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.niche-card {
  background: #fff;
  border: 1px solid var(--warm-dark);
  border-radius: 12px;
  padding: 24px;
}

.niche-icon {
  width: 36px; height: 36px;
  background: var(--cyan-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 14px;
}

.niche-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.niche-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  background: var(--navy);
  padding: 100px 40px;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--cyan);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 8px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 201, 0.35);
}

.cta-note {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* === FOOTER === */
.footer {
  background: var(--warm-dark);
  border-top: 1px solid var(--warm-dark);
  padding: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-brand .logo-mark {
  width: 24px; height: 24px;
  font-size: 13px;
}

.footer-brand .logo-text {
  font-size: 14px;
  color: var(--text);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-sep { opacity: 0.3; }

/* === DEMO CHATBOT SECTION === */
.demo-chatbot-section {
  background: var(--navy);
  padding: 100px 40px;
}

.demo-chatbot-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.demo-chatbot-section .section-tag { color: var(--cyan); }
.demo-chatbot-section .section-title { color: #fff; }
.demo-chatbot-section .section-sub { color: rgba(255,255,255,0.5); }

.demo-chatbot-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .demo-chatbot-content { grid-template-columns: 1fr; }
}

/* Mini chat panel in landing page section */
.mini-chat-panel {
  background: var(--navy-mid);
  border: 1px solid rgba(0, 229, 201, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 360px;
}

.mini-chat-header {
  padding: 14px 16px;
  background: rgba(0, 229, 201, 0.08);
  border-bottom: 1px solid rgba(0, 229, 201, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-chat-avatar {
  width: 32px; height: 32px;
  background: var(--cyan);
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.mini-chat-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.mini-chat-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.mini-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-bubble {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
}

.mini-bubble--bot {
  background: rgba(255,255,255,0.06);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.mini-bubble--user {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.mini-lead-form {
  background: var(--warm);
  border-radius: 16px;
  padding: 24px;
}

.mini-form-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.mini-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .mini-form-row { grid-template-columns: 1fr; }
}

.mini-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--warm-dark);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
}

.mini-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

.mini-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.mini-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--warm-dark);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text);
  resize: vertical;
  min-height: 70px;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mini-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

.mini-submit {
  width: 100%;
  padding: 11px 20px;
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mini-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 229, 201, 0.3);
}

.mini-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.mini-success {
  background: var(--warm);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.mini-success-icon {
  width: 44px; height: 44px;
  background: rgba(0, 229, 201, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--cyan);
}

.mini-success h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.mini-success p {
  font-size: 13px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 1; }
  .niches-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-direction: column; gap: 20px; }
  .process-connector { display: none; }
  .process-step { padding: 0; }
}

@media (max-width: 640px) {
  section, .hero, .closing { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 0 20px; }
  .features-grid, .niches-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .footer-inner { flex-wrap: wrap; }
  .footer-meta { margin-left: 0; }
}