:root {
  --dc-ink: #0B1437;
  --dc-ink-2: #1B2559;
  --dc-primary: #2E5BFF;
  --dc-accent: #7A5CFF;
  --dc-cyan: #00D4C8;
  --dc-bg: #F7F8FC;
  --dc-white: #FFFFFF;
  --dc-muted: #6B7299;
  --dc-border: #E6E8F2;
  --radius: 16px;
  --maxw: 1180px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--dc-ink);
  background: var(--dc-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--dc-primary); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--dc-bg); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--dc-ink); margin: 0 0 16px; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--dc-ink-2); }
.lead { font-size: 1.15rem; color: var(--dc-muted); max-width: 720px; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: pointer;
  border: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--dc-primary), var(--dc-accent));
  color: #fff;
  box-shadow: 0 10px 30px rgba(46,91,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--dc-ink);
  border: 1px solid var(--dc-border);
}

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

.card {
  background: #fff;
  border: 1px solid var(--dc-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11,20,55,.08);
  border-color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dc-primary);
  margin-bottom: 12px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--dc-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav ul a { color: var(--dc-ink); font-weight: 500; font-size: .95rem; }
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--dc-ink); }
@media (max-width: 720px) { .nav ul { display: none; } }

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 96px;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(122,92,255,.18), transparent 60%),
              radial-gradient(900px 500px at 0% 20%, rgba(46,91,255,.15), transparent 60%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 span {
  background: linear-gradient(135deg, var(--dc-primary), var(--dc-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.orbit {
  position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto;
}
.orbit svg { width: 100%; height: 100%; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-num {
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--dc-primary), var(--dc-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--dc-muted); font-size: .9rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2,1fr); } }

/* Footer */
.site-footer {
  background: var(--dc-ink);
  color: #C7CCE6;
  padding: 64px 0 32px;
}
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer a { color: #C7CCE6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: #8990B5;
}

.tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(46,91,255,.1); color: var(--dc-primary);
  font-size: .8rem; font-weight: 600; margin: 4px 4px 0 0;
}

.testimonial {
  background: linear-gradient(135deg, var(--dc-ink), var(--dc-ink-2));
  color: #fff; border-radius: 24px; padding: 56px;
  position: relative; overflow: hidden;
}
.testimonial p { color: #E1E5F5; font-size: 1.25rem; line-height: 1.6; }
.testimonial cite { color: #9DA8D9; font-style: normal; font-weight: 600; }

/* ===== Animations ===== */
@keyframes dc-spin       { to { transform: rotate(360deg); } }
@keyframes dc-spin-rev   { to { transform: rotate(-360deg); } }
@keyframes dc-pulse      { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .85; } }
@keyframes dc-float      { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dc-fade-up    { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dc-gradient   { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes dc-orbit-dot  { from { transform: rotate(0) translateX(170px) rotate(0); } to { transform: rotate(360deg) translateX(170px) rotate(-360deg); } }

/* Hero orbit SVG — nested circles rotate in opposite directions */
.orbit svg { transform-origin: 50% 50%; animation: dc-float 6s ease-in-out infinite; }
.orbit svg > circle:nth-of-type(1) { transform-origin: 200px 200px; animation: dc-spin     40s linear infinite; }
.orbit svg > circle:nth-of-type(2) { transform-origin: 200px 200px; animation: dc-spin-rev 28s linear infinite; }
.orbit svg > circle:nth-of-type(3) { transform-origin: 200px 200px; animation: dc-spin     18s linear infinite; }
.orbit svg > circle:nth-of-type(4) { transform-origin: 200px 200px; animation: dc-pulse    3s ease-in-out infinite; }
.orbit svg > circle:nth-of-type(5),
.orbit svg > circle:nth-of-type(6),
.orbit svg > circle:nth-of-type(7),
.orbit svg > circle:nth-of-type(8) { transform-origin: 200px 200px; animation: dc-spin 22s linear infinite; }
.orbit svg > circle:nth-of-type(6) { animation-duration: 30s; animation-direction: reverse; }
.orbit svg > circle:nth-of-type(7) { animation-duration: 36s; }
.orbit svg > circle:nth-of-type(8) { animation-duration: 26s; animation-direction: reverse; }

/* Header logo — static, subtle hover flip only */
.nav-brand svg { transition: transform .6s ease; }
.nav-brand:hover svg { transform: rotate(180deg); }

/* Hero text fade-up on load */
.hero h1, .hero .lead, .hero .eyebrow, .hero-cta { animation: dc-fade-up .8s ease-out both; }
.hero .eyebrow  { animation-delay: .0s; }
.hero h1        { animation-delay: .1s; }
.hero .lead     { animation-delay: .25s; }
.hero-cta       { animation-delay: .4s; }

/* Gradient text animation on the highlighted span */
.hero h1 span {
  background-size: 200% 200%;
  animation: dc-gradient 6s ease infinite;
}

/* Primary button shimmer */
.btn-primary {
  background-size: 200% 200%;
  animation: dc-gradient 5s ease infinite;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); }

/* Stats numbers fade-up */
.stats > div { animation: dc-fade-up .7s ease-out both; }
.stats > div:nth-child(1) { animation-delay: .05s; }
.stats > div:nth-child(2) { animation-delay: .15s; }
.stats > div:nth-child(3) { animation-delay: .25s; }
.stats > div:nth-child(4) { animation-delay: .35s; }

/* Cards subtle lift */
.card { will-change: transform; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
