/* ====================================
   TRUSTUP — LANDING PAGE STYLESHEET
   Palette: Midnight Blue + Cyber Electric Blue
   Font: Inter / Lexend
==================================== */

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

:root {
  --bg-deep:    #050c1a;
  --bg-dark:    #080f1e;
  --bg-card:    #0d1830;
  --bg-card2:   #0f1f3d;
  --border:     rgba(0, 212, 255, 0.12);
  --border-h:   rgba(0, 212, 255, 0.35);
  --blue:       #00d4ff;
  --blue-mid:   #0099e6;
  --blue-dark:  #0062a3;
  --glow:       rgba(0, 212, 255, 0.18);
  --glow-strong: rgba(0, 212, 255, 0.35);
  --text:       #e8f0ff;
  --text-muted: #7a95b8;
  --text-dim:   #4a6080;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main:  'Lexend', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* --- UTILITY --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #00a8e8 50%, #7060ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.7;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* --- ORB DECORATIONS --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 600px; height: 600px; background: rgba(0, 100, 255, 0.15); top: -200px; right: -200px; }
.orb-2 { width: 400px; height: 400px; background: rgba(0, 212, 255, 0.1); bottom: 0; left: -100px; }
.orb-3 { width: 300px; height: 300px; background: rgba(112, 96, 255, 0.1); top: 50%; right: 10%; }
.orb-4 { width: 500px; height: 500px; background: rgba(0, 153, 230, 0.12); top: -100px; left: 50%; transform: translateX(-50%); }
.orb-5 { width: 600px; height: 600px; background: rgba(0, 212, 255, 0.08); top: 0; right: -150px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-h);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { font-size: 15px; padding: 14px 32px; border-radius: 14px; }
.btn-full { width: 100%; }

/* ====================================
   HEADER
==================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(5, 12, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-accent { color: var(--blue); }

.logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  filter:
    /* White stroke — 4 arah rapat */
    drop-shadow(0 0 1px rgba(255,255,255,1))
    drop-shadow(1px 0 0 rgba(255,255,255,0.95))
    drop-shadow(-1px 0 0 rgba(255,255,255,0.95))
    drop-shadow(0 1px 0 rgba(255,255,255,0.95))
    drop-shadow(0 -1px 0 rgba(255,255,255,0.95))
    /* Cyan glow lapis 1 */
    drop-shadow(0 0 4px rgba(0, 212, 255, 0.9))
    /* Electric blue glow lapis 2 */
    drop-shadow(0 0 10px rgba(0, 153, 230, 0.7))
    /* Purple-blue outer glow */
    drop-shadow(0 0 20px rgba(112, 96, 255, 0.45))
    /* Shadow bawah gelap */
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
  transition: filter 0.4s ease;
}
.logo-img:hover {
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,1))
    drop-shadow(1px 0 0 rgba(255,255,255,1))
    drop-shadow(-1px 0 0 rgba(255,255,255,1))
    drop-shadow(0 1px 0 rgba(255,255,255,1))
    drop-shadow(0 -1px 0 rgba(255,255,255,1))
    drop-shadow(0 0 6px rgba(0, 212, 255, 1))
    drop-shadow(0 0 16px rgba(0, 212, 255, 0.85))
    drop-shadow(0 0 32px rgba(112, 96, 255, 0.65))
    drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
}
.logo-img-footer {
  height: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.lang-toggle:hover { border-color: var(--border-h); color: var(--white); }
.flag { font-size: 16px; line-height: 1; }

.header-cta { display: flex; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====================================
   HERO
==================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease forwards;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 38px;
  line-height: 1.7;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-sub strong { color: var(--blue); font-weight: 600; }

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-dna {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 80%;
  z-index: 1;
  opacity: 0.85;
}
#dnaCanvas { width: 100%; height: 100%; }

/* ====================================
   PROBLEM
==================================== */
.problem { text-align: center; }
.problem .section-sub { margin: 0 auto 52px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.problem-card:hover { border-color: var(--border-h); transform: translateY(-4px); }
.problem-card:hover::before { opacity: 1; }

.problem-icon {
  width: 68px; height: 68px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.problem-icon.noise { background: rgba(255, 80, 80, 0.1); color: #ff6b6b; }
.problem-icon.fake  { background: rgba(255, 170, 50, 0.1); color: #ffaa32; }
.problem-icon.time  { background: rgba(150, 80, 255, 0.1); color: #a065ff; }

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ====================================
   SOLUTION
==================================== */
.solution { text-align: center; overflow: hidden; }
.solution-bg { position: absolute; inset: 0; z-index: 0; }
.solution .section-sub { margin: 0 auto 60px; }

.solution-diagram {
  position: relative;
  z-index: 1;
}

.layer-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
}

.layer-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.3;
  z-index: 0;
}

.layer {
  position: relative;
  width: 260px;
  flex-shrink: 0;
  z-index: 1;
}

.layer-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spinSlow 20s linear infinite;
  pointer-events: none;
}
.layer-ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue);
}

.layer:nth-child(2) .layer-ring { animation-direction: reverse; animation-duration: 15s; }
.layer:nth-child(3) .layer-ring { animation-duration: 25s; }

.layer-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  margin: 20px;
}
.layer:hover .layer-content {
  border-color: var(--border-h);
  background: var(--bg-card2);
  transform: scale(1.04);
  box-shadow: 0 0 40px var(--glow);
}

.layer-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: rgba(0, 212, 255, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.layer-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.layer-content p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ====================================
   AUTHORITY 100
==================================== */
.authority-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.authority-text .section-title { margin-bottom: 18px; }

.slot-counter { margin-bottom: 32px; }
.slot-bar {
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.slot-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  border-radius: 100px;
  animation: fillBar 1.5s 0.5s ease both;
}
@keyframes fillBar {
  from { width: 0 !important; }
}
.slot-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.slot-taken { color: var(--text-muted); }
.slot-left { color: var(--blue); font-weight: 600; }

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.auth-slot {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  font-size: 11px;
  font-weight: 700;
}
.auth-slot.filled {
  background: var(--bg-card2);
  border-color: var(--border-h);
}
.auth-slot.filled .auth-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), rgba(0, 212, 255, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
}
.auth-slot.open {
  background: transparent;
  border: 1px dashed rgba(0, 212, 255, 0.2);
  color: var(--text-dim);
  font-size: 18px;
}
.auth-slot.pulse { animation: pulseSlot 2s infinite; }
@keyframes pulseSlot {
  0%, 100% { border-color: rgba(0, 212, 255, 0.2); box-shadow: none; }
  50% { border-color: var(--blue); box-shadow: 0 0 16px var(--glow); }
}

.authority-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ====================================
   HOW IT WORKS
==================================== */
.howitworks { text-align: center; }
.howitworks .section-sub { margin: 0 auto 60px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px 36px;
  text-align: left;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: var(--transition);
}
.step:hover { border-color: var(--border-h); transform: translateY(-4px); }
.step:hover::before { opacity: 1; }

.step-number {
  font-size: 56px;
  font-weight: 900;
  color: rgba(0, 212, 255, 0.07);
  line-height: 1;
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-main);
}
.step-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius);
  background: rgba(0, 212, 255, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.step h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ====================================
   TRUST / METRICS
==================================== */
.trust { text-align: center; overflow: hidden; }
.trust-bg { position: absolute; inset: 0; z-index: 0; }
.trust .section-sub { margin: 0 auto 52px; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.metric-card.featured {
  background: linear-gradient(135deg, var(--bg-card2), rgba(0, 80, 160, 0.2));
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}
.metric-card:hover { border-color: var(--border-h); transform: translateY(-4px); }

.metric-icon {
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}
.metric-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-main);
}
.metric-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  display: inline-block;
  margin-left: 2px;
  vertical-align: top;
  margin-top: 6px;
}
.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  margin: 10px 0 16px;
  line-height: 1.4;
}
.metric-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  border-radius: 100px;
  animation: fillBar 1.5s 0.8s ease both;
}

/* ====================================
   CTA SECTION
==================================== */
.cta-section { padding: 80px 0 60px; }

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.cta-form {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.form-group input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus { border-color: var(--border-h); background: rgba(0, 212, 255, 0.04); }
.form-group input.error { border-color: #ff6b6b; background: rgba(255,107,107,0.05); }

/* ── Form Firebase State ── */
.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.spin { animation: spin 0.8s linear infinite; }

/* ====================================
   FOOTER
==================================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-tagline { font-size: 14px; color: var(--text-muted); margin: 12px 0 20px; max-width: 240px; line-height: 1.5; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--border-h); color: var(--blue); }

.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.12);
  padding: 7px 14px;
  border-radius: 100px;
}
.security-badge svg { color: var(--blue); flex-shrink: 0; }

.footer-copy { font-size: 13px; color: var(--text-dim); }

/* ====================================
   MODAL
==================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 26, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal.active { opacity: 1; pointer-events: all; }

.modal-inner {
  background: var(--bg-card2);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-xl);
  padding: 52px 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 80px rgba(0, 212, 255, 0.2);
  transform: scale(0.9);
  transition: var(--transition);
}
.modal.active .modal-inner { transform: scale(1); }

.modal-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.modal-inner h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.modal-inner p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.65; }

/* ====================================
   ANIMATIONS
==================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   RESPONSIVE
==================================== */
@media (max-width: 1024px) {
  .layer-wrapper { gap: 0; flex-wrap: wrap; }
  .layer { width: 220px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .authority-content { grid-template-columns: 1fr; gap: 48px; }
  .authority-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(5, 12, 26, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 16px; border-radius: var(--radius); }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  .hero-dna { display: none; }
  .hero-content { max-width: 100%; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }

  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .layer-wrapper { flex-direction: column; align-items: center; }
  .layer-wrapper::before { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .cta-card { padding: 36px 24px; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-cta-group { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }

  .authority-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .authority-grid { grid-template-columns: repeat(3, 1fr); }
}
