/* ============================================
   NOVADESK.AI — Design tokens & base
   ============================================ */

:root {
  --bg: #f6f4ef;
  --bg-warm: #efece4;
  --bg-cool: #f1f3f6;
  --ink: #0a0a0b;
  --ink-soft: #2a2a2e;
  --ink-mute: #6b6b72;
  --ink-faint: #a8a8ae;
  --line: #1f1f22;
  --line-soft: rgba(10, 10, 11, 0.08);
  --paper: #ffffff;

  --accent: #4f46e5;
  --accent-2: #f97316;
  --accent-3: #14b8a6;
  --accent-lilac: #c7bfff;
  --accent-peach: #ffd4b8;
  --accent-mint: #b9e8dd;

  --font-display: 'Sora', 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  --shadow-soft: 0 1px 2px rgba(10, 10, 11, 0.04), 0 8px 24px rgba(10, 10, 11, 0.06);
  --shadow-lift: 0 2px 4px rgba(10, 10, 11, 0.06), 0 20px 60px rgba(10, 10, 11, 0.08);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
  line-height: 1.4;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* Accessibility — skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  z-index: 200;
  font-size: 14px;
  font-weight: 500;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================
   Layout primitives
   ============================================ */

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.35); }
}

h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 5.6vw, 88px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 900px;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-mute);
}

/* ============================================
   Nav
   ============================================ */

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 8px 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(10, 10, 11, 0.06);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.03), 0 12px 40px rgba(10, 10, 11, 0.06);
  white-space: nowrap;
  flex-wrap: nowrap;
  max-width: calc(100vw - 32px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 16px;
  border-right: 1px solid var(--line-soft);
  margin-right: 8px;
}

.nav-logo-mark { width: 22px; height: 22px; }

.nav-logo-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.nav-link {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-link:hover { background: rgba(10, 10, 11, 0.04); color: var(--ink); }

.nav-cta {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  margin-left: 6px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 10, 11, 0.14);
}
.btn-ghost:hover { background: rgba(10, 10, 11, 0.04); border-color: rgba(10, 10, 11, 0.22); }

.btn-arrow { width: 14px; height: 14px; transition: transform 0.25s; }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at 50% 20%, rgba(199, 191, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 800px 500px at 80% 80%, rgba(255, 212, 184, 0.25), transparent 60%),
    var(--bg);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 60px;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8.4vw, 140px);
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin-bottom: 28px;
  font-weight: 300;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--ink-mute);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 100px;
}

.hero-meta {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 32px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  pointer-events: none;
}

.hero-meta-block { max-width: 200px; }
.hero-meta-block .label { color: var(--ink-faint); margin-bottom: 4px; }
.hero-meta-block .value { color: var(--ink); font-family: var(--font-sans); font-size: 12px; text-transform: none; letter-spacing: 0; }

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.scroll-hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--ink-faint), transparent);
  position: relative; overflow: hidden;
}

.scroll-hint-line::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--ink), transparent);
  animation: scroll-dot 2.2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============================================
   Sections
   ============================================ */

.section { position: relative; padding: 140px 0; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  gap: 40px;
}

.section-header-left { flex: 1; }
.section-header-right { flex: 0 0 320px; }
.section-header .eyebrow { margin-bottom: 20px; display: block; }
.section-header p { font-size: 15px; color: var(--ink-mute); line-height: 1.6; }

/* ============================================
   Products
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(79, 70, 229, 0.2);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-lilac), rgba(79, 70, 229, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.product-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.check-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}

.check-icon::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.price-card.featured .check-icon::after {
  border-color: var(--accent-lilac);
}

/* ============================================
   Industries — minimal cards
   ============================================ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(10, 10, 11, 0.12);
}

.industry-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0.7;
}

.industry-card-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  width: fit-content;
  font-weight: 500;
}

.industry-card-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ============================================
   How it works — stepped
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  padding: 32px 28px;
  border-right: 1px solid var(--line-soft);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}

.step:last-child { border-right: none; }

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}

.step-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.step-desc {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ============================================
   Live demo
   ============================================ */

.demo {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: 80px;
  position: relative;
  overflow: hidden;
}

.demo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 90% 20%, rgba(79, 70, 229, 0.3), transparent 60%),
    radial-gradient(ellipse 500px 400px at 10% 80%, rgba(249, 115, 22, 0.15), transparent 60%);
  pointer-events: none;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.demo-left .eyebrow { color: rgba(246, 244, 239, 0.55); margin-bottom: 24px; display: block; }
.demo-left .eyebrow .dot { background: var(--accent-2); }

.demo-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 4.2vw, 64px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 24px;
}

.demo-title em { color: rgba(246, 244, 239, 0.55); font-style: italic; font-family: var(--font-serif); font-weight: 300; }

.demo-copy {
  color: rgba(246, 244, 239, 0.65);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
}

.demo-agent-picker { display: flex; gap: 8px; flex-wrap: wrap; }

.agent-chip {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 999px;
  background: rgba(246, 244, 239, 0.08);
  color: rgba(246, 244, 239, 0.8);
  border: 1px solid rgba(246, 244, 239, 0.12);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
  font-weight: 500;
}

.agent-chip:hover { background: rgba(246, 244, 239, 0.14); }
.agent-chip.active { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.phone-frame {
  background: linear-gradient(180deg, #17171a, #0e0e11);
  border: 1px solid rgba(246, 244, 239, 0.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(246, 244, 239, 0.04);
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(246, 244, 239, 0.06);
  min-height: 44px;
}

.phone-header .status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(246, 244, 239, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.phone-header .status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  animation: pulse 1.4s ease-in-out infinite;
}

.transcript {
  height: 340px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 100%);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.transcript::-webkit-scrollbar { display: none; }

.typing-indicator {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 0;
}

.typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(246, 244, 239, 0.4);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

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

.call-outcome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  margin-top: 4px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #10b981;
  animation: msg-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.outcome-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.msg {
  display: flex; gap: 12px;
  animation: msg-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(246, 244, 239, 0.1);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(246, 244, 239, 0.7);
}

.msg.agent .msg-avatar { background: linear-gradient(135deg, #c7bfff, #4f46e5); color: white; }

.msg-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(246, 244, 239, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.msg-text { font-size: 14px; line-height: 1.5; color: rgba(246, 244, 239, 0.9); }
.msg.agent .msg-text { color: #fff; }

.demo-controls {
  display: flex; gap: 12px; margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 244, 239, 0.06);
}

.demo-btn {
  flex: 1; padding: 12px; border-radius: 10px;
  background: rgba(246, 244, 239, 0.06);
  color: rgba(246, 244, 239, 0.8);
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.2s;
}

.demo-btn:hover { background: rgba(246, 244, 239, 0.12); }
.demo-btn.primary { background: var(--bg); color: var(--ink); }
.demo-btn.primary:hover { background: var(--accent-lilac); }

/* ============================================
   Stats
   ============================================ */

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.stat { padding: 32px 0; border-top: 1px solid var(--line); }

.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(60px, 6vw, 96px);
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin-bottom: 12px;
}

.stat-num .suffix { color: var(--ink-mute); font-size: 0.7em; }

.stat-label {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ============================================
   Pricing
   ============================================ */

.pricing-onboarding {
  text-align: center;
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 40px;
  padding: 14px 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  display: inline-block;
  width: 100%;
}

.pricing-onboarding strong {
  color: var(--ink);
}

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.price-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

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

.price-card.featured { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.price-card.featured .price-desc,
.price-card.featured .price-feature span { color: rgba(246, 244, 239, 0.65); }
.price-card.featured .price-feature .check-icon::after { border-color: var(--accent-lilac); }

.price-tag {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-lilac);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-name {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 20px;
}

.price-card.featured .price-name { color: rgba(246, 244, 239, 0.55); }

.price-amount {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 48px;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 4px;
}

.price-amount .unit { font-size: 14px; font-family: var(--font-sans); color: var(--ink-mute); font-weight: 400; }

.price-desc {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin-bottom: 28px;
  min-height: 42px;
}

.price-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }

.price-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.4;
}

.price-feature .check-icon { margin-top: 3px; }

.price-btn {
  display: block; width: 100%; padding: 14px;
  text-align: center; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--ink);
  transition: background 0.2s;
}

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

.price-card.featured .price-btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.price-card.featured .price-btn:hover { background: var(--accent-lilac); border-color: var(--accent-lilac); }

/* ============================================
   FAQ
   ============================================ */

.faq-list { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }

.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s;
}

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

.faq-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(10, 10, 11, 0.05);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 20px;
  transition: background 0.2s, transform 0.3s;
}

.faq-item.open .faq-toggle { background: var(--ink); color: var(--bg); transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-a-inner {
  padding: 0 0 28px;
  max-width: 760px;
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-a { max-height: 300px; }

/* ============================================
   Contact form
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-desc {
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 420px;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

a.contact-detail-value { transition: color 0.2s; }
a.contact-detail-value:hover { color: var(--accent); }

.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-faint);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b6b72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 32px;
  background: var(--bg);
  position: relative;
  z-index: 2;
}

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

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--ink-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }

.footer-brand .mark-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.55; max-width: 260px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-mute);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo { padding: 48px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-header-right { flex: unset; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-logo { border-right: none; margin-right: 0; padding-right: 0; }
  .hero-title { font-size: clamp(40px, 10vw, 80px); }
  .hero-meta { display: none; }
  .scroll-hint { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .industry-selector { justify-content: flex-start; }
  .industry-pill { font-size: 12px; padding: 6px 14px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .section { padding: 80px 0; }
  .section-title { font-size: clamp(32px, 8vw, 56px); }
}
