/* ============================================================
   ZEROTHREATS — Landing Page Styles
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --card: #1a1a2e;
  --card-hover: #222240;
  --primary: #00f0ff;
  --secondary: #00ff88;
  --danger: #ff3b3b;
  --warn: #ffaa00;
  --text: #f0f0f0;
  --text-dim: #8888aa;
  --text-muted: #555570;
  --glass: rgba(18, 18, 26, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --nav-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.accent { color: var(--primary); }

/* ---------- PRELOADER ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-logo-img {
  width: clamp(120px, 22vw, 200px);
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.15));
}

.preloader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ---------- CURSOR GLOW ---------- */
#cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  will-change: transform;
}

body:hover #cursor-glow { opacity: 1; }

@media (hover: none) {
  #cursor-glow { display: none; }
}

/* ---------- NAVIGATION ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

#navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-zero { color: var(--text); }
.logo-threats { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

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

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.04em;
}

.lang-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.lang-chevron {
  transition: transform 0.3s;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-out);
  z-index: 1001;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu::-webkit-scrollbar { width: 3px; }
.lang-menu::-webkit-scrollbar-thumb { background: var(--card); border-radius: 3px; }

.lang-option {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.lang-option:hover {
  background: rgba(0, 240, 255, 0.06);
  color: var(--text);
}

.lang-option.active {
  color: var(--primary);
  background: rgba(0, 240, 255, 0.08);
  font-weight: 600;
}

/* Mobile language grid */
.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.mobile-lang-grid a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}

.mobile-lang-grid a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { bottom: 0; }

.nav-hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.active { opacity: 1; pointer-events: all; }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.3s;
}

.mobile-menu-links a:hover { color: var(--primary); }

.mobile-menu-cta {
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-menu-cta:hover {
  background: var(--primary);
  color: var(--bg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.7) 0%,
    rgba(10, 10, 15, 0.5) 40%,
    rgba(10, 10, 15, 0.8) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  padding-top: var(--nav-h);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line-inner {
  display: block;
  transform: translateY(110%);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-full { width: 100%; justify-content: center; }

/* Hero shield */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shield {
  position: relative;
  width: clamp(280px, 30vw, 420px);
  height: clamp(280px, 30vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: ring-rotate 20s linear infinite;
  border-style: dashed;
}

.ring-2 {
  width: 75%;
  height: 75%;
  animation: ring-rotate 15s linear infinite reverse;
  border-color: rgba(0, 255, 136, 0.12);
}

.ring-3 {
  width: 50%;
  height: 50%;
  animation: ring-rotate 10s linear infinite;
  border-color: rgba(0, 240, 255, 0.2);
  border-style: dotted;
}

@keyframes ring-rotate { to { transform: rotate(360deg); } }

.shield-core {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.shield-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: bounce-down 2s ease-in-out infinite;
  color: var(--primary);
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- TRUST MARQUEE ---------- */
.trust-marquee {
  padding: 1.2rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--surface);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  padding-right: 3rem;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- SECTIONS (shared) ---------- */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 1.25rem auto 0;
  line-height: 1.7;
}

/* ---------- SERVICES ---------- */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
  cursor: default;
}

.service-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-4px);
}

.service-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 240, 255, 0.06) 0%, transparent 60%);
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:hover .service-card-glow { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}

.service-card:hover .service-link { gap: 0.8rem; }

/* ---------- STATS ---------- */
.stats {
  background: var(--surface);
  overflow: hidden;
  position: relative;
}

.stats-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-suffix {
  font-size: 0.6em;
  color: var(--primary);
  margin-left: 2px;
}

.stat-prefix {
  font-size: 0.6em;
  color: var(--primary);
  margin-right: 2px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ---------- PROCESS ---------- */
.process { background: var(--bg); }

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--card);
}

.process-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transition: height 0.1s;
}

.process-step {
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem 0;
  position: relative;
  opacity: 0.3;
  transition: opacity 0.5s;
}

.process-step.active { opacity: 1; }

.process-dot {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
  position: relative;
  z-index: 2;
}

.process-step.active .process-dot {
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.process-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-content p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 500px;
}

/* ---------- ABOUT ---------- */
.about { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-video-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(10, 10, 15, 0.3) 100%);
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.about-badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.3;
  margin-top: 0.25rem;
  display: block;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-text .section-tag {
  display: block;
  text-align: left;
  margin-bottom: 1rem;
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.about-checklist svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--bg); }

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.testimonial-card:hover {
  border-color: rgba(0, 240, 255, 0.15);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.testimonial-card > p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- THREAT INTEL ---------- */
.threat-intel { background: var(--surface); }

.threat-dashboard {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: start;
}

.threat-terminal {
  background: #0d0d14;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.25rem;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }
.terminal-body::-webkit-scrollbar-thumb { background: var(--card); border-radius: 4px; }

.terminal-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  animation: line-in 0.4s var(--ease-out);
}

@keyframes line-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.t-time { color: var(--text-muted); }
.t-status {
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.t-ok { color: var(--secondary); background: rgba(0, 255, 136, 0.08); }
.t-warn { color: var(--warn); background: rgba(255, 170, 0, 0.08); }
.t-crit { color: var(--danger); background: rgba(255, 59, 59, 0.08); }
.t-type { color: var(--text); }
.t-origin { color: var(--text-muted); margin-left: auto; }

.threat-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.threat-stat {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.threat-stat-ring {
  width: 70px;
  height: 70px;
  position: relative;
  flex-shrink: 0;
}

.threat-stat-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.threat-ring-fill {
  transition: stroke-dashoffset 1.5s var(--ease-out);
}

.threat-stat-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.threat-stat-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.04) 0%, transparent 50%),
                     radial-gradient(circle at 80% 50%, rgba(0, 255, 136, 0.04) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

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

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--text-muted);
}

.cta-form select { color: var(--text-muted); cursor: pointer; }
.cta-form select option { background: var(--card); color: var(--text); }

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: var(--primary);
}

.cta-form textarea { resize: vertical; min-height: 100px; }

.cta-contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-contact-info a,
.cta-contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.cta-contact-info a:hover { color: var(--primary); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s;
}

.footer-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--primary); }

.footer-col li:not(:has(a)) {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-legal a:hover { color: var(--primary); }

/* ---------- PHONE MOCKUPS ---------- */
.mockups { background: var(--bg); overflow: hidden; }

.mockups-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1rem, 3vw, 2.5rem);
  perspective: 1200px;
}

.phone-mockup { flex-shrink: 0; }

.phone-frame {
  width: clamp(200px, 22vw, 280px);
  background: #111118;
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 240, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.phone-left .phone-frame { transform: rotateY(12deg) rotateX(2deg) scale(0.92); }
.phone-right .phone-frame { transform: rotateY(-12deg) rotateX(2deg) scale(0.92); }
.phone-center .phone-frame {
  transform: scale(1.05);
  border-color: rgba(0, 240, 255, 0.15);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.06);
}

.phone-notch {
  width: 100px;
  height: 22px;
  background: #111118;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #0a0a12;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
}

.mock-app { padding: 0.75rem; }

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 0.75rem;
}

.mock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.mock-green { background: var(--secondary); box-shadow: 0 0 6px var(--secondary); }
.mock-red { background: var(--danger); box-shadow: 0 0 6px var(--danger); }
.mock-cyan { background: var(--primary); box-shadow: 0 0 6px var(--primary); }

.mock-time { color: var(--text-muted); }

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.mock-mini-stat {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0.5rem 0.3rem;
  text-align: center;
}

.mock-mini-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.mock-green-text { color: var(--secondary); }
.mock-cyan-text { color: var(--primary); }

.mock-mini-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
}

.mock-chart-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary), rgba(0, 240, 255, 0.2));
  border-radius: 3px 3px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1s var(--ease-out);
}

.mockups-showcase.animated .mock-chart-bar { transform: scaleY(1); }

.mock-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.6rem;
}

.mock-alert-ok {
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.12);
}

.mock-alert-icon {
  font-size: 0.9rem;
  color: var(--secondary);
}

.mock-alert strong {
  display: block;
  font-size: 0.65rem;
  color: var(--text);
}

.mock-alert span {
  color: var(--text-muted);
  font-size: 0.55rem;
}

.mock-feed {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mock-feed-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.mock-feed-item strong {
  display: block;
  font-size: 0.6rem;
  color: var(--text);
}

.mock-feed-item span {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.mock-badge {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  font-weight: 700;
  padding: 0.2rem 0.35rem;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.mock-badge-red { color: var(--danger); background: rgba(255, 59, 59, 0.1); }
.mock-badge-green { color: var(--secondary); background: rgba(0, 255, 136, 0.08); }
.mock-badge-yellow { color: var(--warn); background: rgba(255, 170, 0, 0.08); }

.mock-compliance {
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 0;
  margin-bottom: 0.75rem;
}

.mock-comp-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.mock-comp-item strong {
  font-size: 0.6rem;
  color: var(--text-dim);
}

.mock-comp-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) var(--pct), rgba(255, 255, 255, 0.05) var(--pct));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mock-comp-ring::before {
  content: '';
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0a0a12;
}

.mock-comp-ring span {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- SCROLL REVEAL HELPERS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .threat-dashboard { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .phone-left, .phone-right { display: none; }
  .phone-center .phone-frame { transform: scale(1); }
  .mockups-showcase { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: block; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .hero-visual { order: -1; }
  .hero-shield { width: 180px; height: 180px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }

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

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .process-step { gap: 1.5rem; }
  .process-line { left: 24px; }
  .process-content h3 { font-size: 1.3rem; }

  .cta-contact-info { flex-direction: column; align-items: center; }

  .terminal-line { font-size: 0.68rem; gap: 0.4rem; }
  .t-origin { margin-left: 0; width: 100%; font-size: 0.6rem; }

  .threat-stat { padding: 1rem; gap: 0.75rem; }
  .threat-stat-ring { width: 55px; height: 55px; }
  .threat-stat-label { font-size: 0.8rem; }

  .testimonial-card { padding: 2rem 1.5rem; }

  .about-text .section-title { text-align: center; }
  .about-text .section-tag { text-align: center; }
  .about-desc { text-align: center; }
  .about-text .btn { display: flex; justify-content: center; }

  .phone-frame { width: 240px; }
  .phone-screen { min-height: 340px; }

  .section-title { font-size: clamp(1.8rem, 5vw, 3.8rem); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-shield { width: 150px; height: 150px; }
  .shield-core { width: 60px; height: 60px; }
  .shield-icon { width: 32px; height: 32px; }
  .btn { font-size: 0.85rem; padding: 0.8rem 1.5rem; }
  .service-card { padding: 2rem 1.5rem; }
  .stat-number { font-size: 2.2rem; }
  .phone-frame { width: 220px; border-radius: 24px; }
  .phone-screen { min-height: 320px; border-radius: 16px; }
  .phone-notch { width: 80px; height: 18px; border-radius: 0 0 10px 10px; }
  .mock-header { font-size: 0.58rem; }
}

/* ---------- RTL SUPPORT (Arabic, Hebrew) ---------- */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .nav-container { direction: ltr; }
[dir="rtl"] .nav-links { direction: rtl; }
[dir="rtl"] .hero-content { direction: rtl; }
[dir="rtl"] .hero-text { text-align: right; }
[dir="rtl"] .hero-ctas { justify-content: flex-start; }

[dir="rtl"] .section-header { text-align: center; direction: rtl; }
[dir="rtl"] .about-text .section-title,
[dir="rtl"] .about-text .section-tag { text-align: right; }

[dir="rtl"] .service-link svg { transform: scaleX(-1); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }

[dir="rtl"] .process-line { left: auto; right: 24px; }
[dir="rtl"] .process-step { flex-direction: row-reverse; }

[dir="rtl"] .about-grid { direction: rtl; }
[dir="rtl"] .about-badge { right: auto; left: 1.5rem; }
[dir="rtl"] .about-checklist li { flex-direction: row-reverse; text-align: right; }

[dir="rtl"] .terminal-line { direction: ltr; }
[dir="rtl"] .t-origin { margin-left: 0; margin-right: auto; }

[dir="rtl"] .cta-form { text-align: right; }
[dir="rtl"] .cta-form input,
[dir="rtl"] .cta-form select,
[dir="rtl"] .cta-form textarea { text-align: right; }

[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-brand p { text-align: right; }
[dir="rtl"] .footer-bottom { direction: rtl; }

[dir="rtl"] .marquee-content { animation-direction: reverse; }

[dir="rtl"] .lang-menu { right: auto; left: 0; }
