/* ===================================================================
   Exefast — Design System (Light Theme)
   Move from Chat to Action.
   =================================================================== */

/* --- Reset & Custom Properties --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette — light */
  --bg:          #ffffff;
  --bg-raised:   #f7f8fb;
  --bg-card:     #ffffff;
  --bg-card-alt: #f3f4f8;
  --bg-light:    #f8f9fb;
  --bg-cream:    #fdfbf7;
  --surface:     #ffffff;
  --bg-hero:     #fafbfe;

  /* Ink */
  --ink:         #334155;
  --ink-strong:  #0f172a;
  --ink-soft:    #64748b;
  --ink-muted:   #94a3b8;
  --ink-dark:    #0f172a;
  --ink-dark-soft:#475569;

  /* Brand */
  --accent:      #ea580c;
  --accent-hover:#dc4e08;
  --accent-light:#f97316;
  --accent-glow: rgba(234,88,12,0.12);
  --accent-subtle:rgba(234,88,12,0.06);

  /* Secondary */
  --teal:        #0d9488;
  --teal-soft:   rgba(13,148,136,0.08);
  --blue:        #3b82f6;
  --blue-soft:   rgba(59,130,246,0.07);
  --purple:      #8b5cf6;
  --purple-soft: rgba(139,92,246,0.07);
  --green:       #16a34a;
  --green-soft:  rgba(22,163,74,0.07);

  /* Lines & borders */
  --line:        rgba(15,23,42,0.06);
  --line-strong: rgba(15,23,42,0.12);
  --line-light:  rgba(15,23,42,0.06);
  --line-light-strong: rgba(15,23,42,0.12);

  /* Layout */
  --max:         1200px;
  --max-narrow:  880px;
  --section-pad: clamp(4rem,8vw,7rem);
  --gutter:      clamp(1rem,3vw,2rem);

  /* Radius */
  --r-xs:  8px;
  --r-sm:  12px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --r-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.05), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:  0 4px 16px rgba(15,23,42,0.07), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg:  0 12px 40px rgba(15,23,42,0.09), 0 4px 12px rgba(15,23,42,0.04);
  --shadow-glow:0 8px 40px rgba(234,88,12,0.08);
  --shadow-teal:0 8px 40px rgba(13,148,136,0.08);
  --shadow-card:0 1px 3px rgba(15,23,42,0.04), 0 0 0 1px rgba(15,23,42,0.04);

  /* Transitions */
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-bounce: cubic-bezier(0.34,1.56,0.64,1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink-strong);
}

/* --- Layout --- */
.container {
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - var(--gutter) * 2), var(--max-narrow));
  margin-inline: auto;
}

/* --- Skip to content link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Utilities --- */
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--teal), #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  color: var(--ink-strong);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 12px rgba(15,23,42,0.06);
  border-bottom-color: var(--line-strong);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
  z-index: 10;
}

.nav-brand-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink-strong);
  background: rgba(15,23,42,0.04);
}

.nav-cta {
  padding: 0.55rem 1.2rem !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: #fff !important;
  border-radius: var(--r-full) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s !important;
  box-shadow: 0 2px 8px var(--accent-glow) !important;
}

.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(234,88,12,0.2) !important;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent)) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink-strong);
  z-index: 10;
}

.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.25rem;
    padding: 0.85rem 1.5rem;
    width: 100%;
    text-align: center;
    max-width: 320px;
    color: var(--ink-strong);
  }
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.2s, border-color 0.2s;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(234,88,12,0.22);
}

.btn-secondary {
  background: var(--bg-raised);
  color: var(--ink-strong);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  border-color: rgba(15,23,42,0.2);
  background: var(--bg-card-alt);
}

.btn-dark {
  background: var(--ink-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15,23,42,0.12);
}

.btn-dark:hover {
  background: #1e293b;
  box-shadow: 0 8px 24px rgba(15,23,42,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--ink-strong);
  border: 2px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 0.5rem 0.85rem;
}

.btn-ghost:hover { color: var(--ink-strong); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }

/* ===================================================================
   CARDS
   =================================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card-glow:hover {
  box-shadow: var(--shadow-glow);
}

/* ===================================================================
   GRIDS
   =================================================================== */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  padding: clamp(7rem,14vw,10rem) 0 var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

/* Subtle ambient gradient orbs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.hero::before {
  top: -10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234,88,12,0.06), transparent 70%);
}

.hero::after {
  bottom: -5%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.04), transparent 70%);
}

/* Grid pattern overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.65rem;
  border-radius: var(--r-full);
  background: var(--accent-subtle);
  border: 1px solid rgba(234,88,12,0.12);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero-tagline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(234,88,12,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(234,88,12,0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  max-width: 16ch;
  margin: 0 auto 1.25rem;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink-strong);
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Hero visual — chat simulation */
.hero-visual {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.hero-visual-inner {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  min-height: 340px;
}

.hero-chat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-chat-label,
.hero-actions-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.chat-bubble {
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-lg);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 92%;
  animation: chatIn 0.6s var(--ease-out) forwards;
  opacity: 0;
}

.chat-bubble-user {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble-agent {
  background: var(--bg-raised);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}

.chat-bubble:nth-child(2) { animation-delay: 0.15s; }
.chat-bubble:nth-child(3) { animation-delay: 0.5s; }
.chat-bubble:nth-child(4) { animation-delay: 0.9s; }

@keyframes chatIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-actions-panel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-md);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink);
  animation: chatIn 0.5s var(--ease-out) forwards;
  opacity: 0;
}

.action-item:nth-child(2) { animation-delay: 0.6s; }
.action-item:nth-child(3) { animation-delay: 0.9s; }
.action-item:nth-child(4) { animation-delay: 1.2s; }
.action-item:nth-child(5) { animation-delay: 1.5s; }
.action-item:nth-child(6) { animation-delay: 1.8s; }

.action-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 0.6rem;
  box-shadow: 0 2px 6px rgba(13,148,136,0.2);
}

.action-pending {
  color: var(--ink-muted);
}

.action-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  .hero-visual-inner {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    min-height: auto;
  }
}

/* ===================================================================
   SECTIONS
   =================================================================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-raised);
}

.section-dark {
  background: var(--ink-dark);
  color: #fff;
}

.section-gradient {
  background: linear-gradient(180deg, var(--bg-raised) 0%, var(--bg) 100%);
}

/* ===================================================================
   STATS ROW
   =================================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-item {
  position: relative;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line-strong);
}

.stat-value {
  font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
  color: var(--ink-strong);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item + .stat-item::before { display: none; }
}

/* ===================================================================
   FEATURE ITEMS
   =================================================================== */
.feature-item { padding: 1.75rem; }

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.feature-icon-orange  { background: rgba(234,88,12,0.08); color: var(--accent); }
.feature-icon-teal    { background: var(--teal-soft); color: var(--teal); }
.feature-icon-blue    { background: var(--blue-soft); color: var(--blue); }
.feature-icon-purple  { background: var(--purple-soft); color: var(--purple); }
.feature-icon-green   { background: var(--green-soft); color: var(--green); }

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--ink-strong);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal), var(--blue));
  z-index: 0;
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 12px var(--accent-glow);
}

.step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ink-strong);
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 28ch;
  margin: 0 auto;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { display: none; }
}

/* ===================================================================
   PRODUCT CARDS (home page)
   =================================================================== */
.product-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  border-radius: var(--r-xl);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.product-card::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.product-card-gig::before { background: radial-gradient(circle, rgba(234,88,12,0.08), transparent); }
.product-card-team::before { background: radial-gradient(circle, rgba(13,148,136,0.08), transparent); }

.product-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink-strong);
}

.product-card p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.product-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* ===================================================================
   COMPARISON TABLE
   =================================================================== */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.comparison-col { padding: 2rem; }

.comparison-col:first-child {
  background: var(--bg-raised);
  border-right: 1px solid var(--line);
}

.comparison-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-strong);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.comparison-icon { flex-shrink: 0; margin-top: 3px; }

@media (max-width: 640px) {
  .comparison { grid-template-columns: 1fr; }
  .comparison-col:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ===================================================================
   PRICING
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px var(--accent-glow);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 0.35rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink-strong);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.pricing-value {
  font-size: 3.2rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-strong);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-left: 0.15rem;
}

.pricing-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card .btn { width: 100%; }

@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
  background: var(--ink-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-2xl);
  padding: clamp(3rem,6vw,5rem) 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(234,88,12,0.12), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(13,148,136,0.08), transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 48ch;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-banner .btn { position: relative; }

.cta-banner .btn-secondary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.3);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--ink-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-brand-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
}

.footer-about {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 32ch;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

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

/* ===================================================================
   PAGE HEADER (inner pages)
   =================================================================== */
.page-header {
  padding: clamp(7rem,14vw,9rem) 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

.page-header::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(234,88,12,0.05), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.85rem;
  position: relative;
  color: var(--ink-strong);
}

.page-header p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto;
  position: relative;
  line-height: 1.75;
}

/* ===================================================================
   LEGAL PAGES
   =================================================================== */
.legal-content {
  padding: 3rem 0 4rem;
  max-width: 780px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink-strong);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

.legal-section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ===================================================================
   ABOUT PAGE
   =================================================================== */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--ink-strong);
}

.value-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-values { grid-template-columns: 1fr; }
}

/* ===================================================================
   TIMELINE
   =================================================================== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--teal), var(--line));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.timeline-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--ink-strong);
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ===================================================================
   LOGOS ROW
   =================================================================== */
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem,4vw,4rem);
  flex-wrap: wrap;
  opacity: 0.4;
}

.logos-row span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

[data-reveal-stagger].visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-stagger].visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-stagger].visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-stagger].visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-stagger].visible > *:nth-child(6) { transition-delay: 0.40s; }

[data-reveal-stagger].visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   MISC
   =================================================================== */
.spacer-sm { height: 2rem; }
.spacer-md { height: 4rem; }
.spacer-lg { height: 6rem; }

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 0 auto;
  max-width: 600px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-orange { background: rgba(234,88,12,0.08); color: var(--accent); }
.badge-teal   { background: var(--teal-soft); color: var(--teal); }
.badge-blue   { background: var(--blue-soft); color: var(--blue); }

/* Agent grid (Team product) */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.agent-cell {
  padding: 1.15rem;
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease-out);
}

.agent-cell:hover {
  border-color: var(--line-strong);
  background: var(--bg-card-alt);
  transform: translateY(-2px);
}

.agent-cell-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.agent-cell h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 0.2rem;
}

.agent-cell p {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ toggles */
.faq-list { max-width: 820px; margin: 0 auto; }

/* FAQ page accordion (details/summary) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.3s;
}

.faq-item[open],
.faq-item.open {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform 0.25s var(--ease-out), color 0.2s;
}

.faq-item[open] .faq-question::after {
  content: "\2212";
  color: var(--accent);
}

/* pricing.html button FAQ still uses .open class + svg icon */
.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  color: var(--ink-muted);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
}

/* Collapsed state for button-driven FAQ (pricing page) */
.faq-item:not(.open):not([open]) > .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.75rem;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}

.faq-item.open > .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.25rem;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.faq-answer code {
  font-family: "Space Grotesk", monospace;
  font-size: 0.88rem;
  color: var(--accent);
  background: rgba(234,88,12,0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

/* Two-col feature layout */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
}

/* Check list items */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.check-list li svg {
  flex-shrink: 0;
  color: var(--teal);
}

/* ===================================================================
   FAQ PAGE — COMMAND CARDS
   =================================================================== */
.faq-commands {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-command-card {
  padding: 0 !important;
  overflow: hidden;
}

.faq-command-group {
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}

.faq-command-group-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.faq-command-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.faq-command-row:last-child {
  border-bottom: none;
}

.faq-command-row:hover {
  background: var(--bg-raised);
}

.faq-cmd {
  flex-shrink: 0;
  min-width: 200px;
  font-family: "Space Grotesk", monospace;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(234,88,12,0.06);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-xs);
}

.faq-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.faq-desc code {
  font-family: "Space Grotesk", monospace;
  font-size: 0.85rem;
  color: var(--ink-strong);
  background: var(--bg-card-alt);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .faq-command-row {
    flex-direction: column;
    gap: 0.35rem;
  }
  .faq-cmd {
    min-width: auto;
    align-self: flex-start;
  }
}

/* ===================================================================
   PRICING TABLE (comparison)
   =================================================================== */
.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.pricing-table thead tr {
  border-bottom: 2px solid var(--line-strong);
}

.pricing-table th {
  padding: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.pricing-table th:first-child {
  text-align: left;
  padding-left: 0;
  color: var(--ink-muted);
}

.pricing-table th:not(:first-child) {
  text-align: center;
  color: var(--ink-strong);
}

.pricing-table td {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.pricing-table td:first-child {
  padding-left: 0;
  color: var(--ink-soft);
}

.pricing-table td:not(:first-child) {
  text-align: center;
  color: var(--ink-soft);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ===================================================================
   RESPONSIVE TYPOGRAPHY
   =================================================================== */
@media (max-width: 480px) {
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 1rem; }
}
