/* ============================================================
   PHOENIXIS TECHNOLOGIES — Ultra-Premium Dark Luxury · 2026
   Colors : #E10600 (Phoenix Red) · #FFFFFF · #08080a (Deep Black)
   Slogan : Lumen per codicem
   ============================================================ */


/* ═══════════════════════════════════════
   NEURAL NETWORK CANVAS
   ═══════════════════════════════════════ */
#neuralCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}


/* ═══════════════════════════════════════
   INTRO ANIMATION OVERLAY
   3 triangles converge → light flash → fade
   ═══════════════════════════════════════ */
.intro-overlay {
  position: fixed;
  inset: 0;
  background: #08080a;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Overall exit fade: starts at 3.6s, lasts 0.8s */
  animation: intro-exit 0.8s ease-in-out 3.6s forwards;
}

.intro-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Logo — 3-element assembly animation */
.intro-logo-img {
  width: 200px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: logo-assemble 2.5s cubic-bezier(0.22, 1.1, 0.45, 1) 0.3s both;
}

@keyframes logo-assemble {
  /* Element 1 arrives — small, blurred, rotated */
  0%   { opacity: 0;   transform: scale(0.18) rotate(-40deg); filter: drop-shadow(0 0 0px rgba(225,6,0,0)) blur(28px); }
  /* Element 2 joins — growing, clearing */
  28%  { opacity: 0.65; transform: scale(0.6)  rotate(14deg);  filter: drop-shadow(0 0 18px rgba(225,6,0,0.6)) blur(10px); }
  /* Element 3 locks in — slight overshoot */
  52%  { opacity: 1;   transform: scale(1.1)  rotate(-5deg);  filter: drop-shadow(0 0 30px rgba(225,6,0,0.75)) blur(0); }
  68%  { transform: scale(0.94) rotate(2deg);  filter: drop-shadow(0 0 22px rgba(225,6,0,0.55)); }
  82%  { transform: scale(1.03) rotate(-1deg); filter: drop-shadow(0 0 28px rgba(225,6,0,0.6)); }
  /* Final settle — glowing */
  100% { opacity: 1;   transform: scale(1)    rotate(0deg);   filter: drop-shadow(0 0 20px rgba(225,6,0,0.4)); }
}

/* ── Slogan text appears after logo assembles ── */
.intro-slogan {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: rgba(225,6,0,0.75);
  white-space: nowrap;
  animation: slogan-appear 0.7s ease-out 2.2s both;
}
@keyframes slogan-appear {
  from { opacity: 0; transform: translateY(8px); letter-spacing: 0.1em; }
  to   { opacity: 1; transform: translateY(0);   letter-spacing: 0.32em; }
}

/* ── Overall overlay exit ── */
@keyframes intro-exit {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}


/* ═══════════════════════════════════════
   BACKGROUND DECORATIVES
   Logo echoes · Tech elements · AI nodes
   ═══════════════════════════════════════ */
.bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ── Logo emblem echoes ── */
.deco-echo {
  position: absolute;
  opacity: 0.045;
  animation: echo-breathe 14s ease-in-out infinite alternate;
}
.echo-1 { width: 520px; top: -80px;  right: -120px; animation-delay: 0s;    animation-duration: 16s; transform: rotate(12deg); }
.echo-2 { width: 280px; top: 40%;    left:  -60px;  animation-delay: 3s;    animation-duration: 19s; transform: rotate(-8deg);  opacity: 0.035; }
.echo-3 { width: 380px; top: 62%;    right: -80px;  animation-delay: 6s;    animation-duration: 13s; transform: rotate(20deg);  opacity: 0.04; }
.echo-4 { width: 200px; bottom: 10%; left:  30%;    animation-delay: 1.5s;  animation-duration: 22s; transform: rotate(-15deg); opacity: 0.03; }
.echo-5 { width: 160px; top: 30%;    left:  55%;    animation-delay: 9s;    animation-duration: 17s; transform: rotate(35deg);  opacity: 0.025; }

@keyframes echo-breathe {
  from { opacity: var(--base-op, 0.045); transform: scale(0.97) rotate(var(--rot, 0deg)); }
  to   { opacity: calc(var(--base-op, 0.045) * 1.5); transform: scale(1.03) rotate(var(--rot, 0deg)); }
}

/* ── Circuit board tech elements ── */
.deco-tech {
  position: absolute;
  opacity: 0.055;
}
.tech-1 {
  width: 320px;
  top: 15%;
  right: 2%;
  animation: circuit-pulse 8s ease-in-out infinite alternate;
}
.tech-2 {
  width: 280px;
  bottom: 20%;
  left: 2%;
  animation: circuit-pulse 11s ease-in-out 2s infinite alternate;
}
@keyframes circuit-pulse {
  from { opacity: 0.04; }
  to   { opacity: 0.09; }
}

/* ── Code/tech text elements ── */
.deco-code {
  position: absolute;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--red);
  pointer-events: none;
  animation: code-float 20s ease-in-out infinite;
}
.deco-code span {
  display: block;
  line-height: 1;
}
.code-1 { top: 8%;   right: 6%;  font-size: 1.6rem; opacity: 0.07; animation-delay: 0s;   animation-duration: 18s; }
.code-2 { top: 45%;  left: 3%;   font-size: 1.2rem; opacity: 0.06; animation-delay: 5s;   animation-duration: 22s; }
.code-3 { bottom: 25%; right: 4%; font-size: 0.9rem; opacity: 0.05; animation-delay: 2s;   animation-duration: 16s; letter-spacing: 0.4em; }
.code-4 { top: 75%;  left: 6%;   font-size: 2.2rem; opacity: 0.06; animation-delay: 8s;   animation-duration: 25s; letter-spacing: 0.2em; }
@keyframes code-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-18px); }
}

/* ── AI neural node decoratives ── */
.deco-ai {
  position: absolute;
  opacity: 0.065;
  animation: neural-pulse 10s ease-in-out infinite alternate;
}
.ai-1 {
  width: 280px;
  top: 25%;
  left: -20px;
  animation-delay: 0s;
}
.ai-2 {
  width: 240px;
  bottom: 15%;
  right: -10px;
  animation-delay: 4s;
  animation-duration: 13s;
}
@keyframes neural-pulse {
  from { opacity: 0.05; }
  to   { opacity: 0.10; }
}

/* ── AI scan line ── */
.deco-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(225,6,0,0.25) 30%, rgba(225,6,0,0.5) 50%, rgba(225,6,0,0.25) 70%, transparent 100%);
  animation: scan-sweep 12s linear infinite;
  pointer-events: none;
}
@keyframes scan-sweep {
  0%   { top: -2px;   opacity: 0; }
  2%   { opacity: 1; }
  98%  { opacity: 1; }
  100% { top: 100vh;  opacity: 0; }
}

:root {
  --red:         #e10600;
  --red-glow:    rgba(225, 6, 0, 0.28);
  --red-subtle:  rgba(225, 6, 0, 0.07);
  --bg:          #08080a;
  --bg-card:     #0e0e11;
  --bg-card-hi:  #131318;
  --white:       #f2f2f5;
  --white-dim:   rgba(242, 242, 245, 0.55);
  --white-faint: rgba(242, 242, 245, 0.22);
  --border:      rgba(255, 255, 255, 0.07);
  --border-red:  rgba(225, 6, 0, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}


/* ═══════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(225, 6, 0, 0.12);
  z-index: 200;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  transition: width 0.08s linear;
}


/* Custom cursor: disabled — browser default cursor used */
.cursor, .cursor-ring { display: none !important; }


/* ═══════════════════════════════════════
   NOISE TEXTURE OVERLAY
   ═══════════════════════════════════════ */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}


/* ═══════════════════════════════════════
   AMBIENT AURORA GLOWS
   ═══════════════════════════════════════ */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
}
.glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #e10600 0%, transparent 65%);
  top: -250px; right: -180px;
  opacity: 0.12;
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
.glow-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, #e10600 0%, transparent 65%);
  bottom: 15%; left: -120px;
  opacity: 0.07;
  animation: glow-breathe 12s ease-in-out infinite alternate-reverse;
}
.glow-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #ff2200 0%, transparent 65%);
  top: 55%; left: 42%;
  opacity: 0.05;
  animation: glow-drift 18s ease-in-out infinite;
}
@keyframes glow-breathe {
  from { opacity: 0.07; transform: scale(0.95); }
  to   { opacity: 0.16; transform: scale(1.08); }
}
@keyframes glow-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-60px,-40px) scale(1.15); }
  66%     { transform: translate(50px,30px) scale(0.88); }
}


/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.05; }

h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(150deg, #ffffff 30%, rgba(255,255,255,0.52) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}

.eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════
   LAYOUT HELPERS
   ═══════════════════════════════════════ */
.section-header {
  width: min(1120px, 92vw);
  margin: 0 auto 3rem;
}
.section-lead {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--white-dim);
  max-width: 68ch;
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 8, 10, 0.84);
  backdrop-filter: blur(24px) saturate(1.4);
  border-color: var(--border);
}

.header-inner {
  width: min(1200px, 95vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  gap: 1rem;
}

.brand-wrap { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo  { width: min(200px, 48vw); height: auto; }

/* PNG logo on transparent background */
.brand-logo-png {
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--white-dim);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }

/* ── Language flags ── */
.lang-flags {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}
.flag-btn {
  background: transparent;
  border: 1.5px solid transparent;
  padding: 0.18rem 0.28rem;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.flag-svg {
  width: 26px;
  height: auto;
  display: block;
  border-radius: 1px;
}
.flag-btn.flag-active {
  opacity: 1;
  border-color: var(--border-red);
}
.flag-btn:hover:not(.flag-active) {
  opacity: 0.75;
  transform: scale(1.08);
}

/* Burger menu */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white-dim);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav dropdown */
.mobile-nav {
  background: rgba(8,8,10,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}
.mobile-nav.hidden { display: none; }
.mobile-nav-link {
  color: var(--white-dim);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem min(1200px, 95vw);
  padding-left: calc((100vw - min(1200px, 95vw)) / 2);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover { color: var(--white); background: rgba(225,6,0,0.05); }


/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  padding: 0.85rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 28px rgba(225,6,0,0.28);
}
.btn-primary:hover {
  background: #c10500;
  box-shadow: 0 0 48px rgba(225,6,0,0.48);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.text-btn {
  background: transparent;
  border: none;
  color: var(--white-faint);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
.text-btn:hover { color: var(--white-dim); text-decoration-color: currentColor; }


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(5rem + 142px) 0 5rem;
  overflow: hidden;
  z-index: 1;
}

/* Animated grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(225,6,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,6,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 15%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 15%, transparent 100%);
  pointer-events: none;
  animation: grid-drift 20s ease-in-out infinite alternate;
}
@keyframes grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 30px 30px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero-content .eyebrow { margin-bottom: 1.4rem; }

.hero-sub {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--white-dim);
  max-width: 68ch;
  margin-top: 0.5rem;
}

.hero-meta {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}

.chip {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--white-faint);
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-line { display: none; }


/* ═══════════════════════════════════════
   ORB (Hero Visual)
   ═══════════════════════════════════════ */
.hero-visual {
  display: none;
}

.orb-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.orb-core {
  position: absolute;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(225,6,0,0.7) 0%, rgba(225,6,0,0.25) 45%, transparent 70%);
  border-radius: 50%;
  animation: orb-pulse 3.5s ease-in-out infinite;
}

.orb-halo {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(225,6,0,0.16);
  border-radius: 50%;
  animation: orb-spin 14s linear infinite;
}
.orb-halo::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--red);
}

.orb-ring-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: orb-spin-slow 40s linear infinite reverse;
}

.orb-label {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
}
.orb-label-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: rgba(225,6,0,0.4);
  text-transform: uppercase;
}

@keyframes orb-pulse {
  0%,100% { transform: scale(0.88); opacity: 0.55; }
  50%     { transform: scale(1.12); opacity: 1; }
}
@keyframes orb-spin      { from { transform: rotate(0deg); }   to { transform: rotate(360deg); }  }
@keyframes orb-spin-slow { from { transform: rotate(0deg); }   to { transform: rotate(360deg); }  }


/* ═══════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.85rem 0;
  position: relative;
  z-index: 1;
}
.marquee-inner {
  display: flex;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 2.2rem;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white-faint);
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
}
.marquee-track .mx-tri {
  height: 1.8rem;
  width: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.85;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════
   SERVICES (Bento grid)
   ═══════════════════════════════════════ */
.services {
  padding: 5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.services-grid {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.srv-card {
  position: relative;
  padding: 2.4rem 2.2rem 2.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.25s, box-shadow 0.3s;
  cursor: default;
}
.srv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225,6,0,0.05) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.srv-card:hover {
  border-color: var(--border-red);
  background: var(--bg-card-hi);
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.42);
}
.srv-card:hover::after { opacity: 1; }

.srv-card-accent {
  background: linear-gradient(145deg, rgba(225,6,0,0.09) 0%, var(--bg-card) 55%);
  border-color: rgba(225,6,0,0.18);
}
.srv-card-accent:hover { box-shadow: 0 20px 52px rgba(0,0,0,0.42), 0 0 40px rgba(225,6,0,0.12); }

.card-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  display: block;
  margin-bottom: 1.1rem;
}

.card-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(225,6,0,0.58);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.srv-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--white-dim);
}

.card-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 2.4rem;
  background: var(--red);
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1);
}
.srv-card:hover .card-bar { width: 100%; }


/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */
.stats {
  padding: 2.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.stats-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 2rem;
}
.stat-num {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.55rem;
}
.stat-num em {
  font-style: normal;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
}
.stat-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.stat-sep {
  width: 1px;
  height: 55px;
  background: var(--border);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════
   POSITIONING
   ═══════════════════════════════════════ */
.positioning {
  padding: 5rem 0 0;
  position: relative;
  z-index: 1;
}
.pos-split {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pos-split::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(225,6,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.pos-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--border);
  background: rgba(225,6,0,0.025);
}
.pos-left .eyebrow { margin-bottom: 0; writing-mode: horizontal-tb; }
.pos-deco-wrap { display: flex; justify-content: center; }
.pos-deco-svg { width: 110px; height: auto; opacity: 0.9; }
.pos-right {
  padding: 3.5rem;
  position: relative;
  z-index: 1;
}
.pos-right h2 { margin-bottom: 1.2rem; }
.pos-right p {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--white-dim);
  max-width: 64ch;
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════
   PROCESS (4-Step Method)
   ═══════════════════════════════════════ */
.process {
  padding: 5rem 0 0;
  position: relative;
  z-index: 1;
}
.process-vline {
  width: min(1120px, 92vw);
  margin: 0 auto;
}
.pvstep {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 2rem;
  padding-bottom: 1.6rem;
  align-items: start;
}
.pvstep:last-child { padding-bottom: 0; }

.pvnode {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}
.pvstep:not(:last-child) .pvnode::after {
  content: '';
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.6rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(225,6,0,0.35), rgba(225,6,0,0.06));
}
.pvcirc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(225,6,0,0.55);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 18px rgba(225,6,0,0.12);
}
.pvcontent {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(225,6,0,0.25);
  padding: 1.6rem 2rem;
  transition: border-color 0.3s, border-left-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.pvcontent:hover {
  border-color: var(--border-red);
  border-left-color: var(--red);
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.pvcontent h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.pvcontent p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--white-dim);
}


/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact {
  padding: 5rem 0 0;
  position: relative;
  z-index: 1;
}

.contact-form {
  width: min(1120px, 92vw);
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.8rem;
  display: grid;
  gap: 0;
}

.fg2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.flabel {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faint);
}

input, textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-bottom-color: rgba(255,255,255,0.14);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.18); }
input:focus, textarea:focus {
  border-color: var(--border-red);
  background: rgba(225,6,0,0.04);
  box-shadow: 0 0 0 1px rgba(225,6,0,0.18);
}

textarea { resize: vertical; min-height: 140px; }

.fhint {
  font-size: 0.72rem;
  color: rgba(242,242,245,0.28);
  font-style: italic;
  margin-top: 0.2rem;
}

.captcha-wrap { margin-bottom: 1.4rem; }

.btn-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.9rem 2.5rem;
}

.form-status {
  margin-top: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}
.form-status--success { color: #4ade80; }
.form-status--error   { color: #f87171; }
.form-status--info    { color: var(--white-dim); }


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.footer-logo { width: 180px; height: auto; }

.footer-info p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: rgba(242,242,245,0.28);
  line-height: 1.7;
}
.footer-slogan {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.22em;
  color: rgba(225,6,0,0.35) !important;
  margin-top: 0.35rem;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: min(480px, calc(100vw - 3rem));
  background: rgba(14,14,17,0.97);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-red);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 32px rgba(225,6,0,0.08);
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  z-index: 70;
}
.cookie-body strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.cookie-body p {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.55;
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-actions .btn-primary,
.cookie-actions .btn-outline {
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  white-space: nowrap;
}
.hidden { display: none !important; }


/* ═══════════════════════════════════════
   TERMS DIALOG
   ═══════════════════════════════════════ */
dialog {
  width: min(900px, 95vw);
  background: #0d0d10;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 0;
  margin: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
dialog::backdrop {
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
}
.dialog-logo {
  height: 28px;
  width: auto;
  opacity: 0.85;
}
.dialog-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
}
.dialog-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.dialog-close:hover { border-color: var(--red); color: var(--red); }

#termsContent {
  padding: 1.5rem 2rem 2rem;
  line-height: 1.82;
  font-size: 0.88rem;
  color: var(--white-dim);
  max-height: 68vh;
  overflow-y: auto;
}
#termsContent h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin: 1.4rem 0 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
}
#termsContent h3:first-child { margin-top: 0; }
#termsContent p { margin-bottom: 0.9rem; }
#termsContent::-webkit-scrollbar { width: 4px; }
#termsContent::-webkit-scrollbar-track { background: transparent; }
#termsContent::-webkit-scrollbar-thumb { background: var(--border-red); border-radius: 4px; }


/* ═══════════════════════════════════════
   FORM SUCCESS STATE
   ═══════════════════════════════════════ */
.form-success {
  width: min(1120px, 92vw);
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  padding: 4rem 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.form-success-logo {
  width: min(280px, 70vw);
  height: auto;
  opacity: 0.9;
}
.form-success-msg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--white-dim);
  max-width: 52ch;
}


/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }


/* ═══════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .fg2            { grid-template-columns: 1fr; gap: 0; }
  .footer-inner   { grid-template-columns: 1fr; text-align: center; }
  .footer-logo    { margin: 0 auto; }
  .pos-split      { grid-template-columns: 1fr; }
  .pos-left       { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem 2rem; flex-direction: row; align-items: center; gap: 2rem; }
  .pos-right      { padding: 2rem 1.75rem; }
  .contact-form   { padding: 1.75rem; }
  .stats-inner    { flex-direction: column; gap: 1.5rem; }
  .stat-sep       { width: 55px; height: 1px; }
  .pvstep         { gap: 0 1.5rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 600px) {
  .header-nav .nav-link { display: none; }
  .nav-burger            { display: flex; }
  .services-grid         { grid-template-columns: 1fr; }
  .cookie-banner         { flex-direction: column; }
  .cookie-actions        { flex-direction: row; width: 100%; }
  .pvstep                { grid-template-columns: 44px 1fr; gap: 0 1rem; }
  .pvcirc                { width: 36px; height: 36px; font-size: 0.55rem; }
  .pvstep:not(:last-child) .pvnode::after { top: 40px; }
}

@media (max-width: 400px) {
  .contact-form { padding: 1.25rem; }
  .pos-left     { flex-direction: column; gap: 1.5rem; }
}
