/* ══════════════════════════════════════════
   ALPBEK v2 – IT Support Level Animation
   UI UX Pro Max · Dark OLED · Gold Accent
   ══════════════════════════════════════════ */

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

:root {
  --bg:        #000000;
  --bg-2:      #080808;
  --surface:   #0f0f0f;
  --surface-2: #141414;
  --border:    #1a1a1a;
  --border-2:  #262626;
  --gold:      #ca8a04;
  --gold-2:    #eab308;
  --gold-3:    #fde047;
  --gg:        rgba(202,138,4,.35);
  --accent:    #2563eb;
  --accent-2:  #3b82f6;
  --accent-3:  #60a5fa;
  --neon:      #38bdf8;
  --green:     #10b981;
  --red:       #ef4444;
  --yellow:    #f59e0b;
  --text:      #f1f5f9;
  --text-2:    #cbd5e1;
  --muted:     #64748b;
  --muted-2:   #475569;
  --l1:        #3b82f6;
  --l2:        #8b5cf6;
  --l3:        #ca8a04;
}

html { scroll-behavior: smooth; }

/* ── THREE.JS CANVAS BACKGROUND ── */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--accent-2));
  z-index: 500;
  width: 0%;
  transition: width .05s linear;
  box-shadow: 0 0 8px var(--gg);
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0.7;
  animation: float 2.5s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
}
.sh-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(202,138,4,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.sh-label { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

body {
  font-family: 'Source Sans 3', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Lexend', 'Inter', sans-serif; }
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* ── KEYFRAMES ── */
@keyframes pulse    { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.7)} }
@keyframes blink    { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes float    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes scan     { 0%{top:0} 100%{top:100%} }
@keyframes slide-in { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fade-in  { from{opacity:0} to{opacity:1} }
@keyframes flow     { 0%{left:-100%} 100%{left:100%} }
@keyframes traffic  { 0%{width:0} 100%{width:var(--tw)} }
@keyframes ups-fill { 0%{width:0} 100%{width:var(--uw)} }
@keyframes rack-in  { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:translateX(0)} }
@keyframes level-in { from{opacity:0;transform:translateY(40px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes arrow-flow { 0%,100%{opacity:.3;transform:translateX(0)} 50%{opacity:1;transform:translateX(6px)} }
@keyframes port-blink { 0%,80%,100%{opacity:1} 40%{opacity:.2} }
@keyframes card-reveal { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes glow-pulse { 0%,100%{box-shadow:0 0 20px var(--gg)} 50%{box-shadow:0 0 50px var(--gg), 0 0 80px rgba(202,138,4,.15)} }
@keyframes scanline { 0%{transform:translateY(-100%)} 100%{transform:translateY(400%)} }

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(0,0,0,.75);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: border-color .3s, background .3s;
}
nav.scrolled { border-bottom-color: rgba(202,138,4,.2); }
.logo { text-decoration: none; display: flex; align-items: center; }
.logo svg { height: 32px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .84rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--gold) !important; color: #000 !important; padding: .42rem 1.15rem; border-radius: 7px; font-weight: 700 !important; transition: background .2s !important; }
.nav-cta:hover { background: var(--gold-2) !important; }
.mob-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.mob-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mob-menu { display: none; position: fixed; top: 63px; left: 0; right: 0; background: rgba(0,0,0,.97); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; flex-direction: column; z-index: 199; }
.mob-menu.open { display: flex; }
.mob-menu a { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.mob-menu a:last-child { border-bottom: none; color: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
  padding: 6rem 5rem 5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* Hero grid + glows removed – replaced by 3D scene */
.hero-grid-overlay { display: none; }
.hero-glow-1 { display: none; }
.hero-glow-2 { display: none; }

.hero-content {
  position: relative; z-index: 2;
  flex: 1; max-width: 580px;
  background: rgba(5,8,14,.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  padding: 3rem 3rem 2.5rem;
  animation: slide-in .8s ease both;
  box-shadow: 0 2px 0 rgba(255,255,255,.06) inset, 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.4);
}
.hero-eyebrow {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(202,138,4,.1);
  border: 1px solid rgba(202,138,4,.2);
  padding: .3rem .9rem .3rem .55rem;
  border-radius: 999px;
}
.ed {
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 10px var(--gold); animation: pulse 2s infinite; flex-shrink: 0;
}
.hero-title {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 900; line-height: 1.12;
  letter-spacing: -.035em; margin-bottom: 1.25rem;
}
.grad {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 60%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: .97rem; color: var(--text-2);
  max-width: 480px; margin-bottom: 1.75rem; line-height: 1.8;
  font-weight: 400;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text); padding: .35rem .9rem; border-radius: 999px;
  font-size: .76rem; font-weight: 500;
  letter-spacing: .01em;
  transition: border-color .2s, background .2s;
}
.chip:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.chip svg { width: 10px; height: 10px; color: var(--green); flex-shrink: 0; stroke-width: 3; }
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-glow {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #000;
  padding: .85rem 1.9rem; border-radius: 10px;
  font-family: 'Lexend', sans-serif; font-weight: 700; font-size: .9rem;
  text-decoration: none; cursor: pointer; border: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 4px 24px rgba(202,138,4,.35);
  transition: filter .2s, transform .15s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: .5rem;
  letter-spacing: .01em;
}
.btn-glow:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 32px rgba(202,138,4,.5); }
.btn-outline {
  border: 1px solid rgba(255,255,255,.15); color: var(--text-2);
  padding: .85rem 1.75rem; border-radius: 10px; font-size: .9rem;
  text-decoration: none; transition: border-color .2s, color .2s, background .2s;
  background: rgba(255,255,255,.04); cursor: pointer; display: inline-flex; align-items: center;
  font-weight: 500;
}
.btn-outline:hover { border-color: rgba(202,138,4,.5); color: var(--gold); background: rgba(202,138,4,.06); }

.hero-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.75rem;
}
.stat-item { text-align: center; padding: 0 1.4rem; }
.stat-item:first-child { padding-left: 0; }
.stat-num { font-family: 'Lexend', sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.stat-lbl { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .15rem; }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.07); }

/* ── SERVER RACK ── */
.rack-scene {
  position: relative; z-index: 2;
  flex-shrink: 0; width: 380px;
  animation: rack-in 1s ease .3s both;
}

.rack-frame {
  background: linear-gradient(180deg, #0c0c0c 0%, #080808 100%);
  border: 2px solid #2a2a2a;
  border-radius: 8px;
  padding: 0;
  box-shadow:
    0 0 0 1px #111,
    0 0 40px rgba(0,0,0,.8),
    inset 0 1px 0 rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
}

/* Scanline effect */
.rack-frame::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.15), transparent);
  animation: scanline 4s linear infinite;
  pointer-events: none; z-index: 10;
}

.rack-label-top {
  background: #0a0a0a;
  border-bottom: 1px solid #1f1f1f;
  padding: .5rem .85rem;
  display: flex; align-items: center; justify-content: space-between;
}
.rack-label-top .mono { font-size: .6rem; color: #3a4a5a; letter-spacing: .1em; }
.rack-status-light { width: 7px; height: 7px; border-radius: 50%; }
.rg { background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2.5s infinite; }
.rb { background: var(--neon); box-shadow: 0 0 8px var(--neon); animation: pulse 2.5s infinite 1s; }
.ry { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); animation: pulse 2.5s infinite .5s; }

/* Rack Units */
.rack-unit {
  border-bottom: 1px solid #181818;
  padding: .55rem .85rem;
  display: flex; align-items: center; gap: .75rem;
  transition: background .2s;
  opacity: 0;
  animation: fade-in .4s ease forwards;
}
.rack-unit:hover { background: rgba(255,255,255,.02); }

.ru-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem; color: #2a3a4a; width: 18px; flex-shrink: 0;
  text-align: center;
}
.ru-body { flex: 1; min-width: 0; }
.ru-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; color: #4a6a8a; letter-spacing: .06em;
  margin-bottom: .35rem;
}

/* Ports */
.ru-ports { display: flex; gap: 3px; margin-bottom: .35rem; flex-wrap: wrap; }
.port {
  width: 8px; height: 8px; border-radius: 2px;
  transition: opacity .3s;
}
.p-active { background: var(--green); box-shadow: 0 0 4px var(--green); animation: port-blink 2s infinite; }
.p-idle { background: #1f2f1f; }
.p-warn { background: var(--yellow); box-shadow: 0 0 4px var(--yellow); animation: port-blink 1.2s infinite; }
.p-danger { background: var(--red); box-shadow: 0 0 6px var(--red); animation: port-blink .8s infinite; }

/* Traffic bar */
.ru-activity { display: flex; align-items: center; gap: .5rem; }
.traffic-bar {
  flex: 1; height: 4px; background: #1a1a1a; border-radius: 2px; overflow: hidden;
}
.traffic-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--neon));
  border-radius: 2px;
  animation: traffic 1.5s ease forwards;
  width: 0;
}
.tf-warn { background: linear-gradient(90deg, var(--yellow), var(--red)); }
.traffic-label { font-family: 'JetBrains Mono', monospace; font-size: .52rem; color: #3a5a7a; white-space: nowrap; }
.warn-text { color: #7a4a1a; }

/* Server VMs */
.server-grid { display: flex; gap: 4px; margin-bottom: .35rem; }
.vm-chip {
  display: flex; align-items: center; gap: 3px;
  background: #111; border: 1px solid #1f1f1f;
  border-radius: 3px; padding: 2px 5px;
  font-family: 'JetBrains Mono', monospace; font-size: .5rem; color: #4a6a8a;
}
.vc-on .vm-status { color: var(--green); font-size: .45rem; }
.vc-warn .vm-status { color: var(--yellow); font-size: .45rem; animation: blink 1s infinite; }

/* Disks */
.disk-row { display: flex; gap: 4px; margin-bottom: .35rem; }
.disk { width: 12px; height: 18px; border-radius: 2px; background: #1a2a1a; border: 1px solid #2a3a2a; }
.d-ok { background: #0d1f0d; border-color: #1a3a1a; box-shadow: inset 0 0 4px rgba(16,185,129,.15); }

/* UPS */
.ups-bar-wrap { display: flex; align-items: center; gap: .5rem; }
.ups-bar { flex: 1; height: 6px; background: #1a1a1a; border-radius: 3px; overflow: hidden; }
.ups-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 3px;
  animation: ups-fill 2s ease forwards;
  width: 0;
}

/* Rack bottom */
.rack-bottom {
  background: #080808; border-top: 1px solid #181818;
  padding: .45rem .85rem;
  display: flex; align-items: center; justify-content: space-between;
}
.rack-serial { font-size: .52rem; color: #1f2f3f; letter-spacing: .06em; }
.rack-leds { display: flex; gap: 5px; }
.rled { width: 5px; height: 5px; border-radius: 50%; }
.rled-g { background: var(--green); animation: pulse 2s infinite; }
.rled-b { background: var(--neon); animation: pulse 2s infinite .7s; }

/* Floating badges */
.rbadge {
  position: absolute;
  background: rgba(8,8,8,.95);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: .45rem .8rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: .68rem; font-weight: 600;
  display: flex; align-items: center; gap: .45rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.rbd { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.rbadge-fw { top: 8%; right: -30%; animation-delay: 0s; }
.rbadge-vm { bottom: 28%; right: -28%; animation-delay: 1.3s; }
.rbadge-alert { bottom: 12%; left: -18%; animation-delay: 2.2s; }

/* ── SUPPORT LEVELS SECTION ── */
.support-section {
  padding: 7rem 3rem;
  background: rgba(0,0,0,.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.support-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.section-head { text-align: center; margin-bottom: 3.5rem; position: relative; z-index: 1; }
.eyebrow {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem; font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
}
.eyebrow-c { justify-content: center; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.15;
}
.section-sub {
  color: var(--muted); font-size: .95rem; margin-top: .75rem;
  max-width: 500px; margin-left: auto; margin-right: auto;
}

/* Level Flow */
.level-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}

.level-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  opacity: 0;
}
.level-card.visible { animation: level-in .6s ease forwards; }
.level-card:hover { transform: translateY(-6px); }

.lc-1:hover { border-color: var(--l1); box-shadow: 0 20px 60px rgba(59,130,246,.15); }
.lc-2:hover { border-color: var(--l2); box-shadow: 0 20px 60px rgba(139,92,246,.15); }
.lc-3:hover { border-color: var(--l3); box-shadow: 0 20px 60px rgba(202,138,4,.15); }

/* Top accent line */
.level-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.lc-1::before { background: linear-gradient(90deg, var(--l1), var(--neon)); }
.lc-2::before { background: linear-gradient(90deg, var(--l2), #c084fc); }
.lc-3::before { background: linear-gradient(90deg, var(--l3), var(--gold-2)); }

.level-badge {
  display: inline-flex; align-items: center;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1.25rem;
  background: rgba(59,130,246,.12); color: var(--l1); border: 1px solid rgba(59,130,246,.25);
}
.lb-2 { background: rgba(139,92,246,.12); color: var(--l2); border-color: rgba(139,92,246,.25); }
.lb-3 { background: rgba(202,138,4,.12); color: var(--l3); border-color: rgba(202,138,4,.25); }

.level-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.li-l1 { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); color: var(--l1); }
.li-l2 { background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2); color: var(--l2); }
.li-l3 { background: rgba(202,138,4,.1); border: 1px solid rgba(202,138,4,.2); color: var(--l3); }
.li-l1 svg { stroke: var(--l1); }
.li-l2 svg { stroke: var(--l2); }
.li-l3 svg { stroke: var(--l3); }

.level-card h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .75rem; }
.level-card p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin-bottom: 1.25rem; }

.level-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.level-list li { display: flex; align-items: center; gap: .6rem; font-size: .83rem; color: var(--text-2); }
.li-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--l1);
}
.ld-2 { background: var(--l2); }
.ld-3 { background: var(--l3); }

.level-metric {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex; flex-direction: column; gap: .15rem;
}
.lm-val { font-family: 'Lexend', sans-serif; font-size: 1.4rem; font-weight: 900; color: var(--l1); }
.lm-2 .lm-val { color: var(--l2); }
.lm-3 .lm-val { color: var(--l3); font-size: 1.1rem; }
.lm-desc { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* Level Arrow */
.level-arrow {
  display: flex; align-items: center; padding: 0 .5rem;
  flex-shrink: 0; margin-top: 3rem;
}
.arrow-line {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--border-2));
  position: relative; overflow: hidden;
}
.arrow-pulse {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: flow 2s linear infinite;
}
.arrow-head {
  color: var(--gold); font-size: 1.1rem;
  animation: arrow-flow 1.5s ease-in-out infinite;
}

/* ── TERMINAL ── */
.terminal-wrap {
  max-width: 700px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  position: relative; z-index: 1;
}
.terminal-bar {
  background: #161616; border-bottom: 1px solid var(--border);
  padding: .65rem 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.tb-dot { width: 12px; height: 12px; border-radius: 50%; }
.td-red { background: #ff5f57; }
.td-yellow { background: #febc2e; }
.td-green { background: #28c840; }
.tb-title { color: var(--muted); font-size: .72rem; margin-left: .5rem; }
.terminal-body {
  background: #080808; padding: 1.25rem 1.5rem;
  min-height: 160px; display: flex; flex-direction: column; gap: .5rem;
}
.t-line { display: flex; align-items: flex-start; gap: .6rem; font-size: .8rem; }
.t-prompt { color: var(--gold); font-weight: 700; }
.t-cmd { color: var(--text-2); }
.t-out { padding-left: 1rem; }
.t-ok { color: var(--green); }
.t-gold { color: var(--gold); }
.t-hidden { opacity: 0; transition: opacity .3s; }
.t-visible { opacity: 1; }
.t-cursor {
  color: var(--gold); font-weight: 700;
  animation: blink .8s step-end infinite;
}

/* ── SERVICES CARDS ── */
.section { padding: 6rem 3rem; background: rgba(0,0,0,.88); position: relative; z-index: 1; }
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.card {
  background: var(--surface); padding: 2rem;
  transition: background .25s; position: relative;
}
.card:hover { background: var(--surface-2); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(202,138,4,.08); border: 1px solid rgba(202,138,4,.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.card-icon svg { color: var(--gold); stroke: var(--gold); }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.card-cta {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: 1rem; color: var(--gold); font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: gap .2s, color .2s;
}
.card-cta:hover { gap: .6rem; }

/* Reveal animation */
.reveal-card { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-card.revealed { opacity: 1; transform: translateY(0); }

/* ── FAQ ── */
.faq-section { padding: 6rem 3rem; background: rgba(6,6,8,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); position: relative; z-index: 1; }
.faq-head { text-align: center; margin-bottom: 2.5rem; }
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: .97rem; font-weight: 600; color: var(--text); gap: 1rem;
}
.faq-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; color: var(--muted); font-size: .9rem; line-height: 1.85; padding-top: .85rem; }
.faq-item.open .faq-a { display: block; }

/* ── ABOUT ── */
.about-section { padding: 6rem 3rem; background: rgba(0,0,0,.85); position: relative; z-index: 1; }
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; border-radius: 20px; object-fit: cover; aspect-ratio: 3/4; display: block; border: 1px solid var(--border); object-position: center 8%; }
.about-avatar {
  display: none; width: 100%; border-radius: 20px; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface), #0f1a2e);
  border: 1px solid var(--border);
  align-items: center; justify-content: center; flex-direction: column; gap: 1rem;
}
.avatar-initials {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 900; color: #000;
  box-shadow: 0 0 40px var(--gg);
}
.about-badge {
  position: absolute; bottom: -1rem; right: -1rem;
  background: var(--gold); color: #000;
  padding: .55rem 1rem; border-radius: 8px;
  font-size: .78rem; font-weight: 700;
  box-shadow: 0 0 20px var(--gg);
}
.about-content .eyebrow { margin-bottom: .75rem; }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 1.25rem; }
.about-content p { color: var(--muted); font-size: .95rem; line-height: 1.85; margin-bottom: 1rem; }
.cert-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.cert-chip {
  background: rgba(202,138,4,.08); border: 1px solid rgba(202,138,4,.2);
  color: var(--gold); padding: .28rem .75rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600;
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.about-stat { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.about-stat-num { font-family: 'Lexend', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--gold); letter-spacing: -.03em; }
.about-stat-label { font-size: .7rem; color: var(--muted); margin-top: .25rem; text-transform: uppercase; letter-spacing: .08em; }

/* ── TESTIMONIALS ── */
.proof-section { padding: 6rem 3rem; background: rgba(4,4,6,.9); position: relative; z-index: 1; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.proof-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  transition: border-color .25s;
}
.proof-card:hover { border-color: var(--border-2); }
.stars { display: flex; gap: 2px; margin-bottom: .85rem; }
.stars svg { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); }
.proof-card p { font-size: .9rem; line-height: 1.75; margin-bottom: 1rem; }
.author { color: var(--muted); font-size: .75rem; font-weight: 600; }

/* ── CONTACT ── */
.contact-section {
  padding: 8rem 2rem;
  background: rgba(0,0,0,.9);
  position: relative;
  z-index: 1;
}
.contact-wrap { max-width: 680px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 3rem; }
.contact-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: .75rem; }
.contact-head p { color: var(--muted); font-size: 1rem; }

.step-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 2.5rem; }
.step-item { display: flex; flex-direction: column; align-items: center; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
  border: 1px solid var(--border); color: var(--muted);
  background: var(--surface); transition: all .3s; position: relative; z-index: 1;
}
.step-dot.active { background: var(--gold); border-color: var(--gold); color: #000; box-shadow: 0 0 20px var(--gg); }
.step-dot.done { background: rgba(202,138,4,.2); border-color: var(--gold); color: var(--gold); }
.step-line { flex: 1; height: 1px; background: var(--border); max-width: 80px; transition: background .3s; }
.step-line.done { background: var(--gold); }
.step-label { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: .4rem; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.form-step { display: none; }
.form-step.active { display: block; animation: fade-in .3s ease; }
.step-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; }
.step-sub { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.option-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.25rem; cursor: pointer;
  transition: border-color .2s, background .2s;
  display: flex; align-items: flex-start; gap: .75rem;
}
.option-card:hover { border-color: var(--gold); }
.option-card.selected { border-color: var(--gold); background: rgba(202,138,4,.07); }
.option-card input[type=radio] { display: none; }
.option-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.option-text strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .15rem; }
.option-text span { font-size: .75rem; color: var(--muted); line-height: 1.5; }

.field-group { margin-bottom: 1.25rem; }
.field-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .5rem; letter-spacing: .04em; text-transform: uppercase; }
.field-group input, .field-group textarea, .field-group select {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: .85rem 1rem; color: var(--text);
  font-family: 'Source Sans 3', sans-serif; font-size: .92rem;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field-group input:focus, .field-group textarea:focus, .field-group select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(202,138,4,.1);
}
.field-group textarea { resize: vertical; min-height: 110px; }
.field-group select option { background: #0d1117; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bot-field-wrap { display: none; }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 1rem; }
.btn-prev {
  background: none; border: 1px solid var(--border); color: var(--muted);
  padding: .8rem 1.5rem; border-radius: 10px; font-size: .9rem; cursor: pointer;
  font-family: 'Source Sans 3', sans-serif; transition: border-color .2s, color .2s;
}
.btn-prev:hover { border-color: var(--accent-2); color: var(--text); }
.btn-next {
  background: var(--gold); color: #000; border: none;
  padding: .8rem 2rem; border-radius: 8px; font-size: .92rem; font-weight: 700;
  cursor: pointer; font-family: 'Lexend', sans-serif;
  box-shadow: 0 0 20px var(--gg);
  transition: box-shadow .3s, background .2s; flex: 1; max-width: 280px;
}
.btn-next:hover { background: var(--gold-2); box-shadow: 0 0 36px var(--gg); }
.privacy-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 1rem; }
.privacy-note a { color: var(--gold); }

.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success.show { display: block; animation: fade-in .5s ease; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--green); }
.success-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.success-sub { color: var(--muted); font-size: .92rem; }

.reassurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.reassurance-item { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .8rem; }
.reassurance-item span { color: var(--gold); font-weight: 700; }

.form-alert {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
  color: #f87171; border-radius: 10px; padding: .85rem 1rem; font-size: .88rem;
  margin-bottom: 1rem; display: none;
}
.form-alert.show { display: block; }
.field-group input.invalid, .field-group textarea.invalid, .field-group select.invalid {
  border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.12);
}

/* ── SUPPORT COMPACT ── */
.support-compact {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.sc-item {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  text-align: center;
}
.sc-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .25rem .7rem;
  border-radius: 99px;
  background: rgba(59,130,246,.15);
  color: var(--l1);
  margin-bottom: .75rem;
}
.sc-badge-2 { background: rgba(139,92,246,.15); color: var(--l2); }
.sc-badge-3 { background: rgba(202,138,4,.15);  color: var(--l3); }
.sc-item p { font-size: .85rem; color: var(--text-2); margin: 0 0 .75rem; }
.sc-sla { font-size: .75rem; font-weight: 600; color: var(--muted); }
.sc-arrow { font-size: 1.4rem; color: var(--border); flex-shrink: 0; }

/* ── KI-GRID ── */
.ki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.ki-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}
.ki-card:hover { border-color: rgba(202,138,4,.4); transform: translateY(-3px); }
.ki-icon { font-size: 2rem; margin-bottom: 1rem; }
.ki-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.ki-card p { font-size: .88rem; color: var(--text-2); margin-bottom: 1rem; line-height: 1.6; }
.price-tax { font-weight: 400; opacity: .65; font-size: .85em; }

.ki-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .2rem .65rem;
  border-radius: 99px;
  background: rgba(202,138,4,.12);
  color: var(--gold);
}

/* ── WEB-GRID ── */
.web-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}
.web-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color .2s;
}
.web-feature:hover { border-color: rgba(56,189,248,.3); }
.wf-icon { font-size: 1.8rem; flex-shrink: 0; }
.wf-content h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.wf-content p { font-size: .85rem; color: var(--text-2); line-height: 1.6; margin: 0; }

/* ── WEB CTA BAR ── */
.web-cta-bar {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(202,138,4,.07);
  border: 1px solid rgba(202,138,4,.25);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.web-cta-bar p { margin: 0; font-size: .9rem; color: var(--text-2); }

/* ── CARD FEATURED ── */
.card-featured {
  border-color: rgba(202,138,4,.35) !important;
  background: rgba(202,138,4,.06) !important;
  position: relative;
}
.card-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 99px;
  background: rgba(202,138,4,.2);
  color: var(--gold);
  margin-bottom: .5rem;
}

/* ── FOOTER ── */
footer { padding: 2rem 3rem; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: .78rem; background: rgba(0,0,0,.95); position: relative; z-index: 1; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); }
.footer-links { margin-top: .5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; align-items: center; text-align: center; padding: 5rem 2rem 4rem; }
  .hero-content { max-width: 100%; }
  .hero-chips, .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .ki-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .mob-btn { display: flex; }
  .level-flow { flex-direction: column; }
  .level-arrow { transform: rotate(90deg); align-self: center; }
  .section, .faq-section, .proof-section, .about-section { padding: 4rem 1.5rem; }
  .support-section { padding: 5rem 1.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-card { padding: 1.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 1.5rem; }
  .ki-grid { grid-template-columns: 1fr; }
  .web-grid { grid-template-columns: 1fr; }
  .support-compact { flex-direction: column; }
  .sc-arrow { transform: rotate(90deg); }
  .web-cta-bar { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .rack-scene { max-width: 320px; }
  .rbadge { display: none; }
  .option-grid { grid-template-columns: 1fr; }
}
