:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --surface: rgba(13, 28, 48, 0.76);
  --surface-strong: rgba(16, 35, 60, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f8fb;
  --muted: #9eb0c3;
  --primary: #35b8ff;
  --secondary: #62f0c5;
  --violet: #a886ff;
  --orange: #ff9b50;
  --cyan: #5ce1e6;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(53, 184, 255, 0.09), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(98, 240, 197, 0.06), transparent 28%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  animation: float 13s ease-in-out infinite alternate;
}

.glow-one {
  top: -14rem;
  left: -8rem;
  background: var(--primary);
}

.glow-two {
  right: -12rem;
  bottom: -15rem;
  background: var(--secondary);
  animation-delay: -5s;
}

@keyframes float {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(28px,-18px,0) scale(1.08); }
}

.navbar {
  padding: 1.25rem 0;
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  color: #04101a;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
  box-shadow: 0 0 30px rgba(53,184,255,.18);
}

.brand-text {
  font-weight: 850;
  letter-spacing: .12em;
}

.nav-link {
  color: rgba(255,255,255,.72);
}

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

.min-vh-85 {
  min-height: 85vh;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .68rem 1rem;
  border: 1px solid rgba(98,240,197,.22);
  border-radius: 999px;
  color: #cbfff0;
  background: rgba(98,240,197,.06);
  font-size: .92rem;
}

.status-dot {
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 0 rgba(98,240,197,.45);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(98,240,197,.45); }
  70% { box-shadow: 0 0 0 10px rgba(98,240,197,0); }
  100% { box-shadow: 0 0 0 0 rgba(98,240,197,0); }
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .77rem;
  font-weight: 750;
}

.hero-title {
  font-size: clamp(3.3rem, 8vw, 7.4rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 900;
}

.hero-title span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.75;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: #58c7ff;
  --bs-btn-hover-border-color: #58c7ff;
  --bs-btn-color: #04101a;
  --bs-btn-hover-color: #04101a;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(53,184,255,.18);
}

.btn-glass {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.btn-glass:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}

.hero-orbit {
  position: relative;
  width: 330px;
  aspect-ratio: 1;
  margin-left: auto;
}

.orbit {
  position: absolute;
  inset: 50%;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(53,184,255,.17);
  border-radius: 50%;
}

.orbit-one { width: 100%; height: 100%; animation: rotate 18s linear infinite; }
.orbit-two { width: 70%; height: 70%; animation: rotate 12s linear infinite reverse; }
.orbit-three { width: 42%; height: 42%; animation: rotate 8s linear infinite; }

.orbit::before {
  content: "";
  position: absolute;
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 20px rgba(98,240,197,.6);
  top: -0.4rem;
  left: 50%;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1.4rem;
  color: #04101a;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 0 55px rgba(53,184,255,.22);
}

@keyframes rotate {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

.section-header h2,
.approach-panel h2,
.cta-panel h2 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 850;
  letter-spacing: -.045em;
}

.section-copy {
  color: var(--muted);
  line-height: 1.7;
}

.projects-section {
  padding-top: 7rem !important;
}

.project-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(53,184,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(16,35,60,.9), rgba(10,22,39,.86));
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  transition: transform .25s ease, border-color .25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(53,184,255,.28);
}

.project-featured {
  min-height: 430px;
}

.theme-blue {
  background:
    radial-gradient(circle at top right, rgba(53,184,255,.18), transparent 36%),
    linear-gradient(180deg, rgba(15,33,58,.92), rgba(8,19,34,.9));
}

.theme-green {
  background:
    radial-gradient(circle at top right, rgba(98,240,197,.15), transparent 36%),
    linear-gradient(180deg, rgba(13,34,31,.92), rgba(8,22,21,.9));
}

.theme-violet {
  background:
    radial-gradient(circle at top right, rgba(168,134,255,.16), transparent 36%),
    linear-gradient(180deg, rgba(29,25,53,.92), rgba(16,14,34,.9));
}

.theme-orange {
  background:
    radial-gradient(circle at top right, rgba(255,155,80,.15), transparent 36%),
    linear-gradient(180deg, rgba(42,29,22,.92), rgba(27,18,13,.9));
}

.theme-cyan {
  background:
    radial-gradient(circle at top right, rgba(92,225,230,.15), transparent 36%),
    linear-gradient(180deg, rgba(15,35,43,.92), rgba(8,21,27,.9));
}

.project-top,
.project-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-content {
  align-items: flex-end;
}

.project-category,
.project-number {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.project-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 850;
  letter-spacing: -.045em;
}

.project-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.project-link,
.project-state {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}

.project-link:hover {
  color: var(--primary);
}

.services-section {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.service-card {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(14,30,51,.68);
  transition: transform .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(98,240,197,.24);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  color: var(--primary);
  background: rgba(53,184,255,.08);
  font-size: 1.35rem;
}

.service-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.approach-section {
  padding-bottom: 7rem !important;
}

.approach-panel {
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(98,240,197,.13);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at left, rgba(98,240,197,.07), transparent 30%),
    rgba(12,26,44,.84);
  box-shadow: var(--shadow);
}

.approach-list {
  display: grid;
  gap: 1.2rem;
}

.approach-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.approach-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.approach-item > span {
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.approach-item h3 {
  margin-bottom: .35rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.approach-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta-section {
  padding-bottom: 7rem !important;
}

.cta-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid rgba(53,184,255,.16);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at top, rgba(53,184,255,.1), transparent 45%),
    rgba(11,24,41,.9);
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .92rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

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

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(7,17,31,.96);
  }

  .project-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .project-card,
  .project-featured {
    min-height: 360px;
  }

  .projects-section,
  .services-section {
    padding-top: 4rem !important;
  }

  .services-section,
  .approach-section,
  .cta-section {
    padding-bottom: 4rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
