/* ============================================
   NOVAONYX — Post-Quantum Security Solutions
   Dark Cybersecurity Theme
   ============================================ */

:root {
  --bg-primary: #06060e;
  --bg-secondary: #0c0c1a;
  --bg-card: rgba(15, 15, 35, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #f0f0f8;
  --text-secondary: #8888a8;
  --text-muted: #555570;
  --text-logo: #32cbff;

  --accent-cyan: #00f0ff;
  --accent-purple: #8b5cf6;
  --accent-violet: #7c3aed;
  --accent-pink: #ec4899;
  --accent-green: #34d399;
  --accent-red: #ef4444;

  --gradient-main: linear-gradient(135deg, #00f0ff, #8b5cf6);
  --gradient-card: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.08),
    rgba(139, 92, 246, 0.08)
  );
  --gradient-border: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.3),
    rgba(139, 92, 246, 0.3)
  );

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(0, 240, 255, 0.2);

  --shadow-glow-cyan: 0 0 30px rgba(0, 240, 255, 0.15);
  --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

code {
  font-family: var(--font-mono);
}

::selection {
  background: rgba(0, 240, 255, 0.25);
  color: var(--text-primary);
}

/* ============================================
   PARTICLE CANVAS
   ============================================ */

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(6, 6, 14, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-navbar="solid"],
[data-navbar="solid"].scrolled {
  background: rgba(6, 6, 14, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: "Electromagnetic Lungs", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-logo);
}

.logo-accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.nav-link.active {
  color: var(--accent-cyan);
}

.nav-link--cta {
  color: var(--bg-primary);
  background: var(--gradient-main);
  font-weight: 600;
  margin-left: 8px;
}

.nav-link--cta:hover {
  color: var(--bg-primary);
  background: var(--gradient-main);
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
  position: relative;
  transition: opacity 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-close {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  z-index: 1;
}

.hero-bg-grid {
  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;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 70%
  );
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px rgba(0, 240, 255, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--accent-cyan);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.3);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-suffix {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--accent-cyan);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.12);
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

.highlight strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.highlight span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Quantum Shield Animation */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantum-shield {
  position: relative;
  width: min(300px, 70vw);
  max-width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.shield-ring--outer {
  width: 100%;
  height: 100%;
  border-color: rgba(0, 240, 255, 0.1);
  animation: rotate-ring 20s linear infinite;
}

.shield-ring--mid {
  width: 73.33%;
  height: 73.33%;
  border-color: rgba(139, 92, 246, 0.15);
  animation: rotate-ring 15s linear infinite reverse;
}

.shield-ring--inner {
  width: 46.67%;
  height: 46.67%;
  border-color: rgba(0, 240, 255, 0.2);
  animation: rotate-ring 10s linear infinite;
}

.shield-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.shield-ring--mid::before {
  background: var(--accent-purple);
  box-shadow: 0 0 12px var(--accent-purple);
}

@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.shield-core {
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.solution-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.solution-card:hover .card-glow {
  opacity: 1;
}

.solution-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  border: 1px solid var(--border-accent);
  margin-bottom: 24px;
}

.solution-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
}

.solution-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.solution-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.solution-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.solution-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap 0.3s ease;
}

.solution-link:hover {
  gap: 12px;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */

.tech-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.tech-card:hover {
  border-color: var(--border-accent);
}

.tech-card-inner {
  padding: 40px;
}

.tech-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tech-badge--dil {
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.15);
}

.tech-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.tech-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.tech-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.spec-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.spec-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Key Flow Diagram */
.tech-visual {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.key-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.kf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.kf-node {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid;
}

.kf-node--pub {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
}
.kf-node--enc {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
}
.kf-node--ss {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--accent-green);
}
.kf-node--sk {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
  color: var(--accent-pink);
}
.kf-node--sign {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
}
.kf-node--ver {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--accent-green);
}

.kf-step span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.kf-arrow {
  width: 40px;
  color: var(--text-muted);
}

.kf-arrow svg {
  width: 100%;
}

/* PQC Comparison */
.pqc-comparison {
  margin-top: 20px;
}

.comparison-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comparison-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.comparison-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 100px;
}

.comparison-badge--vuln {
  color: var(--accent-red);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-badge--safe {
  color: var(--accent-green);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.comparison-list li {
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.comparison-list li.vulnerable {
  color: rgba(239, 68, 68, 0.8);
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.08);
}

.comparison-list li.safe {
  color: rgba(52, 211, 153, 0.9);
  background: rgba(52, 211, 153, 0.04);
  border: 1px solid rgba(52, 211, 153, 0.08);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.steps-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent-cyan),
    var(--accent-purple),
    transparent
  );
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-code {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  padding: 8px 16px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.security-info .section-tag {
  margin-bottom: 16px;
}

.security-info .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.compliance-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border-radius: var(--radius-sm);
}

.badge-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sec-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.sec-feature:hover {
  border-color: var(--border-accent);
}

.sec-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
}

.sec-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

.sec-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.sec-feature p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   CTA / CONTACT SECTION
   ============================================ */

.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 72px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888A8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.cta-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-tagline {
  /* color: var(--text-muted); */
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-address {
  margin-top: 20px;
  /* color: var(--text-muted); */
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-company {
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */

[data-animate] {
  opacity: 0;
  transition:
    opacity 0.6s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .about-grid,
  .security-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

  .about-content .section-title,
  .security-info .section-title {
    text-align: center;
  }

  .about-content {
    text-align: center;
  }

  .about-highlights {
    align-items: center;
  }

  .highlight {
    max-width: 400px;
  }

  .tech-showcase,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .navbar {
    z-index: 9999;
  }

  .navbar.nav-open {
    position: fixed;
    background: rgba(6, 6, 14, 0.85);
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(6, 6, 14, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(320px, 85vw);
    height: 100dvh;
    z-index: 9998;
    isolation: isolate;
    padding: 80px 24px 24px;
    background: #0b0f19;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    max-height: 100dvh;
    overflow-y: auto;
    transform: translateX(100%);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s var(--ease-out-expo);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10001;
  }

  .nav-close svg {
    width: 24px;
    height: 24px;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 14px 24px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-radius: var(--radius-md);
  }

  .nav-link--cta {
    margin-left: 0;
    margin-top: 24px;
    background: var(--gradient-main);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 24px;
  }

  .nav-toggle {
    display: flex;
    position: fixed;
    top: 20px;
    right: 24px;
  }

  .nav-toggle.active {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 32px;
  }

  .tech-specs {
    grid-template-columns: 1fr;
  }

  .key-flow {
    flex-wrap: wrap;
    gap: 16px;
  }

  .logo-img {
    height: 36px;
  }

  .logo-text {
    font-size: 2.1rem;
  }

  .kf-arrow {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .compliance-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
  }

  .logo-text {
    font-size: 1.8rem;
  }

  .logo-img {
    height: 32px;
  }

  .compliance-badges {
    grid-template-columns: 1fr;
  }

  .comparison-list li {
    font-size: 0.8rem;
  }
}

/* ============================================
   UTILITY
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LEGAL PAGES (Privacy, Terms, Security)
   ============================================ */

.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.legal-section ul li {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.legal-section ul li strong {
  color: var(--text-primary);
}

.legal-section a {
  color: var(--accent-cyan);
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--accent-purple);
}

@media (max-width: 768px) {
  .legal-page {
    padding: 120px 0 60px;
  }

  .legal-title {
    font-size: 2rem;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #8888a8;
  border-radius: 4px;
}

/* Nitti */
