:root {
  --color-bg: #0b0f14;
  --color-bg-alt: #0f1a24;
  --color-surface: #131b27;
  --color-surface-alt: #1c2430;
  --color-text: #e5efff;
  --color-muted: #94a3b8;
  --color-primary: #1aa6e8;
  --color-primary-dark: #118dc7;
  --color-cyan: #00d0ff;
  --color-mint: #5be7c4;
  --color-indigo: #7d89ff;
  --color-purple: #a08cff;
  --color-neon: #14ffec;
  --color-neon-alt: #20ffe1;
  --color-border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --transition: 0.3s ease;
  --shadow-soft: 0 25px 60px rgba(8, 12, 20, 0.65);
}

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

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: radial-gradient(circle at top, rgba(26, 166, 232, 0.25), transparent 55%) fixed,
    linear-gradient(180deg, #0b0f14 0%, #0f1a24 60%, #0b0f14 100%);
  color: var(--color-text);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

.section {
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: auto 10% -30% 10%;
  height: 40%;
  background: radial-gradient(circle, rgba(20, 255, 236, 0.08), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.hero.section {
  background: linear-gradient(135deg, #0b1320 0%, #0e2233 60%, rgba(20, 255, 236, 0.08) 100%);
  border-color: rgba(26, 166, 232, 0.2);
}

.section.dark {
  background: var(--color-surface-alt);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

h1,
h2,
h3 {
  font-family: "Orbitron", "Segoe UI", sans-serif;
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: var(--color-text);
}

.hero h1,
.hero h2,
.hero p,
.hero .eyebrow {
  color: #e6faff;
}

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 166, 232, 0.35);
  box-shadow: 0 10px 30px rgba(5, 8, 12, 0.65);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.5rem, 4vw, 5rem);
}

.brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.logo-space {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91, 231, 196, 0.15), rgba(0, 208, 255, 0.25));
  border: 1px solid rgba(20, 255, 236, 0.45);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
}

.nav-toggle {
  border: none;
  background: transparent;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: #e1eaff;
  border-radius: 2px;
  transition: var(--transition);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-weight: 500;
  padding-bottom: 0.2rem;
  color: var(--color-muted);
  transition: color var(--transition);
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00d0ff, #5be7c4);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
}

.nav-link.active {
  color: var(--color-neon);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

.hero-content .eyebrow {
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-neon-alt);
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 3.9rem);
}

.hero-content .lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-placeholder {
  width: min(460px, 100%);
  padding: 1.5rem;
  background: radial-gradient(circle at top, rgba(20, 255, 236, 0.25), rgba(0, 208, 255, 0.08));
  border-radius: var(--radius);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 231, 196, 0.3);
}

.hero-placeholder img,
.hero-placeholder video {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  border-radius: calc(var(--radius) - 6px);
  object-fit: cover;
  object-position: center top;
}

.hero-video {
  pointer-events: none;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn.primary {
  background: linear-gradient(120deg, #1aa6e8, #00d0ff 45%, #5be7c4);
  color: #03121c;
  box-shadow: 0 12px 35px rgba(0, 208, 255, 0.35);
}

.btn.primary:hover {
  background: linear-gradient(120deg, #118dc7, #00bde8 45%, #4cd3b4);
  box-shadow: 0 14px 40px rgba(20, 255, 236, 0.35);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f3fbff;
}

.btn.ghost:hover {
  border-color: var(--color-neon);
  color: var(--color-neon-alt);
  box-shadow: 0 0 10px rgba(20, 255, 236, 0.35);
}

.about-grid,
.card-grid,
.process-steps {
  display: grid;
  gap: 1.5rem;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.card {
  position: relative;
  background: var(--color-surface-alt);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 15px 35px rgba(5, 10, 18, 0.65);
  transition: transform var(--transition), border var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 40%;
  background: radial-gradient(circle, rgba(125, 137, 255, 0.25), transparent 65%);
  filter: blur(25px);
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem -2px;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7d89ff, #a08cff, #14ffec);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 166, 232, 0.5);
  box-shadow: 0 25px 45px rgba(5, 10, 20, 0.75);
}

.icon-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26, 166, 232, 0.35), rgba(0, 208, 255, 0.45));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  border: 1px solid rgba(20, 255, 236, 0.45);
}

.process-steps {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #0f1824;
  border: 1px solid rgba(125, 137, 255, 0.2);
  box-shadow: 0 10px 25px rgba(4, 7, 12, 0.65);
}

.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(125, 137, 255, 0.18);
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(20, 255, 236, 0.3);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #dbe6ff;
}

input,
textarea,
select {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(15, 26, 36, 0.65);
  color: var(--color-text);
  transition: border var(--transition), box-shadow var(--transition);
  box-shadow: inset 0 1px 3px rgba(2, 4, 8, 0.55);
}

input::placeholder,
textarea::placeholder {
  color: rgba(229, 239, 255, 0.45);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-neon);
  box-shadow: 0 0 0 3px rgba(20, 255, 236, 0.35);
}

.error-message {
  color: #ff7a7a;
  font-size: 0.85rem;
  min-height: 1rem;
}

.form-success {
  min-height: 1.2rem;
  font-weight: 600;
  color: var(--color-neon);
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #080c12;
  color: var(--color-muted);
  border-top: 1px solid rgba(26, 166, 232, 0.2);
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer-links a {
  color: var(--color-primary);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  nav ul {
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(11, 15, 20, 0.96);
    border-bottom: 1px solid rgba(26, 166, 232, 0.25);
    flex-direction: column;
    padding: 1.5rem clamp(1.5rem, 4vw, 5rem);
    gap: 1rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  nav ul.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-content .lede {
    font-size: 1.05rem;
  }

  .footer-links {
    flex-direction: column;
  }

  .section {
    margin: clamp(1rem, 3vw, 2rem);
  }
}
