﻿/* ============================================================
   THE AI WEB DEVELOPERS — components.css
   All reusable UI components
   ============================================================ */

/* ── Wordmark / Logo ──────────────────────────────────────── */
.logo {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo-ai {
  color: #F97316;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: #F97316;
  color: #000;
  border: none;
  padding: 14px 28px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
  background: #EA6B0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #F97316;
  padding: 13px 28px;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #F97316;
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 14px;
}

.btn-ghost::after {
  content: '  →';
}

.btn-ghost:hover {
  color: #EA6B0A;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-orange {
  background: rgba(249, 115, 22, 0.15);
  color: #F97316;
  border-color: rgba(249, 115, 22, 0.3);
}

.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border-color: rgba(34, 197, 94, 0.25);
}

/* ── Page Chip (hero badge) ───────────────────────────────── */
.page-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 32px;
}

.page-chip span {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F97316;
}

/* ── Eyebrow Label ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #F97316;
  flex-shrink: 0;
}

.eyebrow span {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F97316;
}

/* ── Stat Block (large orange number) ────────────────────── */
.stat-block {
  text-align: center;
}

.stat-block .stat-value {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #F97316;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.stat-block .stat-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
  display: block;
}

/* ── Service Card ─────────────────────────────────────────── */
.service-card {
  background: #141824;
  border: 1px solid #1e2535;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  display: block;
}

.service-card:hover {
  border-color: rgba(249, 115, 22, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #F97316;
  opacity: 1;
  box-shadow: 0 0 6px 1px rgba(249, 115, 22, 0.4);
}

.service-card > div:first-child {
  font-size: 30px;
  line-height: 1;
}

.service-card li .text-green {
  color: var(--orange);
}

.service-card .card-icon {
  width: 42px;
  height: 42px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #F97316;
  font-size: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 10px;
  white-space: nowrap;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: var(--w80);
}

.service-card ul li {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.70);
}

/* ── Portfolio Card ──────────────────────────────────────── */
.portfolio-card {
  background: #08090d;
  border: 1px solid #1e2535;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.portfolio-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-4px);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-content {
  padding: 24px;
}

.portfolio-content h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.portfolio-content p {
  font-size: 13px;
  line-height: 1.65;
}

.portfolio-tags {
  font-size: 12px;
  color: var(--w35);
}

/* ── Check Item (tick + text in bordered card) ───────────── */
.check-item {
  background: #08090d;
  border: 1px solid #1e2535;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--w80);
}

/* ── Problem Card (negative, red icon) ───────────────────── */
.problem-card {
  background: #08090d;
  border: 1px solid #1e2535;
  border-radius: 14px;
  padding: 32px;
}

.problem-card .icon-x {
  width: 32px;
  height: 32px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F97316;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* ── Process Steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #F97316;
  opacity: 0.6;
  z-index: 0;
}

.process-step {
  position: relative;
}

.process-step .step-num {
  width: 60px;
  height: 60px;
  border: 2px solid #F97316;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #F97316;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  background: var(--black);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.45), 0 0 4px rgba(249, 115, 22, 0.3);
}

.process-step h3,
.process-step h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  line-height: 1.65;
}

/* ── Before / After Cards ─────────────────────────────────── */
.before-after-card {
  background: #141824;
  border: 1px solid #1e2535;
  border-radius: 14px;
  padding: 28px;
}

.before-after-card .label-before {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
  display: block;
}

.before-after-card .label-after {
  color: #F97316;
}

.before-after-card h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.before-after-card p {
  font-size: 13px;
  line-height: 1.65;
}

/* ── Testimonial Card ─────────────────────────────────────── */
.testimonial-card {
  background: #141824;
  border: 1px solid #1e2535;
  border-left: 3px solid #F97316;
  border-radius: 14px;
  padding: 28px;
}

.testimonial-card .stars {
  color: #FBBF24;
  font-size: 28px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 16px;
  font-style: normal;
}

.testimonial-card .reviewer-name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

.testimonial-card .reviewer-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Tech Stack Tags ──────────────────────────────────────── */
.tech-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #F97316;
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.tech-tag:hover {
  background: rgba(249, 115, 22, 0.12);
  color: #fff;
}

.pill-icon {
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
}

.tech-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-wrap {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #0d1018;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: rgba(249, 115, 22, 0.35);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question span {
  color: #F97316;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 14px;
  font-weight: 300;
  color: var(--w55);
  line-height: 1.75;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ── Currency Toggle ─────────────────────────────────────── */
.currency-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}
.currency-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-med);
  background: transparent;
  color: var(--w80);
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.currency-btn:hover {
  border-color: var(--orange);
  color: var(--white);
}
.currency-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ── Pricing Cards ────────────────────────────────────────── */
section[aria-label="Pricing plans"] .pricing-grid {
  gap: 24px;
}

.pricing-card {
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: #141824;
  border: 2px solid #F97316;
  position: relative;
  padding-top: 52px;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a0e04;
  border: 1px solid rgba(249, 115, 22, 0.6);
  color: #F97316;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.pricing-card .price-suffix {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.pricing-card .plan-features {
  flex: 1;
}

.pricing-card .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 0;
}

.pricing-card .plan-features li::before {
  content: '✓';
  color: #F97316;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-price {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border: 1px solid #F97316;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
  font-family: var(--ff-body);
}

.btn-price:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.btn-price-white {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.btn-price-white:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: #0a0a0a;
}

.btn-price-orange {
  background: #F97316;
  color: #0a0a0a;
  border-color: #F97316;
}

.btn-price-orange:hover {
  background: #ea6c0e;
  border-color: #ea6c0e;
  color: #0a0a0a;
}

/* ── AI Automation function cards ─────────────────────────── */
section[aria-label="AI automation functions"] .service-card {
  border-color: rgba(255, 255, 255, 0.12);
}

section[aria-label="AI automation functions"] .service-card:hover {
  border-color: rgba(249, 115, 22, 0.85);
}

/* ── AI Readiness Assessment ──────────────────────────────── */
section[aria-label="AI Readiness Assessment"] h2 {
  text-align: left;
}

section[aria-label="AI Readiness Assessment"] .grid-2 {
  grid-template-columns: 1.67fr 1fr;
  align-items: center;
}

section[aria-label="AI Readiness Assessment"] .service-card::before {
  display: none;
}

section[aria-label="AI Readiness Assessment"] .service-card:hover {
  border-color: #1e2535;
  transform: none;
  box-shadow: none;
}

section[aria-label="AI Readiness Assessment"] .service-card .caption {
  color: var(--w80);
  font-size: 13px;
  font-weight: 400;
}

section[aria-label="AI Readiness Assessment"] .service-card p.caption {
  color: var(--w55);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
}

.readiness-bar-fill {
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.8), 0 0 3px rgba(249, 115, 22, 1);
}

.readiness-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.readiness-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F97316, #EA6B0A);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

section[aria-label="AI Readiness Assessment"] .service-card h2 {
  font-size: clamp(48px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: left;
}

/* ── How It Works — scoped step styles ───────────────────── */
section[aria-label="How it works"] .process-step {
  position: relative;
  text-align: center;
}

section[aria-label="How it works"] .process-step .step-num {
  margin-left: auto;
  margin-right: auto;
}

section[aria-label="How it works"] .process-step .step-num {
  width: 56px;
  height: 56px;
  border: 2px solid #F97316;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 700;
  background: #0a0d14;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15), 0 0 18px rgba(249, 115, 22, 0.45), 0 0 40px rgba(249, 115, 22, 0.18);
  margin-bottom: 24px;
}

section[aria-label="How it works"] .process-step h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

section[aria-label="How it works"] .process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 30px);
  right: calc(-50% + 12px);
  height: 1.5px;
  background: rgba(249, 115, 22, 0.4);
}

section[aria-label="How it works"] .process-step p {
  color: var(--w80);
  font-size: 14px;
}

/* ── Section-scoped lead overrides ───────────────────────── */
section[aria-label="AI automation functions"] .lead {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── Section Underline Decorator ──────────────────────────── */
.section-underline {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 14px auto 24px;
}

/* ── Services Grid ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

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

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

/* ── Stats Bar (connected strip — hero & brand credential rows) ── */
section[aria-label="Brand statistics"] {
  background: #0a0e18;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 27px 0;
}

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

.stat-item {
  padding: 32px 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  display: block;
}

.stat-lbl {
  font-size: 13px;
  font-weight: 300;
  color: var(--w55);
  line-height: 1.6;
  display: block;
  max-width: 240px;
  margin: 0 auto;
}

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
}

/* ── Performance Stat Blocks ──────────────────────────────── */
.perf-stat {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}

.perf-stat .value {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #F97316;
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}

.perf-stat .label {
  font-size: 12px;
  color: var(--w35);
  margin-top: 6px;
  display: block;
}

/* ── Code / Workflow Block ────────────────────────────────── */
.code-block {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
  overflow-x: auto;
}

.code-block .arrow {
  color: #F97316;
}

.code-block .comment {
  color: rgba(255, 255, 255, 0.25);
}

.code-block .string {
  color: #22C55E;
}

/* ── Cross-Service Strip ──────────────────────────────────── */
.cross-service-strip {
  display: flex;
  gap: 12px;
}

.cross-service-link {
  flex: 1;
  background: #141824;
  border: 1px solid #1e2535;
  border-top: 2px solid #F97316;
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}

.cross-service-link:hover {
  border-color: rgba(249, 115, 22, 0.3);
}

.cross-service-link h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.cross-service-link p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.cross-service-link .learn {
  font-size: 12px;
  color: #F97316;
  margin-top: 10px;
  display: block;
}

/* ── Comparison Table ─────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  padding: 16px 20px;
  background: #2b1d0c;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
}

.comparison-table th:not(:first-child) {
  text-align: center;
}

.comparison-table th:first-child {
  color: var(--white);
}

.comparison-table th.ours {
  background: rgba(249, 115, 22, 0.18);
  color: #F97316;
  border-left: 2px solid rgba(249, 115, 22, 0.8);
  border-top: 2px solid rgba(249, 115, 22, 0.8);
  border-right: 2px solid rgba(249, 115, 22, 0.8);
  text-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.comparison-table th.theirs {
  background: #2b1d0c;
  color: var(--white);
}

.comparison-table td {
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: middle;
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table td:first-child {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.comparison-table td.ours {
  background: rgba(249, 115, 22, 0.1);
  color: #F97316;
  font-size: 16px;
  font-weight: 600;
  border-left: 2px solid rgba(249, 115, 22, 0.7);
  border-right: 2px solid rgba(249, 115, 22, 0.7);
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.45);
}

.comparison-table tr:last-child td.ours {
  border-bottom: 2px solid rgba(249, 115, 22, 0.7);
}

.comparison-table tbody tr:nth-child(odd) td:not(.ours) {
  background: #0b0f19;
}

.comparison-table tbody tr:nth-child(even) td:not(.ours) {
  background: #131929;
}

.comparison-table td.theirs {
  color: rgba(255, 255, 255, 0.85);
}

.comparison-table td.theirs.cross {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  padding: 110px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-section .btn-primary {
  margin-bottom: 16px;
}

.cta-section .caption {
  display: block;
}

/* ── RespondAI section overrides ─────────────────────────── */
section[aria-label="RespondAI featured product"] h2 {
  text-align: left;
}

section[aria-label="RespondAI featured product"] .text-green {
  color: var(--orange);
}

/* ── Chat Widget ──────────────────────────────────────────── */
.chat-widget {
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  align-self: center;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-online-dot {
  width: 8px;
  height: 8px;
  background: #F97316;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.chat-status {
  font-size: 13px;
  color: var(--w55);
}

.chat-avg {
  font-size: 12px;
  color: var(--w35);
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
}

.chat-msg.visitor {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.80);
  align-self: flex-start;
}

.chat-msg.ai {
  background: rgba(249, 115, 22, 0.22);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: rgba(255, 255, 255, 0.90);
  align-self: flex-end;
}

.chat-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: var(--w35);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  transition: background 0.3s;
}

.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled::before {
  background: rgba(16, 16, 16, 0.98);
}

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

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links > li > a,
.nav-links > li > button {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--w80);
  padding: 6px 0;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links > li > button svg {
  display: none;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: #fff;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn-primary {
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.45);
}

/* ── Services Dropdown ────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.nav-dropdown.dropdown-open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: rgba(249, 115, 22, 0.1);
  color: #fff;
}

/* ── Hamburger ────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 72px 0 0;
}

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

.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 280px;
}

.footer-social {
  display: none;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: #F97316;
  color: #F97316;
}

.footer-col h5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:visited {
  color: rgba(255, 255, 255, 0.55);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom p:first-child {
  color: #ffffff;
}

/* ── Main padding offset — sticky nav is in flow, no offset needed ── */
main {
  padding-top: 0;
}

/* ── Responsive — nav & footer ────────────────────────────── */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 32px;
  }
}

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

  .nav-links,
  .nav-cta {
    display: none;
  }

  .site-header nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 8, 8, 0.98);
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
    z-index: 200;
  }

  .site-header nav.nav-open .nav-cta {
    display: block;
    padding: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 200;
  }

  .site-header nav.nav-open .nav-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.06);
    padding: 4px 0 4px 16px;
    margin-top: 4px;
    display: none;
  }

  .nav-dropdown.dropdown-open .dropdown-menu {
    display: block;
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .pricing-cards-wrap {
    flex-direction: column;
  }

  .pricing-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .pricing-card:last-child {
    border-bottom: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .process-steps .process-step {
    text-align: center;
  }

  .process-steps .process-step .step-num {
    margin-left: auto;
    margin-right: auto;
  }

  section[aria-label="AI Readiness Assessment"] .grid-2 {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table table {
    min-width: 480px;
  }

  .grid-3 > [style*="grid-column"] {
    grid-column: auto !important;
  }

  .cross-service-strip {
    flex-direction: column;
  }

  section[aria-label="AI automation functions"] .grid-3 > div[style*="grid-column"] {
    flex-direction: column;
  }

  section[aria-label="AI automation functions"] .grid-3 > div[style*="grid-column"] > .service-card {
    width: 100% !important;
  }

  section[aria-label="How it works"] .reveal[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Legal Pages (cookie-policy, privacy-policy, terms-conditions) ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  text-align: left;
  color: var(--white);
  margin-bottom: 12px;
  margin-top: 40px;
  letter-spacing: -0.01em;
}

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

.legal-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content ul li {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: #F97316;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
}

.legal-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 32px 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 14px;
}

.cookie-table th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cookie-table td {
  padding: 10px 14px;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
  line-height: 1.6;
}

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