/* ==========================================
   NIKOLAS SAPALIDIS — 2026
   Aesthetic: NOD-grid dark × Stephanie blue
   ========================================== */

:root {
  --bg:          #07070F;
  --bg2:         #0C0C1A;
  --bg3:         #111122;
  --blue:        #2525E0;
  --blue-b:      #3535FF;
  --blue-dim:    rgba(37,37,224,0.10);
  --blue-glow:   rgba(37,37,224,0.20);
  --grid:        rgba(37,37,200,0.065);
  --white:       #F2F2FA;
  --off:         #B0B0D0;
  --dim:         #55558A;
  --dimmer:      #303060;
  --border:      rgba(255,255,255,0.055);
  --border-b:    rgba(37,37,224,0.28);
  --warn:        #FF6B35;
  --ok:          #00E5A0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--off);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
}

::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); }

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 128px);
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 0.92;
  color: var(--white);
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
}

h3 {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
}

h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

p { color: var(--off); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
strong { color: var(--white); font-weight: 600; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.section-label::before { content: '// '; color: var(--dimmer); }

.section-header { margin-bottom: 56px; }
.section-header.centered {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--dim); font-size: 15px; }
.section-header.centered p { max-width: 480px; margin: 0 auto; }

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.2s ease;
}

/* Primary — animated layer */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary::before {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-b);
  left: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  animation: btnSpin 5s linear infinite;
  transition:
    width 0.42s cubic-bezier(0.4,0,0.2,1),
    left 0.42s cubic-bezier(0.4,0,0.2,1),
    border-radius 0.42s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}

.btn-primary:hover::before {
  width: calc(100% + 40px);
  left: -20px;
  border-radius: 4px;
}

.btn-primary > * { position: relative; z-index: 1; }

@keyframes btnSpin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--off);
  border: 1px solid var(--border-b);
}
.btn-outline:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
  color: var(--white);
}

.btn-large { padding: 16px 36px; font-size: 15px; }

.btn i { font-size: 11px; transition: transform 0.2s; }
.btn:hover i { transform: translateX(3px); }

/* ==========================================
   LOADING SCREEN
   ========================================== */

#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99997;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  animation: autoHide 0s ease 1.2s forwards;
  pointer-events: none;
}

@keyframes autoHide {
  to { opacity: 0; visibility: hidden; display: none; }
}

.loader-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.25em;
  animation: pulse 0.7s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

.loader-bar {
  width: 140px;
  height: 1px;
  background: var(--dimmer);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--blue);
  animation: fill 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes fill { from { width: 0%; } to { width: 100%; } }

/* ==========================================
   LANGUAGE TOGGLE
   ========================================== */

.language-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  gap: 2px;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 3px;
}

.lang-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  background: transparent;
  border: none;
  color: var(--dim);
  cursor: pointer;
  transition: all 0.15s;
}

.lang-btn.active {
  background: var(--blue);
  color: var(--white);
}

/* ==========================================
   NAVBAR — FOLDER TAB STYLE
   ========================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--blue);
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.nav-inner {
  display: flex;
  align-items: flex-end;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px 0;
  gap: 3px;
  transition: max-width 0.4s cubic-bezier(0.4,0,0.2,1),
              padding 0.4s cubic-bezier(0.4,0,0.2,1),
              background 0.4s ease,
              border-radius 0.4s ease,
              border-color 0.4s ease,
              backdrop-filter 0.4s ease;
}

.nav-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  padding: 10px 14px 12px;
  border-radius: 8px 8px 0 0;
  margin-right: 10px;
  background: rgba(255,255,255,0.14);
  text-decoration: none;
  margin-bottom: -1px;
  transition: background 0.2s;
}

.nav-brand:hover { background: rgba(255,255,255,0.22); }

.nav-tabs {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
}

.nav-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 10px 22px 12px;
  border-radius: 8px 8px 0 0;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease;
  margin-bottom: -1px;
  background: rgba(255,255,255,0.1);
}

.nav-tab:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.18);
}

/* Active tab = dark → connects to dark content below, exactly like Architecture Notes */
.nav-tab.active {
  color: var(--white);
  background: var(--bg);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-left: auto;
}

.btn-nav {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(255,255,255,0.8);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s;
  border-radius: 4px;
}

.btn-nav:hover { background: rgba(255,255,255,0.88); }

/* Baseline: visible under inactive tabs, active tab punches through via matching bg */
.nav-baseline {
  height: 1px;
  background: rgba(255,255,255,0.15);
  width: 100%;
}

/* Active tab extends 1px down to cover the baseline */
.nav-tab.active {
  padding-bottom: 13px; /* +1px to cover baseline */
}

/* ── NAVBAR SCROLLED → floating pill (hero-section-1 style) ── */
.navbar.scrolled {
  background: transparent;
  background-image: none;
}

.navbar.scrolled .nav-inner {
  max-width: 780px;
  padding: 7px 14px;
  align-items: center;
  background: rgba(5,5,14,0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  margin-top: 8px;
  margin-bottom: 8px;
}

.navbar.scrolled .nav-baseline {
  opacity: 0;
  height: 0;
  pointer-events: none;
}

.navbar.scrolled .nav-brand {
  background: transparent;
  border-radius: 8px;
  padding: 7px 12px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.85);
}

.navbar.scrolled .nav-tab {
  background: transparent;
  border-radius: 8px;
  padding: 7px 14px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.52);
}

.navbar.scrolled .nav-tab:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

.navbar.scrolled .nav-tab.active {
  background: rgba(37,37,224,0.32);
  color: #fff;
  padding-bottom: 7px;
  font-weight: 600;
}

.navbar.scrolled .nav-right {
  padding-bottom: 0;
}

.navbar.scrolled .btn-nav {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.navbar.scrolled .nav-mobile {
  background: rgba(5,5,14,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--blue);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 12px 28px 20px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.15s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: #fff; }

/* ==========================================
   HERO — STEPHANIE STYLE
   ========================================== */

#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

/* ── Interactive magnetic orbs ── */
.hero-orb {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: all;
  cursor: crosshair;
  z-index: 3;
  will-change: transform;
  opacity: 0;
  animation: orbAppear 0.7s ease forwards;
}

.hero-orb::after {
  content: '';
  position: absolute;
  width: 34%; height: 34%;
  background: radial-gradient(circle, rgba(255,255,255,0.72), transparent 70%);
  border-radius: 50%;
  top: 14%; left: 16%;
  pointer-events: none;
}

.hero-orb--1 {
  width: 88px; height: 88px;
  background: radial-gradient(circle at 38% 32%, rgba(160,180,255,0.95), rgba(37,37,200,0.7), rgba(8,8,60,0.55));
  box-shadow: 0 0 48px rgba(80,100,255,0.55), 0 14px 44px rgba(0,0,0,0.4), inset 0 -8px 20px rgba(0,0,40,0.35);
  animation-delay: 0.9s;
}

.hero-orb--2 {
  width: 66px; height: 66px;
  background: radial-gradient(circle at 38% 32%, rgba(255,200,220,0.95), rgba(220,55,95,0.65), rgba(80,0,30,0.5));
  box-shadow: 0 0 36px rgba(220,75,115,0.5), 0 10px 32px rgba(0,0,0,0.35), inset 0 -6px 16px rgba(60,0,20,0.3);
  animation-delay: 1.1s;
}

.hero-orb--3 {
  width: 76px; height: 76px;
  background: radial-gradient(circle at 38% 32%, rgba(140,230,255,0.95), rgba(37,140,224,0.68), rgba(0,40,80,0.5));
  box-shadow: 0 0 42px rgba(55,175,255,0.5), 0 12px 38px rgba(0,0,0,0.35), inset 0 -7px 18px rgba(0,30,60,0.3);
  animation-delay: 1.0s;
}

.hero-orb--4 {
  width: 58px; height: 58px;
  background: radial-gradient(circle at 38% 32%, rgba(210,160,255,0.95), rgba(120,40,224,0.65), rgba(40,0,80,0.5));
  box-shadow: 0 0 34px rgba(160,75,255,0.48), 0 10px 30px rgba(0,0,0,0.35), inset 0 -6px 14px rgba(30,0,60,0.3);
  animation-delay: 1.2s;
}

.hero-orb.orb-tap {
  animation: orbTap 0.5s ease-out forwards !important;
}

@keyframes orbAppear {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes orbTap {
  0%   { filter: brightness(1) saturate(1); }
  35%  { filter: brightness(2.6) saturate(2); box-shadow: 0 0 80px currentColor, 0 0 120px currentColor; }
  100% { filter: brightness(1) saturate(1); }
}

/* ── Atmospheric light beams (hero-section-1 style) ── */
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 30%, rgba(255,255,255,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 25%, rgba(255,255,255,0.035) 0%, transparent 60%);
  transform: rotate(-15deg) scaleX(1.2);
  opacity: 0;
  animation: heroFadeIn 1.2s ease 0.2s forwards;
}

/* ── ElegantShape floating ovals (shape-landing-hero style) ── */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.06);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}

.hero-shape-1 {
  width: 560px; height: 128px;
  left: -6%; top: 18%;
  background: linear-gradient(90deg, rgba(255,255,255,0.10), transparent 70%);
  --rot: 12deg;
  animation: shapeEntrance 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.3s forwards,
             shapeFloat1 12s ease-in-out 2.7s infinite;
}

.hero-shape-2 {
  width: 460px; height: 108px;
  right: -2%; top: 66%;
  background: linear-gradient(90deg, rgba(200,100,120,0.14), transparent 70%);
  --rot: -15deg;
  animation: shapeEntrance 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.5s forwards,
             shapeFloat2 14s ease-in-out 2.9s infinite;
}

.hero-shape-3 {
  width: 290px; height: 72px;
  left: 6%; bottom: 10%;
  background: linear-gradient(90deg, rgba(160,100,255,0.13), transparent 70%);
  --rot: -8deg;
  animation: shapeEntrance 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.4s forwards,
             shapeFloat1 10s ease-in-out 2.8s infinite;
}

.hero-shape-4 {
  width: 200px; height: 56px;
  right: 16%; top: 11%;
  background: linear-gradient(90deg, rgba(255,210,80,0.10), transparent 70%);
  --rot: 20deg;
  animation: shapeEntrance 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.6s forwards,
             shapeFloat2 11s ease-in-out 3.0s infinite;
}

.hero-shape-5 {
  width: 148px; height: 42px;
  left: 21%; top: 7%;
  background: linear-gradient(90deg, rgba(80,210,255,0.11), transparent 70%);
  --rot: -25deg;
  animation: shapeEntrance 2.4s cubic-bezier(0.23,0.86,0.39,0.96) 0.7s forwards,
             shapeFloat1 9s ease-in-out 3.1s infinite;
}

@keyframes shapeEntrance {
  0%   { opacity: 0;   transform: rotate(var(--rot)) translateY(-140px); }
  100% { opacity: 1;   transform: rotate(var(--rot)) translateY(0); }
}

@keyframes shapeFloat1 {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50%       { transform: rotate(var(--rot)) translateY(16px); }
}

@keyframes shapeFloat2 {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50%       { transform: rotate(var(--rot)) translateY(-14px); }
}

/* Mouse spotlight */
#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px circle at var(--mx) var(--my), rgba(255,255,255,0.06), transparent 65%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.05s;
}

/* Entrance keyframes */
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroNameReveal {
  from { opacity: 0; transform: translateY(48px); letter-spacing: 0.15em; }
  to   { opacity: 1; transform: translateY(0);    letter-spacing: 0.05em; }
}

@keyframes namePulse {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 60px rgba(255,255,255,0.15); }
}

/* Corner labels */
.hero-corner {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  pointer-events: none;
  line-height: 1.6;
  animation: heroFadeIn 0.8s ease both;
}

.hero-corner--tl { top: 24px; left: 28px;  animation-delay: 0.5s; }
.hero-corner--tr { top: 24px; right: 28px; text-align: right; animation-delay: 0.6s; }

.hero-socials-corner {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: all;
}

.hero-socials-corner a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.hero-socials-corner a:hover { color: #fff; }
.hero-socials-corner span { color: rgba(255,255,255,0.2); }
.hero-corner--bl { bottom: 28px; left: 28px;  animation-delay: 0.9s; }
.hero-corner--bc {
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite 1.5s, heroFadeIn 0.6s ease 1s both;
}
.hero-corner--br { bottom: 28px; right: 28px; text-align: right; animation-delay: 0.9s; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(4px); }
}

/* Floating pixel swords — Stephanie style */
.hero-cross {
  position: absolute;
  display: block;
  user-select: none;
  pointer-events: none;
  line-height: 0;
  opacity: 0;
  animation: crossEntrance 0.5s ease forwards, crossFloat 7s ease-in-out infinite;
}

/* Colorful pixel crosses like Stephanie */
.hero-cross:nth-child(7)  { color: rgba(255,70,70,0.75);   animation-delay: 0.8s,  0.8s;  animation-duration: 0.5s, 6s; }
.hero-cross:nth-child(8)  { color: rgba(255,200,0,0.7);    animation-delay: 1.0s,  1.0s;  animation-duration: 0.5s, 8s; }
.hero-cross:nth-child(9)  { color: rgba(255,255,255,0.3);  animation-delay: 1.2s,  1.2s;  animation-duration: 0.5s, 7s; }
.hero-cross:nth-child(10) { color: rgba(80,230,140,0.65);  animation-delay: 0.9s,  0.9s;  animation-duration: 0.5s, 9s; }
.hero-cross:nth-child(11) { color: rgba(255,70,70,0.5);    animation-delay: 1.3s,  1.3s;  animation-duration: 0.5s, 6.5s; }
.hero-cross:nth-child(12) { color: rgba(255,255,255,0.25); animation-delay: 1.1s,  1.1s;  animation-duration: 0.5s, 7.5s; }

@keyframes crossEntrance {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes crossFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(10deg); }
}

/* Center content */
.hero-center {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  animation: heroSlideDown 0.7s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(88px, 17vw, 210px);
  color: #fff;
  line-height: 0.88;
  letter-spacing: 0.05em;
  margin: 0;
  animation: heroNameReveal 1s cubic-bezier(0.16,1,0.3,1) 0.55s both,
             namePulse 4s ease-in-out infinite 2s;
}

/* Pixel sword replacing the I in NIKOLAS */
.sword-i {
  display: inline-block;
  height: 0.82em;
  width: 0.22em;
  vertical-align: -0.05em;
  position: relative;
  margin: 0 0.01em;
}

.sword-i svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.hero-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(13px, 1.8vw, 20px);
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  margin-bottom: 40px;
  animation: heroFadeIn 0.7s ease 0.85s both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-ctas .btn-hero-primary {
  animation: heroSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) 1.0s both;
}

.hero-ctas .btn-hero-ghost {
  animation: heroSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) 1.15s both;
}

/* Social links row in hero */
.hero-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.hero-socials a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.hero-socials a:hover { color: rgba(255,255,255,0.85); }

.hero-socials span { color: rgba(255,255,255,0.18); }

/* Buttons adapted for blue background */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  background: #fff;
  color: var(--blue);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn-hero-primary:hover { background: rgba(255,255,255,0.88); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

/* Keep typing element hidden — used by JS */
.typing-text { display: none !important; }

/* ==========================================
   STATS BAR
   ========================================== */

.stats-bar {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--border);
}

.stat-item {
  background: var(--bg);
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg2); }

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ==========================================
   PORTFOLIO
   ========================================== */

#work { border-top: 1px solid var(--border); }

/* ── Project list (showcase style) ── */
.project-list {
  margin-top: 8px;
}

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 16px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}

.project-row::before {
  content: '';
  position: absolute;
  inset: 0 -8px;
  border-radius: 3px;
  background: var(--bg2);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 0;
}

.project-row:hover::before { opacity: 1; }

.project-row-info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.project-row-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  position: relative;
}

/* animated underline */
.project-row-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--white);
  transition: width 0.3s ease;
}

.project-row:hover .project-row-title::after { width: 100%; }

.project-arrow {
  color: var(--dim);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.project-row:hover .project-arrow {
  opacity: 1;
  transform: translate(0, 0);
  color: var(--white);
}

.project-row-desc {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
  transition: color 0.2s;
}

.project-row:hover .project-row-desc { color: rgba(255,255,255,0.55); }

.project-row-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dimmer);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}

.project-row:hover .project-row-tag { color: var(--dim); }

.project-list-end { border-top: 1px solid var(--border); }

/* ==========================================
   PROCESS / ORCHESTRATION BOARD
   ========================================== */

#process { border-top: 1px solid var(--border); }

/* ── Two-column sticky split ── */
.process-split {
  position: relative;
  padding: 0 28px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-split-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  align-items: start;
}

/* LEFT sticky column */
.process-sticky-left {
  position: sticky;
  top: 80px;
  padding: 0 48px 0 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Orchestrator badge */
.orc-id-badge {
  border: 1px solid var(--border-b);
  background: rgba(37,37,224,0.05);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.orc-id-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.orc-label-sm {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--blue);
  opacity: 0.8;
  margin-bottom: 12px;
}

.orc-initials {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: var(--white);
  line-height: 0.88;
  letter-spacing: 0.04em;
}

.orc-name-full {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 10px;
}

.orc-tagline {
  font-size: 12px;
  color: var(--dim);
  margin-top: 4px;
  line-height: 1.6;
}

.orc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ok);
  margin-top: 16px;
}

.orc-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: blink 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* Step progress list in left panel */
.orc-step-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.orc-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: default;
}

.orc-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--dimmer);
  letter-spacing: 0.06em;
  transition: color 0.25s;
  flex-shrink: 0;
}

.orc-step-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dimmer);
  transition: color 0.25s;
  text-transform: uppercase;
}

.orc-step--active {
  border-color: var(--border-b);
  background: rgba(37,37,224,0.07);
}

.orc-step--active .orc-step-num { color: var(--blue); }
.orc-step--active .orc-step-name { color: var(--white); }

/* ── RIGHT: stacking cards ── */
.process-stacking-right {
  position: relative;
  padding-top: 4px;
}

/* Each dwell sets scroll-duration per card */
.agent-dwell {
  position: relative;
  height: 90vh;
}

.agent-dwell--last {
  height: auto;
  padding-bottom: 120px;
}

/* The card: sticky inside its dwell wrapper */
.agent-card {
  position: sticky;
  top: 90px;
  border: 1px solid var(--border-b);
  background: var(--bg2);
  padding: 32px 36px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.agent-dwell:nth-child(1) .agent-card { z-index: 1; }
.agent-dwell:nth-child(2) .agent-card { z-index: 2; }
.agent-dwell:nth-child(3) .agent-card { z-index: 3; }
.agent-dwell:nth-child(4) .agent-card { z-index: 4; }
.agent-dwell:nth-child(5) .agent-card { z-index: 5; }

/* Slight top offset per card so they visually stack */
.agent-dwell:nth-child(2) .agent-card { top: 94px; }
.agent-dwell:nth-child(3) .agent-card { top: 98px; }
.agent-dwell:nth-child(4) .agent-card { top: 102px; }
.agent-dwell:nth-child(5) .agent-card { top: 106px; }

.agent-card--active {
  border-color: rgba(37,37,224,0.5);
  box-shadow: 0 0 40px rgba(37,37,224,0.12);
}

.agent-card--done {
  border-color: rgba(0,229,160,0.3);
}

.agent-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.agent-fn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--blue);
  opacity: 0.8;
}

.agent-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  color: var(--dim);
  background: transparent;
}

.agent-tag--exec {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.agent-tag--done {
  border-color: var(--ok);
  color: var(--ok);
  background: rgba(0,229,160,0.06);
}

.agent-card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: 0.04em;
  position: absolute;
  right: 32px;
  top: 24px;
  pointer-events: none;
}

.agent-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.agent-card-desc {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.75;
  max-width: 480px;
}

.agent-card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.agent-card-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--dimmer);
}

.agent-card-status--exec {
  color: var(--blue);
  animation: tagPulse 2s ease-in-out infinite;
}

.agent-card-status--done { color: var(--ok); }

/* Mobile-only elements hidden on desktop */
.agent-mobile-dots { display: none; }
.agent-mobile-hint { display: none; }

/* Responsive — agent carousel on mobile */
@media (max-width: 900px) {
  .process-split { padding: 0 0 80px; }
  .process-split-inner { grid-template-columns: 1fr; }

  /* Compact orchestrator header */
  .process-sticky-left {
    position: static;
    padding: 0 20px 20px;
  }
  .orc-id-badge { padding: 18px 20px; }
  .orc-initials { font-size: 52px; }
  .orc-step-list { display: none; }

  /* Horizontal scroll-snap carousel */
  .process-stacking-right {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 0 20px 12px;
    scroll-padding-left: 20px;
  }
  .process-stacking-right::-webkit-scrollbar { display: none; }

  .agent-dwell {
    min-width: min(300px, calc(100vw - 56px));
    flex-shrink: 0;
    height: auto !important;
    padding-bottom: 0 !important;
    scroll-snap-align: start;
  }
  .agent-dwell--last { padding-bottom: 0 !important; }

  .agent-card {
    position: static;
    top: auto !important;
    min-height: 270px;
    height: 100%;
  }
  .agent-dwell:nth-child(n) .agent-card { top: auto; }

  /* Swipe hint */
  .agent-mobile-hint {
    display: block;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--dimmer);
    text-transform: uppercase;
    padding: 10px 0 6px;
  }

  /* Dot indicators */
  .agent-mobile-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 12px 0 4px;
  }

  .agent-mobile-dot {
    width: 22px; height: 3px;
    border-radius: 2px;
    background: var(--dimmer);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease;
  }

  .agent-mobile-dot.active {
    background: var(--blue);
    width: 40px;
  }
}

/* ==========================================
   PRICING
   ========================================== */

#pricing { border-top: 1px solid var(--border); }

/* Launch banner */
.launch-banner {
  border: 1px solid rgba(255,107,53,0.28);
  background: rgba(255,107,53,0.05);
  padding: 16px 24px;
  margin-bottom: 56px;
}

.launch-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.launch-banner-content > i {
  color: var(--warn);
  font-size: 15px;
  flex-shrink: 0;
}

.launch-banner strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white);
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
}

.launch-banner p {
  font-size: 13px;
  color: var(--dim);
  margin: 0;
}

.spots {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--warn);
  background: rgba(255,107,53,0.10);
  border: 1px solid rgba(255,107,53,0.3);
  padding: 8px 16px;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 64px;
}

.pricing-card {
  background: var(--bg);
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.pricing-card:hover { background: var(--bg2); }

.pricing-card.featured {
  background: var(--blue) !important;
}

.pricing-card.featured .old-price { color: rgba(255,255,255,0.45); }
.pricing-card.featured .amount    { color: var(--white); }
.pricing-card.featured .delivery  { color: rgba(255,255,255,0.5); }
.pricing-card.featured h3         { color: var(--white); }
.pricing-card.featured .features-list li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .features-list .fa-check { color: rgba(255,255,255,0.9); }
.pricing-card.featured .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.pricing-card.featured .btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

.discount-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--warn);
  border: 1px solid rgba(255,107,53,0.3);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 18px;
  background: rgba(255,107,53,0.07);
  text-transform: uppercase;
}

.popular-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.1);
  text-transform: uppercase;
}

.price-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.old-price {
  font-size: 15px;
  color: var(--dim);
  text-decoration: line-through;
  font-family: 'DM Sans', sans-serif;
}

.amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.delivery {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--off);
  line-height: 1.5;
}

.features-list .fa-check {
  color: var(--blue);
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================
   FAQ
   ========================================== */

.faq-section {
  padding: 64px 0 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}

.faq-item {
  background: var(--bg);
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item:hover { background: var(--bg2); }

.faq-item summary {
  padding: 22px 26px;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--blue);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary h3 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-item > p {
  padding: 0 26px 22px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.75;
}

/* ==========================================
   ADD-ONS
   ========================================== */

.addons-section {
  margin-top: 64px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.addons-section h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  font-weight: 400;
}

.addons-section h3::before { content: '// '; color: var(--dimmer); }

.addons-grid {
  display: flex;
  flex-wrap: wrap;
}

.addon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-right: 1px solid var(--border);
  flex: 1;
  min-width: 160px;
}

.addon-item:last-child { border-right: none; }

.addon-item i {
  color: var(--blue);
  font-size: 13px;
  flex-shrink: 0;
}

.addon-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-item strong {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
}

.addon-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--blue);
  font-weight: 700;
}

/* ==========================================
   BENEFITS
   ========================================== */

.benefits-section { border-top: 1px solid var(--border); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.benefit-card {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.2s;
}

.benefit-card:hover { background: var(--bg2); }

.benefit-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--blue-dim);
}

.benefit-icon i {
  color: var(--blue);
  font-size: 14px;
}

.benefit-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.72;
}

/* ==========================================
   CONTACT
   ========================================== */

#contact { border-top: 1px solid var(--border); }

.contact-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.contact-form {
  background: var(--bg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { position: relative; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--dimmer);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 22px 16px 10px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  resize: none;
}

.form-group select { padding: 16px; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  border-bottom-color: var(--blue);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 13px;
  color: var(--dim);
  pointer-events: none;
  transition: all 0.15s;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.form-group select option { background: var(--bg2); color: var(--white); }

.contact-info {
  background: var(--bg2);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item > i {
  color: var(--blue);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.contact-item h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
  font-weight: 400;
}

.contact-item a,
.contact-item p {
  font-size: 13.5px;
  color: var(--off);
}

.contact-item a:hover { color: var(--blue); }

.social-links {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2em;
  border: 1px solid var(--border-b);
  padding: 5px 11px;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-left p {
  font-size: 13px;
  color: var(--dim);
  max-width: 280px;
  line-height: 1.72;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-bottom p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--dimmer);
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */

[data-reveal],
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal="left"]  { transform: translateX(-18px); }
[data-reveal="right"] { transform: translateX(18px); }

.js-ready [data-reveal].revealed,
.js-ready [data-reveal-group] > *.revealed {
  opacity: 1;
  transform: none;
}

[data-reveal-group] > *:nth-child(2) { transition-delay: 0.06s; }
[data-reveal-group] > *:nth-child(3) { transition-delay: 0.12s; }
[data-reveal-group] > *:nth-child(4) { transition-delay: 0.18s; }
[data-reveal-group] > *:nth-child(5) { transition-delay: 0.24s; }
[data-reveal-group] > *:nth-child(6) { transition-delay: 0.30s; }
[data-reveal-group] > *:nth-child(7) { transition-delay: 0.36s; }
[data-reveal-group] > *:nth-child(8) { transition-delay: 0.42s; }
[data-reveal-group] > *:nth-child(9) { transition-delay: 0.48s; }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h2 { font-size: clamp(26px, 6vw, 38px); }
  section { padding: 64px 0; }

  /* Navbar mobile */
  .nav-tabs { display: none; }
  .btn-nav  { display: none; }
  .menu-toggle { display: flex; }
  .nav-inner { padding: 10px 20px 0; }

  /* Hero mobile */
  .hero-corner--tr { display: none; }
  .hero-corner--br { display: none; }
  .hero-corner--tl { font-size: 9px; }
  .hero-corner--bl { font-size: 9px; }
  .hero-name { font-size: clamp(72px, 20vw, 120px); }
  .hero-sub  { letter-spacing: 0.25em; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: 1fr; }

  .benefits-grid { grid-template-columns: 1fr; }

  .contact-content { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-content { flex-direction: column; gap: 24px; }
  .footer-links { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }

  .launch-banner-content { flex-wrap: wrap; }
  .spots { margin-left: 0; width: 100%; text-align: center; }

  .addons-grid { flex-direction: column; }
  .addon-item { border-right: none; border-bottom: 1px solid var(--border); min-width: unset; }
  .addon-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-info { padding: 24px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================
   WEBGL BACKGROUND SHADER
   ========================================== */
#bg-shader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
}

/* ==========================================
   DOT WAVE CANVAS (process section)
   ========================================== */
.dot-wave-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

/* overflow: hidden removed — it breaks position: sticky on child cards */
.process-section { position: relative; }

/* Make sure content sits above the canvas */
.process-section .container,
.process-split { position: relative; z-index: 1; }

/* ==========================================
   AGENT CARD COLOR VARIATIONS
   ========================================== */
.agent-card[data-card-idx="1"] { background: #0D0D1E; }
.agent-card[data-card-idx="2"] { background: #0E0E22; }
.agent-card[data-card-idx="3"] { background: #0F1028; border-color: rgba(37,37,224,0.45); }
.agent-card[data-card-idx="4"] { background: #10102C; }
.agent-card[data-card-idx="5"] { background: #111130; border-color: rgba(0,229,160,0.25); }

/* ==========================================
   PROJECT HOVER PREVIEW
   ========================================== */
.project-preview {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 180px;
  pointer-events: none;
  z-index: 999;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1),
              transform 0.25s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
}

.project-preview.is-visible {
  opacity: 1;
  transform: scale(1);
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   SLIDE-TO-SEND BUTTON
   ========================================== */
.slide-btn-wrap {
  position: relative;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}

.slide-btn-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg2);
  border: 1px solid var(--border-b);
  border-radius: 4px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slide-btn-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), rgba(37,37,224,0.6));
  transition: width 0.05s linear;
  border-radius: 4px 0 0 4px;
}

.slide-btn-handle {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: var(--blue);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  cursor: grab;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37,37,224,0.4);
}

.slide-btn-handle:active { cursor: grabbing; }

.slide-btn-handle.is-dragging {
  box-shadow: 0 6px 24px rgba(37,37,224,0.6);
  background: #3333f5;
}

.slide-btn-label {
  position: absolute;
  left: 0; right: 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s;
}

.slide-btn-wrap.is-dragging .slide-btn-label { opacity: 0; }

.slide-btn-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0,229,160,0.12);
  border: 1px solid rgba(0,229,160,0.3);
  border-radius: 4px;
  color: var(--ok);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}

.slide-btn-wrap.is-sent .slide-btn-track { opacity: 0; }
.slide-btn-wrap.is-sent .slide-btn-success {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section {
  border-top: 1px solid var(--border);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}

.about-left .section-header { margin-bottom: 28px; }

.about-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}

.about-body p {
  font-size: 0.96rem;
  color: var(--off);
  line-height: 1.78;
}

.about-journey-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 16px;
}

.about-timeline { display: flex; flex-direction: column; }

.about-tl-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.about-tl-item:first-child { border-top: 1px solid var(--border); }

.about-tl-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--dim);
  padding-top: 2px;
}

.about-tl-text {
  font-size: 0.875rem;
  color: var(--off);
  line-height: 1.68;
}

/* Right column */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.about-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.about-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
}

.about-card-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.94rem;
  margin-bottom: 3px;
}

.about-card-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  color: var(--dim);
}

/* Social links */
.about-socials {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.about-social {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--off);
  text-decoration: none;
  font-size: 0.85rem;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.about-social:hover {
  border-color: var(--blue-b);
  color: var(--white);
  background: var(--bg3);
}

.about-social i {
  font-size: 0.95rem;
  color: var(--blue);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.about-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
}

.about-stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-right { position: static; }
}

/* ==========================================
   QUESTION FUNNEL OVERLAY
   ========================================== */

/* Backdrop */
#funnel-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(7, 7, 15, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#funnel-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Modal card */
.funnel-inner {
  width: 100%;
  max-width: 580px;
  background: var(--bg2);
  border: 1px solid var(--border-b);
  border-radius: 14px;
  padding: 36px 36px 28px;
  position: relative;
  max-height: calc(100svh - 48px);
  overflow-y: auto;
}

.funnel-progress-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--dimmer);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.funnel-progress-bar {
  height: 100%;
  background: var(--blue);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.funnel-skip {
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 2;
  background: none;
  border: 1px solid var(--border);
  color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.funnel-skip:hover { color: var(--off); border-color: var(--dimmer); }

.funnel-step {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.funnel-step.active {
  display: flex;
  animation: funnelStepIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes funnelStepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.funnel-discount-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 229, 160, 0.07);
  border: 1px solid rgba(0, 229, 160, 0.22);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ok);
  line-height: 1.45;
}

.funnel-discount-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  animation: pulse 1.2s ease-in-out infinite alternate;
}

.funnel-step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}

.funnel-q {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: var(--white);
}

.funnel-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.funnel-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--off);
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.14s;
}

.funnel-opt:hover {
  border-color: var(--blue-b);
  background: var(--bg3);
  color: var(--white);
  transform: translateY(-2px);
}

.funnel-opt-icon {
  font-size: 1rem;
  color: var(--blue);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  line-height: 1;
}

/* Result */
.funnel-result-intro {
  font-size: 0.86rem;
  color: var(--dim);
}

.funnel-result-card {
  background: var(--bg2);
  border: 1px solid var(--border-b);
  border-radius: 10px;
  padding: 28px 26px 22px;
  position: relative;
}

.funnel-rc-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--blue);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.funnel-rc-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--blue);
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

.funnel-rc-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 400;
}

.funnel-rc-desc {
  font-size: 0.86rem;
  color: var(--off);
  line-height: 1.6;
  margin-bottom: 16px;
}

.funnel-rc-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.funnel-rc-features li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--dim);
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 3px;
}

.funnel-rc-delivery {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--ok);
  letter-spacing: 0.08em;
}

.funnel-result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.funnel-cta {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
}

.funnel-cta:hover { background: var(--blue-b); transform: translateY(-1px); }

.funnel-view-all {
  background: none;
  border: 1px solid var(--border);
  color: var(--dim);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}

.funnel-view-all:hover { color: var(--off); border-color: var(--dimmer); }

.funnel-just-skip {
  align-self: center;
  background: none;
  border: none;
  color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.18s;
}

.funnel-just-skip:hover { color: var(--off); }

@media (max-width: 500px) {
  .funnel-opts { grid-template-columns: 1fr; }
  .funnel-result-actions { flex-direction: column; align-items: stretch; }
  .funnel-cta,
  .funnel-view-all { text-align: center; }
}
