/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
  color-scheme: light dark;

  /* Theme-adaptive color tokens */
  --bg-primary: light-dark(#FAFAFA, #070809);
  --bg-secondary: light-dark(#F4F4F5, #0D0F12);
  --bg-tertiary: light-dark(#ECECEF, #14171C);
  --bg-card: light-dark(#FFFFFF, #111318);
  --bg-console: light-dark(#F0F0F2, #0A0B0E);

  --border-color: light-dark(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0.07));
  --border-subtle: light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.04));
  --border-hover: light-dark(rgba(0, 0, 0, 0.14), rgba(255, 255, 255, 0.14));

  --text-primary: light-dark(#111214, #F5F5F7);
  --text-secondary: light-dark(#52525B, #9CA3AF);
  --text-tertiary: light-dark(#A1A1AA, #6B7280);

  --accent-blue: #0052FF;
  --accent-blue-muted: light-dark(rgba(0, 82, 255, 0.08), rgba(0, 82, 255, 0.12));
  --accent-blue-hover: light-dark(#0041CC, #3374FF);

  /* Data grid hero tokens */
  --grid-hero-cell: #0052FF;
  --grid-hero-bg: var(--bg-primary);
  --grid-hero-opacity-min: light-dark(0.05, 0.025);
  --grid-hero-opacity-max: light-dark(0.16, 0.11);
  --grid-hero-glow: light-dark(rgba(0, 82, 255, 0.1), rgba(0, 82, 255, 0.14));

  /* Glow box card system */
  --glow-box-bg: light-dark(
    linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 248, 250, 0.88) 100%),
    linear-gradient(160deg, rgba(14, 16, 22, 0.96) 0%, rgba(8, 9, 12, 0.98) 100%)
  );
  --glow-box-border: light-dark(rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.07));
  --glow-box-shadow: light-dark(
    0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 48px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04), 0 24px 64px rgba(0, 0, 0, 0.45)
  );
  --glow-accent: rgba(0, 82, 255, 0.42);
  --glow-accent-soft: light-dark(rgba(0, 82, 255, 0.08), rgba(0, 82, 255, 0.14));
  --glow-visual-bg: light-dark(#F0F0F2, #060708);

  --card-shadow: light-dark(
    0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03),
    0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 48px rgba(0, 0, 0, 0.4)
  );

  --gradient-hero: light-dark(
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 82, 255, 0.04), transparent),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 82, 255, 0.1), transparent)
  );

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Access / landing shared palette */
  --access-deep: #0b2fbf;
  --access-mid: #1a56ff;
  --access-sky: #5ecbff;
  --access-ice: #b8ecff;
  --access-panel: #061228;
  --gradient-text: linear-gradient(120deg, var(--access-sky) 0%, var(--access-mid) 55%, #3374ff 100%);
  --landing-mesh: radial-gradient(circle at 22% 18%, rgba(184, 236, 255, 0.45), transparent 38%),
    radial-gradient(circle at 78% 72%, rgba(0, 82, 255, 0.35), transparent 42%),
    linear-gradient(145deg, var(--access-deep) 0%, var(--access-mid) 38%, #2d8cff 68%, var(--access-ice) 100%);
  --landing-panel-bg:
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(26, 86, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(94, 203, 255, 0.06), transparent 50%),
    var(--bg-primary);
  --landing-showcase-bg:
    radial-gradient(ellipse 120% 80% at 80% 20%, rgba(26, 86, 255, 0.22), transparent 55%),
    linear-gradient(160deg, var(--access-panel) 0%, #0a1a42 42%, #0c2460 100%);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-primary: #FAFAFA;
  --bg-secondary: #F4F4F5;
  --bg-tertiary: #ECECEF;
  --bg-card: #FFFFFF;
  --bg-console: #F0F0F2;
  --border-color: rgba(0, 0, 0, 0.07);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-hover: rgba(0, 0, 0, 0.14);
  --text-primary: #111214;
  --text-secondary: #52525B;
  --text-tertiary: #A1A1AA;
  --accent-blue-muted: rgba(0, 82, 255, 0.08);
  --accent-blue-hover: #0041CC;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 82, 255, 0.05), transparent);
  --grid-hero-opacity-min: 0.05;
  --grid-hero-opacity-max: 0.16;
  --grid-hero-glow: rgba(0, 82, 255, 0.1);
  --glow-box-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 248, 250, 0.88) 100%);
  --glow-box-border: rgba(0, 0, 0, 0.06);
  --glow-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 48px rgba(0, 0, 0, 0.06);
  --glow-accent-soft: rgba(0, 82, 255, 0.08);
  --glow-visual-bg: #F0F0F2;
  --landing-mesh:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.65), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 82, 255, 0.2), transparent 45%),
    linear-gradient(145deg, #60a5fa 0%, #3b82f6 35%, #2563eb 62%, #93c5fd 100%);
  --landing-panel-bg:
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(0, 82, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(94, 203, 255, 0.12), transparent 50%),
    var(--bg-primary);
  --landing-showcase-bg:
    radial-gradient(ellipse 100% 70% at 70% 10%, rgba(94, 203, 255, 0.35), transparent 50%),
    linear-gradient(160deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #070809;
  --bg-secondary: #0D0F12;
  --bg-tertiary: #14171C;
  --bg-card: #111318;
  --bg-console: #0A0B0E;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text-primary: #F5F5F7;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;
  --accent-blue-muted: rgba(0, 82, 255, 0.12);
  --accent-blue-hover: #3374FF;
  --card-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 48px rgba(0, 0, 0, 0.4);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 82, 255, 0.12), transparent);
  --grid-hero-opacity-min: 0.025;
  --grid-hero-opacity-max: 0.11;
  --grid-hero-glow: rgba(0, 82, 255, 0.14);
  --glow-box-bg: linear-gradient(160deg, rgba(14, 16, 22, 0.96) 0%, rgba(8, 9, 12, 0.98) 100%);
  --glow-box-border: rgba(255, 255, 255, 0.07);
  --glow-box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 64px rgba(0, 0, 0, 0.45);
  --glow-accent-soft: rgba(0, 82, 255, 0.14);
  --glow-visual-bg: #060708;
  --landing-showcase-bg:
    radial-gradient(ellipse 120% 80% at 80% 20%, rgba(26, 86, 255, 0.22), transparent 55%),
    linear-gradient(160deg, var(--access-panel) 0%, #0a1a42 42%, #0c2460 100%);
}

/* ==========================================================================
   Base resets & Global elements
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

/* ==========================================================================
   Premium ambient grid background
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.grid-plane {
  display: none;
}

/* ==========================================================================
   Data grid hero background
   ========================================================================== */
@keyframes cell-pulse {
  from { opacity: var(--opacity-min, 0.03); }
  to { opacity: var(--opacity-max, 0.12); }
}

.data-grid-hero {
  position: relative;
  background: var(--grid-hero-bg);
  isolation: isolate;
}

.data-grid-hero .grid-container {
  position: absolute;
  inset: 0;
  display: grid;
  z-index: 0;
  pointer-events: none;
  --mouse-x: 50%;
  --mouse-y: 40%;
  --mouse-glow-opacity: 1;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, black 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, black 15%, transparent 78%);
}

.data-grid-hero .grid-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mouse-x) var(--mouse-y),
    var(--grid-hero-glow),
    transparent 65%
  );
  opacity: var(--mouse-glow-opacity);
  transition: opacity 0.3s ease;
}

.data-grid-hero .grid-cell {
  border-radius: 2px;
  opacity: var(--opacity-min, 0.03);
  will-change: opacity;
}

.hero-surface {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .data-grid-hero .grid-cell {
    animation: none !important;
    opacity: var(--opacity-min, 0.04) !important;
  }

  .data-grid-hero .grid-container::before {
    display: none;
  }

  .glow-box:hover {
    transform: none;
  }
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: light-dark(0.2, 0.35);
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 82, 255, 0.2), transparent 70%);
}

.glow-orb-2 {
  width: 320px;
  height: 320px;
  bottom: 15%;
  right: -80px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.08), transparent 70%);
}

.glow-orb-3 {
  display: none;
}

/* Glow box card system (reference bento / dashboard style) */
.glow-box {
  position: relative;
  overflow: hidden;
  background: var(--glow-box-bg);
  border: 1px solid var(--glow-box-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glow-box-shadow);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.glow-box::before,
.glow-box::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

.glow-box::before {
  width: min(280px, 70%);
  height: min(280px, 70%);
  top: -35%;
  right: -15%;
  background: radial-gradient(circle, var(--glow-accent), transparent 68%);
  opacity: 0.55;
  filter: blur(40px);
}

.glow-box::after {
  width: min(220px, 55%);
  height: min(220px, 55%);
  bottom: -30%;
  left: -10%;
  background: radial-gradient(circle, var(--glow-accent-soft), transparent 70%);
  opacity: 0.9;
  filter: blur(36px);
}

.glow-box:hover {
  border-color: rgba(0, 82, 255, 0.22);
  box-shadow:
    var(--glow-box-shadow),
    0 0 48px rgba(0, 82, 255, 0.08);
  transform: translateY(-3px);
}

.glow-box > * {
  position: relative;
  z-index: 1;
}

.glow-box--br::before {
  top: auto;
  right: -20%;
  bottom: -35%;
}

.glow-box--tl::before {
  top: -35%;
  right: auto;
  left: -15%;
}

.glow-box--center::before {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  opacity: 0.35;
}

.glow-visual {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 4px);
  background: var(--glow-visual-bg);
  border: 1px solid light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.05));
  margin: var(--space-sm);
  margin-bottom: 0;
  aspect-ratio: 16 / 9;
}

.glow-visual img,
.glow-visual svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glow-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

html[data-theme="light"] .glow-visual::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.06) 100%);
}

.glass-card {
  /* alias — glow-box is the primary surface */
}

.glass-card:hover {
  /* handled by .glow-box:hover */
}

.glass-btn {
  background: light-dark(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat-card,
.how-card,
.security-card,
details.faq-item,
.chain-chip,
.bullet-item,
.cta-container {
  /* glow-box applied via class in HTML */
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid light-dark(rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.08));
  background: var(--glow-visual-bg);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 82, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 82, 255, 0.12), transparent 70%);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 32px rgba(0, 82, 255, 0.06);
}

.hero-brand-frame {
  background: #030304;
}

.visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.hero-brand-frame img {
  object-position: center center;
}

/* Legacy neon — toned down */
.neon-text {
  color: var(--accent-blue);
  text-shadow: none;
}

.neon-frame,
.neon-frame-glow,
.neon-btn {
  /* deprecated aliases */
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

:root {
  --color-scrollbar-track: light-dark(#F4F4F5, #0D0F12);
  --color-scrollbar-thumb: light-dark(#D4D4D8, #27272A);
  scrollbar-color: var(--color-scrollbar-thumb) var(--color-scrollbar-track);
  scrollbar-width: thin;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: light-dark(rgba(250, 250, 250, 0.88), rgba(7, 8, 9, 0.88));
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.brand svg,
.brand .shildo-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

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

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

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.theme-toggle-btn:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.theme-toggle-btn .sun-icon {
  display: light-dark(none, block);
}

.theme-toggle-btn .moon-icon {
  display: light-dark(block, none);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.button.primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.button.primary:hover {
  background-color: light-dark(#27272A, #E4E4E7);
  transform: translateY(-1px);
}

.button.secondary {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.button.secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-sm);
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 132px var(--space-lg) var(--space-3xl);
  overflow: hidden;
}

.hero.data-grid-hero {
  padding-top: 120px;
}

.hero-wordmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: light-dark(rgba(0, 0, 0, 0.03), rgba(255, 255, 255, 0.025));
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 var(--space-xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: var(--space-md);
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid light-dark(rgba(0, 82, 255, 0.14), rgba(255, 255, 255, 0.1));
  background: light-dark(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.04));
  color: light-dark(rgba(0, 0, 0, 0.62), rgba(255, 255, 255, 0.72));
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-social-link:hover {
  color: light-dark(var(--access-mid), #fff);
  border-color: light-dark(rgba(0, 82, 255, 0.28), rgba(255, 255, 255, 0.18));
  background: light-dark(rgba(0, 82, 255, 0.06), rgba(255, 255, 255, 0.08));
  transform: translateY(-1px);
}

.hero-social-link svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.powered-by-arcium {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: var(--space-lg);
  padding: 0.35rem 0;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.powered-by-arcium:hover {
  color: var(--text-primary);
}

.powered-by-arcium-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.powered-by-arcium .arcium-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.powered-by-arcium:hover .arcium-lockup {
  opacity: 1;
}

.powered-by-arcium .arcium-logomark {
  display: block;
  height: 1.375rem;
  width: auto;
  flex-shrink: 0;
}

.powered-by-arcium .arcium-wordmark {
  display: block;
  height: 1rem;
  width: auto;
}

.powered-by-arcium .arcium-wordmark path,
.powered-by-arcium .arcium-wordmark rect {
  fill: light-dark(rgba(0, 0, 0, 0.88), rgba(255, 255, 255, 0.94));
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(0, 82, 255, 0.15);
  background: rgba(0, 82, 255, 0.05);
  color: var(--accent-blue);
}

.hero-visual {
  width: 100%;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 var(--space-lg);
  color: var(--text-primary);
  text-wrap: balance;
}

/* ==========================================================================
   Stats Band
   ========================================================================== */
.stats-band {
  padding: 0 var(--space-lg) var(--space-3xl);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* ==========================================================================
   Products bento grid
   ========================================================================== */
.products-section {
  padding: var(--space-4xl) var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.bento-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: var(--space-md);
}

.bento-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.bento-body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.bento-large {
  grid-row: span 2;
}

.bento-large .glow-visual {
  aspect-ratio: 4 / 5;
  min-height: 200px;
}

.bento-wide {
  grid-column: span 2;
}

.bento-wide .glow-visual {
  aspect-ratio: 21 / 9;
}

.bento-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--glow-accent-soft);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 82, 255, 0.15);
}

.bento-icon svg {
  width: 18px;
  height: 18px;
}

.bento-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s, gap 0.2s;
}

.bento-link::after {
  content: "→";
  color: var(--accent-blue);
  transition: transform 0.2s;
}

.bento-card:hover .bento-link {
  color: var(--accent-blue);
}

.bento-card:hover .bento-link::after {
  transform: translateX(3px);
}

.bento-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(0, 82, 255, 0.12);
  border: 1px solid rgba(0, 82, 255, 0.2);
  color: var(--accent-blue);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section headers (shared)
   ========================================================================== */
.section-header {
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-md);
  line-height: 1.15;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.how-section {
  padding: var(--space-4xl) var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.how-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--space-md), 2.5vw, var(--space-lg));
}

.how-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.how-visual {
  margin: var(--space-sm);
  margin-bottom: 0;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-xl) - 4px);
  background:
    radial-gradient(120% 90% at 50% 100%, light-dark(rgba(0, 82, 255, 0.08), rgba(26, 86, 255, 0.14)) 0%, transparent 58%),
    light-dark(#eef1f8, var(--access-panel));
  border: 1px solid light-dark(rgba(0, 82, 255, 0.1), rgba(94, 203, 255, 0.12));
  overflow: hidden;
  position: relative;
}

.how-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 72%, light-dark(rgba(255, 255, 255, 0.35), rgba(6, 18, 40, 0.45)) 100%);
}

.how-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.how-body {
  padding: clamp(var(--space-md), 2.5vw, var(--space-lg)) clamp(var(--space-md), 3vw, var(--space-xl)) clamp(var(--space-lg), 3vw, var(--space-xl));
  flex: 1;
}

.how-card::before {
  display: none;
}

.how-card:hover::before {
  display: none;
}

.how-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: var(--space-sm);
}

.how-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

.how-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Ecosystem / chains
   ========================================================================== */
.ecosystem-section {
  padding: var(--space-4xl) var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.chain-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.chain-chip {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.chain-chip-accent {
  border-color: rgba(0, 82, 255, 0.28);
  color: var(--accent-blue);
}

.chain-chip.glow-box {
  border-radius: var(--radius-md);
}

.chain-chip.glow-box::before {
  width: 100px;
  height: 100px;
  opacity: 0.35;
}

.chain-chip.glow-box::after {
  display: none;
}

.chain-chip.glow-box:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.bullet-item.glow-box {
  border-radius: var(--radius-md);
}

.bullet-item.glow-box::before {
  width: 80px;
  height: 80px;
  opacity: 0.25;
}

.bullet-item.glow-box::after {
  display: none;
}

.bullet-item.glow-box:hover {
  transform: translateY(-1px);
}

details.faq-item.glow-box {
  border-radius: var(--radius-lg);
}

details.faq-item.glow-box:hover {
  transform: none;
}

/* ==========================================================================
   Security grid
   ========================================================================== */
.security-section {
  padding: var(--space-4xl) var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.security-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.security-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.security-card::before {
  width: min(180px, 60%);
  height: min(180px, 60%);
}

.security-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--glow-accent-soft);
  border: 1px solid rgba(0, 82, 255, 0.15);
  color: var(--accent-blue);
  margin-bottom: var(--space-md);
  box-shadow: 0 0 24px rgba(0, 82, 255, 0.12);
}

.security-icon svg {
  width: 22px;
  height: 22px;
}

.security-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.02em;
}

.security-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Horizontal Ticker
   ========================================================================== */
.ticker-section {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: var(--space-2xl);
  padding: 0 var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  animation: ticker-animation 40s linear infinite;
}

@keyframes ticker-animation {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Feature Sections
   ========================================================================== */
.features-section {
  padding: var(--space-4xl) var(--space-lg);
}

.features-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-lg), 4vw, var(--space-3xl));
  align-items: center;
  padding: clamp(var(--space-md), 3vw, var(--space-xl));
  border-radius: var(--radius-xl);
  min-width: 0;
}

.feature-block .feature-copy {
  padding: var(--space-sm) 0;
  min-width: 0;
}

.feature-block.reversed {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.feature-block.reversed .feature-copy {
  order: 2;
}

.feature-copy {
  max-width: 36rem;
  width: 100%;
}

.feature-copy h2 {
  font-size: clamp(1.375rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-top: 0;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  text-wrap: balance;
}

.feature-copy p {
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 1.6vw, 1rem);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.feature-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius-xl) - 4px);
}

.feature-visual.visual-frame {
  display: block;
  height: auto;
}

.feature-visual.visual-frame img {
  height: 100%;
  aspect-ratio: auto;
}

.feature-bullets {
  display: grid;
  gap: var(--space-xs);
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px var(--space-md);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.bullet-item::before {
  width: min(120px, 50%);
  height: min(120px, 50%);
  top: -40%;
  right: -20%;
  opacity: 0.35;
}

.bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--glow-accent-soft);
  border: 1px solid rgba(0, 82, 255, 0.12);
  color: var(--accent-blue);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 82, 255, 0.1);
}

.bullet-icon svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: var(--space-4xl) var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: clamp(1.625rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

details.faq-item {
  border-radius: var(--radius-lg);
}

details.faq-item[open] {
  border-color: rgba(0, 82, 255, 0.22);
  box-shadow: 0 0 32px rgba(0, 82, 255, 0.06);
}

.cta-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
}

.cta-container::before {
  width: min(480px, 90%);
  height: min(480px, 90%);
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 82, 255, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-container .button.primary {
  background: linear-gradient(135deg, #0052FF 0%, #3374FF 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 82, 255, 0.35), 0 0 0 1px rgba(0, 82, 255, 0.2);
}

.cta-container .button.primary:hover {
  background: linear-gradient(135deg, #0041CC 0%, #0052FF 100%);
  box-shadow: 0 12px 40px rgba(0, 82, 255, 0.45);
  transform: translateY(-2px);
}

summary.faq-question {
  padding: var(--space-lg);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-primary);
  user-select: none;
  min-height: 44px;
}

summary.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-icon-marker {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

details.faq-item[open] .faq-icon-marker {
  transform: rotate(90deg);
  color: var(--accent-blue);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 0 var(--space-lg) var(--space-4xl);
}

.cta-container h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.cta-container p,
.cta-container .eyebrow,
.cta-container .button {
  position: relative;
  z-index: 1;
}

.cta-container p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto var(--space-2xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin: var(--space-md) 0 0;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin: 0 0 var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  margin: 0;
}

/* ==========================================================================
   Scroll reveals
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Landing page — access theme alignment
   ========================================================================== */
.text-accent-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .text-accent-gradient {
  background: linear-gradient(120deg, #0066ff 0%, #0046d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-page {
  background: var(--landing-panel-bg);
}

.landing-page .ambient-bg .glow-orb-1 {
  background: radial-gradient(circle, rgba(26, 86, 255, 0.28), transparent 70%);
  opacity: light-dark(0.15, 0.4);
}

.landing-page .ambient-bg .glow-orb-2 {
  background: radial-gradient(circle, rgba(94, 203, 255, 0.2), transparent 70%);
}

.landing-page .site-header {
  background: light-dark(rgba(250, 250, 250, 0.55), rgba(7, 8, 9, 0.55));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.06));
}

.landing-page .site-header.scrolled {
  background: light-dark(rgba(255, 255, 255, 0.82), rgba(7, 8, 9, 0.88));
  border-bottom-color: var(--border-color);
}

.landing-page .eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
}

.landing-page .button.primary {
  background: #fff;
  color: #070809;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  min-height: 52px;
  padding: 14px 24px;
  font-size: 0.9375rem;
}

html[data-theme="light"] .landing-page .button.primary {
  background: #070809;
  color: #fff;
  border-color: #070809;
}

.landing-page .button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(0, 82, 255, 0.22);
  background: #fff;
  color: #070809;
}

html[data-theme="light"] .landing-page .button.primary:hover {
  background: #111214;
  color: #fff;
}

.landing-page .button.secondary.glass-btn {
  background: light-dark(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  min-height: 52px;
  padding: 14px 24px;
  font-size: 0.9375rem;
}

.landing-page .button.secondary.glass-btn:hover {
  border-color: rgba(0, 82, 255, 0.35);
  background: rgba(0, 82, 255, 0.08);
}

.landing-page .glow-box {
  border-radius: clamp(20px, 2.5vw, 28px);
}

.landing-page .glow-box::before {
  background: radial-gradient(circle, rgba(94, 203, 255, 0.35), transparent 68%);
}

/* Hero split — mirrors /access */
.landing-hero {
  padding: 0;
  padding-top: 65px;
  min-height: 100vh;
  overflow: hidden;
}

.landing-hero .grid-container {
  mask-image: radial-gradient(ellipse 85% 90% at 72% 48%, black 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 72% 48%, black 18%, transparent 82%);
}

.landing-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: calc(100vh - 65px);
  position: relative;
  z-index: 1;
}

.landing-hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--space-xl), 5vw, var(--space-4xl));
  position: relative;
  background: var(--landing-panel-bg);
}

.landing-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

html[data-theme="light"] .landing-hero-panel::before {
  opacity: 0.06;
}

.landing-hero-panel .hero-content {
  position: relative;
  width: min(100%, 34rem);
}

.landing-hero-showcase {
  display: grid;
  place-items: center;
  padding: clamp(var(--space-lg), 3vw, var(--space-2xl));
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Gradient wash — slightly transparent so animated grid bleeds through */
.landing-hero-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--landing-showcase-bg);
  opacity: 0.78;
  pointer-events: none;
}

/* Line grid texture on showcase */
.landing-hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 203, 255, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

html[data-theme="light"] .landing-hero-showcase::after {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(0, 82, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 255, 0.12) 1px, transparent 1px);
}

.landing-hero-showcase .hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin: 0 auto;
}

.landing-showcase-frame {
  width: 100%;
  margin: 0 auto;
  border-radius: clamp(20px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 100px rgba(0, 20, 80, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.landing-hero-showcase .landing-showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
}

html[data-theme="light"] .landing-showcase-frame {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 32px 80px rgba(0, 82, 255, 0.18);
}

.landing-page .ticker-section {
  background: light-dark(rgba(0, 82, 255, 0.04), rgba(6, 18, 40, 0.65));
  border-top: 1px solid light-dark(rgba(0, 82, 255, 0.08), rgba(94, 203, 255, 0.08));
  border-bottom: 1px solid light-dark(rgba(0, 82, 255, 0.08), rgba(94, 203, 255, 0.08));
}

.landing-page .products-section,
.landing-page .how-section,
.landing-page .ecosystem-section {
  background: var(--landing-panel-bg);
  position: relative;
}

.landing-page .products-section::before,
.landing-page .how-section::before,
.landing-page .ecosystem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.landing-page .features-section,
.landing-page .security-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(26, 86, 255, 0.08), transparent 60%),
    var(--bg-primary);
}

.landing-page .faq-section {
  max-width: none;
  width: 100%;
  padding: var(--space-4xl) var(--space-lg);
  background: #070809;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.landing-page .faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.landing-page .faq-section h2,
.landing-page .faq-section .faq-list {
  position: relative;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.landing-page .faq-section h2 {
  color: #f5f5f7;
}

.landing-page .site-footer {
  background: #070809;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #f5f5f7;
}

.landing-page .site-footer .footer-brand p,
.landing-page .site-footer .footer-col a,
.landing-page .site-footer .footer-bottom p {
  color: #9ca3af;
}

.landing-page .site-footer .footer-col h4 {
  color: #f5f5f7;
}

.landing-page .site-footer .footer-col a:hover {
  color: var(--access-sky);
}

.landing-page .site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.landing-page .section-header h2 {
  letter-spacing: -0.035em;
}

.landing-page .bento-tag,
.landing-page .hero-badge {
  background: light-dark(rgba(0, 82, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid light-dark(rgba(0, 82, 255, 0.15), rgba(255, 255, 255, 0.1));
  color: light-dark(var(--access-mid), var(--access-sky));
}

.landing-cta-card {
  position: relative;
  overflow: hidden;
  max-width: min(100%, 900px);
  padding: clamp(var(--space-2xl), 5vw, var(--space-3xl));
  border-radius: clamp(24px, 3.5vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 100px rgba(0, 20, 80, 0.35);
  color: #fff;
}

.landing-cta-card .cta-mesh {
  position: absolute;
  inset: 0;
  background: var(--landing-mesh);
  z-index: 0;
}

.landing-cta-card .eyebrow,
.landing-cta-card h2,
.landing-cta-card p,
.landing-cta-card .button {
  position: relative;
  z-index: 1;
}

.landing-cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.landing-cta-card h2 {
  color: #fff;
}

.landing-cta-card p {
  color: rgba(255, 255, 255, 0.88);
}

.landing-cta-card .button.primary {
  background: #fff;
  color: #070809;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.landing-cta-card .button.primary:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-social {
    justify-content: center;
    width: 100%;
  }

  .powered-by-arcium {
    justify-content: center;
    width: 100%;
  }

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

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

  .how-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .how-card.glow-box:hover {
    transform: none;
  }

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

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

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

  .bento-large {
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .feature-block,
  .feature-block.reversed {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .feature-block.reversed .feature-copy {
    order: 0;
  }

  .feature-copy {
    max-width: none;
  }

  .feature-visual {
    order: 1;
    max-width: 100%;
  }
}

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

  .header-right .button {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: var(--space-md);
    right: var(--space-md);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    gap: var(--space-xs);
    box-shadow: var(--card-shadow);
  }

  .site-nav.open a {
    font-size: 1rem;
    padding: var(--space-sm) 0;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .landing-hero {
    padding-top: 65px;
    min-height: auto;
  }

  .landing-hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .landing-hero-showcase {
    order: -1;
    padding: var(--space-md);
    place-items: center;
  }

  .landing-hero-showcase .hero-visual {
    width: min(100%, 480px);
  }

  .landing-hero-panel {
    padding: var(--space-lg) var(--space-md) var(--space-2xl);
  }

  .landing-hero-panel .hero-content {
    text-align: center;
  }

  .landing-hero-panel .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-hero-panel .hero-actions {
    justify-content: center;
    flex-direction: column;
  }

  .landing-hero-panel .hero-actions .button {
    width: 100%;
  }

  .landing-hero-panel .hero-social {
    justify-content: center;
    width: 100%;
  }

  .landing-hero-panel .powered-by-arcium {
    justify-content: center;
    width: 100%;
  }

  .landing-showcase-frame {
    width: 100%;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: var(--space-2xl);
  }

  .stats-band {
    padding: 0 var(--space-md) var(--space-2xl);
  }

  .how-section,
  .ecosystem-section,
  .security-section {
    padding: var(--space-3xl) var(--space-md);
  }

  .features-section {
    padding: var(--space-3xl) var(--space-md);
  }

  .features-container {
    gap: var(--space-2xl);
  }

  .feature-block {
    padding: var(--space-md);
  }

  .feature-block.glow-box:hover {
    transform: none;
  }

  .feature-visual {
    aspect-ratio: 16 / 10;
  }

  .feature-bullets {
    gap: var(--space-sm);
  }

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

  .bento-wide {
    grid-column: span 1;
  }

  .products-section {
    padding: var(--space-3xl) var(--space-md);
  }

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

  .cta-container {
    padding: var(--space-2xl) var(--space-lg);
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

  .stat-card {
    padding: var(--space-md);
  }

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

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