/* ─────────────────────────────────────────
   CORPUS — Main Stylesheet
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080810;
  --bg-2: #0d0d1a;
  --bg-3: #111122;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(99,102,241,0.5);
  --text: #e8e8f0;
  --text-muted: rgba(232,232,240,0.5);
  --primary: #6366f1;
  --primary-2: #818cf8;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --gradient: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-text: linear-gradient(90deg, #818cf8, #06b6d4, #a855f7);
  --glow: 0 0 60px rgba(99,102,241,0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LAYOUT ─── */
section { position: relative; z-index: 1; }
.section-inner, .nav-inner, .footer-inner, .cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
  color: #fff;
}

.section-sub {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(99,102,241,0.3);
}
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(99,102,241,0.5); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--border-hover); background: var(--surface); }

.btn-outline {
  display: block;
  width: 100%;
  padding: 14px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-2); background: rgba(99,102,241,0.05); }

.btn-full { width: 100%; justify-content: center; }

/* ─── NAVIGATION ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.logo-mark {
  font-size: 1.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo-text-group { display: flex; flex-direction: column; gap: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; background: var(--surface); }
.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  box-shadow: 0 0 20px rgba(99,102,241,0.25);
}
.nav-cta:hover { box-shadow: 0 0 35px rgba(99,102,241,0.45) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  background: rgba(8,8,16,0.95);
  backdrop-filter: blur(20px);
}
.mobile-menu a {
  padding: 10px 0;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; color: var(--primary-2); }
.mobile-menu a:hover { color: #fff; }
.mobile-menu.open { display: flex; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}
.hero-inner { flex: 1; max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px 6px 10px;
  border-radius: 100px;
  border: 1px solid rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.08);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-2);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(99,102,241,0.12);
}
.badge-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.stat { text-align: left; }
.stat span { font-size: 2rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.stat-num { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat p { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 300px; height: 300px;
  background: rgba(99,102,241,0.25);
  top: -50px; right: -50px;
  animation: orb-float 6s ease-in-out infinite;
}
.orb-2 {
  width: 200px; height: 200px;
  background: rgba(6,182,212,0.2);
  bottom: -30px; left: 20px;
  animation: orb-float 8s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.ai-card {
  position: relative;
  width: 100%;
  background: rgba(13,13,26,0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.1);
  animation: card-float 5s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-12px) rotate(-0.5deg); }
}
.ai-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.ai-dot { width: 10px; height: 10px; border-radius: 50%; }
.ai-dot.green { background: #10b981; }
.ai-dot.yellow { background: #f59e0b; }
.ai-dot.red { background: #ef4444; }
.ai-card-title { margin-left: 8px; font-size: 0.75rem; color: var(--text-muted); font-family: 'Space Grotesk', monospace; }
.ai-card-body { padding: 20px; font-family: 'Space Grotesk', monospace; font-size: 0.82rem; line-height: 1.8; }
.code-line { white-space: nowrap; }
.code-line.indent { padding-left: 1.5rem; }
.code-line.spacer { height: 0.5rem; }
.code-keyword { color: #c792ea; }
.code-var { color: #82aaff; }
.code-fn { color: #82aaff; }
.code-str { color: #c3e88d; }
.code-key { color: #f78c6c; }
.code-punct { color: var(--text-muted); }
.code-comment { color: rgba(232,232,240,0.3); font-style: italic; }
.ai-card-pulse {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: rgba(99,102,241,0.05);
}
.pulse-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
  animation: pulse-bar 1.2s ease-in-out infinite;
}
.pulse-bar:nth-child(1) { height: 12px; animation-delay: 0s; }
.pulse-bar:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.pulse-bar:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.pulse-bar:nth-child(4) { height: 22px; animation-delay: 0.3s; }
.pulse-bar:nth-child(5) { height: 14px; animation-delay: 0.4s; }
@keyframes pulse-bar {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}
.ai-card-pulse span { margin-left: 8px; font-size: 0.75rem; color: var(--text-muted); }

/* ─── MARQUEE ─── */
.marquee-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 14px 0;
}
.marquee-wrapper::before, .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-2), transparent); }
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 20px;
}
.marquee-track .sep { color: var(--primary); padding: 0 4px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SERVICES ─── */
#services {
  padding: 100px 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.service-card:hover { border-color: var(--border-hover); background: var(--surface-hover); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(99,102,241,0.15); }
.service-card:hover::before { opacity: 0.04; }
.service-card.featured {
  grid-column: span 1;
  border-color: rgba(99,102,241,0.3);
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.05));
}
.service-icon {
  width: 52px; height: 52px;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.service-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-2);
  font-size: 0.75rem;
}
.service-learn-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}
.service-learn-more:hover { color: var(--cyan); }
.service-tag {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--gradient);
  color: #fff;
}

/* ─── PROCESS ─── */
#process {
  padding: 100px 0;
  background: var(--bg-2);
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.process-line {
  position: absolute;
  top: 28px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(to right, var(--primary), var(--cyan));
  opacity: 0.3;
}
.process-step { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-2);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.process-step:hover .step-num {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(99,102,241,0.4);
}
.step-content h3 { font-size: 1rem; color: #fff; margin-bottom: 0.5rem; }
.step-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ─── WORK ─── */
#work {
  padding: 100px 0;
  background: var(--bg);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.work-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-color);
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.work-card:hover::after { opacity: 1; }
.work-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-color);
  margin-bottom: 1rem;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--card-color);
  opacity: 0.8;
}
.work-card h3 { font-size: 1rem; color: #fff; margin-bottom: 0.75rem; line-height: 1.4; }
.work-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.work-results { display: flex; gap: 1.5rem; }
.result span { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.result p { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ─── TESTIMONIALS ─── */
#testimonials {
  padding: 100px 0;
  background: var(--bg-2);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-3px); }
.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: #fff; }
.testimonial-author span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ─── PRICING ─── */
#pricing {
  padding: 100px 0;
  background: var(--bg);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-4px); }
.pricing-card.popular {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.07));
  border-color: rgba(99,102,241,0.4);
  transform: scale(1.02);
  box-shadow: 0 0 60px rgba(99,102,241,0.15);
}
.pricing-card.popular:hover { transform: scale(1.02) translateY(-4px); }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-2); margin-bottom: 1rem; }
.pricing-price { margin-bottom: 0.75rem; display: flex; align-items: baseline; gap: 4px; }
.pricing-price span { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; color: #fff; }
.pricing-price sub { color: var(--text-muted); font-size: 0.9rem; }
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.6; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.87rem; }
.pricing-features .check { color: var(--primary-2); font-size: 0.9rem; }
.pricing-features .muted { color: var(--text-muted); }
.pricing-features .muted span { opacity: 0.3; }


/* ─── DEMO CARDS ─── */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.demo-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.demo-card:hover { border-color: var(--demo-color); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px color-mix(in srgb, var(--demo-color) 30%, transparent); }
.demo-preview {
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0;
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
}
.demo-browser-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.demo-browser-url { font-size: 0.65rem; color: var(--text-muted); margin-left: 8px; font-family: monospace; }
.demo-screen-content { flex: 1; padding: 0; font-size: 1rem; }
.demo-preview { display: flex; flex-direction: column; }

/* Construction preview — Industrial light/concrete theme */
.demo-construction { background: linear-gradient(160deg, #f5f1eb, #e8e2d8); }
.dc-hero { padding: 12px 14px 8px; }
.dc-logo-row { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 900; color: #1a1510; margin-bottom: 6px; letter-spacing: 0.08em; text-transform: uppercase; }
.dc-logo-icon { font-size: 1rem; color: #f97316; }
.dc-headline { font-size: 1.1rem; font-weight: 900; color: #1a1510; line-height: 1.1; margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.dc-divider { width: 28px; height: 3px; background: #f97316; margin-bottom: 8px; }
.dc-cta-row { display: flex; gap: 6px; }
.dc-btn { padding: 4px 10px; background: #f97316; color: #fff; font-size: 0.58rem; font-weight: 700; border-radius: 2px; letter-spacing: 0.06em; text-transform: uppercase; }
.dc-btn-ghost { padding: 4px 10px; border: 1px solid rgba(26,21,16,0.25); color: #1a1510; font-size: 0.58rem; font-weight: 600; border-radius: 2px; }
.dc-stats-row { display: flex; gap: 0; border-top: 2px solid rgba(249,115,22,0.3); margin-top: 10px; padding: 8px 14px; background: #1a1510; }
.dc-stat { flex: 1; text-align: center; }
.dc-stat b { display: block; color: #f97316; font-size: 0.88rem; font-weight: 900; }
.dc-stat span { font-size: 0.52rem; color: rgba(240,237,232,0.5); text-transform: uppercase; letter-spacing: 0.06em; }

/* Car rental preview — Ultra-luxury gold/black theme */
.demo-carrental { background: linear-gradient(160deg, #050505, #0a0805); }
.dcr-hero { padding: 12px 14px 8px; }
.dcr-logo-row { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 500; color: #c9a96e; margin-bottom: 4px; letter-spacing: 0.1em; }
.dcr-logo-icon { font-size: 1rem; color: #c9a96e; }
.dcr-headline { font-size: 1rem; font-weight: 400; color: #fff; line-height: 1.2; margin-bottom: 4px; font-style: italic; letter-spacing: -0.01em; }
.dcr-rule { width: 30px; height: 1px; background: #c9a96e; margin-bottom: 8px; opacity: 0.6; }
.dcr-search { display: flex; gap: 4px; align-items: center; }
.dcr-field { flex: 1; padding: 4px 7px; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,169,110,0.2); border-radius: 3px; font-size: 0.55rem; color: rgba(255,255,255,0.35); }
.dcr-search-btn { padding: 4px 8px; background: #c9a96e; color: #000; font-size: 0.52rem; font-weight: 700; border-radius: 3px; white-space: nowrap; letter-spacing: 0.06em; text-transform: uppercase; }
.dcr-cars { padding: 8px 14px; }
.dcr-chiron { background: rgba(201,169,110,0.06); border: 1px solid rgba(201,169,110,0.2); border-radius: 4px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; }
.dcr-chiron-name { font-size: 0.62rem; font-weight: 600; color: #c9a96e; letter-spacing: 0.08em; }
.dcr-chiron-spec { font-size: 0.52rem; color: rgba(255,255,255,0.35); }
.dcr-chiron-price { font-size: 0.65rem; font-weight: 700; color: #fff; }

/* Bookstore preview — Warm cream/terracotta theme */
.demo-bookstore { background: linear-gradient(160deg, #faf7f0, #f0e8d8); }
.db-hero { padding: 12px 14px 8px; }
.db-logo-row { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: #2d1a0e; margin-bottom: 6px; font-style: italic; }
.db-logo-icon { font-size: 1rem; color: #c2683a; }
.db-headline { font-size: 1rem; font-weight: 700; color: #2d1a0e; line-height: 1.2; margin-bottom: 8px; font-style: italic; }
.db-search-bar { display: flex; align-items: center; justify-content: space-between; padding: 5px 10px; background: #fff; border: 1px solid rgba(194,104,58,0.3); border-radius: 20px; font-size: 0.58rem; color: #8a7060; box-shadow: 0 2px 8px rgba(44,26,14,0.08); }
.db-search-icon { color: #c2683a; font-weight: 700; }
.db-books { display: flex; gap: 6px; padding: 10px 14px; align-items: flex-end; }
.db-book { border-radius: 2px 4px 4px 2px; }
.db-book-1 { width: 18px; height: 44px; background: linear-gradient(180deg, #7c3aed, #4c1d95); }
.db-book-2 { width: 16px; height: 36px; background: linear-gradient(180deg, #c2683a, #7c3a1a); }
.db-book-3 { width: 20px; height: 50px; background: linear-gradient(180deg, #2d6a4f, #1b4332); }
.db-book-4 { width: 15px; height: 40px; background: linear-gradient(180deg, #b5451b, #6b2010); }
.db-book-5 { width: 18px; height: 32px; background: linear-gradient(180deg, #1e3a5f, #0f1f33); }
.db-book-6 { width: 17px; height: 46px; background: linear-gradient(180deg, #6b4c2a, #3d2a14); }

.demo-info { padding: 1.25rem 1.5rem 1.5rem; }
.demo-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; border: 1px solid; margin-bottom: 0.75rem; }
.demo-info h3 { font-size: 0.95rem; color: #fff; margin-bottom: 0.5rem; }
.demo-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.demo-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--demo-color); transition: gap 0.2s; }
.demo-link svg { width: 14px; height: 14px; }
.demo-card:hover .demo-link { gap: 10px; }

/* ─── CTA / CONTACT ─── */
#contact {
  padding: 100px 0;
  background: var(--bg-2);
}
.cta-inner {
  position: relative;
  max-width: 720px;
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.2), transparent 70%);
  pointer-events: none;
}
#contact h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 1rem; }
#contact p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 3rem; }
.contact-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 0.03em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: rgba(99,102,241,0.05); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.form-group textarea { resize: vertical; line-height: 1.6; }
::placeholder { color: rgba(232,232,240,0.25); }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 12px 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-sm);
  color: #10b981;
  font-size: 0.9rem;
  text-align: center;
}
.form-success.visible { display: block; }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 4rem; padding-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; max-width: 260px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; margin-top: 1.5rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-links a svg { width: 16px; height: 16px; }
.social-links a:hover { border-color: var(--primary); color: var(--primary-2); background: rgba(99,102,241,0.1); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h5 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.87rem; color: var(--text-muted); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-2); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom span, .footer-bottom-links a { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── LANGUAGE SWITCHER ─── */
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; color: var(--text-muted); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); font-family: 'Inter', sans-serif;
}
.lang-btn svg { width: 14px; height: 14px; }
.lang-btn:hover { border-color: var(--primary); color: var(--primary-2); }
.lang-chevron { width: 10px !important; height: 10px !important; transition: transform 0.25s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #0d0d1a; border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; min-width: 150px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(-8px) scale(0.97);
  pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
.lang-switcher.open .lang-dropdown { opacity: 1; transform: none; pointer-events: all; }
.lang-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px; background: none; border: none; color: var(--text-muted);
  font-size: 0.84rem; font-weight: 500; cursor: pointer; transition: background 0.15s, color 0.15s;
  font-family: 'Inter', sans-serif; text-align: left;
}
.lang-option:hover { background: var(--surface); color: #fff; }
.lang-option.active { color: var(--primary-2); background: rgba(99,102,241,0.08); }
.lang-flag { font-size: 1rem; }
/* Lang transition flash */
body.lang-switching { opacity: 0; transition: opacity 0.15s; }

/* ─── OFFERINGS SECTION ─── */
#offerings { padding: 100px 0; background: var(--bg-2); }

/* Featured card */
.offering-featured {
  display: grid; grid-template-columns: 1fr 340px; gap: 3rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.07), rgba(6,182,212,0.04));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px; padding: 2.5rem; margin-bottom: 2rem;
  position: relative; overflow: hidden;
}
.offering-featured::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12), transparent 70%);
  pointer-events: none;
}
.offering-featured-left { position: relative; z-index: 1; }
.offering-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  background: var(--gradient); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.offering-icon-lg { width: 60px; height: 60px; margin-bottom: 1.25rem; }
.offering-icon-lg svg { width: 100%; height: 100%; }
.offering-featured-left h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; }
.offering-featured-left p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.5rem; max-width: 540px; }
.offering-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 2rem; }
.offering-list li { font-size: 0.84rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.offering-list li::before { content: '→'; position: absolute; left: 0; color: var(--primary-2); font-size: 0.75rem; }

/* Price cards */
.offering-featured-right { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: relative; z-index: 1; }
.offering-price-card {
  padding: 1.5rem; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 14px;
  transition: border-color 0.25s;
}
.offering-price-card:hover { border-color: rgba(99,102,241,0.35); }
.opc-monthly { background: rgba(6,182,212,0.04); border-color: rgba(6,182,212,0.15); }
.opc-monthly:hover { border-color: rgba(6,182,212,0.35); }
.opc-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; }
.opc-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 0.4rem; }
.opc-from { font-size: 0.8rem; color: var(--text-muted); }
.opc-amount { font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.opc-monthly .opc-amount { background: linear-gradient(90deg, #06b6d4, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.opc-per { font-size: 0.85rem; color: var(--text-muted); }
.opc-note { font-size: 0.75rem; color: var(--text-muted); }
.opc-plus {
  text-align: center; font-size: 1.25rem; font-weight: 700; color: var(--text-muted);
  padding: 0.5rem 0; opacity: 0.4;
}
.offering-cta { margin-top: 1.25rem; text-align: center; justify-content: center; }
.offering-disclaimer { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }

/* Services grid */
.offering-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.offering-card {
  padding: 1.75rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px;
  transition: var(--transition); position: relative;
}
.offering-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.offering-card-wide { grid-column: span 2; }
.oc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.oc-icon {
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid;
  display: flex; align-items: center; justify-content: center;
}
.oc-icon svg { width: 24px; height: 24px; }
.oc-custom-badge {
  display: inline-flex; padding: 4px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
}
.offering-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: 0.6rem; }
.offering-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.oc-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 1.25rem; }
.oc-list li { font-size: 0.82rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.oc-list li::before { content: '◈'; position: absolute; left: 0; font-size: 0.6rem; color: var(--primary); top: 3px; }
.oc-list-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 2rem; }
.oc-wide-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.oc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 100px; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; transition: var(--transition);
}
.oc-cta:hover { border-color: var(--primary); color: var(--primary-2); background: rgba(99,102,241,0.07); }
.offerings-bottom-cta {
  text-align: center; padding: 2.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.offerings-bottom-cta p { color: var(--text-muted); font-size: 0.9rem; max-width: 500px; text-align: left; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
}

@media (max-width: 1024px) {
  .offering-featured { grid-template-columns: 1fr; }
  .offering-featured-right { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .offering-price-card { flex: 1; min-width: 180px; }
  .opc-plus { display: none; }
  .offering-list { grid-template-columns: 1fr; }
  .oc-wide-content { grid-template-columns: 1fr; gap: 1rem; }
  .oc-list-wide { grid-template-columns: 1fr; }
  .offerings-bottom-cta { flex-direction: column; text-align: center; }
  .offerings-bottom-cta p { text-align: center; max-width: 100%; }
}

@media (max-width: 768px) {
  #hero { flex-direction: column; padding: 110px 1.5rem 60px; gap: 3rem; text-align: center; }
  .hero-inner { max-width: 100%; }
  .hero-sub { max-width: 100%; margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 100%; width: 100%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .offering-grid { grid-template-columns: 1fr; }
  .offering-card-wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section-inner, .nav-inner, .footer-inner, .cta-inner { padding: 0 1.5rem; }
  #services, #process, #work, #offerings, #contact { padding: 70px 0; }
  .lang-dropdown { right: auto; left: 0; }
  .cf-trust-panel { display: none; }
  .cf-service-grid { grid-template-columns: repeat(2,1fr); }
  .cf-budget-grid { grid-template-columns: repeat(2,1fr); }
  .cf-outer { padding: 0 1.5rem; }
}

/* ─── CONTACT FUNNEL ─── */
#contact { padding: 100px 0; background: var(--bg-2); position: relative; z-index: 1; }
.cf-outer {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem; position: relative;
}
.cf-header { text-align: center; margin-bottom: 3rem; }
.cf-header h2 { font-size: clamp(2rem,4vw,3rem); color:#fff; margin-bottom:0.75rem; }
.cf-header p { color:var(--text-muted); font-size:1.05rem; max-width:580px; margin:0 auto; }
.cf-body { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.cta-glow { position:absolute; top:-80px; left:50%; transform:translateX(-50%); width:600px; height:300px; background:radial-gradient(ellipse,rgba(99,102,241,0.15),transparent 70%); pointer-events:none; }

/* Card */
.cf-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem;
}
/* Progress */
.cf-progress { display:flex; align-items:center; gap:0; margin-bottom:3rem; position:relative; }
.cf-step-dot {
  width:38px; height:38px; border-radius:50%; border:2px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:0.82rem; font-weight:700; color:var(--text-muted); flex-shrink:0;
  transition:all 0.3s; background:var(--bg); position:relative; z-index:1;
}
.cf-step-dot.active { border-color:var(--primary); color:#fff; background:var(--gradient); box-shadow:0 0 20px rgba(99,102,241,0.4); }
.cf-step-dot.done { border-color:#10b981; color:#10b981; background:rgba(16,185,129,0.1); }
.cf-step-dot.done span { font-size:0; }
.cf-step-dot.done::after { content:'✓'; font-size:0.9rem; position:absolute; }
.cf-step-line { flex:1; height:2px; background:var(--border); transition:background 0.4s; }
.cf-step-line.done { background:linear-gradient(90deg,#10b981,var(--primary)); }
.cf-step-labels {
  position:absolute; bottom:-24px; left:0; right:0;
  display:flex; justify-content:space-between;
  font-size:0.7rem; color:var(--text-muted); letter-spacing:0.05em;
  padding: 0 2px;
}
/* Steps */
.cf-step { animation:cf-fadein 0.3s ease; }
.cf-step.hidden,.cf-success.hidden { display:none; }
@keyframes cf-fadein { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.cf-step-title { font-size:1.1rem; color:#fff; margin-bottom:1.5rem; font-family:'Space Grotesk',sans-serif; }
/* Service grid */
.cf-service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:1.75rem; }
.cf-service-card input { display:none; }
.cf-sc-inner {
  display:flex; flex-direction:column; align-items:center; gap:6px;
  padding:1rem 0.75rem; border-radius:12px; border:1px solid var(--border);
  background:var(--surface); cursor:pointer; transition:all 0.2s; text-align:center;
}
.cf-sc-inner:hover { border-color:var(--primary); background:rgba(99,102,241,0.07); }
.cf-service-card input:checked + .cf-sc-inner {
  border-color:var(--primary); background:rgba(99,102,241,0.1);
  box-shadow:0 0 0 1px var(--primary),0 0 20px rgba(99,102,241,0.15);
}
.cf-sc-check {
  display:flex; align-items:center; justify-content:center;
  width:22px; height:22px; border-radius:50%;
  border:1.5px solid var(--border); background:transparent;
  transition:all 0.2s; margin-bottom:2px; flex-shrink:0;
}
.cf-sc-check svg { width:11px; height:11px; }
.cf-sc-check svg path { stroke:transparent; transition:stroke 0.2s; }
.cf-service-card input:checked + .cf-sc-inner .cf-sc-check {
  background:var(--primary); border-color:var(--primary);
}
.cf-service-card input:checked + .cf-sc-inner .cf-sc-check svg path { stroke:#fff; }
.cf-sc-name { font-size:0.77rem; font-weight:600; color:#fff; line-height:1.3; }
.cf-sc-price { font-size:0.67rem; color:var(--primary-2); font-weight:600; }
/* Budget */
.cf-budget-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:0.75rem; }
.cf-budget-option {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 18px; border-radius:12px; border:1.5px solid var(--border);
  cursor:pointer; transition:all 0.2s; background:var(--surface); user-select:none;
}
.cf-budget-option input[type="radio"] { display:none; }
.cf-budget-label { font-size:0.9rem; font-weight:600; color:var(--text-muted); transition:color 0.2s; }
.cf-budget-check {
  width:20px; height:20px; border-radius:50%; border:1.5px solid rgba(255,255,255,0.15);
  flex-shrink:0; display:flex; align-items:center; justify-content:center; transition:all 0.2s;
}
.cf-budget-check::after {
  content:''; width:8px; height:8px; border-radius:50%; background:#fff;
  opacity:0; transition:opacity 0.15s; display:block;
}
.cf-budget-option:hover { border-color:var(--primary); background:rgba(99,102,241,0.07); }
.cf-budget-option:hover .cf-budget-label { color:#fff; }
.cf-budget-option:has(input:checked) { border-color:var(--primary); background:rgba(99,102,241,0.13); box-shadow:0 0 0 1px var(--primary); }
.cf-budget-option:has(input:checked) .cf-budget-label { color:#fff; }
.cf-budget-option:has(input:checked) .cf-budget-check { background:var(--primary); border-color:var(--primary); }
.cf-budget-option:has(input:checked) .cf-budget-check::after { opacity:1; }
/* Field error */
.cf-field-error {
  display:none; color:#f87171; font-size:0.82rem;
  padding:10px 14px; background:rgba(248,113,113,0.08);
  border:1px solid rgba(248,113,113,0.25); border-radius:8px; margin-bottom:0.5rem;
}
/* Buttons */
.cf-next,.cf-back { margin-top:0; }
.cf-btn-row { display:flex; gap:1rem; align-items:center; margin-top:1.5rem; flex-wrap:wrap; }
.cf-trust-row {
  display:flex; align-items:center; gap:8px; font-size:0.78rem; color:var(--text-muted);
  margin:1rem 0; padding:10px 14px; background:rgba(16,185,129,0.05);
  border:1px solid rgba(16,185,129,0.15); border-radius:8px;
}
/* Success */
.cf-success { text-align:center; padding:2rem 1rem; }
.cf-success-icon {
  width:64px; height:64px; border-radius:50%;
  background:linear-gradient(135deg,#10b981,#059669);
  display:flex; align-items:center; justify-content:center;
  font-size:1.75rem; margin:0 auto 1.25rem;
  box-shadow:0 0 40px rgba(16,185,129,0.4);
}
.cf-success h3 { font-size:1.5rem; color:#fff; margin-bottom:0.5rem; }
.cf-success p { color:var(--text-muted); margin-bottom:0.5rem; }
.cf-success-detail { font-size:0.85rem; color:var(--text-muted); margin-bottom:1.5rem; }
/* Trust panel */
.cf-trust-panel {
  display:flex; flex-direction:column; gap:1.25rem; padding:2rem;
  background:rgba(255,255,255,0.02); border:1px solid var(--border);
  border-radius:20px; position:sticky; top:90px;
}
.cf-trust-item { display:flex; gap:12px; align-items:flex-start; }
.cf-trust-icon { font-size:1.25rem; flex-shrink:0; margin-top:2px; }
.cf-trust-item strong { display:block; font-size:0.87rem; color:#fff; margin-bottom:3px; }
.cf-trust-item span { font-size:0.8rem; color:var(--text-muted); line-height:1.55; }
.cf-reply-badge {
  display:flex; align-items:center; gap:8px; font-size:0.78rem; color:#10b981;
  padding:10px 14px; background:rgba(16,185,129,0.06);
  border:1px solid rgba(16,185,129,0.2); border-radius:100px; margin-top:0.5rem;
}
@media (max-width: 900px) {
  .cf-body { grid-template-columns: 1fr; }
  .cf-trust-panel { display:none; }
}
@media (max-width: 600px) {
  .cf-service-grid { grid-template-columns:repeat(2,1fr); }
  .cf-card { padding:1.5rem; }
}

/* ─── FLOATING CHATBOT WIDGET ─── */
#chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}
#chat-toggle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(99,102,241,0.45);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
#chat-toggle:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(99,102,241,0.6); }
#chat-toggle svg { width: 24px; height: 24px; color: #fff; }
.chat-unread {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #ef4444;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  animation: pulse-dot 2s infinite;
}
#chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  background: rgba(13,13,26,0.97);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.1);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  max-height: 500px;
  transform: translateY(8px) scale(0.96);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
#chat-panel.open {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cp-header {
  padding: 16px 18px;
  background: rgba(99,102,241,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.cp-header-info { display: flex; align-items: center; gap: 12px; }
.cp-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; font-weight: 700;
}
.cp-name { font-weight: 700; font-size: 0.92rem; color: #fff; }
.cp-status { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.cp-close { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; border-radius: 6px; transition: color 0.2s; }
.cp-close:hover { color: #fff; }
.cp-close svg { width: 18px; height: 18px; }
.cp-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  max-height: 280px;
  scroll-behavior: smooth;
}
.cp-messages::-webkit-scrollbar { width: 4px; }
.cp-messages::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
.cp-messages .chat-msg { display: flex; gap: 8px; align-items: flex-start; max-width: 90%; }
.cp-messages .chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.cp-messages .chat-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.cp-messages .bot-avatar { background: var(--gradient); color: #fff; }
.cp-messages .user-avatar { background: rgba(255,255,255,0.1); color: var(--text-muted); }
.cp-messages .chat-bubble { padding: 9px 13px; border-radius: 12px; font-size: 0.85rem; line-height: 1.55; }
.cp-messages .chat-msg.bot .chat-bubble { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); color: var(--text); border-top-left-radius: 2px; }
.cp-messages .chat-msg.user .chat-bubble { background: var(--gradient); color: #fff; border-top-right-radius: 2px; }
.cp-suggestions { padding: 0 16px 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.cp-pill { padding: 5px 12px; border-radius: 100px; border: 1px solid rgba(99,102,241,0.35); background: rgba(99,102,241,0.08); color: var(--primary-2); font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.cp-pill:hover { background: rgba(99,102,241,0.2); border-color: var(--primary); color: #fff; }
.cp-input-row {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 8px; align-items: center;
}
#cp-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 9px 16px;
  color: var(--text);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
#cp-input:focus { border-color: var(--primary); }
#cp-input::placeholder { color: rgba(232,232,240,0.3); }
#cp-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
#cp-send:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(99,102,241,0.4); }
#cp-send svg { width: 16px; height: 16px; color: #fff; }
@media(max-width: 480px) {
  #chat-panel { width: calc(100vw - 32px); right: -8px; }
  #chat-widget { bottom: 16px; right: 16px; }
}

/* ─── FOOTER EXTRAS ─── */
.footer-contact-info { margin: 1rem 0; }
.footer-contact-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.85rem; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-link:hover { color: var(--primary-2); }
.footer-contact-link svg { width: 16px; height: 16px; }
.footer-reply-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem;
  padding: 5px 12px; border-radius: 100px;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
}
.footer-reply-badge .badge-dot { background: #10b981; box-shadow: 0 0 8px #10b981; width: 7px; height: 7px; flex-shrink: 0; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
