/* ============================================================
   CRAM OS — Marketing Site Stylesheet
   Brand: dark navy/green → cyber aesthetic
   ============================================================ */

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

:root {
  /* Brand colors (from iOS app Theme.swift + tenant-dashboard CSS) */
  --bg-dark:       #0D1117;
  --bg-surface:    #151922;
  --bg-card:       #1A1F29;
  --bg-variant:    #222833;
  --green:         #00E676;
  --green-dim:     #009946;
  --blue:          #4a90e2;
  --purple:        #9C51E0;
  --yellow:        #FFA725;
  --red:           #FF3333;
  --text:          #EEF0F2;
  --text-muted:    #8892A0;
  --border:        rgba(255,255,255,0.07);
  --border-green:  rgba(0,230,118,0.2);

  /* Typography */
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  /* Sizing */
  --max-w:     1200px;
  --nav-h:     72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(0,230,118,0.25); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--bg-variant); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }


/* ── Utilities ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,230,118,0.08);
  border: 1px solid var(--border-green);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}


/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-md { padding: 0.65rem 1.5rem; }

.btn-primary {
  background: var(--green);
  color: #000;
}
.btn-primary:hover {
  background: #1aff8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,230,118,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }


/* ── Navigation ──────────────────────────────────────────── */
.nav-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-header.scrolled {
  background: rgba(13, 17, 23, 0.98);
  border-bottom-color: rgba(0,230,118,0.15);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo-accent { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-btn-outline {
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.nav-btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

.nav-btn-primary {
  background: var(--green);
  color: #000;
}
.nav-btn-primary:hover { background: #1aff8a; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,230,118,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,118,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* gradient fade at bottom of grid */
.hero-grid-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,230,118,0.07);
  border: 1px solid var(--border-green);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  margin-top: 1rem;
}
.trust-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.trust-tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}


/* ── Dashboard Mockup ────────────────────────────────────── */
.hero-dashboard {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 0;
}

.dashboard-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(0,230,118,0.07),
    0 40px 80px rgba(0,0,0,0.6);
  max-width: 960px;
  margin: 0 auto;
}

.mockup-bar {
  background: var(--bg-card);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green  { background: #28C840; }

.mockup-title {
  margin-left: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 280px;
}

.mockup-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 1rem 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: default;
  transition: all 0.15s;
}
.sidebar-item:hover, .sidebar-item.active {
  background: rgba(0,230,118,0.06);
  color: var(--green);
  border-left: 2px solid var(--green);
}

.mockup-main { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

.mockup-score-row { display: flex; gap: 1rem; align-items: flex-start; }

.score-card.score-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  min-width: 120px;
  flex-shrink: 0;
}
.score-label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.score-ring { position: relative; width: 80px; height: 80px; margin: 0 auto 0.5rem; }
.ring-svg { width: 100%; height: 100%; }
.ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-mono);
}
.ring-progress { transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1); }

.score-trend {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.score-trend.up { color: var(--green); }
.score-trend.down { color: var(--red); }

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  flex: 1;
}
.score-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  text-align: center;
}
.mini-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.mini-lbl { font-size: 0.65rem; color: var(--text-muted); }

.mockup-alerts {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.alert-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border);
}
.alert-row:last-child { border-bottom: none; }
.alert-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.alert-row.critical .alert-dot { background: var(--red); }
.alert-row.high .alert-dot { background: #FF5252; }
.alert-row.medium .alert-dot { background: var(--yellow); }
.alert-text { flex: 1; color: var(--text-muted); font-family: var(--font-mono); }
.alert-time { color: var(--text-muted); opacity: 0.6; font-size: 0.7rem; }


/* ── Stats Band ──────────────────────────────────────────── */
.stats-band {
  padding: 4rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 1rem; }

.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-lbl {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ── Features ────────────────────────────────────────────── */
.features {
  padding: 8rem 0;
  background: var(--bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card--large { grid-column: span 2; }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}
.feature-card.animated {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  border-color: var(--border-green);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,230,118,0.1);
}

.feature-card-inner { padding: 2rem; height: 100%; }

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(var(--icon-color), 0.08);
  background: color-mix(in srgb, var(--icon-color, #00E676) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color, #00E676) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--icon-color, #00E676);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-list {
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.75rem;
}


/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
  padding: 8rem 0;
  background: var(--bg-surface);
}

.steps-track {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
  transform: translateX(-50%);
}

.step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transform: translateX(-32px);
  transition: all 0.6s ease;
}
.step.animated { opacity: 1; transform: translateX(0); }

/* Regular step: number(col1 1fr) | icon(col2 80px) | content(col3 1fr) */
.step .step-visual { order: 2; }
.step .step-content { order: 3; }
.step .step-number { order: 1; text-align: left; }

.step--reverse {
  transform: translateX(32px);
}
/* Reverse step: content(col1 1fr) | icon(col2 80px) | number(col3 1fr) */
.step--reverse .step-number { order: 3; text-align: left; }
.step--reverse .step-content { order: 1; text-align: right; }
.step--reverse .step-visual { order: 2; }
.step--reverse .step-tags { justify-content: flex-end; }

.step-number {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--bg-variant);
  line-height: 1;
  text-align: right;
  user-select: none;
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
}

.step-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Connection types grid inside step 01 */
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0 1.25rem;
}

.connect-type {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
}
.connect-type:hover { border-color: var(--border-green); }

.connect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--bg-variant);
  border-radius: 6px;
}

.connect-type strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.connect-type span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.4;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.step-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  background: rgba(0,230,118,0.08);
  border: 1px solid var(--border-green);
  color: var(--green);
}

.step-visual { display: flex; align-items: center; justify-content: center; }

.step-icon-bg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(0,230,118,0.04);
  position: relative;
  z-index: 1;
}


/* ── Industries ──────────────────────────────────────────── */
.industries {
  padding: 8rem 0;
  background: var(--bg-dark);
}

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

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}
.industry-card.animated {
  opacity: 1;
  transform: translateY(0);
}
.industry-card:hover {
  border-color: var(--border-green);
  transform: translateY(-4px);
  background: var(--bg-variant);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.industry-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.industry-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ── Compliance Band ─────────────────────────────────────── */
.compliance-band {
  padding: 3rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.compliance-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.compliance-label { flex-shrink: 0; }
.compliance-label p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.compliance-scroll {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.compliance-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: scrollTrack 30s linear infinite;
}
@keyframes scrollTrack {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.compliance-track:hover { animation-play-state: paused; }

.cf-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s;
}
.cf-tag:hover {
  border-color: var(--border-green);
  color: var(--green);
}


/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: 8rem 0;
  background: var(--bg-dark);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}
.pricing-card.animated {
  opacity: 1;
  transform: translateY(0);
}
.pricing-card:hover {
  border-color: var(--border-green);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pricing-card--featured {
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(0,230,118,0.05) 100%);
  border-color: rgba(0,230,118,0.4);
  box-shadow: 0 0 40px rgba(0,230,118,0.08);
}

.plan-badge-wrap {
  margin-bottom: -0.5rem;
}
.plan-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--green);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.pricing-card-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text);
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.plan-features li svg { flex-shrink: 0; }

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
}

.plan-btn--primary {
  background: var(--green);
  color: #000;
}
.plan-btn--primary:hover {
  background: #1aff8a;
  box-shadow: 0 8px 24px rgba(0,230,118,0.3);
}

.plan-btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.plan-btn--outline:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
}


/* ── About ───────────────────────────────────────────────── */
.about {
  padding: 8rem 0;
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content { opacity: 0; transform: translateX(-32px); transition: all 0.6s ease; }
.about-content.animated { opacity: 1; transform: translateX(0); }

.about-content .section-title { text-align: left; }
.about-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-pillars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--c, #00E676) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, #00E676) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c, #00E676);
}
.pillar strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.pillar p {
  font-size: 0.85rem !important;
  margin-bottom: 0 !important;
}

/* Hexagon Grid Visual */
.about-visual { opacity: 0; transform: translateX(32px); transition: all 0.6s ease 0.2s; }
.about-visual.animated { opacity: 1; transform: translateX(0); }

.hexagon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hex-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s;
}
.hex-cell:hover {
  border-color: var(--border-green);
  transform: translateY(-3px);
}
.hex-cell--active {
  border-color: rgba(0,230,118,0.4);
  background: rgba(0,230,118,0.05);
}
.hex-cell--warn {
  border-color: rgba(255,167,37, 0.3);
  background: rgba(255,167,37,0.04);
}
.hex-cell--highlight {
  grid-column: 2;
  border-color: rgba(0,230,118,0.5);
  background: linear-gradient(135deg, rgba(0,230,118,0.08), rgba(74,144,226,0.08));
  box-shadow: 0 0 20px rgba(0,230,118,0.1);
}

.hex-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.hex-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text);
}
.hex-value--main {
  font-size: 2.5rem;
  color: var(--green);
}


/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  padding: 8rem 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.cta-banner-inner {
  position: relative;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-variant) 100%);
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}
.cta-banner-inner.animated {
  opacity: 1;
  transform: translateY(0);
}

.cta-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,230,118,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.cta-banner-inner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.footer-domain {
  font-size: 0.78rem;
  color: var(--green);
  font-family: var(--font-mono);
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--text); }


/* ── Animate on scroll ───────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-right"] { transform: translateX(-24px); }
[data-animate="fade-left"]  { transform: translateX(24px); }
[data-animate].animated {
  opacity: 1;
  transform: translate(0);
}


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 2; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

  :root { --nav-h: 64px; }

  .nav-links { display: none; flex-direction: column; position: fixed; inset: var(--nav-h) 0 0; background: var(--bg-dark); padding: 2rem; gap: 1.25rem; z-index: 999; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-btn { width: 100%; justify-content: center; }

  .hero-content { padding: 3rem 1.5rem 1.5rem; }

  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }

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

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: 1; }

  .steps-track::before { left: 20px; }
  .step { grid-template-columns: 40px 1fr; gap: 1rem; }
  .step .step-visual { display: none; }
  .step .step-number { order: 0; }
  .step .step-content { order: 1; text-align: left; }
  .step--reverse .step-number { order: 0; }
  .step--reverse .step-content { order: 1; text-align: left; }
  .step--reverse .step-tags { justify-content: flex-start; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-inner { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-content .section-title { text-align: center; }
  .about-pillars { align-items: flex-start; }
  .hexagon-grid { max-width: 360px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .trust-tags { display: none; }
  .cta-banner-inner { padding: 3rem 1.5rem; }
}
