/* ═══════════════════════════════════════════════════════════
   LEGALTECH IA — Corporate Site Stylesheet
   Served statically by Caddy under /web/
   ═══════════════════════════════════════════════════════════ */

:root {
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --purple-800: #5b21b6;
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --purple-100: #ede9fe;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white: #ffffff;
  --green-600: #059669;
  --green-100: #d1fae5;
  --amber-500: #f59e0b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ── Typography ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: .28rem .85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.eyebrow.purple {
  color: var(--purple-600);
  background: var(--purple-100);
  border-color: #c4b5fd;
}
.eyebrow.green {
  color: var(--green-600);
  background: var(--green-100);
  border-color: #6ee7b7;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--gray-900);
  margin-bottom: .75rem;
}
.section-title span {
  background: linear-gradient(135deg, var(--blue-600), var(--purple-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.7;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,.45);
}
.btn-outline {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--blue-200, #bfdbfe);
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}
.btn-white {
  background: white;
  color: var(--blue-800);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1.1rem; font-size: .85rem; }

/* ── Navigation ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: .9rem 0;
  transition: all .3s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), var(--shadow-sm);
  padding: .65rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -.02em;
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .95rem;
}
#navbar:not(.scrolled) .nav-logo { color: white; }
#navbar:not(.scrolled) .nav-logo-icon { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all .2s;
}
#navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.nav-links a:hover { background: var(--gray-100); color: var(--blue-800); }
#navbar:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.15); color: white; }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
#navbar:not(.scrolled) .btn-outline {
  color: white;
  border-color: rgba(255,255,255,.4);
}
#navbar:not(.scrolled) .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.7);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .3s;
}
#navbar:not(.scrolled) .nav-hamburger span { background: white; }

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #0f172a 0%, var(--blue-900) 40%, #1a1a4e 70%, #2d1b69 100%);
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(124,58,237,.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(37,99,235,.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-title .grad {
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
}
.hero-stat-label { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: .1rem; }

/* ── Hero mock dashboard ─────────────────────────────────── */
.hero-visual { position: relative; z-index: 1; }
.mock-dashboard {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
}
.mock-topbar {
  background: rgba(255,255,255,.08);
  padding: .7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #ffbd2e; }
.mock-dot.g { background: #28c840; }
.mock-topbar-title {
  margin-left: .6rem;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  flex: 1;
  text-align: center;
}
.mock-body { display: flex; height: 340px; }
.mock-sidebar {
  width: 140px;
  background: rgba(0,0,0,.2);
  padding: .8rem .6rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.mock-nav-item {
  padding: .45rem .7rem;
  border-radius: 6px;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.mock-nav-item.active {
  background: rgba(37,99,235,.4);
  color: rgba(255,255,255,.9);
}
.mock-nav-item i { font-size: .75rem; width: 14px; text-align: center; }
.mock-main {
  flex: 1;
  padding: 1rem;
  overflow: hidden;
}
.mock-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .8rem;
}
.mock-title { font-size: .82rem; font-weight: 700; color: white; }
.mock-btn-sm {
  background: rgba(37,99,235,.5);
  color: white;
  font-size: .65rem;
  padding: .25rem .65rem;
  border-radius: 5px;
  font-weight: 600;
}
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .7rem; }
.mock-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: .6rem .7rem;
}
.mock-card-label { font-size: .65rem; color: rgba(255,255,255,.45); }
.mock-card-val { font-size: 1.1rem; font-weight: 700; color: white; margin-top: .1rem; }
.mock-case-list { display: flex; flex-direction: column; gap: .35rem; }
.mock-case-row {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  padding: .45rem .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  color: rgba(255,255,255,.75);
}
.mock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-status-dot.open { background: #34d399; }
.mock-status-dot.pending { background: #fbbf24; }
.mock-case-name { flex: 1; font-weight: 500; }
.mock-case-tag {
  background: rgba(124,58,237,.3);
  color: #c4b5fd;
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .62rem;
}
.mock-themis-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  border-radius: 14px;
  padding: .8rem 1.1rem;
  box-shadow: 0 8px 24px rgba(109,40,217,.5);
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  color: white;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
}

/* ── Logos / trust bar ───────────────────────────────────── */
#trust {
  padding: 2.5rem 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 1.25rem;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-logo-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  opacity: .45;
  filter: grayscale(1);
  transition: opacity .2s, filter .2s;
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-600);
}
.trust-logo-item:hover { opacity: .7; filter: grayscale(0); }
.trust-logo-item i { font-size: 1.3rem; }

/* ── Features ────────────────────────────────────────────── */
#features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--feat-color, linear-gradient(135deg, var(--blue-600), var(--blue-500)));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.feature-card h3 { font-size: 1.05rem; color: var(--gray-900); margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }
.feature-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: .18rem .6rem;
  border-radius: 20px;
  margin-top: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* individual feature colors */
.feat-blue   { --feat-color: linear-gradient(135deg,#2563eb,#3b82f6); }
.feat-purple { --feat-color: linear-gradient(135deg,#6d28d9,#7c3aed); }
.feat-teal   { --feat-color: linear-gradient(135deg,#0891b2,#06b6d4); }
.feat-green  { --feat-color: linear-gradient(135deg,#059669,#10b981); }
.feat-amber  { --feat-color: linear-gradient(135deg,#d97706,#f59e0b); }
.feat-pink   { --feat-color: linear-gradient(135deg,#be185d,#ec4899); }

/* ── How it works ────────────────────────────────────────── */
#how { background: var(--gray-50); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200, #bfdbfe), var(--blue-500), var(--purple-600));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  border: 4px solid var(--white);
}
.step-card h3 { font-size: 1.05rem; color: var(--gray-900); margin-bottom: .5rem; }
.step-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

/* ── Themis spotlight ────────────────────────────────────── */
#themis {
  background: linear-gradient(145deg, #1a0533 0%, #2d1b69 40%, #1e1b4b 70%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}
#themis::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(124,58,237,.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(37,99,235,.15) 0%, transparent 60%);
  pointer-events: none;
}
.themis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.themis-content .section-title { color: white; }
.themis-content .section-sub { color: rgba(255,255,255,.7); }
.themis-feature-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.themis-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.themis-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(124,58,237,.3);
  border: 1px solid rgba(124,58,237,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c4b5fd;
  font-size: .65rem;
  margin-top: 1px;
}
.themis-visual { position: relative; }
.themis-chat-mock {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.themis-chat-header {
  background: linear-gradient(135deg, rgba(109,40,217,.5), rgba(124,58,237,.4));
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.themis-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: white;
  border: 2px solid rgba(255,255,255,.2);
}
.themis-chat-name { font-size: .9rem; font-weight: 700; color: white; }
.themis-chat-status { font-size: .72rem; color: #c4b5fd; }
.themis-chat-body { padding: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.chat-msg {
  max-width: 88%;
  padding: .65rem .85rem;
  border-radius: 12px;
  font-size: .82rem;
  line-height: 1.55;
}
.chat-msg.user {
  background: rgba(37,99,235,.35);
  color: rgba(255,255,255,.9);
  align-self: flex-end;
  border-radius: 12px 12px 2px 12px;
}
.chat-msg.ai {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  align-self: flex-start;
  border-radius: 12px 12px 12px 2px;
}
.chat-msg.ai strong { color: #c4b5fd; }
.chat-source {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: .4rem;
}
.themis-input-row {
  padding: .7rem 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  gap: .5rem;
}
.themis-input-mock {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .45rem .7rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.themis-send-btn {
  background: var(--purple-600);
  color: white;
  border: none;
  border-radius: 8px;
  padding: .45rem .8rem;
  font-size: .78rem;
  cursor: pointer;
}

/* ── Pricing ─────────────────────────────────────────────── */
#pricing { background: var(--white); }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 3rem;
}
.toggle-label { font-size: .92rem; color: var(--gray-600); font-weight: 500; }
.toggle-track {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--gray-200);
  border-radius: 14px;
  cursor: pointer;
  transition: background .25s;
}
.toggle-track.on { background: var(--blue-600); }
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: left .25s;
  box-shadow: var(--shadow-sm);
}
.toggle-track.on .toggle-thumb { left: 27px; }
.annual-badge {
  background: var(--green-100);
  color: var(--green-600);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all .3s ease;
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 1px var(--blue-600), var(--shadow-lg);
  transform: scale(1.03);
  z-index: 1;
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .35rem;
}
.pricing-plan-desc { font-size: .85rem; color: var(--gray-600); margin-bottom: 1.25rem; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-bottom: 1.5rem;
}
.pricing-currency { font-size: 1.1rem; color: var(--gray-600); font-weight: 600; margin-top: .4rem; }
.pricing-amount { font-size: 2.8rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.pricing-period { font-size: .85rem; color: var(--gray-500); }
.pricing-divider { border: none; border-top: 1px solid var(--gray-200); margin: 1.25rem 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.4;
}
.pricing-features li i {
  color: var(--green-600);
  font-size: .8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-features li.disabled { color: var(--gray-400); }
.pricing-features li.disabled i { color: var(--gray-300); }
.pricing-cta { margin-top: 1.75rem; width: 100%; display: block; text-align: center; }
.pricing-note {
  text-align: center;
  font-size: .82rem;
  color: var(--gray-500);
  margin-top: 2rem;
}
.pricing-note a { color: var(--blue-600); }
.pricing-note a:hover { text-decoration: underline; }

/* ── CTA section ─────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--blue-900) 0%, #1a1a4e 50%, #2d1b69 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124,58,237,.2) 0%, transparent 70%);
  pointer-events: none;
}
#cta .section-title { color: white; position: relative; z-index: 1; }
#cta .section-sub { color: rgba(255,255,255,.7); margin: 0 auto 2.5rem; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Footer ──────────────────────────────────────────────── */
#footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}
.footer-brand-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .8rem;
}
.footer-desc { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: all .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.12); color: white; }
.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-links a:hover { color: white; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-bottom: 1.5rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ── Animations ──────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }
.fade-in-delay-5 { transition-delay: .5s; }

/* ── Mobile nav ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-open .nav-links,
  .nav-mobile-open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  #navbar.scrolled.nav-mobile-open,
  #navbar:not(.scrolled).nav-mobile-open {
    background: rgba(15,23,42,.97);
    backdrop-filter: blur(12px);
  }
  .nav-inner {
    flex-wrap: wrap;
    padding: 0 1.5rem;
    row-gap: .75rem;
    padding-bottom: .75rem;
  }
  .nav-links { gap: 0; margin-top: .25rem; }
  .nav-links a { width: 100%; padding: .6rem .5rem; color: rgba(255,255,255,.85) !important; }
  .nav-links a:hover { background: rgba(255,255,255,.08) !important; }
  .nav-cta { flex-direction: row; gap: .75rem; margin-bottom: .5rem; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid::before { display: none; }
  .themis-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mock-dashboard { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
}

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .97rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
}
.faq-q:hover { color: var(--blue-800); }
.faq-icon {
  flex-shrink: 0;
  color: var(--gray-400);
  font-size: .85rem;
  transition: transform .25s ease;
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--blue-600); }
.faq-a {
  padding: 0 0 1.1rem;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Competitor comparison section ──────────────────────── */
#compare { background: var(--gray-50); }
.compare-wrap {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: .9rem;
  min-width: 680px;
}
.compare-table thead tr {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
}
.compare-table thead th {
  padding: 1.1rem 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  border-right: 1px solid rgba(255,255,255,.08);
}
.compare-table thead th.feat-col {
  text-align: left;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.compare-table thead th.our-col {
  background: rgba(124,58,237,.35);
  color: #c4b5fd;
  position: relative;
}
.compare-table thead th.our-col::after {
  content: '★';
  display: block;
  font-size: .7rem;
  opacity: .7;
  margin-top: .15rem;
}
.compare-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background .15s;
}
.compare-table tbody tr:hover { background: var(--gray-50); }
.compare-table tbody tr.section-row td {
  background: var(--gray-100);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  padding: .5rem 1.25rem;
}
.compare-table tbody td {
  padding: .85rem 1.25rem;
  vertical-align: middle;
  border-right: 1px solid var(--gray-100);
}
.compare-table tbody td:first-child {
  font-weight: 500;
  color: var(--gray-800);
  font-size: .88rem;
}
.compare-table tbody td.our-col {
  background: rgba(124,58,237,.04);
  border-right: 1px solid rgba(124,58,237,.1);
}
.cmp-yes { text-align: center; color: var(--green-600); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.cmp-no  { text-align: center; color: var(--gray-300); font-size: .85rem; white-space: nowrap; }
.cmp-partial { text-align: center; color: var(--amber-500); font-size: .85rem; white-space: nowrap; }
.cmp-yes i   { margin-right: .25rem; }
.cmp-no i    { margin-right: .25rem; }
.cmp-partial i { margin-right: .25rem; }

/* Differentiator cards below the table */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.diff-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--diff-color, linear-gradient(135deg,var(--blue-600),var(--purple-600)));
}
.diff-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.diff-icon {
  font-size: 1.6rem;
  margin-bottom: .75rem;
  line-height: 1;
}
.diff-card h3 { font-size: .97rem; color: var(--gray-900); margin-bottom: .4rem; }
.diff-card p  { font-size: .86rem; color: var(--gray-600); line-height: 1.6; margin: 0; }
.diff-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 20px;
  margin-top: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--blue-50);
  color: var(--blue-800);
}

/* ── Mobile scroll hint for compare table ─────────────────── */
.compare-scroll-hint {
  display: none;
  text-align: center;
  font-size: .78rem;
  color: var(--gray-400);
  padding: .6rem 0 .2rem;
  letter-spacing: .03em;
}
.compare-scroll-hint i { margin: 0 .3rem; }

@media (max-width: 900px) {
  .compare-scroll-hint { display: block; }

  .compare-wrap {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .compare-table { min-width: 560px; font-size: .8rem; }

  .compare-table thead th,
  .compare-table tbody td { padding: .7rem .8rem; }

  /* Sticky feature-name column */
  .compare-table thead th.feat-col {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--blue-900);
    min-width: 130px;
    max-width: 150px;
  }
  .compare-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: white;
    box-shadow: 3px 0 8px rgba(0,0,0,.07);
    min-width: 130px;
    max-width: 150px;
    white-space: normal;
    line-height: 1.4;
    font-size: .79rem;
  }
  .compare-table tbody tr.section-row td {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--gray-100);
  }

  /* Highlight our column */
  .compare-table thead th.our-col,
  .compare-table tbody td.our-col { min-width: 100px; }

  .cmp-yes, .cmp-no, .cmp-partial { font-size: .78rem; }
}

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

/* ── Utility ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Platform availability section ──────────────────────── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.platform-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

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

.platform-available {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 1px var(--blue-100);
}

.platform-soon { opacity: .82; }
.platform-soon:hover { opacity: 1; }

.platform-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}
.platform-icon svg { width: 34px; height: 34px; }
.platform-soon .platform-icon { background: var(--gray-100); color: var(--gray-400); }
.android-icon { background: #e7f5e7 !important; color: #3ddc84 !important; }

.platform-name { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }
.platform-sub  { font-size: .82rem; color: var(--gray-400); margin-top: -.25rem; }

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.platform-badge.available {
  background: var(--green-100);
  color: var(--green-600);
}
.platform-badge.soon {
  background: var(--gray-100);
  color: var(--gray-500);
}

.platform-cta { margin-top: .25rem; }
.platform-cta-placeholder {
  font-size: .8rem;
  color: var(--gray-400);
  font-weight: 600;
  margin-top: .25rem;
}

@media (max-width: 640px) {
  .platforms-grid { grid-template-columns: 1fr; max-width: 340px; }
}

/* ── Contact section ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  font-size: .85rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
  margin-bottom: .15rem;
}

.contact-info-val {
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-800);
}
a.contact-info-val:hover { color: var(--blue-600); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .65rem .85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

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

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: .65rem .9rem;
  font-size: .85rem;
  color: #dc2626;
}

.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  font-size: .88rem;
  color: #166534;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.form-success i { color: #22c55e; font-size: 1.1rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row     { grid-template-columns: 1fr; }
}

