/* =========================================================
   Pandasoft — styles.css
   Modern-tech art direction · deep navy + azure→cyan aurora
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #060a14;
  --bg-2: #080d1a;
  --card: rgba(255, 255, 255, 0.025);
  --card-hover: rgba(255, 255, 255, 0.045);
  --surface: #0d1424;
  --surface-2: #111a2d;

  --text: #eaf1fb;
  --muted: #9fb0c9;
  --dim: #748399;

  --primary: #4f8df7;
  --primary-2: #22d3ee;
  --violet: #8b5cf6;

  --grad: linear-gradient(135deg, #4f8df7 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, #4f8df7 0%, #8b5cf6 100%);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --ring: rgba(34, 211, 238, 0.6);
  --shadow-sm: 0 4px 16px -6px rgba(2, 6, 16, 0.6);
  --shadow-lg: 0 30px 70px -28px rgba(2, 6, 16, 0.85);
  --glow: 0 10px 40px -10px rgba(34, 211, 238, 0.45);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
ul, ol { list-style: none; padding: 0; }

::selection { background: rgba(34, 211, 238, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--surface-2);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(68px, 9vw, 124px);
  position: relative;
}
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 12%, rgba(255, 255, 255, 0.018) 88%, transparent); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  max-width: 60ch;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 8s ease infinite;
}

/* ---------- Background aurora ---------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.aurora-1 {
  width: 50vw; height: 50vw;
  max-width: 720px; max-height: 720px;
  top: -14vw; left: -10vw;
  background: radial-gradient(circle, rgba(79, 141, 247, 0.55), transparent 65%);
  animation: float1 22s ease-in-out infinite;
}
.aurora-2 {
  width: 46vw; height: 46vw;
  max-width: 640px; max-height: 640px;
  top: 8vw; right: -12vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 65%);
  animation: float2 26s ease-in-out infinite;
}
.aurora-3 {
  width: 44vw; height: 44vw;
  max-width: 620px; max-height: 620px;
  bottom: -16vw; left: 28vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 65%);
  animation: float3 30s ease-in-out infinite;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-translate: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s var(--ease);
  transform: translate(var(--btn-translate));
  white-space: nowrap;
  position: relative;
}
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: #04121f;
  box-shadow: 0 8px 24px -10px rgba(34, 211, 238, 0.5);
}
.btn-primary:hover {
  box-shadow: 0 14px 40px -10px rgba(34, 211, 238, 0.6);
  transform: translateY(-2px);
}
.btn-primary .btn-arrow { transition: transform 0.25s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand-mark { display: inline-flex; filter: drop-shadow(0 4px 12px rgba(34, 211, 238, 0.35)); }
.brand-name { color: var(--text); }
.brand-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 9px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: background 0.2s var(--ease);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle-box { position: relative; width: 20px; height: 14px; }
.nav-toggle-inner, .nav-toggle-inner::before, .nav-toggle-inner::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle-inner { top: 6px; }
.nav-toggle-inner::before { content: ""; top: -6px; }
.nav-toggle-inner::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-inner { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-inner::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-inner::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(6, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 28px clamp(24px, 6vw, 40px) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 14px 4px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(10px);
  opacity: 0;
}
.mobile-nav.open .mobile-link { animation: slideIn 0.4s var(--ease) forwards; }
.mobile-nav.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }
.mobile-nav.open .mobile-link:nth-child(6) { animation-delay: 0.3s; }
.mobile-nav .btn { margin-top: 22px; }
.mobile-mail {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}
.mobile-mail:hover { color: var(--primary-2); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(48px, 9vw, 110px));
  padding-bottom: clamp(56px, 8vw, 100px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-top: 24px;
}
.hero-sub {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  max-width: 56ch;
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-trust svg { color: var(--primary-2); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 0.92;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-orb {
  position: absolute;
  inset: 8% 8% 8% 8%;
  background: var(--grad-soft);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
  animation: pulseOrb 8s ease-in-out infinite;
}
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hv-panel {
  position: relative;
  width: min(100%, 440px);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: floatPanel 7s ease-in-out infinite;
}
.hv-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.hv-dots { display: inline-flex; gap: 6px; }
.hv-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.hv-dots i:nth-child(1) { background: #ff5f57; }
.hv-dots i:nth-child(2) { background: #febc2e; }
.hv-dots i:nth-child(3) { background: #28c840; }
.hv-tab { font-family: var(--font-display); font-size: 0.82rem; color: var(--muted); }
.hv-body { padding: 22px 20px 24px; }
.hv-code { display: flex; flex-direction: column; gap: 13px; margin-bottom: 22px; }
.cl { display: flex; gap: 10px; align-items: center; }
.cl.pad { padding-left: 22px; }
.w { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); }
.w.grad { background: var(--grad); opacity: 0.85; }
.w1 { width: 22%; } .w2 { width: 34%; } .w3 { width: 16%; } .w4 { width: 44%; }
.w5 { width: 30%; } .w6 { width: 26%; } .w7 { width: 20%; } .w8 { width: 38%; } .w9 { width: 18%; }
.hv-chart {
  height: 92px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
}
.spark-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
}
.in-view .spark-line { animation: draw 1.6s var(--ease) 0.3s forwards; }

.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-display);
  background: rgba(13, 20, 36, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.hv-chip svg { color: var(--primary-2); }
.hv-chip-1 { top: 6%; right: -2%; animation: floatChip 6s ease-in-out infinite; }
.hv-chip-2 { bottom: 16%; left: -6%; animation: floatChip 6s ease-in-out infinite 1.5s; }
.hv-chip-3 { bottom: 2%; right: 6%; animation: floatChip 6s ease-in-out infinite 3s; }

/* ---------- Marquee ---------- */
.marquee-section { padding-block: clamp(28px, 4vw, 44px); }
.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 22px;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  flex: none;
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Cards / Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  grid-auto-flow: dense;
}
.bento-lg { grid-column: span 2; }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, 0.14), transparent 60%);
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(79, 141, 247, 0.18), rgba(34, 211, 238, 0.1));
  border: 1px solid var(--border);
  margin-bottom: 20px;
  color: var(--primary-2);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); font-size: 0.97rem; }
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.card-tags li {
  font-size: 0.82rem;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.product-card {
  position: relative;
  display: block;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 141, 247, 0.16), transparent 60%);
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--card-hover); }
.product-card:hover::before { opacity: 1; }
.product-card > * { position: relative; }
.product-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 12px 0 10px;
  letter-spacing: -0.01em;
}
.product-card p { color: var(--muted); margin-bottom: 22px; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-2);
}
.product-link svg { transition: transform 0.25s var(--ease); }
.product-card:hover .product-link svg { transform: translateX(5px); }

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--card-hover); }
.why-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--primary-2);
  margin-bottom: 18px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 9px;
}
.why-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 2px;
  background: linear-gradient(90deg, var(--border-strong), var(--border));
}
.step-num {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-2);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Industries ---------- */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.industries li {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 500;
  font-size: 0.96rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.industries li:hover {
  border-color: var(--primary-2);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.contact-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
a.contact-line:hover { border-color: var(--border-strong); background: var(--card-hover); }
.contact-line-icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--primary-2);
}
.contact-line-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-bottom: 4px;
}
.contact-line-value { color: var(--text); font-weight: 500; line-height: 1.55; }
a.contact-line .contact-line-value { font-size: 1.05rem; }

.map-wrap {
  margin-top: 24px;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  filter: grayscale(0.2) contrast(1.05);
}
.map-wrap iframe { width: 100%; height: 100%; }

/* Form */
.contact-form-wrap {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.req { color: var(--primary-2); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  background: rgba(6, 10, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
  background: rgba(6, 10, 20, 0.85);
}
.select-wrap { position: relative; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}
.field select option { background: var(--surface-2); color: var(--text); }
.select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(4, 18, 31, 0.35);
  border-top-color: #04121f;
  border-radius: 50%;
  display: none;
}
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn-label { opacity: 0.7; }
.btn.is-loading .btn-spinner { display: inline-block; animation: spin 0.7s linear infinite; }
.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #fb7185; }
.form-fineprint { margin-top: 16px; font-size: 0.82rem; color: var(--dim); }
.form-fineprint a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form-fineprint a:hover { color: var(--primary-2); }

/* ---------- CTA band ---------- */
.cta-band { padding-bottom: clamp(68px, 9vw, 120px); }
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(79, 141, 247, 0.14), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 80%) var(--my, 0%), rgba(34, 211, 238, 0.12), transparent 55%);
  pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
}
.cta-inner p { color: var(--muted); margin-top: 8px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-blurb { color: var(--muted); margin-top: 16px; font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  padding: 6px 0;
  font-size: 0.96rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  width: fit-content;
}
.footer-col a:hover { color: var(--primary-2); transform: translateX(3px); }
.footer-address { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 0.9rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 80;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: #04121f;
  border: none;
  box-shadow: var(--glow);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Reveal animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-animate].in-view { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.1); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.12); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
@keyframes pulseOrb {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(1.06); }
}
@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes slideIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; order: 2; width: 100%; }
  .hero-copy { order: 1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 28px 64px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { position: absolute; left: 0; top: 0; margin-bottom: 0; }
  .step:not(:last-child)::after {
    top: 50px; bottom: 0;
    left: 25px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--border-strong), var(--border));
  }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .products { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header-cta { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; }
  .hv-chip-1 { right: 0; }
  .hv-chip-2 { left: 0; }
  .to-top { bottom: 18px; right: 18px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 32px); }
  .hero-cta .btn { width: 100%; }
  .hv-chip { font-size: 0.78rem; padding: 7px 11px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; transform: none; flex-wrap: wrap; justify-content: center; }
  .spark-line { stroke-dashoffset: 0; }
}

/* ---------- Legal / simple pages ---------- */
.simple-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.simple-header .header-inner { width: min(var(--container), calc(100% - 48px)); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.back-link:hover { color: var(--primary-2); }

.legal {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 100px);
}
.legal-inner { max-width: 780px; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}
.legal .updated { color: var(--dim); margin-top: 12px; font-size: 0.92rem; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 38px 0 12px;
}
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--primary-2); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text); }

.error-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--header-h) 0 60px;
}
.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5.5rem, 20vw, 12rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.error-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 8px 0 14px;
}
.error-page p:not(.error-code) { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
