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

:root {
  --bg: #0a0b0e;
  --bg2: #0e1014;
  --bg3: #13151a;
  --surface: #1a1d24;
  --surface2: #22262f;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.13);
  --accent: #f0a500;
  --accent2: #e07b00;
  --accent-dim: rgba(240,165,0,0.12);
  --accent-glow: rgba(240,165,0,0.25);
  --text: #e8eaed;
  --text-secondary: #8b93a4;
  --text-dim: #555e70;
  --white: #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 60px rgba(0,0,0,0.6);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }

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

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 24px;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  padding: 9px 22px;
  background: var(--accent);
  color: #000 !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.btn-nav:hover { background: var(--accent2) !important; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li + li { margin-top: 24px; }
.mobile-menu a {
  font-size: 28px;
  font-weight: 300;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.cta { color: var(--accent); }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 14px 30px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,165,0,0.35);
}
.btn-primary.large { font-size: 17px; padding: 17px 40px; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 30px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   SECTION LABELS + TITLES
   =========================== */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 680px;
}
.accent-text { color: var(--accent); }
.accent { color: var(--accent); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
}
.orb1 { width: 500px; height: 500px; background: rgba(240,165,0,0.2); top: -100px; right: -100px; animation: pulse1 8s ease-in-out infinite; }
.orb2 { width: 300px; height: 300px; background: rgba(240,165,0,0.1); bottom: 100px; left: -50px; animation: pulse2 10s ease-in-out infinite; }
.orb3 { width: 200px; height: 200px; background: rgba(240,165,0,0.15); top: 40%; left: 40%; animation: pulse1 12s ease-in-out infinite reverse; }

@keyframes pulse1 { 0%,100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(1.15); opacity: 0.55; } }
@keyframes pulse2 { 0%,100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.2); opacity: 0.45; } }

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.8s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-size: clamp(44px, 8vw, 82px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-title .line { display: block; }

.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.hero-ctas {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
  gap: 0;
}
.stat {
  padding: 0 32px; text-align: center;
}
.stat p { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--accent);
  line-height: 1;
}
.stat-unit { font-size: 20px; color: var(--accent); }
.stat-divider {
  width: 1px; height: 48px;
  background: var(--border-bright);
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); font-family: var(--font-mono);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100%{opacity:0.4; transform:scaleY(0.7) translateY(-5px)} 50%{opacity:1; transform:scaleY(1) translateY(5px)} }

/* ===========================
   TICKER
   =========================== */
.ticker-wrap {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.ticker {
  display: inline-flex; gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 0 12px;
}
.ticker .sep { color: var(--accent); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===========================
   SERVICES INTRO
   =========================== */
.services-intro {
  padding: 100px 0;
  text-align: center;
}
.services-intro .section-sub {
  margin: 0 auto 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.service-card {
  display: block;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  background: var(--accent-dim);
  border-radius: 12px;
}
.card-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.card-arrow { color: var(--accent); font-size: 20px; }

/* ===========================
   PRODUCT SECTIONS
   =========================== */
.product-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.product-section.alt { background: var(--bg2); }
.product-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.product-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.p-orb1 { width: 400px; height: 400px; background: rgba(240,165,0,0.07); top: 50%; right: -100px; transform: translateY(-50%); }
.p-orb2 { width: 400px; height: 400px; background: rgba(240,165,0,0.07); top: 50%; left: -100px; transform: translateY(-50%); }
.p-orb3 { width: 400px; height: 400px; background: rgba(240,165,0,0.07); bottom: -100px; right: 20%; }

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}
.product-inner.reverse { direction: rtl; }
.product-inner.reverse > * { direction: ltr; }

.product-text { max-width: 500px; }
.product-text p {
  font-size: 16px; line-height: 1.8;
  color: var(--text-secondary); margin-bottom: 28px;
}
.feature-list {
  list-style: none; margin-bottom: 36px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.feature-list li:last-child { border-bottom: none; }
.check {
  color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.product-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-note { font-size: 13px; color: var(--text-dim); font-style: italic; }

/* CHAT DEMO */
.chat-demo {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.chat-header {
  padding: 14px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.chat-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.online-dot {
  width: 8px; height: 8px; background: #22c55e;
  border-radius: 50%; animation: blink 2s ease infinite;
}
.chat-body {
  padding: 20px;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 12px;
}
.msg { display: flex; }
.msg.user { justify-content: flex-end; }
.msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px; line-height: 1.5;
  max-width: 75%;
}
.msg.bot .msg-bubble { background: var(--surface2); color: var(--text); border-bottom-left-radius: 4px; }
.msg.user .msg-bubble { background: var(--accent); color: #000; font-weight: 500; border-bottom-right-radius: 4px; }
.dots { display: flex; gap: 4px; align-items: center; }
.dots span { width: 6px; height: 6px; background: var(--text-dim); border-radius: 50%; animation: dotBounce 1.2s ease infinite; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.chat-input-bar {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--surface2);
}
.chat-input-bar input {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  padding: 9px 14px; border-radius: 8px; color: var(--text-dim); font-size: 13px;
}
.chat-input-bar button {
  padding: 9px 16px; background: var(--accent); color: #000;
  border: none; border-radius: 8px; font-size: 16px; cursor: pointer;
  font-weight: 700;
}

/* SOCIAL DEMO */
.social-demo {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.social-platforms {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.platform-pill {
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.platform-pill.ig { background: rgba(225,48,108,0.15); color: #e1306c; }
.platform-pill.fb { background: rgba(24,119,242,0.15); color: #1877f2; }
.platform-pill.yt { background: rgba(255,0,0,0.12); color: #ff0000; }
.platform-pill.tt { background: rgba(105,201,208,0.15); color: #69c9d0; }
.post-preview {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.post-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-avatar {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #000;
  flex-shrink: 0;
}
.post-header strong { font-size: 14px; display: block; }
.post-time { font-size: 11px; color: var(--text-dim); }
.ai-tag {
  margin-left: auto;
  font-size: 10px; font-family: var(--font-mono);
  background: var(--accent-dim); color: var(--accent);
  padding: 3px 8px; border-radius: 100px;
}
.post-body { font-size: 13px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 12px; }
.post-metrics { display: flex; gap: 16px; font-size: 12px; color: var(--text-dim); }

/* PIPELINE DEMO */
.pipeline-demo {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.pipeline-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.pipeline-stages {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: nowrap;
}
.stage { flex: 1; }
.stage-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 10px; font-family: var(--font-mono); }
.lead-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
}
.lead-card.booked { border-color: rgba(34,197,94,0.3); }
.lead-info strong { font-size: 13px; display: block; margin-bottom: 3px; }
.lead-info span { font-size: 11px; color: var(--text-dim); }
.lead-status {
  margin-top: 8px; font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 100px; display: inline-block;
  font-family: var(--font-mono);
}
.lead-status.new { background: rgba(240,165,0,0.15); color: var(--accent); }
.lead-status.contacted { background: rgba(59,130,246,0.15); color: #60a5fa; }
.lead-status.booked-s { background: rgba(34,197,94,0.15); color: #22c55e; }
.stage-arrow { color: var(--text-dim); font-size: 18px; flex-shrink: 0; }
.pipeline-note { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); margin-top: 16px; }

/* ===========================
   ABOUT
   =========================== */
.about { padding: 100px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}
.headshot-wrap { position: relative; display: inline-block; }
.headshot-placeholder {
  width: 380px; height: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  text-align: center; padding: 24px;
}
.headshot-placeholder img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute; inset: 0;
}
.headshot-initials {
  font-family: var(--font-display);
  font-size: 80px; color: var(--accent); letter-spacing: 4px;
}
.headshot-note { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.headshot-note small { color: var(--text-dim); opacity: 0.6; font-family: var(--font-mono); font-size: 10px; }
.headshot-ring {
  position: absolute;
  inset: -12px;
  border: 2px solid var(--accent);
  border-radius: calc(var(--radius-lg) + 12px);
  opacity: 0.25;
}
.headshot-badge {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000;
  padding: 8px 20px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  white-space: nowrap;
}
.about-text { max-width: 520px; }
.about-text p {
  font-size: 16px; line-height: 1.8;
  color: var(--text-secondary); margin-bottom: 18px;
}

/* ===========================
   CTA BAND
   =========================== */
.cta-band {
  padding: 100px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-band-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(240,165,0,0.08) 0%, transparent 50%, rgba(240,165,0,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300; margin-bottom: 16px;
  position: relative;
}
.cta-band p {
  font-size: 17px; color: var(--text-secondary);
  margin-bottom: 36px; max-width: 560px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-band .btn-primary { position: relative; }

/* ===========================
   CONTACT + CHATBOT
   =========================== */
.contact { padding: 100px 0; background: var(--bg2); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
}
.contact-text p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 28px;
}
.contact-direct { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.direct-link {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--text);
  transition: color var(--transition);
}
.direct-link:hover { color: var(--accent); }
.link-icon { font-size: 18px; }
.trust-badges { display: flex; flex-direction: column; gap: 10px; }
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-dim);
}
.trust-badge span { font-size: 15px; }

/* ── CHATBOT WIDGET ── */
.chatbot-widget {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  max-height: 600px;
}
.chatbot-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chatbot-header-left { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
  width: 44px; height: 44px;
  background: var(--accent); color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 1px;
  flex-shrink: 0;
}
.chatbot-name { font-size: 14px; font-weight: 600; }
.chatbot-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-secondary); margin-top: 2px;
}
.chatbot-reset {
  background: none; border: none; color: var(--text-dim);
  font-size: 18px; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; transition: color var(--transition), background var(--transition);
}
.chatbot-reset:hover { color: var(--accent); background: var(--accent-dim); }

.chatbot-messages {
  flex: 1; overflow-y: auto;
  padding: 20px 20px 12px;
  display: flex; flex-direction: column; gap: 14px;
  scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 4px; }

.cb-msg { display: flex; flex-direction: column; gap: 4px; }
.cb-msg.bot { align-items: flex-start; }
.cb-msg.user { align-items: flex-end; }
.cb-bubble {
  padding: 11px 16px;
  border-radius: 18px;
  font-size: 14px; line-height: 1.55;
  max-width: 85%;
  animation: bubbleIn 0.25s ease;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cb-msg.bot .cb-bubble {
  background: var(--surface2);
  border-bottom-left-radius: 4px;
}
.cb-msg.user .cb-bubble {
  background: var(--accent);
  color: #000; font-weight: 500;
  border-bottom-right-radius: 4px;
}
.cb-typing .cb-bubble { padding: 13px 18px; }
.cb-dots { display: flex; gap: 5px; align-items: center; }
.cb-dots span {
  width: 7px; height: 7px; background: var(--text-secondary);
  border-radius: 50%;
  animation: dotBounce 1.1s ease infinite;
}
.cb-dots span:nth-child(2) { animation-delay: 0.18s; }
.cb-dots span:nth-child(3) { animation-delay: 0.36s; }

.quick-replies {
  padding: 0 16px 12px;
  display: flex; flex-wrap: wrap; gap: 8px;
  flex-shrink: 0;
}
.qr-chip {
  padding: 7px 14px;
  background: var(--bg3);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 13px; color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  animation: chipIn 0.2s ease both;
}
.qr-chip:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  transform: translateY(-1px);
}
@keyframes chipIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.chatbot-input-area {
  display: flex; gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface2);
  flex-shrink: 0;
}
#chatInput {
  flex: 1; background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px; color: var(--text); font-size: 14px;
  outline: none; transition: border-color var(--transition);
}
#chatInput:focus { border-color: var(--accent); }
#chatInput:disabled { opacity: 0.4; cursor: not-allowed; }
#chatSend {
  width: 42px; height: 42px;
  background: var(--accent); color: #000;
  border: none; border-radius: 10px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
#chatSend:hover { background: var(--accent2); transform: scale(1.05); }
#chatSend:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.chatbot-footer-note {
  padding: 8px 16px;
  font-size: 10px; color: var(--text-dim);
  font-family: var(--font-mono);
  text-align: center;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* completion card */
.cb-complete-card {
  background: linear-gradient(135deg, rgba(240,165,0,0.12), rgba(240,165,0,0.04));
  border: 1px solid rgba(240,165,0,0.3);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 13px; line-height: 1.65;
  animation: bubbleIn 0.3s ease;
}
.cb-complete-card strong { color: var(--accent); display: block; margin-bottom: 6px; font-size: 14px; }


/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px; align-items: start;
  padding-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 2px;
}
.footer-brand p {
  font-size: 13px; color: var(--text-dim); margin-top: 8px; line-height: 1.5;
}
.footer-links {
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.footer-contact a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px; color: var(--text-dim);
  font-family: var(--font-mono);
}
.footer-bottom a { color: var(--accent); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .product-inner { grid-template-columns: 1fr; gap: 48px; }
  .product-inner.reverse { direction: ltr; }
  .about-inner { grid-template-columns: 1fr; }
  .headshot-placeholder { width: 100%; height: 340px; }
  .contact-inner { grid-template-columns: 1fr; }
  .chatbot-widget { max-height: 520px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer-contact { align-items: center; }
  .pipeline-stages { flex-direction: column; }
  .stage-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 60px; height: 1px; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .product-text { max-width: 100%; }
  .about-inner { gap: 60px; }
  .contact-form { padding: 24px 16px; }
}
