:root {
  --primary: #1b1f5f; /* deep blue */
  --primary-alt: #4b2bbf; /* electric purple */
  --secondary: #f5c542; /* gold */
  --secondary-alt: #39ff88; /* neon green */
  --accent: #cfd3dd; /* soft grey */
  --bg: #050616;
  --text: #f5f7ff;
  --muted: #9aa0c2;
  --danger: #ff4b81;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --blur-bg: blur(18px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  background: radial-gradient(circle at top, #151a4a 0, #050616 45%, #02020a 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* PARTICLE CANVAS */
#bg-particles {
  position: fixed;
  inset: 0;
  z-index: -2;
}

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 22, 0.96), rgba(5, 6, 22, 0.7), transparent);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.logo-main {
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--secondary-alt);
}

.logo-mid {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--accent);
}

.logo-tail {
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--secondary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-alt), var(--secondary));
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  margin: 4px 0;
  border-radius: 999px;
}

/* BUTTONS */
.btn {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-alt), var(--secondary-alt));
  color: #050616;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ORBIT HERO */
.orbit-hero {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.orbit-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(75, 43, 191, 0.35), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.orbit-center {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #39ff88 0, #1b1f5f 55%, #050616 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 0.75rem;
}

.orbit-core-link {
  text-decoration: none;
  color: #050616;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #f5f7ff;
}

.orbit-center .microcopy {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--accent);
}

.orbit-layer {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(207, 211, 221, 0.25);
  inset: 10%;
  animation: orbit-rotate 32s linear infinite;
}

.orbit-layer-2 {
  inset: 0;
  animation-duration: 46s;
  animation-direction: reverse;
}

.orbit-node {
  position: absolute;
  transform: translate(-50%, -50%);
  text-decoration: none;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(5, 6, 22, 0.9);
  border: 1px solid rgba(207, 211, 221, 0.35);
  color: var(--accent);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.orbit-layer-1 .orbit-node:nth-child(1) {
  top: 10%;
  left: 50%;
}

.orbit-layer-1 .orbit-node:nth-child(2) {
  bottom: 12%;
  left: 50%;
}

.orbit-layer-2 .orbit-node:nth-child(1) {
  left: 20%;
  top: 50%;
}

.orbit-layer-2 .orbit-node:nth-child(2) {
  right: 10%;
  top: 50%;
}

@keyframes orbit-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orbit-copy h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.orbit-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 0.75rem;
}

.microcopy {
  font-size: 0.75rem;
  color: var(--accent);
}

/* SERVICES HERO */
.services-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.hero-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.social-icons {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(207, 211, 221, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  background: rgba(5, 6, 22, 0.8);
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.9;
}

.blob-1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 20%, #39ff88, transparent 60%);
  top: 0;
  right: 0;
}

.blob-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 70% 80%, #4b2bbf, transparent 60%);
  bottom: 0;
  left: 10%;
}

.mesh-card {
  position: absolute;
  inset: 18% 8% 10% 18%;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(57, 255, 136, 0.18), rgba(27, 31, 95, 0.96));
  border: 1px solid rgba(207, 211, 221, 0.35);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mesh-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.mesh-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
}

.mesh-card li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

/* SERVICES SECTION */
.services-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

.section-header {
  text-align: left;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, rgba(75, 43, 191, 0.35), rgba(5, 6, 22, 0.96));
  border: 1px solid rgba(207, 211, 221, 0.25);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(57, 255, 136, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.7);
  border-color: rgba(245, 197, 66, 0.7);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(5, 6, 22, 0.9);
  border: 1px solid rgba(207, 211, 221, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-points {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
}

.service-points li {
  margin-bottom: 0.2rem;
}

.service-more {
  align-self: flex-start;
  margin-top: auto;
  border-radius: 999px;
  border: 1px solid rgba(207, 211, 221, 0.5);
  background: rgba(5, 6, 22, 0.9);
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.service-accordion {
  margin-top: 0.4rem;
  border-radius: var(--radius-sm);
  background: rgba(5, 6, 22, 0.9);
  border: 1px solid rgba(207, 211, 221, 0.3);
  padding: 0.35rem 0.6rem;
}

.service-accordion summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--accent);
}

.service-accordion p {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.service-card.premium {
  border-color: rgba(245, 197, 66, 0.9);
}

.service-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-alt));
  color: #050616;
}

/* CTA STRIP */
.cta-strip {
  padding: 2.5rem 1.25rem 3rem;
  background: radial-gradient(circle at top, rgba(75, 43, 191, 0.5), rgba(5, 6, 22, 0.98));
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* FOOTER */
.site-footer {
  padding: 2rem 1.25rem 1.5rem;
  background: #040414;
  border-top: 1px solid rgba(207, 211, 221, 0.2);
}

.footer-main {
  max-width: 1180px;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.5rem;
}

.footer-logo {
  margin-bottom: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links h4,
.footer-social h4 {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.footer-links a {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav-links.open {
    display: flex;
    flex-wrap: wrap;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .orbit-hero,
  .services-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .orbit-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-visual {
    min-height: 220px;
  }

  .mesh-card {
    inset: 15% 6% 12% 6%;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .orbit-wrapper {
    aspect-ratio: 4 / 3;
  }

  .orbit-layer {
    inset: 14%;
  }

  .orbit-layer-2 {
    inset: 4%;
  }

  .orbit-center {
    width: 150px;
    height: 150px;
  }
}
