/* ================================================================
   DraftDesk — Main Stylesheet
   Replaces style.css + draftdesk.css
   ================================================================ */

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

:root {
  --navy:        #1B2A4A;
  --navy-dark:   #131f38;
  --orange:      #E8723A;
  --orange-dark: #cf5f2a;
  --offwhite:    #F5F5F0;
  --white:       #ffffff;
  --grey-100:    #f0f0eb;
  --grey-200:    #e0e0d8;
  --grey-400:    #9999a0;
  --grey-600:    #666672;
  --text:        #1a1a2e;
  --text-muted:  #5a5a72;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:   0 4px 24px rgba(0,0,0,0.12);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:       1200px;
  --nav-h:       68px;
}

html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }

/* -- Container ------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* -- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-primary  { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost    { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover  { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.65); }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--grey-200); }
.btn-outline:hover { border-color: var(--navy); background: var(--offwhite); }
.btn-lg   { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* -- Section helpers ------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-label--light { color: rgba(255,255,255,0.55); }

section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 52px;
  line-height: 1.65;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: 16px; padding: 10px 20px; font-size: 0.88rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  padding: 4px 8px;
}

/* ================================================================
   NEWS TICKER
   ================================================================ */
.ticker-bar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  padding: 0 16px;
}
.ticker-content {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  transition: opacity 0.5s;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--navy);
  padding: 88px 0 108px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -250px; right: -250px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,114,58,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,114,58,0.14);
  color: var(--orange);
  border: 1px solid rgba(232,114,58,0.3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.hero-copy h1 .accent { color: var(--orange); }
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span { font-size: 0.8rem; color: rgba(255,255,255,0.42); }

/* Demo card */
.demo-card {
  background: #1e2d4d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.demo-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #fbb040; }
.demo-dots span:nth-child(3) { background: #2bc840; }
.demo-title { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.02em; }
.demo-card-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.demo-prompt {
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.demo-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.demo-value { font-size: 0.85rem; color: rgba(255,255,255,0.82); }
.demo-output { display: flex; flex-direction: column; gap: 8px; }
.demo-typing {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  min-height: 90px;
}
.demo-typing::after {
  content: '|';
  animation: blink 0.9s step-end infinite;
  color: var(--orange);
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.demo-platforms { display: flex; gap: 8px; flex-wrap: wrap; }
.platform-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(43,200,64,0.14);
  color: #2bc840;
  border: 1px solid rgba(43,200,64,0.25);
}

/* ================================================================
   PROBLEM / STATS
   ================================================================ */
.problem { padding: 96px 0; background: var(--offwhite); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: box-shadow 0.2s;
}
.stat-card:hover { box-shadow: var(--shadow-lg); }
.stat-card--accent { background: var(--navy); border-color: var(--navy); }
.stat-number { font-size: 3.2rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 4px; }
.stat-unit {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--grey-600); margin-bottom: 18px;
}
.stat-card--accent .stat-unit { color: rgba(255,255,255,0.4); }
.stat-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.stat-card--accent .stat-desc { color: rgba(255,255,255,0.65); }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-it-works { padding: 96px 0; background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 52px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--grey-100);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-number {
  width: 56px; height: 56px;
  background: var(--navy); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ================================================================
   DESKBOT
   ================================================================ */
.deskbot-section { background: var(--navy); padding: 96px 0; }
.deskbot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.deskbot-copy h2 { color: #fff; }
.deskbot-copy p { color: rgba(255,255,255,0.62); line-height: 1.68; margin-bottom: 28px; }
.deskbot-copy em { color: #fff; font-style: normal; font-weight: 600; }
.deskbot-features { margin-bottom: 36px; display: flex; flex-direction: column; }
.deskbot-features li {
  font-size: 0.9rem; color: rgba(255,255,255,0.72);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.deskbot-features li:last-child { border-bottom: none; }

/* Chat mockup */
.chat-mockup {
  background: #1e2d4d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.chat-msg { display: flex; align-items: flex-end; gap: 10px; padding: 16px 16px 4px; }
.chat-msg--user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 80%; padding: 12px 16px; border-radius: 14px;
  font-size: 0.84rem; line-height: 1.55;
}
.chat-msg--user .chat-bubble {
  background: var(--orange); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--bot .chat-bubble {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.82);
  border-bottom-left-radius: 4px;
}
.chat-avatar {
  width: 30px; height: 30px;
  background: var(--navy); border: 2px solid var(--orange);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 700; color: var(--orange); flex-shrink: 0;
}
.chat-flag {
  display: block; margin-top: 10px;
  font-size: 0.77rem; color: var(--orange);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 8px;
}
.chat-input-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  font-size: 0.8rem; color: rgba(255,255,255,0.25);
}
.chat-send {
  width: 28px; height: 28px;
  background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.82rem;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services { padding: 96px 0; background: var(--offwhite); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all 0.2s;
}
.service-card:hover { border-color: var(--orange); border-top-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-card h3 { font-size: 0.93rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.service-card p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.service-price   { font-size: 0.85rem; font-weight: 700; color: var(--orange); margin-top: 4px; }

/* ================================================================
   PRICING
   ================================================================ */
.pricing { padding: 96px 0; background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  align-items: start;
}
.pricing-card {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  background: var(--white);
}
.pricing-card--featured { background: var(--navy); border-color: var(--navy); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.pricing-tier {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--grey-600); margin-bottom: 8px;
}
.pricing-card--featured .pricing-tier { color: rgba(255,255,255,0.45); }
.pricing-price {
  font-size: 2.6rem; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 10px;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--grey-600); }
.pricing-card--featured .pricing-price { color: #fff; }
.pricing-card--featured .pricing-price span { color: rgba(255,255,255,0.45); }
.pricing-desc {
  font-size: 0.87rem; color: var(--text-muted); line-height: 1.55;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-100);
}
.pricing-card--featured .pricing-desc { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.1); }
.pricing-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 0.87rem; color: var(--text-muted); }
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.72); }
.pricing-card--featured .btn-outline {
  color: #fff; border-color: rgba(255,255,255,0.3);
}
.pricing-card--featured .btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: #fff;
}

/* ================================================================
   CALCULATOR
   ================================================================ */
.calculator { padding: 96px 0; background: var(--offwhite); }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 52px;
}
.calc-inputs { display: flex; flex-direction: column; gap: 36px; }
.calc-field label {
  display: block;
  font-size: 0.84rem; font-weight: 600; color: var(--navy); margin-bottom: 12px;
}
.calc-field input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px; background: var(--grey-200); border-radius: 2px;
  outline: none; cursor: pointer;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange); cursor: pointer;
  box-shadow: 0 2px 8px rgba(232,114,58,0.4);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; border: none;
  background: var(--orange); cursor: pointer;
}
.calc-value { font-size: 0.85rem; color: var(--grey-600); margin-top: 8px; }
.calc-results {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 0;
}
.calc-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey-100);
}
.calc-result-row:last-of-type { border-bottom: none; padding-bottom: 24px; }
.calc-result-row--accent {
  background: var(--offwhite); border-radius: var(--radius);
  padding: 16px 20px; margin: 4px -8px;
  border-bottom: none;
}
.calc-result-label { font-size: 0.87rem; color: var(--text-muted); }
.calc-result-value { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.calc-result-row--accent .calc-result-value { color: var(--orange); font-size: 1.6rem; }

/* ================================================================
   BETA CTA / TRIAL FORM
   ================================================================ */
.beta-cta { background: var(--navy); padding: 96px 0; }
.beta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.beta-copy h2 { color: #fff; margin-bottom: 16px; }
.beta-copy p  { color: rgba(255,255,255,0.62); line-height: 1.68; margin-bottom: 28px; }
.beta-perks { display: flex; flex-direction: column; gap: 12px; }
.beta-perks li { font-size: 0.9rem; color: rgba(255,255,255,0.72); }

.beta-form-wrap {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px;
}
.beta-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--navy); }
.form-note { font-size: 0.76rem; color: var(--grey-400); text-align: center; }

/* ================================================================
   RESOURCES
   ================================================================ */
.resources { padding: 80px 0; background: var(--white); }
.resource-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 44px;
}
.resource-card {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.2s;
}
.resource-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.resource-icon { font-size: 2rem; }
.resource-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.resource-card p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.resource-link    { font-size: 0.84rem; font-weight: 600; color: var(--orange); }

/* ================================================================
   FAQ
   ================================================================ */
.faq { padding: 96px 0; background: var(--offwhite); }
.faq-list {
  margin-top: 52px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.faq-item { border-bottom: 1px solid var(--grey-100); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; text-align: left;
  padding: 20px 24px;
  background: none; border: none;
  font-family: var(--font); font-size: 0.93rem; font-weight: 600; color: var(--navy);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--offwhite); }
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--grey-400); flex-shrink: 0; }
.faq-item.open .faq-question { color: var(--orange); }
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer { display: none; padding: 0 24px 22px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.68; }
.faq-answer a { color: var(--orange); text-decoration: underline; }

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
  padding: 96px 0;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--grey-100);
}
.final-cta h2 { color: var(--navy); margin-bottom: 14px; }
.final-cta p  { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 36px; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--navy-dark); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-logo span { color: var(--orange); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.65; }
.footer-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.87rem; color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  padding: 20px 0;
  font-size: 0.76rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: underline; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .hero-grid, .deskbot-inner, .beta-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-demo, .deskbot-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* Mobile nav open state (toggled by JS) */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  padding: 20px 28px;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 99;
}
.nav-open .nav-cta { display: inline-flex; }

/* ================================================================
   SUCCESS MODAL
   ================================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,14,30,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
.modal-card {
  background: #fff; border-radius: 16px; padding: 48px 40px;
  max-width: 440px; width: 100%; text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform:translateY(20px);opacity:0 } to { transform:translateY(0);opacity:1 } }
.modal-check {
  width: 64px; height: 64px; background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff; margin: 0 auto 24px;
}
.modal-card h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.5rem; }
.modal-card p  { color: var(--text-muted); line-height: 1.65; margin-bottom: 28px; }
.modal-card small { font-size: .82rem; }
.modal-close { min-width: 160px; }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.services-grid .service-card:nth-child(2),
.stat-grid .stat-card:nth-child(2),
.steps-grid .step:nth-child(2),
.pricing-grid .pricing-card:nth-child(2) { transition-delay: .08s; }
.services-grid .service-card:nth-child(3),
.stat-grid .stat-card:nth-child(3),
.steps-grid .step:nth-child(3),
.pricing-grid .pricing-card:nth-child(3) { transition-delay: .16s; }
.services-grid .service-card:nth-child(4) { transition-delay: .24s; }
.services-grid .service-card:nth-child(5) { transition-delay: .32s; }
.services-grid .service-card:nth-child(6) { transition-delay: .40s; }
.services-grid .service-card:nth-child(7) { transition-delay: .48s; }
.services-grid .service-card:nth-child(8) { transition-delay: .56s; }

/* ================================================================
   FORM — 2-STEP QUESTIONNAIRE
   ================================================================ */
.form-step-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-back { color: rgba(255,255,255,0.6); text-decoration: underline; font-size: 0.82rem; }
.form-back:hover { color: #fff; }
.form-hint { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 400; margin-left: 6px; }
.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background .15s;
  user-select: none;
}
.form-check:hover { background: rgba(255,255,255,0.07); }
.form-check input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--orange);
  flex-shrink: 0;
  cursor: pointer;
}
#beta-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
  transition: border-color .2s, background .2s;
}
#beta-form textarea::placeholder { color: rgba(255,255,255,0.3); }
#beta-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.1);
}
@media (max-width: 480px) {
  .form-checkboxes { grid-template-columns: 1fr; }
}
