/* ============================================================
   Nextcore Technology Inc. — Marketing Site
   Production CSS · Light theme · Per-product accents
   ============================================================ */

:root {
  /* Brand */
  --brand-1: #4f46e5;          /* indigo */
  --brand-2: #06b6d4;          /* cyan */
  --brand-grad: linear-gradient(135deg, #4f46e5 0%, #6366f1 35%, #06b6d4 100%);

  /* Neutrals */
  --ink-900: #0b1020;
  --ink-800: #111634;
  --ink-700: #1f2547;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --ink-200: #cbd5e1;
  --ink-100: #e2e8f0;
  --ink-50:  #f1f5f9;
  --ink-25:  #f8fafc;
  --paper:   #ffffff;

  /* Surfaces / lines */
  --bg:        #ffffff;
  --bg-alt:    #f8fafc;
  --bg-soft:   #f4f6fb;
  --line:      #e6e9f2;
  --line-soft: #eef0f7;

  /* Per-product accents */
  --c-blue:    #2563eb;
  --c-blue-bg: #eff5ff;
  --c-emerald: #059669;
  --c-emerald-bg: #ecfdf5;
  --c-amber:   #d97706;
  --c-amber-bg: #fff7ed;
  --c-violet:  #7c3aed;
  --c-violet-bg: #f5f3ff;

  /* Type & layout */
  --fs-base: 16px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.04);
  --shadow:    0 6px 20px -8px rgba(15,23,42,.18), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 24px 60px -20px rgba(15,23,42,.25), 0 8px 20px rgba(15,23,42,.08);

  --t-fast: 160ms cubic-bezier(.4,0,.2,1);
  --t-med:  260ms cubic-bezier(.4,0,.2,1);
  --t-slow: 480ms cubic-bezier(.16,.84,.44,1);
}

/* ============================================================
   Dark theme overrides
   Activated by [data-theme="dark"] on <html>
   ============================================================ */
:root[data-theme="dark"] {
  --bg:        #0a0f24;
  --bg-alt:    #0e1430;
  --bg-soft:   #131a40;
  --paper:     #131a3b;
  --line:      #1f2547;
  --line-soft: #18204a;

  --ink-900: #f1f5f9;
  --ink-800: #e5ebf6;
  --ink-700: #cbd5e1;
  --ink-600: #a3aec5;
  --ink-500: #94a3b8;
  --ink-400: #7a8aa6;
  --ink-300: #475569;
  --ink-200: #334155;
  --ink-100: #1f2547;
  --ink-50:  #16203f;
  --ink-25:  #111733;

  --c-blue-bg:    rgba(96, 165, 250, 0.14);
  --c-emerald-bg: rgba(52, 211, 153, 0.14);
  --c-amber-bg:   rgba(251, 191, 36, 0.14);
  --c-violet-bg:  rgba(167, 139, 250, 0.16);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow:    0 6px 20px -8px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.85);

  color-scheme: dark;
}
:root { color-scheme: light; }

/* ---- Component overrides for dark mode ---- */

/* Header */
[data-theme="dark"] .site-header {
  background: rgba(10, 15, 36, 0.78);
}
[data-theme="dark"] .site-header.scrolled {
  background: rgba(10, 15, 36, 0.92);
  border-bottom-color: var(--line);
}
[data-theme="dark"] .primary-nav .nav-link:hover { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .hamburger { border-color: var(--line); }
[data-theme="dark"] .hamburger span { background: var(--ink-700); }

/* Brand mark — chevron and text colors */
[data-theme="dark"] .brand path[fill="#0B2154"] { fill: #7BA0FF; }
[data-theme="dark"] .brand-name,
[data-theme="dark"] .brand-sub { color: #ffffff; }
[data-theme="dark"] .brand-sub { opacity: 0.75; }

/* Mega menu */
[data-theme="dark"] .mega-menu {
  background: var(--paper);
  border-color: var(--line);
}
[data-theme="dark"] .mega-item:hover { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .mega-title { color: var(--ink-900); }

/* Mobile nav */
[data-theme="dark"] .mobile-nav {
  background: var(--bg);
  border-top-color: var(--line);
}
[data-theme="dark"] .mobile-nav a,
[data-theme="dark"] .mobile-nav summary { border-bottom-color: var(--line-soft); }

/* Buttons */
[data-theme="dark"] .btn-secondary {
  background: var(--paper);
  color: var(--ink-900);
  border-color: var(--line);
}
[data-theme="dark"] .btn-secondary:hover { border-color: var(--ink-300); }
[data-theme="dark"] .btn-ghost { color: var(--ink-700); }
[data-theme="dark"] .btn-ghost:hover { color: var(--ink-900); }

/* Hero grid lines (subtle white instead of black) */
[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
}

/* Eyebrow on light surfaces */
[data-theme="dark"] .eyebrow {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--ink-600);
}
[data-theme="dark"] .eyebrow-light {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.25);
  color: #a5b4fc;
}

/* Hero chips */
[data-theme="dark"] .hp-chip {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink-700);
}
[data-theme="dark"] .hp-chip:hover { border-color: var(--ink-300); }

/* Trust strip */
[data-theme="dark"] .trust { background: var(--bg-alt); border-color: var(--line); }

/* Cards (products / industries / integration / timeline / FAQ / security list / badges) */
[data-theme="dark"] .product-card,
[data-theme="dark"] .int-feature,
[data-theme="dark"] .ind-card,
[data-theme="dark"] .tl-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .security-list li,
[data-theme="dark"] .badge,
[data-theme="dark"] .cta-card {
  background: var(--paper);
  border-color: var(--line);
}
[data-theme="dark"] .product-card:hover,
[data-theme="dark"] .int-feature:hover,
[data-theme="dark"] .ind-card:hover,
[data-theme="dark"] .badge:hover { border-color: var(--ink-300); }

[data-theme="dark"] .pc-meta { border-top-color: var(--line); }

/* Coming-soon card */
[data-theme="dark"] .pc-soon {
  background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, rgba(6,182,212,0.05) 100%);
  border-color: rgba(99,102,241,0.35);
}

/* Industry tags */
[data-theme="dark"] .ind-tags span {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: var(--ink-600);
}

/* Industry & integration icons */
[data-theme="dark"] .ind-icon {
  background: rgba(255,255,255,0.05);
  color: var(--ink-700);
}
[data-theme="dark"] .int-icon {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(34,211,238,0.18));
  color: #a5b4fc;
}

/* Integration / Security / FAQ section bg (was --bg-alt light) */
[data-theme="dark"] .integration,
[data-theme="dark"] .security,
[data-theme="dark"] .faq,
[data-theme="dark"] .cta { background: var(--bg-alt); }

/* Timeline track */
[data-theme="dark"] .timeline::before {
  background: linear-gradient(90deg, var(--c-emerald) 0%, var(--brand-1) 33%, var(--brand-2) 66%, var(--ink-300) 100%);
}
[data-theme="dark"] .tl-dot { background: var(--paper); }

/* FAQ accordion */
[data-theme="dark"] .faq-item summary h3 { color: var(--ink-900); }
[data-theme="dark"] .faq-icon {
  background: rgba(255,255,255,0.05);
  color: var(--ink-600);
}
[data-theme="dark"] .faq-item[open] {
  border-color: rgba(165,180,252,0.35);
  box-shadow: 0 4px 16px -8px rgba(99,102,241,0.35);
}
[data-theme="dark"] .faq-item[open] .faq-icon {
  background: rgba(99,102,241,0.18);
  color: #a5b4fc;
}

/* Security checkmark */
[data-theme="dark"] .security-list li svg {
  background: rgba(52,211,153,0.15);
  color: #34d399;
}
[data-theme="dark"] .security-list li strong { color: var(--ink-900); }

/* Form fields */
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink-900);
}
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder { color: var(--ink-400); }
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field select:focus,
[data-theme="dark"] .field textarea:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(129,140,248,0.18);
}

/* Mobile-nav overrides on dark */
[data-theme="dark"] .mobile-nav a,
[data-theme="dark"] .mobile-nav details summary { color: var(--ink-700); }
[data-theme="dark"] .mobile-nav details ul li a { color: var(--ink-500); }

/* Ensure sun/moon icons swap correctly */
[data-theme="dark"] .theme-toggle .icon-sun { display: inline-block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ============================================================
   End dark theme overrides
   ============================================================ */

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; color: var(--ink-500); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 { margin-top: .25rem; }
.section-lead {
  font-size: 1.075rem;
  color: var(--ink-500);
  margin-top: .5rem;
}
.section-lead.on-dark { color: rgba(255,255,255,.72); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: #fff; padding: .75rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; z-index: 1000; }

/* ============ Eyebrows ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-500); text-transform: none;
  background: var(--ink-50);
  border: 1px solid var(--line);
  padding: .375rem .75rem;
  border-radius: 999px;
}
.eyebrow-light {
  background: rgba(79,70,229,.06);
  border-color: rgba(79,70,229,.15);
  color: var(--brand-1);
}
.eyebrow-on-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: .9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-med), color var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  white-space: nowrap;
}
.btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  box-shadow: 0 8px 24px -10px rgba(79,70,229,.55), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(79,70,229,.65), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-secondary {
  color: var(--ink-900);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--ink-200); box-shadow: var(--shadow); }
.btn-ghost {
  color: var(--ink-700);
  background: transparent;
}
.btn-ghost:hover { color: var(--ink-900); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med), box-shadow var(--t-med);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink-900); }
.brand-mark {
  display: inline-flex;
  flex: none;
}
.brand-mark svg { display: block; }
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #0B2154;
}
.brand-sub {
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .26em;
  color: #0B2154;
  opacity: .85;
}
.brand-on-dark .brand-name,
.brand-on-dark .brand-sub { color: #ffffff; }
.brand-on-dark .brand-sub { opacity: .7; }

.primary-nav { flex: 1; }
.primary-nav > ul {
  display: flex; align-items: center; justify-content: center; gap: .25rem;
}
.primary-nav .nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem .85rem; border-radius: 999px;
  background: transparent; border: 0;
  color: var(--ink-600); font-weight: 500; font-size: .9375rem;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}
.primary-nav .nav-link:hover { color: var(--ink-900); background: var(--ink-50); }
.has-menu { position: relative; }
.has-menu .caret { transition: transform var(--t-fast); opacity: .6; }
.has-menu.open .caret { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 520px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: .65rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med);
}
.has-menu.open .mega-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .8rem .9rem; border-radius: var(--radius);
  transition: background var(--t-fast);
}
.mega-item:hover { background: var(--ink-25); }
.mega-icon {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.mi-blue    { background: var(--c-blue-bg);    color: var(--c-blue); }
.mi-emerald { background: var(--c-emerald-bg); color: var(--c-emerald); }
.mi-amber   { background: var(--c-amber-bg);   color: var(--c-amber); }
.mi-violet  { background: var(--c-violet-bg);  color: var(--c-violet); }
.mega-title { font-weight: 600; color: var(--ink-900); font-size: .95rem; }
.mega-desc  { font-size: .8125rem; color: var(--ink-500); }

.header-actions { display: inline-flex; align-items: center; gap: .5rem; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-700);
  cursor: pointer;
  position: relative;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.theme-toggle:hover {
  background: var(--ink-50);
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.theme-toggle:active { transform: scale(0.95); }
.theme-toggle svg { transition: opacity var(--t-fast), transform var(--t-med); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: inline-block; }

.theme-toggle-mobile {
  width: 100%;
  height: 44px;
  margin-top: .5rem;
  gap: .5rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: .9375rem;
}
.theme-toggle-label { font-size: .9375rem; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.hamburger span {
  width: 18px; height: 2px; background: var(--ink-700); border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
}
.mobile-nav nav {
  padding: 1rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.mobile-nav a, .mobile-nav summary {
  display: block;
  padding: .85rem .25rem;
  font-weight: 500; color: var(--ink-700);
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.mobile-nav details ul { padding-left: 1rem; }
.mobile-nav details ul li a { font-weight: 400; color: var(--ink-500); }
.mobile-actions { display: flex; gap: .5rem; padding-top: 1rem; }
.mobile-actions .btn { flex: 1; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 80%);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55;
}
.hero-glow.hg-1 {
  width: 560px; height: 560px;
  left: -120px; top: -180px;
  background: radial-gradient(circle, rgba(79,70,229,.45), transparent 60%);
}
.hero-glow.hg-2 {
  width: 520px; height: 520px;
  right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(6,182,212,.4), transparent 60%);
}

.hero-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.hero-title {
  margin: 1.25rem auto .9rem;
  max-width: 18ch;
}
.hero-sub {
  max-width: 720px; margin: 0 auto 2rem;
  font-size: 1.125rem; color: var(--ink-500);
}
.hero-cta {
  display: inline-flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-products {
  display: inline-flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  align-items: center;
}
.hp-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .8125rem; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.hp-chip:hover { transform: translateY(-1px); border-color: var(--ink-200); }
.hp-chip span {
  width: 8px; height: 8px; border-radius: 50%;
}
.hp-chip[data-tag="qd"] span { background: var(--c-blue); }
.hp-chip[data-tag="gr"] span { background: var(--c-emerald); }
.hp-chip[data-tag="np"] span { background: var(--c-amber); }
.hp-chip[data-tag="ne"] span { background: var(--c-violet); }
.hp-soon {
  font-size: .8125rem; color: var(--ink-400); font-style: italic;
  padding-left: .25rem;
}

/* ============ Trust strip ============ */
.trust { padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-25); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item { text-align: center; }
.trust-num {
  font-size: 1.5rem; font-weight: 700; color: var(--ink-900); letter-spacing: -0.02em;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-label { font-size: .8125rem; color: var(--ink-500); font-weight: 500; }

/* ============ Products ============ */
.product-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 0% 0%, var(--accent-bg, transparent) 0%, transparent 55%);
  opacity: .9;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--ink-200));
  box-shadow: var(--shadow-lg);
}
.pc-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.pc-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--accent);
}
.pc-tag {
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent);
  background: var(--accent-bg);
  padding: .3rem .6rem; border-radius: 999px;
}
.pc-title { font-size: 1.5rem; font-weight: 700; margin-bottom: .15rem; position: relative; z-index: 1; }
.pc-tag-line { font-weight: 600; color: var(--ink-700); margin-bottom: .75rem; position: relative; z-index: 1; }
.pc-desc { color: var(--ink-500); margin-bottom: 1.25rem; position: relative; z-index: 1; }
.pc-features {
  display: flex; flex-direction: column; gap: .45rem;
  margin-bottom: 1.5rem;
  flex: 1;
  position: relative; z-index: 1;
}
.pc-features li {
  position: relative; padding-left: 1.4rem;
  font-size: .9375rem; color: var(--ink-700);
}
.pc-features li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1.5px solid var(--accent);
}
.pc-features li::after {
  content: "";
  position: absolute; left: 4px; top: .85em;
  width: 6px; height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pc-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px dashed var(--line);
  position: relative; z-index: 1;
}
.pc-price { font-size: .875rem; color: var(--ink-500); }
.pc-price strong { color: var(--ink-900); font-weight: 700; }
.pc-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; font-size: .9375rem;
  color: var(--accent);
  transition: gap var(--t-fast);
}
.pc-link:hover { gap: .55rem; }

/* tags group + worldwide treatment */
.pc-tags-group {
  display: inline-flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  justify-content: flex-end;
}
.pc-tag-global {
  display: inline-flex; align-items: center; gap: .35rem;
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.14)) !important;
  color: var(--brand-1) !important;
  border: 1px solid rgba(79,70,229,0.25);
}
[data-theme="dark"] .pc-tag-global {
  background: linear-gradient(135deg, rgba(129,140,248,0.18), rgba(34,211,238,0.18)) !important;
  color: #a5b4fc !important;
  border-color: rgba(129,140,248,0.3);
}

/* "BIR accreditation in progress" / pending tag */
.pc-tag-pending {
  display: inline-flex; align-items: center; gap: .35rem;
  background: linear-gradient(135deg, rgba(217,119,6,0.10), rgba(245,158,11,0.14)) !important;
  color: #b45309 !important;
  border: 1px solid rgba(217,119,6,0.28);
}
[data-theme="dark"] .pc-tag-pending {
  background: linear-gradient(135deg, rgba(251,191,36,0.14), rgba(245,158,11,0.18)) !important;
  color: #fbbf24 !important;
  border-color: rgba(251,191,36,0.3);
}

/* available regions row */
.pc-regions {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  padding: .85rem 0 .25rem;
  position: relative; z-index: 1;
}
.pc-regions-label {
  font-size: .75rem; font-weight: 600;
  color: var(--ink-400);
  text-transform: uppercase; letter-spacing: .06em;
  margin-right: .15rem;
}
.pc-region {
  font-size: .75rem; font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--ink-50);
  color: var(--ink-700);
  border: 1px solid var(--line);
}
[data-theme="dark"] .pc-region {
  background: rgba(255,255,255,0.04);
  color: var(--ink-600);
  border-color: var(--line);
}

/* subtle global indicator on the card */
.pc-global { position: relative; }
.pc-global::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-1), var(--brand-2), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.6;
  pointer-events: none;
}

/* per-product accents */
.pc-blue    { --accent: var(--c-blue);    --accent-bg: var(--c-blue-bg); }
.pc-emerald { --accent: var(--c-emerald); --accent-bg: var(--c-emerald-bg); }
.pc-amber   { --accent: var(--c-amber);   --accent-bg: var(--c-amber-bg); }
.pc-violet  { --accent: var(--c-violet);  --accent-bg: var(--c-violet-bg); }

/* coming soon card */
.pc-soon {
  background: linear-gradient(135deg, #fafbff 0%, #f0f3ff 100%);
  border: 1.5px dashed #c7cdf2;
}
.pc-soon-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; height: 100%;
}
.pc-soon-pulse {
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.5), rgba(79,70,229,0));
  margin-bottom: 1rem;
  position: relative;
}
.pc-soon-pulse::after {
  content: ""; position: absolute; inset: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: .65; }
}
.pc-soon .pc-link { color: var(--brand-1); }

/* ============ Integration ============ */
.integration { background: var(--bg-alt); }
.integration-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.int-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.int-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink-200); }
.int-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(6,182,212,.12));
  color: var(--brand-1);
  margin-bottom: 1rem;
}
.int-feature h3 { font-size: 1.0625rem; }
.int-feature p { margin: 0; font-size: .9375rem; }

/* ============ Why (dark section) ============ */
.section-dark {
  background: linear-gradient(180deg, #0b1020 0%, #0d1330 100%);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(79,70,229,.25), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(6,182,212,.18), transparent 60%);
  pointer-events: none;
}
.section-dark .section-head h2,
.section-dark .section-head h3 { color: #fff; }
.why-grid {
  position: relative; z-index: 1;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(6px);
  transition: transform var(--t-med), background var(--t-med), border-color var(--t-med);
}
.why-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.why-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .8125rem; font-weight: 500;
  color: rgba(255,255,255,.55);
  margin-bottom: .9rem;
}
.why-card h3 { color: #fff; font-size: 1.125rem; margin-bottom: .35rem; }
.why-card p { color: rgba(255,255,255,.65); font-size: .9375rem; margin: 0; }

/* ============ Industries ============ */
.industry-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
}
.ind-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink-200); }
.ind-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink-50);
  color: var(--ink-700);
  margin-bottom: 1rem;
}
.ind-card h4 { font-size: 1.0625rem; margin-bottom: .35rem; }
.ind-card p  { font-size: .9375rem; margin-bottom: 1rem; }
.ind-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ind-tags span {
  font-size: .75rem; font-weight: 600;
  padding: .25rem .55rem; border-radius: 999px;
  background: var(--ink-50); color: var(--ink-600);
  border: 1px solid var(--line);
}

/* ============ Security ============ */
.security { background: var(--bg-alt); }
.security-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.security-copy h2 { margin-top: .25rem; }
.security-copy p { font-size: 1.0625rem; }
.security-list { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.5rem; }
.security-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.security-list li svg {
  flex: none;
  color: var(--c-emerald);
  background: var(--c-emerald-bg);
  border-radius: 50%; padding: 4px;
  margin-top: 2px;
}
.security-list li strong { color: var(--ink-900); display: block; margin-bottom: .15rem; }
.security-list li div { font-size: .9375rem; color: var(--ink-500); }

.security-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.badge {
  position: relative;
  padding: 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med);
}
.badge:hover { transform: translateY(-2px); border-color: var(--ink-200); }
.badge strong {
  display: block; font-size: 1.125rem; color: var(--ink-900); margin-bottom: .15rem; letter-spacing: -0.01em;
}
.badge em {
  font-style: normal; font-size: .8125rem; color: var(--ink-500);
}
.badge-glow {
  position: absolute; top: -40px; right: -40px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.18), transparent 70%);
}

/* ============ Roadmap ============ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  list-style: none; padding: 0; margin: 0;
}
.timeline::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 11px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-emerald) 0%, var(--brand-1) 33%, var(--brand-2) 66%, var(--ink-200) 100%);
  border-radius: 2px;
}
.tl-item { position: relative; padding-top: 2.25rem; }
.tl-dot {
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink-300);
  display: inline-flex; align-items: center; justify-content: center;
}
.tl-dot::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-300);
}
.shipped  .tl-dot { border-color: var(--c-emerald); }
.shipped  .tl-dot::after { background: var(--c-emerald); }
.progress .tl-dot { border-color: var(--brand-1); }
.progress .tl-dot::after { background: var(--brand-1); animation: pulse 2.2s infinite; }
.planned  .tl-dot { border-color: var(--brand-2); }
.planned  .tl-dot::after { background: var(--brand-2); }
.future   .tl-dot { border-color: var(--ink-300); }

.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.tl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tl-status {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.shipped  .tl-status { color: var(--c-emerald); }
.progress .tl-status { color: var(--brand-1); }
.planned  .tl-status { color: var(--brand-2); }
.future   .tl-status { color: var(--ink-400); }
.tl-card h4 { font-size: 1rem; margin-bottom: .35rem; }
.tl-card p { font-size: .9375rem; margin: 0; }

/* ============ FAQ ============ */
.faq { background: var(--bg-alt); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: .65rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item[open] {
  border-color: rgba(79,70,229,.25);
  box-shadow: 0 4px 16px -8px rgba(79,70,229,.18);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0;
  font-size: 1rem; font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
}
.faq-icon {
  flex: none;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink-50);
  color: var(--ink-700);
  transition: transform var(--t-med), background var(--t-fast), color var(--t-fast);
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: rgba(79,70,229,.1);
  color: var(--brand-1);
}
.faq-answer {
  padding: 0 1.25rem 1.2rem;
}
.faq-answer p {
  margin: 0;
  color: var(--ink-500);
  font-size: .9375rem;
}

/* ============ About (gradient section) ============ */
.section-grad {
  background:
    radial-gradient(1000px 500px at 80% 20%, rgba(79,70,229,.18), transparent 60%),
    radial-gradient(900px 600px at 10% 80%, rgba(6,182,212,.14), transparent 60%),
    linear-gradient(180deg, #0b1020 0%, #131a45 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-grad h2 { color: #fff; }
.section-grad p { color: rgba(255,255,255,.78); font-size: 1.0625rem; }
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.as-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: left;
}
.as-card:nth-child(1) { grid-column: span 2; }
.as-num {
  font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, #c7d2fe);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: .35rem;
}
.as-label { color: rgba(255,255,255,.7); font-size: .9375rem; }

/* ============ CTA / contact ============ */
.cta { background: var(--bg-alt); }
.cta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.18), transparent 60%);
  pointer-events: none;
}
.cta-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.cta-bullets { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .55rem; }
.cta-bullets li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; color: var(--ink-700); }
.cta-bullets li svg { color: var(--c-emerald); flex: none; }

/* form */
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .8125rem; font-weight: 600; color: var(--ink-700);
}
.field input, .field select, .field textarea {
  font: inherit;
  padding: .7rem .85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,.1);
}
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: .8125rem; color: var(--ink-400); }
.form-success {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: .85rem;
  background: var(--c-emerald-bg); border: 1px solid #a7f3d0;
  color: #065f46; border-radius: 12px; padding: 1rem 1.1rem;
}
.form-success strong { display: block; }
.form-success span { font-size: .9375rem; }

/* ============ Footer ============ */
.site-footer {
  background: #0b1020;
  color: rgba(255,255,255,.7);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-tagline { color: rgba(255,255,255,.55); margin-top: 1rem; max-width: 320px; font-size: .9375rem; }
.footer-col h5 {
  color: #fff;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a {
  color: rgba(255,255,255,.65);
  font-size: .9375rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8125rem; color: rgba(255,255,255,.45);
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(.16,.84,.44,1), transform 600ms cubic-bezier(.16,.84,.44,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .security-inner { grid-template-columns: 1fr; gap: 2rem; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav, .header-actions { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-nav.open { display: block; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: .5rem; align-items: flex-start; }
  .as-card:nth-child(1) { grid-column: span 1; }
  .about-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding-top: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
