﻿:root {
  --navy: #0c1732;
  --navy-mid: #12244d;
  --blue: #214999;
  --gold: #f3b82a;
  --gold-soft: #ffefc4;
  --silver: #6d7da1;
  --text: #0c1a3c;
  --white: #ffffff;
  --white-dim: rgba(12, 26, 60, 0.75);
  --white-muted: rgba(12, 26, 60, 0.45);
  --glow: rgba(243, 184, 42, 0.13);
  --border: rgba(28, 61, 128, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #f8fbff;
  overflow-x: hidden;
}

body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button { cursor: none; }

.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(243, 184, 42, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease;
  display: none;
}

body.cursor-on .cursor,
body.cursor-on .cursor-ring { display: block; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

nav.scrolled { padding: 16px 60px; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-image {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.logo-image.small { width: 36px; height: 36px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .spica {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--navy);
}

.logo-text .tech {
  font-size: 9px;
  letter-spacing: 0.35em;
  color: #b78400;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: #31466f;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 11px 24px;
  background: var(--gold);
  color: #302000 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  border-radius: 4px;
}

.nav-cta::after { display: none !important; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 60px 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(33, 73, 153, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(33, 73, 153, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(80px); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(243, 184, 42, 0.18), transparent 70%);
  top: -260px;
  right: -120px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(33, 73, 153, 0.2), transparent 70%);
  bottom: -160px;
  left: -80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.eyebrow-line { width: 48px; height: 1px; background: var(--gold); }

.eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8c6200;
  font-weight: 600;
}

.hero-headline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 860px;
  position: relative;
  z-index: 2;
  color: #0a1740;
}

.hero-headline .accent { color: var(--blue); }

.hero-sub {
  max-width: 700px;
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--white-dim);
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.btn-primary {
  padding: 15px 34px;
  background: var(--blue);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(33, 73, 153, 0.24); }

.btn-ghost {
  padding: 15px 34px;
  border: 1px solid var(--border);
  color: #1d3361;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.76);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.metric { display: flex; flex-direction: column; gap: 6px; }

.metric-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #0f2150;
  line-height: 1;
}

.metric-num span { color: var(--gold); }

.metric-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #516284;
}

.ticker {
  padding: 17px 0;
  background: var(--gold-soft);
  overflow: hidden;
  border-top: 1px solid rgba(243, 184, 42, 0.45);
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 34px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3b2b00;
}

.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: #3b2b00; opacity: 0.4; }

@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

section { padding: 120px 60px; position: relative; }

.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.section-label.centered { justify-content: center; }
.section-label-line { width: 32px; height: 1px; background: var(--gold); }
.section-label-text {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #9f7002;
  font-weight: 700;
}

.section-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0a1740;
  max-width: 16ch;
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: start;
}

.about-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--white-dim);
  font-weight: 400;
  margin-top: 22px;
  max-width: 58ch;
}

.about-body p + p { margin-top: 16px; }

.key-principles {
  background: linear-gradient(160deg, #153c8c 0%, #2452ad 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 28px;
  color: #eef4ff;
  box-shadow: 0 20px 60px rgba(20, 58, 143, 0.22);
}

.kp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.kp-line { width: 28px; height: 2px; background: var(--gold); }

.key-principles h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.key-principles ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.key-principles li {
  position: relative;
  padding-left: 20px;
  font-size: 18px;
  line-height: 1.4;
}

.key-principles li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 0;
  top: 12px;
}

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

.services-section { background: #f5f9ff; }

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 70px;
}

.services-desc {
  font-size: 24px;
  max-width: 30ch;
  line-height: 1.75;
  color: var(--white-dim);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: #fff;
  padding: 42px 34px;
  border: 0;
}

.service-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #a77700;
  margin-bottom: 18px;
}

.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  color: #0f2558;
  margin-bottom: 12px;
}

.service-desc { font-size: 14px; line-height: 1.7; color: var(--white-dim); margin-bottom: 20px; }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-features li {
  font-size: 13px;
  color: #4a5d82;
  position: relative;
  padding-left: 18px;
}

.service-features li::before {
  content: '';
  width: 10px;
  height: 1px;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 9px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.step-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  background: linear-gradient(150deg, #ffffff, #f4f8ff);
}

.step-card span {
  color: #b27f00;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.step-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-top: 8px;
  color: #10285f;
}

.step-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--white-dim);
  margin-top: 10px;
}

.industries-section { background: #f5f9ff; }

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.industry-pill {
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #254983;
  background: #fff;
}

.industry-pill.featured {
  background: #e8f0ff;
  border-color: #a8bde9;
  color: #173e84;
}

.industry-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.industry-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.industry-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.industry-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  color: #193f83;
  padding: 10px;
}

.cta-section {
  text-align: center;
  background: #fcfaf2;
}

.cta-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: #0a1740;
  max-width: 12ch;
  margin: 0 auto;
}

.cta-sub {
  font-size: 30px;
  color: var(--white-dim);
  margin: 20px auto 0;
  max-width: 24ch;
  line-height: 1.2;
}

.cta-note {
  font-size: 16px;
  color: #123069;
  font-weight: 600;
  margin: 22px auto 0;
  max-width: 48ch;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 30px;
}

footer {
  padding: 80px 60px 40px;
  border-top: 1px solid var(--border);
  background: #f9fbff;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-tagline {
  font-size: 13px;
  color: #5a6f98;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ac7e00;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #4e6187;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.copyright {
  font-size: 12px;
  color: #5f7094;
  letter-spacing: 0.06em;
}

.footer-social { display: flex; gap: 16px; }

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d5f84;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (max-width: 1100px) {
  nav { padding: 20px 30px; }
  nav.scrolled { padding: 14px 30px; }
  section { padding: 100px 30px; }
  .hero { padding: 140px 30px 90px; }
  .about { grid-template-columns: 1fr; gap: 30px; }
  .services-intro { grid-template-columns: 1fr; gap: 24px; }
  .services-desc { font-size: 20px; max-width: 42ch; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .industry-cards { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero-headline { font-size: clamp(34px, 10vw, 52px); }
  .section-heading { font-size: clamp(30px, 8.5vw, 40px); }
  .hero-metrics { grid-template-columns: 1fr 1fr; gap: 18px; }
  .services-grid,
  .steps-grid,
  .industry-cards { grid-template-columns: 1fr; }
  .services-desc { font-size: 18px; max-width: 100%; }
  .cta-sub { font-size: 22px; max-width: 100%; }
  .cta-actions,
  .hero-actions { flex-direction: column; }
  .btn-primary,
  .btn-ghost,
  .nav-cta { width: 100%; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .cursor,
  .cursor-ring { display: none !important; }
}
