/* ============================================
   ATIVAMONEY — Shared Stylesheet
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

/* ── Reset ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  transition:
    background 0.2s,
    color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── CSS Variables ──────────────────────────── */
:root {
  /* Light mode */
  --bg-page: #f1f5f9;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --border: #cbd5e1;
  --shadow: rgba(0, 0, 0, 0.06);

  /* Brand (constant) */
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #ede9fe;
  --primary-glow: rgba(124, 58, 237, 0.15);
  --green: #22c55e;
  --orange: #f97316;
  --red: #ef4444;
  --blue: #3b82f6;

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

  /* Layout */
  --section-gap: 120px;
  --container-max: 1280px;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 999px;
}

[data-theme="dark"] {
  --bg-page: #020817;
  --bg-card: #0f172a;
  --bg-header: #0f172a;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --shadow: rgba(0, 0, 0, 0.4);
}

/* ── Layout Utilities ──────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: var(--section-gap) 0;
}

/* ── Typography ────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h2 {
  font-weight: 800;
}
h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
}
p {
  line-height: 1.65;
}
.lead {
  font-weight: 500;
  font-size: 1.125rem;
}
.text-muted {
  color: var(--text-muted);
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font);
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
[data-theme="dark"] .btn-outline {
  color: #a78bfa;
  border-color: #a78bfa;
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}
[data-theme="dark"] .btn-outline:hover {
  background: rgba(124, 58, 237, 0.15);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}
.btn-white {
  background: white;
  color: var(--primary);
  border-color: white;
  font-weight: 700;
}
.btn-white:hover {
  background: #f8f4ff;
  transform: translateY(-1px);
}

/* ── Card ──────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 1px 3px var(--shadow);
}

/* ── Badge ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}
.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}
[data-theme="dark"] .badge-primary {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}

/* ── Section Header ────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition:
    opacity 0.45s ease,
    background 0.25s,
    backdrop-filter 0.25s,
    border-bottom 0.25s;
}
.nav.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
}
[data-theme="dark"] .nav.scrolled {
  background: rgba(2, 8, 23, 0.85);
}
/* Homepage: fixed nav floats over hero — sem reservar espaço no layout */
.nav-homepage {
  position: fixed;
  width: 100%;
}
/* Nav initially hidden over hero (homepage only) */
.nav-hero-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Nav over dark hero — white text */
.nav-over-dark .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}
.nav-over-dark .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.nav-over-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}
.nav-over-dark .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.nav-over-dark .btn-theme {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.nav-over-dark .btn-theme:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}
.nav-over-dark.scrolled {
  background: rgba(10, 5, 32, 0.88) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
}
.nav-logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  transition:
    color 0.15s,
    background 0.15s;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--primary-light);
}
[data-theme="dark"] .nav-links a:hover {
  background: rgba(124, 58, 237, 0.12);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition:
    background 0.15s,
    color 0.15s;
  cursor: pointer;
}
.btn-theme:hover {
  color: var(--primary);
}
.btn-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
}
.btn-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-page);
  z-index: 49;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  animation: slideIn 0.2s ease;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.15s;
}
.nav-mobile a:hover {
  color: var(--primary);
}
.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}
.nav-mobile-close:hover {
  color: var(--text-primary);
}
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
  max-width: 260px;
}
.nav-mobile-actions .btn {
  justify-content: center;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8f4ff 0%, #f1f5f9 60%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0a0520 0%, #020817 60%);
}
[data-theme="dark"] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#1e1b4b 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3;
  pointer-events: none;
}
.hero-badge {
  margin: 0 auto 28px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}
.underline-deco {
  position: relative;
  display: inline-block;
}
.underline-deco::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.8;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-weight: 500;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.check-icon {
  color: var(--green);
  font-weight: 700;
}
.hero-mockup {
  margin: 64px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  transform: perspective(1200px) rotateX(4deg);
  transition: transform 0.4s ease;
  max-width: 1000px;
  border: 1px solid var(--border);
}
[data-theme="dark"] .hero-mockup {
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.3);
}
.hero-mockup:hover {
  transform: perspective(1200px) rotateX(2deg);
}
.hero-mockup-placeholder {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #475569;
  font-size: 14px;
}
.hero-mockup-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.25;
}

/* ── Hero Dark (forced, regardless of theme) ── */
.hero-dark {
  background: linear-gradient(160deg, #0a0520 0%, #020817 70%) !important;
  padding-top: 0;
  /* Force white text — h1/p inherit from here, not from body's resolved color */
  color: #f8fafc;
  /* Override CSS vars for children that use them directly */
  --text-primary: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.62);
  --border: rgba(255, 255, 255, 0.09);
}
.hero-dark .hero-sub {
  color: rgba(248, 250, 252, 0.72);
}
.hero-dark .hero-trust {
  color: rgba(248, 250, 252, 0.58);
}
.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-dark .hero-mockup {
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.35);
  border-color: rgba(255, 255, 255, 0.08);
}
.hero-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.88);
}
.hero-dark .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* ── Hero Splash Logo ── */
.hero-splash {
  text-align: center;
  padding: 68px 0 44px;
  will-change: opacity, transform;
}
.hero-splash-logo {
  height: 80px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 0 32px rgba(124, 58, 237, 0.5));
}

/* ── Auto Carousel (hero + feature carousels) ── */
.auto-carousel {
  position: relative;
  display: block;
}
.auto-carousel > img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.auto-carousel > img:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}
.auto-carousel > img.active {
  opacity: 1;
  z-index: 1;
}

/* ============================================
   BANK LOGOS MARQUEE
   ============================================ */
.bank-logos {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
}
.bank-logos-title {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.5;
  padding: 0 20px;
}
.marquee-wrapper {
  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
  );
}
.marquee-track {
  display: flex;
  gap: 14px;
  animation: marquee 36s linear infinite;
  width: max-content;
  align-items: stretch;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.bank-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 18px 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  filter: grayscale(100%);
  opacity: 0.5;
  transition:
    filter 0.25s,
    opacity 0.25s,
    transform 0.2s,
    box-shadow 0.2s;
  cursor: default;
  min-width: 88px;
  max-width: 96px;
  flex-shrink: 0;
}
.bank-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.bank-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.bank-item span {
  font-weight: 600;
  font-size: 10.5px;
  color: var(--text-muted);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── Nav Logo Images (light/dark) ─────────── */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-logo-img-dark {
  display: none;
}
[data-theme="dark"] .nav-logo-img-light {
  display: none;
}
[data-theme="dark"] .nav-logo-img-dark {
  display: block;
}
/* Over dark hero: always show white logo regardless of theme */
.nav-over-dark .nav-logo-img-light {
  display: none;
}
.nav-over-dark .nav-logo-img-dark {
  display: block;
}

/* ============================================
   VALUE PROPS
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .value-icon {
  background: rgba(124, 58, 237, 0.12);
}
.value-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}
.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.value-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.step.reverse {
  direction: rtl;
}
.step.reverse > * {
  direction: ltr;
}
.step-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-number {
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: -28px;
  font-family: var(--font-mono);
  letter-spacing: -0.05em;
}
.step-content h3 {
  font-size: 1.5rem;
}
.step-content p {
  color: var(--text-muted);
  line-height: 1.7;
}
.step-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
.step-placeholder {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f8f4ff 0%, #e0e7ff 100%);
  color: var(--primary);
  font-size: 13px;
  opacity: 0.7;
}
[data-theme="dark"] .step-placeholder {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  color: #64748b;
}
.step-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .feature-icon {
  background: rgba(124, 58, 237, 0.12);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================
   DEEP DIVE SECTIONS
   ============================================ */
.deep-dive {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 72px;
  align-items: center;
}
.deep-dive.reverse {
  grid-template-columns: 3fr 2fr;
}
.deep-dive.reverse .deep-content {
  order: 2;
}
.deep-dive.reverse .deep-img {
  order: 1;
}
.deep-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.deep-content .badge {
  align-self: flex-start;
}
.deep-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}
.deep-content > p {
  color: var(--text-muted);
  line-height: 1.7;
}
.deep-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.deep-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}
.deep-list li strong {
  color: var(--text-primary);
}
.check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-circle svg {
  width: 11px;
  height: 11px;
  color: white;
}
.highlight-box {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-style: italic;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.65;
}
[data-theme="dark"] .highlight-box {
  background: rgba(124, 58, 237, 0.1);
}
.deep-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
.deep-placeholder {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f8f4ff 0%, #e0e7ff 100%);
  color: var(--primary);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  opacity: 0.7;
}
[data-theme="dark"] .deep-placeholder {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  color: #64748b;
}
.deep-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

/* ============================================
   CATEGORIES & TAGS
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.categories-grid h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.categories-grid p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}
.tag-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-ex {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-page);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ============================================
   DASHBOARD SECTION (always dark)
   ============================================ */
.dashboard-section {
  background: linear-gradient(135deg, #3b0764 0%, #1e1b4b 100%);
  padding: var(--section-gap) 0;
}
.dashboard-section .section-header h2 {
  color: white;
}
.dashboard-section .section-header p {
  color: rgba(255, 255, 255, 0.65);
}
.dashboard-mockup {
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 48px;
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dashboard-placeholder {
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #475569;
  font-size: 13px;
}
.dashboard-placeholder svg {
  width: 52px;
  height: 52px;
  opacity: 0.2;
}
.dashboard-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dash-feat {
  text-align: center;
}
.dash-feat h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.dash-feat p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ============================================
   MOBILE SHOWCASE
   ============================================ */
.mobile-section {
  overflow: hidden;
  padding-bottom: var(--section-gap);
}
.mobile-marquee-wrap {
  overflow: hidden;
  padding: 16px 0 28px;
  -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
  );
}
.mobile-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 40s linear infinite;
  align-items: flex-end;
}
.mob-img {
  height: 400px;
  width: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
[data-theme="dark"] .mob-img {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ============================================
   SECURITY
   ============================================ */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 40px 0;
}
.sec-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(124, 58, 237, 0.2);
}
[data-theme="dark"] .sec-badge {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
  border-color: rgba(124, 58, 237, 0.3);
}
.sec-badge svg {
  width: 16px;
  height: 16px;
}
.security-tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0;
}
.sec-tech-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sec-tech-item .icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1.4;
}
.sec-tech-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.sec-tech-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.security-decl {
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--primary-light);
}
[data-theme="dark"] .security-decl {
  background: rgba(124, 58, 237, 0.08);
}
.security-decl svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.security-decl p {
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
}
.comp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.comp-table th {
  padding: 14px 20px;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--border);
  background: var(--bg-page);
}
.comp-table th:first-child {
  text-align: left;
}
.comp-table th.hl {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
}
.comp-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
}
.comp-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}
.comp-table td.hl {
  background: rgba(124, 58, 237, 0.04);
}
.comp-table tr:last-child td {
  border-bottom: none;
}
.comp-table tr:hover td {
  background: rgba(0, 0, 0, 0.015);
}
.comp-table tr:hover td.hl {
  background: rgba(124, 58, 237, 0.07);
}
.cy {
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}
.cn {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 18px;
}
.cp {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow:
    0 0 0 1px var(--primary),
    0 8px 32px rgba(124, 58, 237, 0.15);
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.pricing-price sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  vertical-align: baseline;
}
.pricing-placeholder {
  text-align: center;
  padding: 32px 16px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.pricing-note span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}
.stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.t-name {
  font-weight: 700;
  font-size: 14px;
}
.t-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font);
  cursor: pointer;
  transition: color 0.15s;
}
.faq-btn:hover {
  color: var(--primary);
}
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--text-muted);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.28s ease,
    padding 0.28s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
  padding: var(--section-gap) 0;
  text-align: center;
}
.cta-section h2 {
  color: white;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}
.cta-section > .container > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 40px;
}
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 12px;
}
.cta-form input {
  flex: 1;
  padding: 13px 20px;
  border-radius: var(--radius-btn);
  border: none;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  background: white;
  color: #0f172a;
}
.cta-form input::placeholder {
  color: #94a3b8;
}
.cta-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.cta-social-proof {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary);
}
.footer-logo svg {
  width: 28px;
  height: 28px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition:
    color 0.15s,
    background 0.15s;
}
.footer-social a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.footer-pt {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px var(--shadow);
  padding: 20px 24px;
  z-index: 100;
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-muted);
  min-width: 240px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-actions a {
  font-size: 13px;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.btt {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 80;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btt.show {
  opacity: 1;
  pointer-events: auto;
}
.btt:hover {
  transform: translateY(-2px);
}
.btt svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.page-header {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, #f8f4ff 0%, #f1f5f9 60%);
}
[data-theme="dark"] .page-header {
  background: linear-gradient(135deg, #0a0520 0%, #020817 60%);
}
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 64px 0;
}
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--shadow);
}
.blog-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}
.blog-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.blog-body h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
.meta-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  flex-shrink: 0;
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-header {
  padding: 64px 0 40px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--primary);
}
.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.article-share {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font);
  transition:
    color 0.15s,
    background 0.15s;
}
.share-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.article-feat-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 32px 0;
}
.article-feat-placeholder {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
}
.article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 680px;
}
.article-body h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 40px 0 16px;
  font-weight: 700;
}
.article-body h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin: 28px 0 12px;
  font-weight: 700;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body strong {
  color: var(--text-primary);
  font-weight: 700;
}
.article-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-cta {
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-card);
  background: var(--primary-light);
  border: 1px solid rgba(124, 58, 237, 0.2);
}
[data-theme="dark"] .sidebar-cta {
  background: rgba(124, 58, 237, 0.12);
}
.sidebar-cta h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.sidebar-cta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.related-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.related-art {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  transition: transform 0.15s;
}
.related-art:hover {
  transform: translateX(2px);
}
.related-art .blog-cat {
  font-size: 11px;
}
.related-art h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}
.article-foot {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.article-tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.article-nav a {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  transition: opacity 0.15s;
}
.article-nav a:hover {
  opacity: 0.7;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 64px 0;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 88px;
}
.legal-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.legal-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-sidebar a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s;
}
.legal-sidebar a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
[data-theme="dark"] .legal-sidebar a:hover {
  background: rgba(124, 58, 237, 0.12);
}
.legal-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-page);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.legal-content h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 40px 0 12px;
  font-weight: 700;
  scroll-margin-top: 88px;
}
.legal-content h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 20px 0 8px;
  font-weight: 600;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 20px;
}
.legal-table th {
  background: var(--bg-page);
  padding: 10px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border);
}
.legal-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-placeholder {
  background: var(--bg-page);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .deep-dive,
  .deep-dive.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .deep-dive.reverse .deep-content {
    order: 1;
  }
  .deep-dive.reverse .deep-img {
    order: 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-feats {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-tech {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .btn-hamburger {
    display: flex;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .step,
  .step.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .features-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .security-tech {
    grid-template-columns: 1fr;
  }
  .dashboard-feats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-form {
    flex-direction: column;
  }
  .hero-trust {
    gap: 14px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .mob-img {
    height: 300px;
  }
  .hero-splash-logo {
    height: 56px;
  }
  .hero-splash {
    padding: 48px 0 32px;
  }
  .article-meta {
    gap: 10px;
  }
  .article-share {
    margin-left: 0;
  }
}

/* ============================================
   BLOG — CSS ALIASES (match blog/index.html class names)
   ============================================ */
.blog-header {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, #f8f4ff 0%, #f1f5f9 60%);
}
[data-theme="dark"] .blog-header {
  background: linear-gradient(135deg, #0a0520 0%, #020817 60%);
}
.blog-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}
.blog-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Blog filter buttons (mirror of .filter-btn) */
.blog-filter {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}
.blog-filter.active,
.blog-filter:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Blog card body / content classes */
.blog-card-img-link {
  display: block;
}
.blog-card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.blog-card-meta-sep {
  color: var(--border);
}

/* ============================================
   CLOUDFLARE TURNSTILE
   ============================================ */
.turnstile-wrapper {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

/* ============================================
   LUCIDE ICON UTILITIES
   ============================================ */
.icon-sm {
  width: 16px;
  height: 16px;
}
.icon-md {
  width: 20px;
  height: 20px;
}
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}
