:root {
  --black: #000000;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-800: #262626;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.1);
  --accent-glow: rgba(0, 212, 255, 0.3);
  --red: #ff3b3b;
  --green: #00ff88;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Consolas", monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

/* ═══════════════════════════════════════════
   CURSOR GLOW
═══════════════════════════════════════════ */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.22) 0%, transparent 60%);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

/* ═══════════════════════════════════════════
   SYMBOL WAVES
═══════════════════════════════════════════ */
.symbol-waves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 0%, #000 100%);
}

.symbol-wave {
  position: absolute;
  left: 0;
  width: 200%;
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(245, 245, 245, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: wave-drift 17.5s linear infinite;
  transform: translateZ(0);
}

.symbol-wave span {
  display: inline-block;
  animation: glyph-wave 2.4s ease-in-out infinite;
  animation-delay: calc(var(--wave-index, 0) * -0.06s);
}

.symbol-wave:nth-child(2n) {
  animation-direction: reverse;
  color: rgba(82, 204, 255, 0.7);
}

.symbol-wave:nth-child(3n) {
  color: rgba(124, 214, 255, 0.6);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-800);
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  background: var(--white);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--accent);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}


.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 900px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(40px);
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-400);
  max-width: 560px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-600);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hero-metrics {
  display: flex;
  gap: 64px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-800);
  opacity: 0;
  transform: translateY(30px);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.metric-value .unit {
  font-size: 18px;
  color: var(--accent);
}

.metric-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.section {
  position: relative;
  padding: 140px 48px;
}

.section-dark {
  background: var(--bg-primary);
}

.section-darker {
  background: var(--bg-secondary);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 80px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
}

.section-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-400);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════
   PLATFORM SECTION
═══════════════════════════════════════════ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-800);
  border: 1px solid var(--gray-800);
}

.platform-card {
  position: relative;
  padding: 48px 40px;
  background: var(--bg-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover {
  background: var(--bg-secondary);
}

.platform-card:hover::before {
  transform: scaleX(1);
}

.platform-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.platform-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.platform-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-400);
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.3s;
}

.platform-link:hover {
  gap: 12px;
}

/* ═══════════════════════════════════════════
   CAPABILITIES
═══════════════════════════════════════════ */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.capabilities-grid > div:last-child {
  text-align: center;
}

.capabilities-grid .section-text {
  max-width: 100%;
}

.capabilities-grid .capability-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.capabilities-grid .hero-actions {
  justify-content: center;
}

.capability-visual {
  position: relative;
  height: 500px;
  background: var(--bg-secondary);
  border: 1px solid var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.capability-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--accent-dim) 0%, transparent 50%),
    linear-gradient(225deg, rgba(255,59,59,0.05) 0%, transparent 50%);
}

.visual-ring {
  position: absolute;
  border: 1px solid var(--gray-800);
  border-radius: 50%;
  animation: pulse-ring 4s ease-in-out infinite;
}

.visual-ring:nth-child(1) { width: 200px; height: 200px; animation-delay: 0s; }
.visual-ring:nth-child(2) { width: 300px; height: 300px; animation-delay: 0.5s; }
.visual-ring:nth-child(3) { width: 400px; height: 400px; animation-delay: 1s; }

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

.visual-center {
  position: relative;
  z-index: 10;
  width: 80px;
  height: 80px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-center::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--black);
}

/* ═══════════════════════════════════════════
   CAPABILITY LIST
═══════════════════════════════════════════ */
.capability-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-400);
}

.capability-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* ═══════════════════════════════════════════
   PRODUCT BANNER
═══════════════════════════════════════════ */
.product-banner {
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--gray-800);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.product-badge {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--black);
  background: var(--accent);
  margin-bottom: 24px;
}

.product-banner .section-title {
  font-size: clamp(48px, 6vw, 72px);
  letter-spacing: -0.03em;
}

.product-banner .section-text {
  margin: 0 auto;
  text-align: center;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-grid > div:first-child {
  text-align: center;
}

.contact-grid .section-text {
  max-width: 100%;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.form-input {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-800);
  outline: none;
  transition: border-color 0.3s;
}

.form-input::placeholder {
  color: var(--gray-600);
}

.form-input:focus {
  border-color: var(--accent);
}

.form-submit {
  align-self: flex-start;
  margin-top: 16px;
}

.form-status {
  font-size: 14px;
  margin-top: 16px;
}

.form-status.success {
  color: #00ff88;
}

.form-status.error {
  color: #ff3b3b;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  padding: 48px;
  background: var(--black);
  border-top: 1px solid var(--gray-800);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.footer-logo span {
  color: var(--accent);
}

.footer-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-delay="1"].visible { transition-delay: 0.1s; }
[data-delay="2"].visible { transition-delay: 0.2s; }
[data-delay="3"].visible { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 40px;
  }

  .symbol-waves {
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 100px 24px;
  }

  .hero-content {
    padding: 100px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .symbol-waves {
    display: none;
  }
}

@keyframes wave-drift {
  0% {
    transform: translateX(0) translateY(0) rotate(var(--wave-tilt, 0deg));
  }
  25% {
    transform: translateX(-12.5%) translateY(calc(var(--wave-rise, 24px) * 0.8)) rotate(var(--wave-tilt, 0deg));
  }
  50% {
    transform: translateX(-25%) translateY(var(--wave-rise, 24px)) rotate(var(--wave-tilt, 0deg));
  }
  75% {
    transform: translateX(-37.5%) translateY(calc(var(--wave-rise, 24px) * -0.8)) rotate(var(--wave-tilt, 0deg));
  }
  100% {
    transform: translateX(-50%) translateY(0) rotate(var(--wave-tilt, 0deg));
  }
}

@keyframes glyph-wave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(calc(var(--glyph-rise, 18px) * -1));
  }
}
