/* ─── VARIABLES ──────────────────────────────────── */
:root {
  --cyan: #00e5ff;
  --cyan-dim: #00b8d4;
  --purple: #7c3aed;
  --blue: #2563eb;
  --dark: #050508;
  --dark2: #0d0d14;
  --dark3: #12121c;
  --text: #e2e8f0;
  --text-dim: #64748b;
  --border: rgba(0,229,255,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CURSOR ─────────────────────────────────────── */
.cursor {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,229,255,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
}

/* ─── CANVAS ─────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.35;
}

/* ─── NAV ────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,5,8,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--cyan); }
.logo-nav  { height: 68px; width: auto; display: block; }
.logo-footer { height: 50px; width: auto; display: block; margin: 0 auto; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 0.5rem 1.4rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  cursor: none;
  transition: all 0.25s;
  letter-spacing: 0.05em;
}
.nav-cta:hover {
  background: var(--cyan);
  color: var(--dark);
}

/* ─── HERO ───────────────────────────────────────── */
section { position: relative; z-index: 1; }

#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 4rem 4rem;
  overflow: hidden;
}
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  background: rgba(0,229,255,0.05);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
h1 .line-accent {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 540px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 1rem; align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  background: var(--cyan);
  color: var(--dark);
  padding: 0.9rem 2.2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: none;
  transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,229,255,0.4);
}
.btn-ghost {
  color: var(--text-dim);
  background: none;
  border: none;
  font-size: 0.9rem;
  cursor: none;
  display: flex; align-items: center; gap: 0.5rem;
  transition: color 0.2s;
  padding: 0.9rem 1rem;
}
.btn-ghost:hover { color: var(--cyan); }
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ─── HERO STATS ─────────────────────────────────── */
.hero-stats {
  display: flex; gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}
.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* ─── FLOATING BADGE ─────────────────────────────── */
.hero-badge {
  position: absolute;
  right: 4rem; top: 50%;
  transform: translateY(-50%);
  width: 320px;
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.9;
  opacity: 0;
  animation: fadeLeft 0.8s 1.2s forwards;
  box-shadow: 0 0 60px rgba(0,229,255,0.06);
}
.hero-badge::before {
  content: '// security.scan()';
  display: block;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-size: 0.65rem;
}
.code-line { display: flex; gap: 0.8rem; }
.code-key { color: var(--purple); }
.code-val { color: var(--cyan); }
.code-ok { color: #22c55e; }
.code-warn { color: #f59e0b; }
.badge-score {
  margin-top: 0.8rem;
  border-top: 1px solid rgba(0,229,255,0.1);
  padding-top: 0.8rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translate(24px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

/* ─── MARQUEE ────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--dark2);
}
.marquee-track {
  display: flex; gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex; align-items: center; gap: 1rem;
}
.marquee-item::before { content: '◆'; color: var(--cyan); font-size: 0.5rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── SERVICES ───────────────────────────────────── */
#services {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 4rem;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.service-card {
  background: var(--dark2);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s, background 0.3s;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover { background: var(--dark3); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  margin-bottom: 1.5rem;
  display: block;
  line-height: 0;
}
.service-icon svg { width: 38px; height: 38px; }
@keyframes iconGlowCyan {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(0,229,255,0.55)) drop-shadow(0 0 9px rgba(0,229,255,0.25)); }
  50%       { filter: drop-shadow(0 0 9px rgba(0,229,255,1))    drop-shadow(0 0 20px rgba(0,229,255,0.5)); }
}
@keyframes iconGlowPurple {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(124,58,237,0.6))  drop-shadow(0 0 9px rgba(124,58,237,0.28)); }
  50%       { filter: drop-shadow(0 0 9px rgba(124,58,237,1))    drop-shadow(0 0 20px rgba(124,58,237,0.55)); }
}
.icon-cyan   { animation: iconGlowCyan   2.8s ease-in-out infinite; }
.icon-purple { animation: iconGlowPurple 2.8s ease-in-out infinite 1.4s; }
.service-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
}
.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: white;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.service-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 1.5rem;
}
.tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 0.2rem 0.5rem;
  background: rgba(0,229,255,0.04);
}

/* ─── STACK ──────────────────────────────────────── */
#stack {
  padding: 8rem 4rem;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stack-inner { max-width: 1200px; margin: 0 auto; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.stack-item {
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--dark);
  transition: all 0.25s;
  opacity: 0;
  transform: translateY(16px);
}
.stack-item.visible { opacity: 1; transform: translateY(0); }
.stack-item:hover {
  border-color: rgba(0,229,255,0.3);
  background: var(--dark3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,229,255,0.08);
}
.stack-category {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.stack-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}
.stack-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ─── SECURITY ───────────────────────────────────── */
#security {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.security-visual {
  position: relative;
  height: 420px;
}
.sec-parallax {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.sec-ring {
  display: block;
  border-radius: 50%;
  border: 1.5px solid;
}
.sec-ring-1 {
  width: 320px; height: 320px;
  border-color: rgba(0,229,255,0.45);
  box-shadow: 0 0 22px rgba(0,229,255,0.18), inset 0 0 22px rgba(0,229,255,0.08);
  animation: spin 20s linear infinite;
}
.sec-ring-2 {
  width: 220px; height: 220px;
  border-color: rgba(124,58,237,0.55);
  box-shadow: 0 0 18px rgba(124,58,237,0.22), inset 0 0 18px rgba(124,58,237,0.1);
  animation: spin 15s linear infinite reverse;
}
.sec-ring-3 {
  width: 120px; height: 120px;
  border-color: rgba(0,229,255,0.65);
  box-shadow: 0 0 14px rgba(0,229,255,0.25);
  animation: spin 10s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.sec-sonar {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  top: 50%; left: 50%;
  pointer-events: none;
}
@keyframes sonarPulse {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.5);  opacity: 0; }
}
.sec-sonar-1 {
  width: 320px; height: 320px;
  border-color: rgba(0,229,255,0.7);
  animation: sonarPulse 2.8s ease-out infinite;
}
.sec-sonar-2 {
  width: 220px; height: 220px;
  border-color: rgba(124,58,237,0.75);
  animation: sonarPulse 2.8s ease-out infinite 0.9s;
}
.sec-sonar-3 {
  width: 120px; height: 120px;
  border-color: rgba(0,229,255,0.75);
  animation: sonarPulse 2.8s ease-out infinite 1.8s;
}
.sec-core {
  width: 144px; height: 166px;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.shield-svg { width: 100%; height: 100%; overflow: visible; }
@keyframes shieldScan {
  0%   { transform: translateY(4px);   opacity: 0; }
  5%   { opacity: 0.75; }
  88%  { transform: translateY(108px); opacity: 0.75; }
  95%  { transform: translateY(112px); opacity: 0; }
  100% { transform: translateY(4px);   opacity: 0; }
}
.shield-scan { animation: shieldScan 3.2s ease-in-out infinite; }
@keyframes shieldPulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(0,229,255,0.5)); }
  50%       { filter: drop-shadow(0 0 10px rgba(0,229,255,0.95)) drop-shadow(0 0 20px rgba(0,229,255,0.35)); }
}
.shield-outline { animation: shieldPulse 2.8s ease-in-out infinite; }
@keyframes nodeBlink {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 0.3; }
}
.node-cyan { animation: nodeBlink 2s ease-in-out infinite; }
.node-purple { animation: nodeBlink 2s ease-in-out infinite 1s; }
.sec-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

.security-features { list-style: none; }
.sec-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.sec-feature.visible { opacity: 1; transform: translateX(0); }
.sec-check {
  width: 24px; height: 24px;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--cyan);
  margin-top: 2px;
}
.sec-feature-title { font-weight: 600; font-size: 0.95rem; }
.sec-feature-desc { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.2rem; line-height: 1.5; }

/* ─── PROCESS ────────────────────────────────────── */
#process {
  padding: 8rem 4rem;
  background: var(--dark2);
  border-top: 1px solid var(--border);
}
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.process-step {
  padding: 0 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.step-num {
  width: 4rem; height: 4rem;
  background: var(--dark);
  border: 1px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  color: var(--cyan);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; }

/* ─── CTA ────────────────────────────────────────── */
#cta {
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
#cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
#cta p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 300;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--dark2);
}
.footer-logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
}
.footer-logo span { color: var(--cyan); }
footer p {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  font-family: 'Space Mono', monospace;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

/* ─── SCROLL ANIMATIONS ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── GLITCH ─────────────────────────────────────── */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.glitch::before {
  color: var(--cyan);
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
  animation: glitch1 4s infinite;
  opacity: 0;
}
.glitch::after {
  color: var(--purple);
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
  animation: glitch2 4s infinite;
  opacity: 0;
}
@keyframes glitch1 {
  0%, 90%, 100% { transform: none; opacity: 0; }
  91% { transform: translateX(-4px); opacity: 0.8; }
  93% { transform: translateX(4px); opacity: 0.8; }
  95% { transform: translateX(0); opacity: 0; }
}
@keyframes glitch2 {
  0%, 92%, 100% { transform: none; opacity: 0; }
  93% { transform: translateX(4px); opacity: 0.8; }
  95% { transform: translateX(-4px); opacity: 0.8; }
  97% { transform: translateX(0); opacity: 0; }
}

/* ─── MOBILE RESPONSIVE ──────────────────────────── */
.hamburger { display: none; }

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  button, a { cursor: pointer; }

  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--cyan);
    transition: all 0.3s;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,5,8,0.98);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.2s;
  }
  .mobile-menu a:hover { color: var(--cyan); }
  .mobile-menu-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: none; border: none;
    color: var(--cyan);
    font-size: 1.5rem;
    cursor: pointer;
  }
  .mobile-menu .menu-cta {
    margin-top: 1rem;
    background: var(--cyan);
    color: var(--dark);
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
  }

  #hero {
    padding: 7rem 1.5rem 3rem;
    min-height: 100svh;
    align-items: flex-start;
  }
  .hero-badge { display: none; }
  h1 {
    font-size: clamp(2.6rem, 11vw, 3.5rem);
    line-height: 1;
  }
  .hero-sub { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary { width: 100%; text-align: center; padding: 1rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
  }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.7rem; }

  #services { padding: 5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1px; }

  #stack { padding: 5rem 1.5rem; }
  .stack-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  #security { padding: 5rem 1.5rem; }
  .security-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .security-visual { height: 260px; }
  .sec-ring-1 { width: 220px; height: 220px; }
  .sec-ring-2 { width: 150px; height: 150px; }
  .sec-ring-3 { width: 80px; height: 80px; }
  .sec-core { width: 96px; height: 110px; }

  #process { padding: 5rem 1.5rem; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-steps::before { display: none; }
  .process-step {
    text-align: left;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
  }
  .step-num {
    width: 3rem; height: 3rem;
    flex-shrink: 0;
    margin: 0;
    font-size: 0.85rem;
  }

  #cta { padding: 5rem 1.5rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary { width: 100%; text-align: center; }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-links { justify-content: center; }

  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .section-sub { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .stack-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.2rem, 12vw, 3rem); }
}
