/* ============================
   OmniZyg Stylesheet
   Dark Futuristic Corporate Theme
============================ */

:root {
  --bg-900: #0a0f1f;
  --bg-800: #12172d;
  --brand-700: #2A004E;
  --brand-600: #500073;
  --accent-600: #C62300;
  --accent-500: #F14A00;
  --neon: #22d3ee;

  --text-100: #f5f7fb;
  --text-300: #c7cbd6;
  --text-500: #9aa3b2;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-900), var(--bg-800));
  color: var(--text-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Orbitron', Inter, sans-serif;
  letter-spacing: .3px;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
h3 {
  font-size: 1.3rem;
}

/* Container */
.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ============================
   Header + Navigation
============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(10, 15, 31, 0.8);
  border-bottom: 1px solid rgba(34, 211, 238, .2);
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.3));
}
.brand-name {
  font-weight: 600;
  color: var(--neon);
}
.site-nav {
  display: flex;
  gap: 24px;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-300);
  font-weight: 500;
  position: relative;
}
.site-nav a:hover {
  color: var(--neon);
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
}
.site-nav .cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-600), var(--accent-500));
  color: #000;
  font-weight: 600;
}
.site-nav .cta:hover {
  filter: brightness(1.1);
}

/* ============================
   Hero Section
============================ */
.hero {
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.hero-copy {
  max-width: 560px;
}
.grad {
  background: linear-gradient(90deg, var(--neon), #b388ff, var(--accent-500));
  -webkit-background-clip: text;
  color: transparent;
}
.hero-cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(90deg, var(--accent-600), var(--accent-500));
  color: #000;
  box-shadow: 0 8px 24px rgba(241, 74, 0, 0.25);
}
.btn.ghost {
  border: 1px solid rgba(34, 211, 238, .25);
  color: var(--neon);
  background: rgba(34, 211, 238, .08);
}

/* Globe Canvas */
.globe-canvas {
  width: 100%;
  height: 400px;
  display: block;
}

/* ============================
   Sections
============================ */
.section {
  padding: 70px 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, rgba(34, 211, 238, .08), rgba(34, 211, 238, .03));
  border: 1px solid rgba(34, 211, 238, .18);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.25);
}

/* Why Section */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.ticks li {
  padding-left: 22px;
  position: relative;
  margin: 8px 0;
}
.ticks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--neon);
}

/* CTA Band */
.cta-band {
  background: linear-gradient(90deg, rgba(80, 0, 115, .2), rgba(34, 211, 238, .14));
  border-top: 1px solid rgba(34, 211, 238, .18);
  border-bottom: 1px solid rgba(34, 211, 238, .18);
  text-align: center;
  padding: 60px 20px;
}

/* ============================
   Footer
============================ */
.site-footer {
  background: #0b1226;
  border-top: 1px solid rgba(34, 211, 238, .15);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  padding: 40px 0;
}
.foot-brand {
  max-width: 320px;
}
.foot-bottom {
  text-align: center;
  padding: 14px;
  color: var(--text-500);
  font-size: .9rem;
}

/* ============================
   Forms
============================ */
.form {
  display: grid;
  gap: 14px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
  color: var(--text-300);
  font-size: .95rem;
}
input, select, textarea {
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, .25);
  background: rgba(10, 15, 31, .7);
  color: var(--text-100);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--neon);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
}

/* ============================
   Utilities
============================ */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-600), var(--accent-500));
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   Error Page
============================ */
.error-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  text-align: center;
}
.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--neon);
  text-shadow: 0 0 16px rgba(34, 211, 238, .4);
}
.error-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

/* ============================
   Responsive Design
============================ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-nav {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }
}
