/* ============================================================
   AlphaGrowth Technologies — Dark / Blue design system
   ============================================================ */

:root {
  --bg:          #04070f;
  --bg-2:        #060c1d;
  --panel:       rgba(13, 24, 51, 0.55);
  --panel-solid: #0a1226;
  --line:        rgba(99, 140, 255, 0.14);
  --line-strong: rgba(99, 140, 255, 0.3);
  --blue:        #2e6bff;
  --blue-soft:   #3b82f6;
  --cyan:        #38bdf8;
  --text:        #e7edfb;
  --muted:       #93a4c7;
  --kicker:      #6ea1ff;
  --danger:      #ff7d90;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius:       16px;
  --shadow-glow:  0 10px 34px rgba(46, 107, 255, 0.35);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img, svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

::selection { background: rgba(46, 107, 255, 0.45); color: #fff; }

/* Fixed subtle grid backdrop */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 140, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 140, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}
.container-narrow { width: min(840px, 92%); }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.08rem; font-weight: 600; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kicker);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  flex: 0 0 auto;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 620px;
}

.section-sub { color: var(--muted); max-width: 640px; margin-top: 12px; }

.grad-a {
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.grad-b {
  background: linear-gradient(100deg, var(--cyan) 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ------------------------------------------------------------
   Buttons & chips
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 120%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(46, 107, 255, 0.5); }

.btn-ghost {
  border-color: rgba(147, 164, 199, 0.35);
  color: var(--text);
  background: rgba(10, 18, 38, 0.4);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(56, 189, 248, 0.08); transform: translateY(-2px); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(10, 18, 38, 0.5);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chip-sm { padding: 3px 10px; font-size: 0.72rem; }
.chip-lg { padding: 11px 20px; font-size: 0.92rem; }
a.chip:hover { border-color: var(--cyan); color: var(--text); transform: translateY(-2px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.code-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

/* ------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(4, 7, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-footer .brand-mark { width: 32px; height: 32px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.brand-name em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:not(.btn):hover { color: var(--text); }
.main-nav a:not(.btn).active { color: var(--text); }
.main-nav a:not(.btn).active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 70; }
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}

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

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 46% at 18% 24%, rgba(46, 107, 255, 0.17), transparent 62%),
    radial-gradient(ellipse 44% 38% at 84% 40%, rgba(56, 189, 248, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(4, 7, 15, 0.48) 0%, rgba(4, 7, 15, 0.05) 34%, rgba(4, 7, 15, 0.62) 78%, var(--bg) 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-kicker { margin-bottom: 22px; }

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 900px;
  text-shadow: 0 4px 40px rgba(4, 7, 15, 0.6);
}

.hero-lead { margin-top: 24px; }

.hero-cta { margin-top: 36px; }

.hero-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  max-width: 860px;
}
.flow-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 15, 33, 0.72);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.flow-pill:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}
.flow-arrow { color: rgba(110, 161, 255, 0.6); flex: 0 0 auto; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 5vw, 64px);
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  background: linear-gradient(120deg, #fff 10%, var(--cyan) 130%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.85rem; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(147, 164, 199, 0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.8;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.scroll-hint:hover { border-color: var(--cyan); opacity: 1; }
.scroll-hint-wheel {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--cyan);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0%   { transform: translateY(0);    opacity: 1; }
  60%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: clamp(72px, 9vw, 118px) 0; position: relative; }
.section-alt {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(46, 107, 255, 0.06), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .kicker { margin-bottom: 14px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.product-card, .why-card, .info-card, .cap-card, .channel-card, .service-card, .about-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px 24px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.product-card::before, .why-card::before, .info-card::before, .cap-card::before,
.channel-card::before, .service-card::before, .about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.product-card:hover::before, .why-card:hover::before, .info-card:hover::before,
.cap-card:hover::before, .channel-card:hover::before, .service-card:hover::before,
.about-card:hover::before { opacity: 1; }

.product-card:hover, .channel-card:hover, .service-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(2, 8, 26, 0.55);
}

.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-code {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 7px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(46, 107, 255, 0.22), rgba(56, 189, 248, 0.16));
  border: 1px solid var(--line-strong);
  color: var(--cyan);
}
.product-card h3 { font-size: 1.2rem; }
.product-cat { color: var(--muted); font-size: 0.88rem; margin-top: -6px; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 0.2s ease;
}
.product-card:hover .product-link { gap: 12px; }

.why-card { padding-top: 30px; }
.why-dot {
  position: absolute;
  top: 0; left: 24px;
  width: 42px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.88rem; }

.info-card h3 { margin: 10px 0 8px; }
.info-card p { color: var(--muted); font-size: 0.9rem; }
.info-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--kicker);
  opacity: 0.85;
}

.cap-card h3 { margin: 14px 0 8px; }
.cap-card p { color: var(--muted); font-size: 0.9rem; }
.cap-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--line-strong);
}

.channel-card { text-align: center; padding: 34px 22px; }
.channel-card h3 { margin-bottom: 6px; }
.channel-card p { color: var(--muted); font-size: 0.9rem; }

/* ------------------------------------------------------------
   Enterprise panel & demo panel
   ------------------------------------------------------------ */
.enterprise-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.enterprise-copy h2 { margin: 14px 0 4px; }
.enterprise-copy .btn { margin-top: 24px; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 12px; }

.demo-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(38px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(46, 107, 255, 0.16), transparent 65%),
    var(--panel-solid);
  overflow: hidden;
}
.demo-panel .kicker { justify-content: center; margin-bottom: 14px; }
.demo-panel h2 { max-width: 700px; margin: 0 auto; }
.demo-panel .section-sub { margin: 14px auto 0; }
.demo-panel .btn { margin-top: 30px; }

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  padding: 10px 0 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 34s linear infinite;
  padding-right: 16px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(110, 161, 255, 0.55);
  padding: 6px 18px;
  transition: color 0.3s ease;
}
.marquee-item:hover { color: var(--cyan); -webkit-text-stroke-color: transparent; }
.marquee-item-tech {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
  -webkit-text-stroke: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 26px;
  background: rgba(10, 18, 38, 0.5);
}
.marquee-item-tech:hover { color: var(--text); border-color: var(--cyan); }

/* ------------------------------------------------------------
   Process
   ------------------------------------------------------------ */
.process-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 22px 16px 6px;
  border-top: 1px solid var(--line);
}
.process-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 46px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.process-no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  background: linear-gradient(150deg, rgba(110, 161, 255, 0.9), rgba(56, 189, 248, 0.35));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.process-step h3 { margin: 8px 0 6px; font-size: 1rem; }
.process-step p { color: var(--muted); font-size: 0.84rem; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: 0 0 auto; color: var(--cyan); transition: transform 0.3s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 0.93rem; }

/* ------------------------------------------------------------
   CTA band + footer
   ------------------------------------------------------------ */
.cta-band { padding: clamp(60px, 8vw, 96px) 0; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: clamp(34px, 5vw, 56px);
  background:
    radial-gradient(ellipse 60% 120% at 12% 0%, rgba(46, 107, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 100% at 95% 100%, rgba(56, 189, 248, 0.12), transparent 60%),
    var(--panel-solid);
}
.cta-band-copy h2 { margin-bottom: 10px; }
.cta-band-copy p { color: var(--muted); max-width: 520px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 34px;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 29, 0.9));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 16px; max-width: 320px; }
.footer-offices { font-size: 0.82rem !important; opacity: 0.85; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--kicker);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 26px;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-note { opacity: 0.7; }

/* ------------------------------------------------------------
   Inner page hero (products, services, about, contact...)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding: 170px 0 70px;
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 20% 0%, rgba(46, 107, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 20%, rgba(56, 189, 248, 0.08), transparent 65%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin: 18px 0;
}
.page-hero .lead { max-width: 700px; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero .chip-row { margin-top: 26px; }

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

/* Floating monogram visual on product pages */
.product-hero-visual { display: flex; justify-content: center; }
.monogram-card {
  position: relative;
  width: min(300px, 80%);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(46, 107, 255, 0.2), transparent 65%),
    var(--panel-solid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  animation: floatY 7s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(2, 8, 26, 0.7);
}
.monogram {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.4rem;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.monogram-name { font-family: var(--font-display); font-weight: 600; }
.monogram-cat { color: var(--muted); font-size: 0.8rem; }
.orbit {
  position: absolute;
  inset: -26px;
  border: 1px dashed rgba(110, 161, 255, 0.25);
  border-radius: 50%;
  animation: orbitSpin 26s linear infinite;
}
.orbit-2 { inset: -52px; animation-duration: 44s; animation-direction: reverse; border-color: rgba(56, 189, 248, 0.14); }
.orbit-dot {
  position: absolute;
  top: -30px; left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.9);
  animation: orbitSpin 26s linear infinite;
  transform-origin: 4px 180px;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ------------------------------------------------------------
   Services page
   ------------------------------------------------------------ */
.service-card { display: flex; flex-direction: column; gap: 12px; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(46, 107, 255, 0.18), rgba(56, 189, 248, 0.1));
  border: 1px solid var(--line-strong);
}
.service-card p { color: var(--muted); font-size: 0.9rem; }
.service-card .product-link { padding-top: 4px; }

/* ------------------------------------------------------------
   About page
   ------------------------------------------------------------ */
.about-story { max-width: 780px; }
.about-story p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.about-story p strong { color: var(--text); }

.about-card h3 { margin-bottom: 8px; }
.about-card p { color: var(--muted); font-size: 0.92rem; }

.founder-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 52px);
  background:
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(46, 107, 255, 0.14), transparent 60%),
    var(--panel-solid);
}
.founder-avatar {
  width: 120px; height: 120px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow-glow);
}
.founder-role { color: var(--cyan); font-weight: 600; font-size: 0.9rem; }
.founder-panel h2 { margin: 8px 0 14px; }
.founder-panel p { color: var(--muted); margin-bottom: 12px; }

.stack-chips { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------
   Contact page
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.contact-info {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  background: var(--panel);
  position: sticky;
  top: 100px;
}
.contact-info h2 { font-size: 1.4rem; margin-bottom: 22px; }
.contact-info-item { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-info-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-info-item strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--kicker); margin-bottom: 4px; }
.contact-info-item a { color: var(--text); font-weight: 500; transition: color 0.2s; }
.contact-info-item a:hover { color: var(--cyan); }
.contact-info-note { color: var(--muted); font-size: 0.86rem; margin-top: 18px; }

.contact-form {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--panel-solid);
}
.form-ref { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field label span { color: var(--cyan); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--text);
  background: rgba(6, 12, 29, 0.85);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.form-consent { color: var(--muted); font-size: 0.82rem; margin-top: 14px; }
.form-consent a { color: var(--cyan); }

.form-errors {
  border: 1px solid rgba(255, 125, 144, 0.4);
  background: rgba(255, 125, 144, 0.08);
  color: var(--danger);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.form-errors li { margin: 2px 0; }

.form-success {
  text-align: center;
  padding: clamp(30px, 5vw, 50px);
}
.form-success h2 { margin-bottom: 12px; }
.form-success p { color: var(--muted); }
.success-ref {
  display: inline-block;
  margin: 22px 0;
  padding: 12px 26px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------
   Privacy / legal
   ------------------------------------------------------------ */
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal-body p { color: var(--muted); margin-bottom: 12px; }
.legal-body a { color: var(--cyan); }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); font-size: 0.86rem; }
.breadcrumb a:hover { color: var(--cyan); }

/* ------------------------------------------------------------
   Blog / Insights
   ------------------------------------------------------------ */
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px 24px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.blog-card:hover::before { opacity: 1; }
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(2, 8, 26, 0.55);
}
.blog-card h3 { font-size: 1.15rem; line-height: 1.3; }
.blog-card h3 a { transition: color 0.2s ease; }
.blog-card h3 a:hover { color: var(--cyan); }
.blog-card p { color: var(--muted); font-size: 0.9rem; }
.blog-card .product-link { margin-top: auto; }
.blog-card:hover .product-link { gap: 12px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--kicker);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.blog-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--kicker); opacity: 0.6; flex: 0 0 auto; }
.page-hero .blog-meta { margin: 18px 0 14px; }

.post-body { max-width: 720px; }
.post-body p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.post-body h2 {
  font-size: 1.35rem;
  margin: 38px 0 14px;
}
.post-body ul { margin: 0 0 18px; padding-left: 4px; display: flex; flex-direction: column; gap: 10px; }
.post-body li {
  position: relative;
  color: var(--muted);
  padding-left: 26px;
  font-size: 1.02rem;
}
.post-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------
   404
   ------------------------------------------------------------ */
.error-hero { text-align: center; padding: 200px 0 90px; }
.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.error-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 18px 0 10px; }
.error-hero p { color: var(--muted); }
.error-hero .btn-row { justify-content: center; margin-top: 30px; }
.error-links { margin-top: 26px; color: var(--muted); font-size: 0.9rem; }
.error-links a { color: var(--cyan); }

/* ------------------------------------------------------------
   Admin (lead inbox)
   ------------------------------------------------------------ */
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 120px 4% 80px; }
.admin-card {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--panel-solid);
  padding: 30px;
}
.admin-login { max-width: 400px; margin: 0 auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--kicker); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; }
.admin-table td { color: var(--muted); }
.admin-table td strong { color: var(--text); }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }

/* ------------------------------------------------------------
   Reveal-on-scroll animation
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.13s; }
.reveal.d3 { transition-delay: 0.2s; }
.reveal.d4 { transition-delay: 0.27s; }
.reveal.d5 { transition-delay: 0.34s; }
.reveal.d6 { transition-delay: 0.41s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .monogram-card, .orbit, .orbit-dot, .scroll-hint-wheel { animation: none; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .enterprise-panel { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-visual { order: -1; justify-content: flex-start; padding-left: 30px; }
  .monogram-card { width: 210px; }
  .monogram { font-size: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 65;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background: rgba(4, 7, 15, 0.96);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  .main-nav a:not(.btn) { font-size: 1.3rem; font-family: var(--font-display); }
  .nav-cta { margin: 10px 0 0; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-flow { gap: 7px; }
  .flow-pill { padding: 6px 13px; font-size: 0.78rem; }
  .flow-arrow { width: 12px; }
  .scroll-hint { display: none; }
  .founder-panel { grid-template-columns: 1fr; }
  .cta-band-inner { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
