/* ============================================================
   ASPELTA.IO — Dark luxury AI/Cloud landing page
   Vanilla CSS3. Organised: tokens → base → nav → hero →
   feature bar → sections → components → footer → responsive
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #030712;
  --bg-2:      #071120;
  --card:      rgba(14, 22, 40, 0.75);
  --card-solid:#0e1628;
  --primary:   #2f6bff;
  --accent:    #4db5ff;
  --text:      #ffffff;
  --muted:     #a8b3cf;
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --glow:      0 0 40px rgba(47, 107, 255, 0.45);
  --grad:      linear-gradient(120deg, var(--accent), var(--primary));
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --radius:    24px;
  --radius-sm: 14px;
  --max:       1440px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h:     78px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--text); }

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

::selection { background: rgba(47, 107, 255, 0.35); color: #fff; }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(140% 100% at 70% 0%, var(--bg-2) 0%, var(--bg) 55%); }

.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
}

.bg-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.bg-glow--1 { width: 620px; height: 620px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(47,107,255,0.45), transparent 70%); animation: drift1 26s ease-in-out infinite; }
.bg-glow--2 { width: 520px; height: 520px; top: 40%; left: -160px; background: radial-gradient(circle, rgba(77,181,255,0.28), transparent 70%); animation: drift2 32s ease-in-out infinite; }
.bg-glow--3 { width: 460px; height: 460px; bottom: -140px; right: 20%; background: radial-gradient(circle, rgba(47,107,255,0.22), transparent 70%); animation: drift1 38s ease-in-out infinite reverse; }

@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 50px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, -40px); } }

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Nebula fog — very slow, almost imperceptible drift */
.bg-nebula { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; mix-blend-mode: screen; will-change: transform; }
.bg-nebula--1 { width: 900px; height: 700px; top: -10%; right: -12%; background: radial-gradient(closest-side, rgba(47,107,255,0.5), rgba(20,40,110,0.18) 55%, transparent 72%); animation: nebula1 48s ease-in-out infinite; }
.bg-nebula--2 { width: 780px; height: 640px; bottom: -18%; left: -14%; background: radial-gradient(closest-side, rgba(77,181,255,0.34), rgba(30,20,90,0.14) 55%, transparent 72%); animation: nebula2 62s ease-in-out infinite; }
@keyframes nebula1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, 34px) scale(1.08); } }
@keyframes nebula2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(46px, -30px) scale(1.06); } }

/* Cinematic vignette */
.bg-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 120% at 50% 30%, transparent 55%, rgba(1,3,10,0.55) 100%); }

.bg-streaks { position: absolute; inset: 0; overflow: hidden; }
.streak {
  position: absolute; top: -20%; width: 1px; height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(77,181,255,0.7), transparent);
  opacity: 0; filter: blur(0.4px);
}
.streak:nth-child(1) { left: 22%; animation: streak 9s linear 1s infinite; }
.streak:nth-child(2) { left: 58%; animation: streak 11s linear 4s infinite; }
.streak:nth-child(3) { left: 82%; animation: streak 13s linear 7s infinite; }
@keyframes streak {
  0%   { transform: translateY(-10vh); opacity: 0; }
  10%  { opacity: 0.9; }
  60%  { opacity: 0.9; }
  100% { transform: translateY(120vh); opacity: 0; }
}

.bg-noise {
  position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-pad: 0.85rem 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--btn-pad);
  font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--sm { --btn-pad: 0.6rem 1.2rem; font-size: 0.88rem; }
.btn--lg { --btn-pad: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: linear-gradient(100deg, #2f6bff, #4db5ff, #2f6bff); background-size: 220% 100%; color: #fff; box-shadow: 0 10px 30px -8px rgba(47,107,255,0.6); animation: btnGrad 8s ease-in-out infinite; }
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 46px rgba(47,107,255,0.6), 0 16px 38px -8px rgba(47,107,255,0.75); background-position: 100% 50%; color: #fff; }
@keyframes btnGrad { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.btn--ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--glow); color: #fff; }
.btn--ghost svg { transition: transform 0.3s var(--ease); }
.btn--ghost:hover svg { transform: translateX(4px); }

/* ripple */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,0.35); pointer-events: none; animation: ripple 0.65s var(--ease); }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; color: var(--text); font-weight: 800; font-size: 1.3rem; }
.brand:hover { color: var(--text); }
/* Custom wordmark: tightened tracking, raised small-caps-ish weight, glass light-sweep */
.brand__name {
  position: relative; display: inline-block;
  letter-spacing: -0.035em; font-feature-settings: "ss01" 1, "cv05" 1;
  background-image: linear-gradient(105deg, #eaf1ff 0%, #eaf1ff 38%, #ffffff 47%, #bfe0ff 50%, #eaf1ff 60%, #eaf1ff 100%);
  background-size: 260% 100%; background-position: 120% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: wordSweep 9s ease-in-out infinite;
}
.brand__name::first-letter { letter-spacing: -0.02em; } /* subtly widen the A */
@keyframes wordSweep { 0%, 66% { background-position: 120% 0; } 84%, 100% { background-position: -20% 0; } }
.brand__dot { -webkit-text-fill-color: var(--accent); color: var(--accent); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.4rem 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--grad); border-radius: 2px; transition: width 0.3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(3, 7, 18, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-120%); transition: transform 0.4s var(--ease);
  padding: 1.5rem clamp(20px, 4vw, 64px) 2rem;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu a { color: var(--text); font-size: 1.1rem; font-weight: 500; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { margin-top: 0.8rem; border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; padding-top: var(--nav-h); display: flex; flex-direction: column; overflow: hidden; }

/* Transparent WebGL render layer — fills the hero, sits behind the content */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-canvas.is-ready { opacity: 1; }
@media (max-width: 820px) { .hero-canvas.is-ready { opacity: 0.55; } }

.hero__inner {
  position: relative; z-index: 1;
  flex: 1; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: clamp(0.25rem, 1vh, 1.25rem) clamp(20px, 4vw, 64px) 0;
  display: grid; grid-template-columns: 1fr; align-items: center;
}
.hero__copy { max-width: 40rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; font-weight: 500; color: var(--muted); padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.03); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.5; transform: scale(0.8);} }

.hero__title { font-size: clamp(2.6rem, 5.4vw, 74px); font-weight: 800; line-height: 1.03; letter-spacing: -0.025em; margin: 1.6rem 0 1.9rem; text-wrap: balance; }
.grad {
  background: linear-gradient(100deg, #2f6bff 0%, #4db5ff 28%, #8fe3ff 46%, #4db5ff 64%, #2f6bff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero__sub { font-size: clamp(1.02rem, 1.35vw, 1.22rem); line-height: 1.7; color: var(--muted); max-width: 32rem; text-wrap: pretty; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3.1rem; }


/* ============================================================
   FEATURE BAR
   ============================================================ */
.feature-bar {
  position: relative; z-index: 2;
  width: calc(100% - 2 * clamp(20px, 4vw, 64px)); max-width: calc(var(--max) - 2 * clamp(20px, 4vw, 64px));
  margin: clamp(2rem, 5vh, 4rem) auto clamp(2rem, 6vh, 5rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
  padding: 0.6rem;
  background: var(--card); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature { display: flex; align-items: flex-start; gap: 0.9rem; padding: 1.15rem 1.2rem; border-radius: var(--radius-sm); position: relative; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.feature::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s var(--ease); }
.feature:hover { transform: translateY(-4px); background: rgba(255,255,255,0.03); }
.feature:hover::before { opacity: 1; }
.feature__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(47,107,255,0.12); color: var(--accent); border: 1px solid var(--border); }
.feature__icon svg { width: 22px; height: 22px; }
.feature__text h3 { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.feature__text p { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(4rem, 10vh, 8rem) 0; position: relative; }
.section--tight { padding-top: clamp(2rem, 5vh, 4rem); }
.section__head { max-width: 44rem; margin-bottom: 3.5rem; }
.kicker { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.section__lead { margin-top: 1.1rem; font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--muted); text-wrap: pretty; }

/* Glass surface */
.glass { background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; }

.about-visual__card { position: relative; overflow: hidden; padding: 0; }
.about-visual__glow { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 10%, rgba(47,107,255,0.22), transparent 62%); pointer-events: none; }

/* Simplified AKS reference-architecture stack */
.arch-stack { position: relative; z-index: 1; padding: 1.7rem 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 1.15rem; }
.arch-stack__head { display: flex; flex-direction: column; gap: 0.3rem; }
.arch-stack__kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.arch-stack__head strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.arch-stack__list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; }

.arch-node {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.75rem;
  padding: 0.72rem 0.9rem; border-radius: 12px;
  background: rgba(255,255,255,0.028); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
/* connector between tiers */
.arch-node::before {
  content: ''; position: absolute; left: 1.32rem; top: -0.5rem; width: 1px; height: 0.5rem;
  background: linear-gradient(to bottom, transparent, rgba(77,181,255,0.55));
}
.arch-node:first-child::before { display: none; }
.arch-node:hover { transform: translateX(3px); border-color: rgba(77,181,255,0.42); background: rgba(47,107,255,0.07); }
.arch-node__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 9px rgba(77,181,255,0.75); flex: none; }
.arch-node__body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.arch-node__name { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }
.arch-node__meta { font-size: 0.76rem; color: var(--muted); line-height: 1.3; }

/* the cluster tier is the emphasis of the diagram */
.arch-node.is-cluster { background: rgba(47,107,255,0.12); border-color: rgba(77,181,255,0.4); box-shadow: 0 0 26px -8px rgba(47,107,255,0.6); }
.arch-node.is-cluster .arch-node__name { font-size: 0.95rem; }
.arch-node.is-cluster .arch-node__dot { width: 11px; height: 11px; animation: pulse 2.6s ease-in-out infinite; }

.arch-stack__foot { font-size: 0.74rem; color: #6b7796; display: flex; align-items: center; gap: 0.45rem; }
.arch-stack__foot::before { content: ''; width: 14px; height: 1px; background: rgba(77,181,255,0.5); flex: none; }
.about-visual__label { position: absolute; left: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); background: rgba(3,7,18,0.6); backdrop-filter: blur(8px); padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #46e39a; box-shadow: 0 0 10px #46e39a; animation: pulse 2s ease-in-out infinite; }

.about-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.mv-card { padding: 1.6rem 1.8rem; }
.mv-card h3 { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.mv-card h3::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); margin-right: 0.6rem; vertical-align: middle; }
.mv-card p { color: var(--muted); }

.timeline { list-style: none; margin-top: 0.5rem; padding-left: 1.5rem; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 1.4rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: baseline; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.5rem - 5px); top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(47,107,255,0.15); }
.timeline__year { font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.timeline strong { display: block; font-weight: 600; }
.timeline p { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; padding: 2rem 1.9rem; border-radius: var(--radius);
  background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transform-style: preserve-3d; transition: transform 0.25s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden; cursor: pointer;
}
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--accent), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s var(--ease); }
.card::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,0.22), transparent 65%); top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%,-50%); opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none; }
.card:hover, .card:focus-visible { border-color: var(--border-strong); box-shadow: var(--glow), var(--shadow); }
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: rgba(47,107,255,0.12); border: 1px solid var(--border); color: var(--accent); margin-bottom: 1.3rem; transition: transform 0.3s var(--ease); }
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { transform: translateZ(30px) scale(1.05); }
.card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card__link { display: inline-block; margin-top: 1.1rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; opacity: 0; transform: translateY(6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.card:hover .card__link, .card:focus-visible .card__link { opacity: 1; transform: translateY(0); }

/* ============================================================
   TECHNOLOGY / ARCHITECTURE
   ============================================================ */
.arch { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 0.4rem; }
.arch__layer { display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem; align-items: center; }
.arch__layer-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.arch__nodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.node {
  display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.3rem;
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); font-weight: 600; font-size: 0.98rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  cursor: default;
}
.node:hover { transform: translateY(-3px); border-color: var(--accent); background: rgba(47,107,255,0.08); box-shadow: var(--glow); }
.node__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--accent); flex: none; }
.arch__flow { height: 26px; margin-left: 65px; width: 1px; background: linear-gradient(to bottom, var(--accent), transparent); position: relative; }
.arch__flow::after { content: ''; position: absolute; top: 0; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: flowDown 2.4s linear infinite; }
@keyframes flowDown { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 26px; opacity: 0; } }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat { text-align: left; padding: 2rem 1.8rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.stat:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--glow); }
.stat__num { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat__label { display: block; margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info .section__title { margin-top: 0.5rem; }
.contact-meta { list-style: none; margin: 2rem 0; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-meta li { display: flex; align-items: center; gap: 1rem; }
.contact-meta__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(47,107,255,0.1); border: 1px solid var(--border); color: var(--accent); }
.contact-meta__icon svg { width: 20px; height: 20px; }
.contact-meta strong { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.contact-meta a, .contact-meta span { color: var(--text); font-weight: 600; }
.contact-meta a:hover { color: var(--accent); }

.map { position: relative; height: 200px; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05) brightness(0.85); }
.map__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(77,181,255,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(77,181,255,0.09) 1px, transparent 1px); background-size: 34px 34px; }
.map::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(47,107,255,0.2), transparent 60%); }
.map__pin { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-100%); width: 18px; height: 18px; }
.map__pin span { position: absolute; inset: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); box-shadow: var(--glow); }
.map__pin::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translate(-50%,-4px); width: 30px; height: 12px; border-radius: 50%; background: rgba(0,0,0,0.4); filter: blur(4px); }
.map__label { position: absolute; left: 1rem; bottom: 1rem; font-size: 0.85rem; color: var(--muted); background: rgba(3,7,18,0.6); backdrop-filter: blur(8px); padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid var(--border); }

.contact-form { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.3rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.15rem 1.1rem 0.5rem; font: inherit; font-size: 1rem;
  color: var(--text); background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}
.field textarea { min-height: 120px; }
.field label {
  position: absolute; left: 1.1rem; top: 1rem; color: var(--muted); font-size: 1rem;
  pointer-events: none; transition: transform 0.25s var(--ease), color 0.25s var(--ease), font-size 0.25s var(--ease);
  transform-origin: left top;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,255,0.18); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.7rem) scale(0.78); color: var(--accent);
}
.form-status { font-size: 0.9rem; color: var(--accent); min-height: 1.2em; }
.form-status.is-error { color: #ff8080; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); background: rgba(3,7,18,0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 3rem; margin-top: 2rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand p { color: var(--muted); margin-top: 0.8rem; font-size: 0.95rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__links a { color: var(--muted); font-weight: 500; }
.footer__links a:hover { color: var(--text); }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.footer__social a:hover { transform: translateY(-3px); color: var(--text); border-color: var(--accent); box-shadow: var(--glow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding: 1.5rem clamp(20px, 4vw, 64px) 2.5rem; border-top: 1px solid var(--border); color: #6b7796; font-size: 0.85rem; }

/* ============================================================
   SCROLL REVEAL (fallback + GSAP-driven)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__copy { max-width: 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  .nav__links { display: none; }
  .nav__actions .btn--sm { display: none; }
  .hamburger { display: flex; }
  .feature-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .arch__layer { grid-template-columns: 1fr; gap: 0.7rem; }
  .arch__layer-name { margin-top: 0.4rem; }
  .arch__flow { margin-left: 20px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .feature-bar { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
}

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