/* ============================================================
   GALODO — Dark Cyber Theme
   ============================================================ */

:root {
  /* Palette dari warna dominan logo GALODO */
  --bg-0: #04090f;
  --bg-1: #081926;
  --bg-2: #0b2b45;
  --bg-3: #0e3a5c;
  --line: rgba(26, 164, 215, 0.14);
  --line-strong: rgba(26, 164, 215, 0.32);
  --text-1: #e3eef1;
  --text-2: #9fbacb;
  --text-3: #5e7e96;
  --accent: #1aa4d7;
  --accent-dim: rgba(26, 164, 215, 0.14);
  --accent-2: #5dd8e6;
  --accent-2-dim: rgba(93, 216, 230, 0.12);
  --danger: #ff4d6d;
  --warn: #ffd166;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  --radius: 14px;
  --nav-h: 72px;
  --max-w: 1180px;
  --shadow-glow: 0 0 40px rgba(26, 164, 215, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #04121c;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
  background: #16324a;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e4366;
}

/* ---------- Background layers ---------- */

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(93, 216, 230, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 216, 230, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}

/* ---------- Utilities ---------- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.accent {
  color: var(--accent);
}

.mono {
  font-family: var(--font-mono);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(120deg, #18a8de, #5dd8e6);
  color: #04121c;
  box-shadow: 0 0 28px rgba(26, 164, 215, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(26, 164, 215, 0.48);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(4, 10, 17, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: rgba(4, 10, 17, 0.94);
  border-bottom-color: var(--line-strong);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-1);
}

.logo-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-dim);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  transition: box-shadow 0.3s ease;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 10px rgba(26, 164, 215, 0.45));
  transform: scale(1.05);
}

.logo:hover .logo-icon {
  box-shadow: var(--shadow-glow);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-1);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta-mobile {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 44px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(4, 9, 15, 0.74) 0%, rgba(4, 9, 15, 0.9) 60%, rgba(4, 9, 15, 0.97) 100%),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(26, 164, 215, 0.11), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(93, 216, 230, 0.09), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  background: var(--accent-dim);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(26, 164, 215, 0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 164, 215, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(26, 164, 215, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 164, 215, 0); }
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--text-2);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 14px;
}

.check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Terminal ---------- */

.hero-visual {
  position: relative;
}

.terminal {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(6, 14, 24, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), var(--shadow-glow);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

.terminal-body {
  min-height: 300px;
  padding: 20px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
}

.terminal-body .line {
  display: block;
  opacity: 0;
  animation: lineIn 0.4s ease forwards;
}

@keyframes lineIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.terminal-body .ln-prompt { color: var(--accent); }
.terminal-body .ln-info { color: var(--accent-2); }
.terminal-body .ln-warn { color: var(--warn); }
.terminal-body .ln-danger { color: var(--danger); }
.terminal-body .ln-ok { color: var(--accent); }
.terminal-body .ln-dim { color: var(--text-3); }

.terminal-body .cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.status-ok {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.status-danger {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--danger);
}

.status-danger .pulse-dot {
  background: var(--danger);
  animation: pulse-danger 1.2s infinite;
}

@keyframes pulse-danger {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

.terminal-footer .mono {
  color: var(--text-3);
  font-size: 12px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: rgba(26, 164, 215, 0.16);
  top: -60px;
  right: -60px;
}

.orb-2 {
  width: 180px;
  height: 180px;
  background: rgba(93, 216, 230, 0.14);
  bottom: -50px;
  left: -50px;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  z-index: 3;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 32, 52, 0.45), rgba(4, 9, 15, 0.5));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-card {
  text-align: center;
  padding: 14px 8px;
}

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -1px;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------- Sections ---------- */

.section {
  padding: 84px 0;
  position: relative;
}

.section-alt {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(180deg, rgba(4, 9, 15, 0.9) 0%, rgba(4, 9, 15, 0.94) 50%, rgba(4, 9, 15, 0.9) 100%),
    url("https://images.unsplash.com/photo-1555949963-aa79dcee981c?w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-2);
  font-size: 16.5px;
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 41, 68, 0.5), rgba(8, 25, 38, 0.6));
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-2);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-2);
  border: 1px solid rgba(93, 216, 230, 0.28);
  background: var(--accent-2-dim);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ---------- How it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 18px;
}

.step {
  text-align: center;
  padding: 8px 4px;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 18px;
  display: block;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step:hover .step-icon {
  box-shadow: 0 0 30px rgba(26, 164, 215, 0.28);
  transform: scale(1.06);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-2);
  font-size: 14px;
  max-width: 230px;
  margin: 0 auto;
}

.step-connector {
  width: 54px;
  height: 2px;
  margin-top: 46px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.4;
  position: relative;
}

.step-connector::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- Security ---------- */

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.security-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 25, 38, 0.55);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.security-card:hover {
  transform: translateY(-5px);
  border-color: rgba(93, 216, 230, 0.38);
}

.security-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-2-dim);
  border: 1px solid rgba(93, 216, 230, 0.3);
  color: var(--accent-2);
  margin-bottom: 18px;
}

.security-icon svg {
  width: 24px;
  height: 24px;
}

.security-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.security-card p {
  color: var(--text-2);
  font-size: 14px;
}

/* ---------- Tech band ---------- */

.tech-band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0.92) 0%, rgba(5, 12, 20, 0.95) 100%),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80") center/cover no-repeat;
  padding: 80px 0;
}

.tech-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.tech-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.tech-sub {
  color: var(--text-2);
  font-size: 16px;
  max-width: 560px;
}

.tech-sub strong {
  color: var(--accent);
  font-family: var(--font-mono);
}

.tech-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* DORA section — 2x2 stats grid */
.dora-stats {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.dora-points {
  margin: 22px 0 34px;
}

.hero-points + .hero-actions {
  margin-top: 28px;
}

.tech-stat {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 25, 38, 0.62);
  padding: 24px 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.tech-stat:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.tech-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  color: var(--accent);
}

.tech-label {
  display: block;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13px;
}

/* ---------- FAQ ---------- */

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 25, 38, 0.55);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: var(--line-strong);
  background: rgba(11, 34, 56, 0.78);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-icon svg {
  width: 15px;
  height: 15px;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-dim);
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 700px;
}

/* ---------- CTA ---------- */

.cta {
  padding: 100px 0 110px;
}

.cta-box {
  position: relative;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(5, 11, 19, 0.9) 0%, rgba(5, 11, 19, 0.95) 100%),
    url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?w=1600&q=80") center/cover no-repeat;
  padding: 72px 32px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 240px;
  background: radial-gradient(ellipse, rgba(26, 164, 215, 0.16), transparent 65%);
  pointer-events: none;
}

.cta-title {
  position: relative;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-sub {
  position: relative;
  color: var(--text-2);
  font-size: 16.5px;
  max-width: 620px;
  margin: 0 auto 38px;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-desc {
  color: var(--text-3);
  font-size: 14.5px;
  margin: 18px 0 22px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact {
  color: var(--text-2);
  font-size: 14.5px;
  padding: 6px 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-3);
  font-size: 13.5px;
}

.footer-bottom .footer-domain {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-bottom .footer-domain:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ---------- Animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .step-connector {
    display: none;
  }

  .tech-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(4, 10, 17, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta-mobile {
    display: block;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 76px 0;
  }

  .services-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   About page
   ============================================================ */

.about-lead {
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.9;
  color: var(--text-1);
  max-width: 880px;
  margin: 0 auto;
  letter-spacing: -0.3px;
  text-align: center;
}

#who-we-are {
  text-align: center;
}

.about-lead .accent {
  color: var(--accent-2);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mission-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 41, 68, 0.5), rgba(8, 25, 38, 0.6));
  padding: 40px 34px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent 80%);
}

.mission-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(26, 164, 215, 0.12), transparent 70%);
  pointer-events: none;
}

.mission-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
}

.mission-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 3px;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.mission-card p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.95;
  text-align: justify;
  margin-bottom: 22px;
}

.mission-card p:last-child {
  margin-bottom: 0;
}

.about-values .service-card {
  height: 100%;
}

@media (max-width: 860px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Legal pages (Privacy / Terms) & Cookie consent banner
   ============================================================ */

.legal-hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 40px;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(180deg, rgba(4, 9, 15, 0.82) 0%, rgba(4, 9, 15, 0.95) 100%),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.legal-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 6px 0 14px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-3);
}

.legal-body {
  max-width: 840px;
  margin: 0 auto;
  padding: 44px 24px 110px;
}

.legal-body h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--accent-2);
  margin: 44px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.legal-body h2:first-child {
  margin-top: 0;
  border-top: none;
}

.legal-body h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-1);
  margin: 26px 0 10px;
}

.legal-body p {
  color: var(--text-2);
  font-size: 15.5px;
  margin-bottom: 16px;
}

.legal-body ul {
  margin: 0 0 18px 0;
  padding-left: 22px;
}

.legal-body ul li {
  color: var(--text-2);
  font-size: 15.5px;
  margin-bottom: 9px;
}

.legal-body ul li::marker {
  color: var(--accent);
}

.legal-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-body a:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.legal-note {
  margin-top: 40px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--text-2);
  font-size: 14.5px;
}

.legal-toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 25, 38, 0.5);
  padding: 22px 26px;
  margin-bottom: 36px;
}

.legal-toc h4 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 14px;
}

.legal-toc ol {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-toc ol li {
  font-size: 14.5px;
  color: var(--text-2);
}

.legal-toc ol li::marker {
  color: var(--accent-2);
}

.legal-toc a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--accent-2);
}

.legal-switch {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.legal-switch a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-3);
  text-decoration: none;
  border: none;
  transition: color 0.2s ease;
}

.legal-switch a.active {
  color: var(--accent);
}

.legal-switch a:hover {
  color: var(--accent-2);
}

/* ---------- Cookie consent banner ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 24px);
  width: min(680px, calc(100% - 32px));
  background: rgba(8, 25, 38, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), var(--shadow-glow);
  padding: 20px 22px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.cookie-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--line-strong);
  color: var(--accent);
}

.cookie-copy {
  flex: 1;
  min-width: 0;
}

.cookie-copy strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.cookie-copy p {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.cookie-copy p a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.cookie-copy p a:hover {
  color: var(--accent-2);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-dismiss {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.cookie-dismiss:hover {
  color: var(--text-1);
}

@media (max-width: 720px) {
  .cookie-banner-inner {
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 30px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
