/* ========================================
   Implefai — Styles
   Navy / Grey / White — Apple-Inspired
   ======================================== */

:root {
  --navy: #1a2e4a;
  --navy-deep: #0f1d30;
  --navy-light: #2c4a7c;
  --grey: #8a919c;
  --grey-light: #f5f5f7;
  --grey-mid: #e8e8ed;
  --grey-dark: #6e6e73;
  --white: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #2c5282;
  --accent-light: #3a6db5;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 980px;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
  transform: scale(1.02);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,46,74,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--grey-mid);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--grey-light);
}

.btn-full {
  width: 100%;
}

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

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--grey-light) 0%, var(--white) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 980px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--navy-deep);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--navy-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Card / Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
}

.hero-card-dots {
  display: flex;
  gap: 6px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--grey-mid);
}

.hero-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-mid);
}

.hero-card-dots span:first-child { background: #ff5f57; }
.hero-card-dots span:nth-child(2) { background: #febc2e; }
.hero-card-dots span:nth-child(3) { background: #28c840; }

/* Chat Demo */
.chat-body {
  padding: 16px;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  gap: 8px;
  animation: chatFadeIn 0.35s ease;
}

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

.chat-msg.chat-user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-msg.chat-user .chat-avatar {
  background: var(--grey-mid);
  color: var(--text-secondary);
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 85%;
}

.chat-bot .chat-bubble {
  background: var(--grey-light);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-user .chat-bubble {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grey);
  animation: typingDot 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

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

.chat-suggestions {
  display: flex;
  gap: 6px;
  padding: 0 16px 12px;
  flex-wrap: wrap;
}

.chat-suggestion {
  padding: 6px 14px;
  border-radius: 980px;
  border: 1.5px solid var(--grey-mid);
  background: var(--white);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.chat-suggestion:hover {
  border-color: var(--navy);
  background: var(--grey-light);
}

.chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--grey-mid);
  background: var(--grey-light);
}

.chat-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.85rem;
  font-family: inherit;
  background: transparent;
  color: var(--text);
}

.chat-input-wrap input::placeholder {
  color: var(--grey);
}

.chat-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.chat-send:hover {
  background: var(--navy-light);
  transform: scale(1.05);
}

/* Chat Demo Hint */
.chat-demo-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--grey-mid);
  background: var(--grey-light);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy-light);
  cursor: pointer;
  transition: all var(--transition);
}

.chat-demo-hint:hover {
  background: var(--white);
  color: var(--navy);
}

.chat-demo-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-light);
  animation: demoPulse 1.5s infinite;
}

@keyframes demoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ========================================
   Trust Strip
   ======================================== */

.trust-strip {
  padding: 48px 0;
  border-bottom: 1px solid var(--grey-mid);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.trust-item {
  text-align: center;
}

.trust-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.trust-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--grey-mid);
}

/* ========================================
   Social Proof
   ======================================== */

.social-proof {
  padding: 100px 0;
  background: var(--white);
}

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

.proof-card {
  padding: 36px;
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.proof-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.proof-card:nth-child(2) { transition-delay: 0.1s; }
.proof-card:nth-child(3) { transition-delay: 0.2s; }

.proof-card:hover {
  background: var(--white);
  border-color: var(--grey-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.proof-stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.proof-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.proof-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.proof-industry {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-light);
  background: rgba(44,74,124,0.08);
  padding: 4px 12px;
  border-radius: 980px;
}

/* ========================================
   Industry Cards
   ======================================== */

.industry-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.industry-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.industry-card.active {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 8px 30px rgba(26,46,74,0.25);
  transform: translateY(-3px);
}

.industry-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  color: var(--navy);
  transition: all var(--transition);
}

.industry-card.active .industry-card-icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.industry-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 4px;
  transition: color var(--transition);
}

.industry-card.active .industry-card-title {
  color: var(--white);
}

.industry-card-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color var(--transition);
}

.industry-card.active .industry-card-desc {
  color: rgba(255,255,255,0.7);
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Services
   ======================================== */

.services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px;
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  background: var(--white);
  border-color: var(--grey-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ========================================
   Examples Section
   ======================================== */

.examples {
  padding: 100px 0;
  background: var(--grey-light);
}

.example-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.example-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 980px;
  border: 1.5px solid var(--grey-mid);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.example-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.example-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.example-tab.active svg {
  stroke: var(--white);
}

/* Example Panels */
.example-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.example-panel.active {
  display: block;
}

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

.example-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.example-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-light);
  background: rgba(44,74,124,0.08);
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 12px;
}

.example-intro h3 {
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.example-intro p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Calculator Card */
.calculator-wrap {
  display: flex;
  justify-content: center;
}

.calc-card {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
}

.calc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--grey-mid);
  background: var(--grey-light);
}

.calc-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-light);
}

.calc-header-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
  flex: 1;
}

.calc-ai-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-light);
  background: rgba(44,74,124,0.08);
  padding: 3px 10px;
  border-radius: 980px;
  letter-spacing: 0.02em;
}

.calc-body {
  padding: 24px;
}

.calc-row {
  margin-bottom: 22px;
}

.calc-row:last-child {
  margin-bottom: 0;
}

.calc-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color var(--transition);
  background: var(--white);
}

.calc-input-wrap:focus-within {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(44,74,124,0.08);
}

.calc-prefix {
  font-size: 0.9rem;
  color: var(--grey);
  margin-right: 4px;
  font-weight: 500;
}

.calc-suffix {
  font-size: 0.9rem;
  color: var(--grey);
  margin-left: 4px;
  font-weight: 500;
}

.calc-input-wrap input {
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
  width: 100%;
  background: transparent;
}

.calc-input-group {
  display: flex;
  gap: 10px;
}

.calc-input-group .calc-input-wrap {
  flex: 1;
}

.calc-input-small {
  max-width: 120px;
}

/* Range Slider */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--grey-mid);
  border-radius: 4px;
  outline: none;
  margin-top: 10px;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* Term Buttons / Select Buttons */
.calc-term-btns,
.calc-select-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-term-btn,
.calc-select-btn {
  padding: 8px 18px;
  border-radius: 980px;
  border: 1.5px solid var(--grey-mid);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.calc-term-btn:hover,
.calc-select-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.calc-term-btn.active,
.calc-select-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Tags */
.calc-tag-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-tag {
  padding: 7px 16px;
  border-radius: 980px;
  border: 1.5px solid var(--grey-mid);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.calc-tag:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.calc-tag.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Result */
.calc-result {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 16px;
}

.calc-result-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.calc-result-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.03em;
}

.calc-result-breakdown {
  margin-top: 12px;
}

.calc-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.breakdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-principal { background: var(--navy); }

.breakdown-val {
  font-weight: 600;
  color: var(--text);
}

/* AI Insight */
.calc-ai-insight {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(44,74,124,0.04);
  border: 1px solid rgba(44,74,124,0.1);
  border-radius: var(--radius);
}

.calc-ai-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
}

.calc-ai-insight p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.calc-ai-insight strong {
  color: var(--navy);
}

/* Intake Steps */
.intake-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.intake-step {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
  background: var(--grey-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.intake-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grey-mid);
  color: var(--grey);
  font-size: 0.7rem;
  margin-right: 4px;
  transition: all var(--transition);
}

.intake-step.active {
  color: var(--navy);
  background: rgba(44,74,124,0.06);
}

.intake-step.active span {
  background: var(--navy);
  color: var(--white);
}

.intake-step.completed {
  color: var(--navy-light);
}

.intake-step.completed span {
  background: var(--navy-light);
  color: var(--white);
}

.intake-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.intake-panel.active {
  display: block;
}

.intake-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.intake-btn-row .btn {
  flex: 1;
}

.intake-next,
.intake-back {
  margin-top: 8px;
}

.crm-sync-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(40, 167, 69, 0.06);
  border: 1px solid rgba(40, 167, 69, 0.15);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  color: #276749;
  margin-top: 12px;
}

.crm-sync-badge svg {
  color: #276749;
  flex-shrink: 0;
}

/* Menu Results (Restaurant) */
.menu-results {
  margin-top: 24px;
}

.menu-result-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--grey-light);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: all var(--transition);
}

.menu-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.menu-item-info {
  flex: 1;
}

.menu-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.menu-item-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.menu-item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.menu-item-match {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-light);
  background: rgba(44,74,124,0.08);
  padding: 3px 10px;
  border-radius: 980px;
  white-space: nowrap;
}

/* Tire Results */
.tire-results {
  margin-top: 24px;
}

.tire-results-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.tire-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  border: 1.5px solid transparent;
  transition: all var(--transition);
}

.tire-card.tire-best {
  border-color: var(--navy);
  background: rgba(44,74,124,0.03);
}

.tire-card-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 980px;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 8px;
}

.tire-badge-value {
  background: #276749;
}

.tire-badge-budget {
  background: #975a16;
}

.tire-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.tire-card-size {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.tire-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.tire-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tire-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  width: 72px;
  flex-shrink: 0;
}

.tire-stat-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--grey-mid);
  overflow: hidden;
}

.tire-stat-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--navy);
  transition: width 0.6s ease;
}

.tire-best .tire-stat-fill {
  background: var(--navy);
}

.tire-stat-val {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  width: 68px;
  text-align: right;
  flex-shrink: 0;
}

.tire-card-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.tire-card-price span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tire-quote-btn {
  margin-top: 16px;
  text-align: center;
}

.tire-quote-note {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.calc-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' 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;
}

.calc-select:focus {
  outline: none;
  border-color: var(--navy);
}

.calc-optional {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.calc-helper {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ========================================
   How It Works
   ======================================== */

.how-it-works {
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-mid);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--grey-mid);
  margin-top: 30px;
  flex-shrink: 0;
}

/* ========================================
   About
   ======================================== */

.about {
  padding: 100px 0;
  background: var(--navy-deep);
  color: var(--white);
}

.about-content {
  max-width: 680px;
}

.about h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 24px;
  color: var(--white);
}

.about p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about p strong {
  color: var(--white);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 24px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.value-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.value-word {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.value-desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

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

.contact {
  padding: 100px 0;
}

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

.contact h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.contact-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Options */
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--grey-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-option:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-option-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-option strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-deep);
}

.contact-option span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.contact-reassurance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-reassurance svg {
  color: var(--navy-light);
  flex-shrink: 0;
}

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

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(44,74,124,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey);
}

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

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

.footer {
  background: var(--grey-light);
  padding: 48px 0 24px;
  border-top: 1px solid var(--grey-mid);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-mid);
}

.footer-brand .logo-text {
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--grey);
}

/* ========================================
   Mobile — Responsive
   ======================================== */

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 110px 0 60px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 100%;
  }

  .sticky-cta {
    display: block;
  }


  .industry-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .industry-card {
    padding: 20px 12px;
  }

  .industry-card-desc {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-options {
    margin-top: 20px;
  }

  .trust-items {
    flex-direction: column;
    gap: 24px;
  }

  .trust-divider {
    width: 40px;
    height: 1px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .example-tabs {
    gap: 6px;
  }

  .example-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .calc-card {
    max-width: 100%;
  }

  .calc-input-group {
    flex-direction: column;
  }

  .calc-input-small {
    max-width: 100%;
  }

  .calc-result-amount {
    font-size: 1.8rem;
  }

  .calc-term-btns,
  .calc-select-group {
    flex-wrap: wrap;
  }

  .calc-tag-group {
    flex-wrap: wrap;
  }

  .intake-steps {
    gap: 3px;
  }

  .intake-step {
    padding: 8px 4px;
    font-size: 0.65rem;
  }

  .intake-step span {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    margin-right: 2px;
  }

  .intake-btn-row {
    flex-direction: column;
  }

  .crm-sync-badge {
    font-size: 0.72rem;
    padding: 10px 12px;
  }

  .menu-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .menu-item-price {
    order: 2;
  }

  .menu-item-match {
    order: 3;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-connector {
    width: 1px;
    height: 32px;
    margin: 0;
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 28px;
  }

  .calc-body {
    padding: 18px;
  }

  .tire-card {
    padding: 14px;
  }

  .tire-stat-label {
    width: 60px;
    font-size: 0.68rem;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .value-item {
    padding: 18px 8px;
  }
}

/* ========================================
   Touch optimizations
   ======================================== */

@media (hover: none) and (pointer: coarse) {
  .calc-range::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .calc-term-btn,
  .calc-select-btn {
    padding: 10px 20px;
    min-height: 44px;
  }

  .calc-tag {
    padding: 10px 18px;
    min-height: 44px;
  }

  .example-tab {
    min-height: 44px;
  }

  .btn {
    min-height: 48px;
  }
}

/* ========================================
   Subtle Animations
   ======================================== */

.service-card,
.step,
.value-item,
.calc-card,
.proof-card,
.industry-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.step.visible,
.value-item.visible,
.calc-card.visible,
.proof-card.visible,
.industry-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

.step:nth-child(2) { transition-delay: 0.15s; }
.step:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   Scroll Progress Bar
   ======================================== */

.scroll-progress {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 999;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--navy), var(--accent-light));
  transition: width 0.1s linear;
}

/* ========================================
   Section Nav Dots
   ======================================== */


/* ========================================
   Sticky Mobile CTA
   ======================================== */

.sticky-cta {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--grey-mid);
  z-index: 998;
  transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: none;
}

.sticky-cta.visible {
  bottom: 0;
}

.sticky-cta-btn {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
}

/* ========================================
   Micro-interactions
   ======================================== */

.calc-ai-insight {
  transition: all 0.4s ease;
}

.calc-ai-insight.pulse {
  animation: insightPulse 0.6s ease;
}

@keyframes insightPulse {
  0% { box-shadow: 0 0 0 0 rgba(44,74,124,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(44,74,124,0); }
  100% { box-shadow: 0 0 0 0 rgba(44,74,124,0); }
}

.calc-result-amount {
  transition: all 0.3s ease;
}

.calc-result-amount.counting {
  color: var(--navy-light);
}

@media (hover: none) and (pointer: coarse) {
  .calc-term-btn:active,
  .calc-select-btn:active,
  .calc-tag:active,
  .industry-card:active {
    transform: scale(0.96);
    transition-duration: 0.1s;
  }
}

/* Form success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
