:root {
  color-scheme: dark;
  --ink: #dfe7f2;
  --ink-muted: #9eb0c8;
  --text: var(--ink);
  --text-muted: var(--ink-muted);
  --accent: #32f4c5;
  --accent-strong: #28b8ff;
  --surface: rgba(8, 16, 28, 0.9);
  --surface-strong: rgba(11, 22, 39, 0.98);
  --surface-light: rgba(11, 22, 39, 0.72);
  --stroke: rgba(60, 90, 140, 0.4);
  --glow: rgba(50, 244, 197, 0.25);
  --shadow: rgba(2, 5, 10, 0.65);
}

/* View Transitions API support */
@view-transition {
  navigation: auto;
}

/* Page transition animations */
::view-transition-old(root) {
  animation: fade-out 0.3s ease-out;
}

::view-transition-new(root) {
  animation: fade-in 0.4s ease-in;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback for browsers without View Transitions */
body.transitioning {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

body.transition-complete {
  opacity: 1;
  transition: opacity 0.4s ease-in;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #0a1a2d 0%, #050911 55%, #03050a 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1320px, 96vw);
  margin: 0 auto;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(38, 66, 110, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 66, 110, 0.25) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.ambient-orbs span {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(0px);
  background: radial-gradient(circle, rgba(50, 244, 197, 0.25), transparent 70%);
  animation: drift 18s ease-in-out infinite;
  z-index: 0;
}

.ambient-orbs span:nth-child(1) {
  top: 8%;
  left: -4%;
}

.ambient-orbs span:nth-child(2) {
  top: 40%;
  right: -6%;
  animation-delay: -6s;
}

.ambient-orbs span:nth-child(3) {
  bottom: -10%;
  left: 45%;
  animation-delay: -12s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -30px, 0) scale(1.05);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(4, 8, 16, 0.7);
  border-bottom: 1px solid rgba(60, 90, 140, 0.2);
}

.nav,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(60, 90, 140, 0.45);
  border-radius: 14px;
  background: rgba(6, 12, 22, 0.9);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav-toggle:hover {
  border-color: rgba(50, 244, 197, 0.7);
  background: rgba(11, 22, 39, 0.95);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(120deg, #32f4c5, #28b8ff, #32f4c5);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(50, 244, 197, 0.5));
  animation: brand-float 4s ease-in-out infinite;
}

.brand-tag {
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-muted);
}

.nav-links a {
  transition: color 0.3s ease;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.nav-links a:hover {
  color: var(--accent);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #041018;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(50, 244, 197, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(50, 244, 197, 0.35);
}

.cta.small {
  padding: 10px 18px;
  font-size: 14px;
}

.ghost {
  border: 1px solid var(--stroke);
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--ink);
  transition: border 0.3s ease, color 0.3s ease;
}

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

.hero {
  padding: clamp(72px, 10vh, 100px) 0 clamp(72px, 8vh, 90px);
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 14px 0;
  background: linear-gradient(120deg, #32f4c5, #28b8ff, #32f4c5);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(50, 244, 197, 0.5));
  animation: brand-float 4s ease-in-out infinite;
}

.lead {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 560px;
}

.hero-points span {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
}

.hero-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(50, 244, 197, 0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 30px;
  flex-wrap: wrap;
}

.swachlit {
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.4px;
}

.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.metric {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero-visual {
  position: relative;
  width: 100%;
  height: clamp(300px, 34vw, 380px);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 30, 48, 0.8), rgba(6, 10, 16, 0.95));
  border: 1px solid rgba(80, 120, 190, 0.25);
  overflow: hidden;
  box-shadow: 0 28px 60px var(--shadow);
}

.hero-visual.eye-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(circle at 50% 40%, rgba(14, 30, 46, 0.85), rgba(4, 8, 16, 0.95));
}

.eye-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.eye-scene.compact {
  min-height: 320px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(14, 30, 46, 0.85), rgba(4, 8, 16, 0.95));
  border: 1px solid rgba(80, 120, 190, 0.25);
  box-shadow: 0 28px 60px var(--shadow);
}

.eye-zoom {
  position: relative;
  width: min(460px, 90%);
  aspect-ratio: 4 / 3;
  animation: eye-approach 9s ease-in-out infinite;
}

.eye-scene.compact .eye-zoom {
  width: min(380px, 86%);
  animation-duration: 10s;
}

.eye-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  filter: saturate(1.05) contrast(1.05) brightness(0.9);
  position: relative;
  z-index: 1;
}

.eye-shadow {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 55%, rgba(20, 40, 60, 0.08) 20%, rgba(3, 6, 12, 0.35) 70%);
  box-shadow: 0 30px 60px rgba(2, 6, 15, 0.45);
  z-index: 2;
}

.eye-lid {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(3, 6, 12, 0.9), rgba(3, 6, 12, 0.6));
  transform-origin: top;
  animation: lid-open 9s ease-in-out infinite;
  z-index: 5;
}

.eye-iris {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  clip-path: circle(36% at 50% 55%);
  z-index: 3;
}

.eye-stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  letter-spacing: 0.4px;
  color: #32f4c5;
  opacity: 0;
  text-align: center;
  padding: 0 18px;
  text-shadow: 0 0 12px rgba(50, 244, 197, 0.6);
  animation: stream-speed 0.6s linear infinite, stream-reveal 9s ease-in-out infinite, stream-flicker 0.12s linear infinite;
}

.eye-stream span {
  opacity: 0.85;
}

.eye-flag {
  position: absolute;
  display: grid;
  gap: 6px;
  align-items: center;
  justify-items: center;
  opacity: 0;
  animation: flag-reveal 9s ease-in-out infinite;
  text-align: center;
}

.flag-tag {
  background: rgba(50, 244, 197, 0.2);
  border: 1px solid rgba(50, 244, 197, 0.7);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.flag-text {
  background: rgba(4, 12, 20, 0.85);
  border: 1px solid rgba(255, 90, 90, 0.7);
  color: #ffb3b3;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.pulse-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(50, 244, 197, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3.6s ease-in-out infinite;
}

.pulse-ring-2 {
  animation-delay: -1.8s;
  border-color: rgba(40, 184, 255, 0.3);
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.6;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.6;
  }
}

.signal-core {
  position: absolute;
  inset: 30px;
  border-radius: 20px;
  border: 1px solid rgba(50, 244, 197, 0.2);
  display: grid;
  align-items: center;
  justify-items: center;
}

.signal-line {
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 4s linear infinite;
}

.signal-line:nth-child(2) {
  animation-delay: -1.2s;
}

.signal-line:nth-child(3) {
  animation-delay: -2.4s;
}

@keyframes scan {
  0% {
    transform: translateY(-80px);
    opacity: 0.2;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(80px);
    opacity: 0.2;
  }
}

.data-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(40, 184, 255, 0.15) 50%,
    transparent 100%
  );
  animation: sweep 6s linear infinite;
}

@keyframes sweep {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.threat-indicator {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ff5757;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff5757, 0 0 20px rgba(255, 87, 87, 0.5);
  animation: threat-blink 2s ease-in-out infinite;
}

.threat-1 {
  top: 20%;
  right: 15%;
}

.threat-2 {
  bottom: 25%;
  left: 12%;
  animation-delay: -0.7s;
}

.threat-3 {
  top: 60%;
  right: 20%;
  animation-delay: -1.4s;
}

@keyframes threat-blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

.network-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: node-pulse 3s ease-in-out infinite;
}

.node-1 {
  top: 15%;
  left: 20%;
}

.node-2 {
  top: 30%;
  right: 25%;
  animation-delay: -0.8s;
}

.node-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: -1.6s;
}

.node-4 {
  bottom: 35%;
  right: 18%;
  animation-delay: -2.4s;
}

@keyframes node-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.security-status {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 12, 20, 0.9);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.security-status svg {
  width: 18px;
  height: 18px;
  animation: shield-glow 2s ease-in-out infinite;
}

@keyframes shield-glow {
  0%, 100% {
    filter: drop-shadow(0 0 3px var(--accent));
  }
  50% {
    filter: drop-shadow(0 0 8px var(--accent));
  }
}

@keyframes brand-float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 0 15px rgba(50, 244, 197, 0.4));
  }
  50% {
    transform: translateY(-15px) scale(1.03);
    filter: drop-shadow(0 0 40px rgba(50, 244, 197, 0.8)) drop-shadow(0 15px 30px rgba(40, 184, 255, 0.5));
  }
}

@keyframes eye-approach {
  0% {
    transform: scale(0.65) translateY(30px);
    opacity: 0.2;
    filter: blur(1px);
  }
  35% {
    transform: scale(0.9) translateY(10px);
    opacity: 0.7;
    filter: blur(0.5px);
  }
  60% {
    transform: scale(1.25) translateY(0px);
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    transform: scale(1.4) translateY(-6px);
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes lid-open {
  0% {
    transform: scaleY(1);
    opacity: 0.9;
  }
  35% {
    transform: scaleY(0.2);
    opacity: 0.5;
  }
  60% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}

@keyframes stream-speed {
  0% {
    transform: translateY(40px);
  }
  100% {
    transform: translateY(-40px);
  }
}

@keyframes stream-flicker {
  0% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

@keyframes stream-reveal {
  0%,
  30% {
    opacity: 0;
  }
  45%,
  70% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}

@keyframes flag-reveal {
  0%,
  68% {
    opacity: 0;
    transform: scale(0.9);
  }
  78% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.section {
  padding: clamp(64px, 8vw, 90px) 0;
  position: relative;
  z-index: 1;
}

.page-main {
  display: flex;
  flex-direction: column;
}

.page-frame {
  padding: 56px 0 72px;
}

.page-frame:first-child {
  padding-top: 48px;
}

.page-frame-tight {
  min-height: auto;
  padding-top: 40px;
  padding-bottom: 56px;
}

.legal-main,
.cookie-main {
  padding: clamp(32px, 6vh, 64px) 0 clamp(56px, 8vh, 88px);
}

.legal-content,
.cookie-shell {
  width: min(800px, 92vw);
  margin: 0 auto;
}

.legal-content {
  line-height: 1.8;
}

.cookie-main {
  min-height: calc(100vh - 180px);
}

.cookie-shell {
  width: min(800px, 94vw);
}

.cookie-intro {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section p {
  color: var(--ink-muted);
  line-height: 1.6;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(70, 110, 170, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(2, 6, 15, 0.5);
  transition: transform 0.3s ease, border 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(50, 244, 197, 0.5);
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: var(--accent);
  background: rgba(50, 244, 197, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: rgba(50, 244, 197, 0.2);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px rgba(50, 244, 197, 0.4);
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
  align-items: stretch;
}

.about-panel {
  background: var(--surface-strong);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(60, 90, 140, 0.3);
  display: grid;
  gap: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid rgba(60, 90, 140, 0.35);
  box-shadow: 0 20px 40px rgba(2, 6, 15, 0.45);
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 16px auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(60, 90, 140, 0.4);
  background: rgba(6, 10, 18, 0.8);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: grid;
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  width: 100%;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 10;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 15;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(50, 244, 197, 0.3);
  border: 2px solid rgba(50, 244, 197, 0.8);
  color: var(--accent);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(50, 244, 197, 0.5);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.15);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 0;
  appearance: none;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

.dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Responsive breakpoints for dynamic layout scaling */
@media (min-width: 1440px) {
  .container {
    width: min(1380px, 96vw);
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .carousel-container {
    max-width: 580px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.team-card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 8px;
}

.team-meta {
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.team-socials {
  display: flex;
  gap: 12px;
}

.team-socials a {
  font-size: 0.9rem;
  color: var(--accent);
}

.metrics {
  padding-top: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.metric-card {
  background: var(--surface-strong);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(70, 110, 170, 0.3);
  text-align: center;
}

.security-badges {
  background: linear-gradient(135deg, rgba(11, 22, 39, 0.6) 0%, rgba(8, 16, 28, 0.8) 100%);
  border-top: 1px solid rgba(60, 90, 140, 0.2);
  border-bottom: 1px solid rgba(60, 90, 140, 0.2);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.badge-card {
  background: var(--surface);
  border: 1px solid rgba(60, 90, 140, 0.3);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.badge-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(50, 244, 197, 0.15);
}

.badge-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--accent);
  background: rgba(50, 244, 197, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.badge-card:hover .badge-icon {
  background: rgba(50, 244, 197, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(50, 244, 197, 0.3);
}

.badge-icon svg {
  width: 28px;
  height: 28px;
}

.badge-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.badge-card p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: start;
}

.contact-details {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact-details .label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--surface);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(70, 110, 170, 0.35);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(6, 10, 18, 0.8);
  border: 1px solid rgba(60, 90, 140, 0.4);
  border-radius: 12px;
  padding: 12px;
  color: var(--ink);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(50, 244, 197, 0.5);
  border-color: rgba(50, 244, 197, 0.8);
}

.site-footer {
  border-top: 1px solid rgba(60, 90, 140, 0.2);
  padding: 50px 0 60px;
  background: rgba(3, 6, 12, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-links {
  display: grid;
  gap: 12px;
  color: var(--ink-muted);
}

.footer-meta {
  display: grid;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .container {
    width: 94vw;
  }

  .nav,
  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(5, 10, 18, 0.96);
    border: 1px solid rgba(60, 90, 140, 0.28);
    box-shadow: 0 24px 60px rgba(2, 5, 10, 0.45);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-links a[aria-current="page"]::after {
    width: 56px;
  }

  .cta.small {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: 94vw;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-frame {
    padding: 40px 0 56px;
  }

  .page-frame:first-child {
    padding-top: 32px;
  }

  .page-frame-tight {
    padding-top: 32px;
    padding-bottom: 44px;
  }

  .legal-main,
  .cookie-main {
    padding: 28px 0 48px;
  }
  
  .carousel-container {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 80px;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .legal-content,
  .cookie-shell {
    width: 94vw;
  }
}

/* Form Message Styles */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  animation: slideDown 0.3s ease-out;
}

.form-message.success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(34, 139, 58, 0.15));
  border: 1px solid rgba(40, 167, 69, 0.4);
  color: #6ee7a7;
}

.form-message.error {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(180, 40, 55, 0.15));
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ff8fa3;
}

.form-message strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie Consent Banner - Enhanced */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(13, 17, 28, 0.98), rgba(20, 25, 40, 0.98));
  border-top: 2px solid var(--accent);
  padding: 2rem 1.5rem;
  z-index: 1000;
  animation: slideUp 0.4s ease-out;
  backdrop-filter: blur(20px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-content h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  color: var(--text);
}

.cookie-content > p {
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-category {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 1rem;
  transition: background 0.2s ease;
}

.cookie-category:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.cookie-toggle input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.cookie-label strong {
  font-size: 0.95rem;
  color: var(--text);
  display: block;
}

.cookie-label small {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cookie-actions button {
  flex: 1;
  min-width: 140px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.cta-secondary {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: inherit;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.cookie-footer {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-muted);
}

.cookie-footer a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .cookie-consent {
    padding: 1.5rem 1rem;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-actions button {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .cookie-consent,
  .ambient-grid,
  .ambient-orbs,
  .hero-visual,
  .cta,
  .ghost,
  .carousel-btn,
  .carousel-dots {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  a {
    text-decoration: underline;
    color: black;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
  
  .section {
    page-break-inside: avoid;
  }
}
