/* ===== Design tokens (palette pulled from the DCSI logo) ===== */
:root {
  --navy-900: #07101f;
  --navy-800: #0a1628;
  --navy-700: #0f2138;
  --navy-600: #16304d;

  --teal: #16c2c2;
  --cyan: #1ba3e0;
  --green: #5fd068;
  --blue: #2b6cff;
  --purple: #7c4dff;

  --ink: #eaf2ff;
  --ink-soft: #a8bdd6;
  --line: rgba(120, 170, 220, 0.16);

  --grad: linear-gradient(120deg, var(--teal), var(--cyan) 45%, var(--blue) 75%, var(--purple));
  --grad-soft: linear-gradient(120deg, rgba(22, 194, 194, 0.16), rgba(43, 108, 255, 0.16));

  --radius: 18px;
  --maxw: 1140px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--navy-800);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-text { font-family: "Sora", "Inter", sans-serif; line-height: 1.1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}

/* ===== Animated aurora background ===== */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 40% at 15% 10%, rgba(22, 194, 194, 0.22), transparent 70%),
    radial-gradient(45% 45% at 85% 15%, rgba(124, 77, 255, 0.20), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(43, 108, 255, 0.18), transparent 70%),
    var(--navy-800);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; filter: hue-rotate(0deg); }
  to   { background-position: 40px -20px, -40px 20px, 0 -30px, 0 0; filter: hue-rotate(18deg); }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(8, 18, 33, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-size: 1.02rem; }
.brand-text strong { font-weight: 700; }
.brand-text em { font-style: normal; font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.1em; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--grad);
  color: #051018 !important;
  font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--grad); color: #051018; box-shadow: 0 10px 30px rgba(27, 163, 224, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(27, 163, 224, 0.5); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--teal); }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 90px;
}
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 22px; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-logo {
  width: min(330px, 78%);
  border-radius: 50%;
  filter: drop-shadow(0 0 50px rgba(22, 194, 194, 0.45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.orbit-1 { width: 78%; aspect-ratio: 1; border-top-color: var(--teal); animation: spin 14s linear infinite; }
.orbit-2 { width: 96%; aspect-ratio: 1; border-left-color: var(--purple); animation: spin 22s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Section headings ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2, .about-text h2, .contact-card h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

/* ===== Services ===== */
.services { padding: 70px 24px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 194, 194, 0.5);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ===== About ===== */
.about { padding: 70px 24px; }
.about-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.about-text p { color: var(--ink-soft); margin-top: 16px; max-width: 60ch; }
.stats { list-style: none; display: grid; gap: 18px; }
.stats li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.stat-num { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 800; display: block; }
.stat-label { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== Contact ===== */
.contact { padding: 40px 24px 90px; }
.contact-card {
  text-align: center;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 60px 32px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-card .lede { margin: 16px auto 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-900); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { display: block; font-size: 1rem; }
.footer-brand span { color: var(--ink-soft); font-size: 0.82rem; }
.footer-meta { color: var(--ink-soft); font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; min-height: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
}
@media (max-width: 560px) {
  .nav-links li:nth-child(2) { display: none; }
  .brand-text strong { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
}
