/* ==========================================================================
   CLOUD COMPUTING PROJECT — Premium AWS Portfolio
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-soft: #070c1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.065);
  --border: rgba(148, 180, 255, 0.14);
  --border-strong: rgba(148, 180, 255, 0.28);
  --text: #eaf1ff;
  --muted: #9aa9c7;
  --muted-2: #7083a5;
  --blue: #2f7bff;
  --blue-light: #7db6ff;
  --cyan: #22d3ee;
  --green: #34d399;
  --grad: linear-gradient(100deg, #a9ccff 0%, #5ea2ff 40%, #22d3ee 100%);
  --grad-btn: linear-gradient(135deg, #2563eb 0%, #0e7c99 100%);
  --radius: 22px;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Segoe UI Mono", Menlo, monospace;
  --shadow-card: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
svg { display: block; }

::selection {
  background: rgba(34, 211, 238, 0.25);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: #0b1428;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
#main:focus { outline: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05070f; }
::-webkit-scrollbar-thumb {
  background: #1a2947;
  border-radius: 20px;
  border: 2px solid #05070f;
}
::-webkit-scrollbar-thumb:hover { background: #28406e; }

/* ---------- Ambient background ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.orb-1 {
  width: 620px;
  height: 620px;
  top: -260px;
  left: -160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 68%);
  animation: orbDrift 26s ease-in-out infinite alternate;
}
.orb-2 {
  width: 560px;
  height: 560px;
  top: 18%;
  right: -220px;
  background: radial-gradient(circle, rgba(14, 165, 198, 0.32), transparent 68%);
  animation: orbDrift 32s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 700px;
  height: 700px;
  bottom: -380px;
  left: 28%;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.5), transparent 68%);
  animation: orbDrift 38s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(42px, -28px, 0) scale(1.07); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 166, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 166, 255, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 15%, transparent 78%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 58px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.7vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.section-lead {
  margin-top: 18px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}
.section-head.center .section-lead { margin-inline: auto; }

.grad-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 9s ease-in-out infinite alternate;
}

@keyframes gradShift {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(126, 166, 255, 0.22);
  border-radius: 999px;
  background: rgba(94, 162, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #9cc3ff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.eyebrow-num {
  color: #5e7ba6;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  animation: pulseDot 2.4s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s var(--ease); }

.btn-primary {
  background: var(--grad-btn);
  box-shadow:
    0 14px 34px -12px rgba(37, 99, 235, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px -12px rgba(37, 99, 235, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border-strong);
  color: #dbe7ff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(94, 162, 255, 0.1);
  border-color: rgba(94, 162, 255, 0.45);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9);
}

.btn-sm { padding: 10px 17px; font-size: 12.5px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ec5ff;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.text-link:hover { color: #fff; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(5, 8, 18, 0.72);
  border-bottom-color: rgba(148, 180, 255, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}
.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  transition: height 0.35s var(--ease);
}
.site-header.scrolled .nav-wrap { height: 66px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--cyan);
  background: linear-gradient(145deg, rgba(94, 162, 255, 0.16), rgba(34, 211, 238, 0.05));
  border: 1px solid rgba(126, 166, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand:hover .brand-mark {
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #6d86ad;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active {
  color: #fff;
  background: rgba(94, 162, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(126, 166, 255, 0.16);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.menu-toggle span {
  width: 17px;
  height: 1.6px;
  border-radius: 2px;
  background: #dbe7ff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 158px 0 84px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 42px;
}
.hero-copy h1 {
  margin: 24px 0 22px;
  font-size: clamp(2.7rem, 5.3vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero-lead {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-stats {
  display: flex;
  gap: clamp(28px, 4vw, 54px);
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(148, 180, 255, 0.12);
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-label {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  justify-self: end;
}
.visual-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(47, 123, 255, 0.4), rgba(34, 211, 238, 0.12) 38%, transparent 66%);
  filter: blur(34px);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(126, 166, 255, 0.14);
  animation: spin 30s linear infinite;
}
.orbit-1 { inset: 2%; border-style: dashed; animation-duration: 44s; }
.orbit-2 { inset: 10%; border-color: rgba(126, 166, 255, 0.12); animation-duration: 32s; animation-direction: reverse; }
.orbit-3 { inset: 18.5%; border-color: rgba(34, 211, 238, 0.13); animation-duration: 24s; }

.orbit-node {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 2px rgba(34, 211, 238, 0.7);
}
.orbit-2 .orbit-node { background: #7db6ff; box-shadow: 0 0 12px 2px rgba(47, 123, 255, 0.7); }
.orbit-1 .orbit-node { width: 5px; height: 5px; margin-left: -2.5px; opacity: 0.8; }

@keyframes spin { to { transform: rotate(360deg); } }

.floor {
  position: absolute;
  inset: auto -16% -6% -16%;
  height: 46%;
  background-image:
    linear-gradient(rgba(94, 162, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 162, 255, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 36%, transparent 92%);
  mask-image: linear-gradient(to bottom, transparent 2%, #000 36%, transparent 92%);
  opacity: 0.55;
  z-index: 0;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 202px;
  height: 202px;
  margin: -101px 0 0 -101px;
  border-radius: 32px;
  background: linear-gradient(150deg, rgba(24, 40, 76, 0.92), rgba(7, 12, 26, 0.94));
  border: 1px solid rgba(148, 180, 255, 0.28);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow:
    0 36px 80px -26px rgba(0, 0, 0, 0.95),
    0 0 70px rgba(47, 123, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  transform: translate(var(--px, 0), var(--py, 0));
  animation: coreFloat 7s ease-in-out infinite;
}
.core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(126, 166, 255, 0.22), transparent 55%),
    radial-gradient(90% 70% at 80% 100%, rgba(34, 211, 238, 0.14), transparent 60%);
  pointer-events: none;
}
.core::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 22px;
  border: 1px solid rgba(148, 180, 255, 0.1);
  pointer-events: none;
}
@keyframes coreFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.core-inner { position: relative; text-align: center; }
.core-cloud { width: 64px; height: 64px; margin: 0 auto 10px; filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.35)); }
.core-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #d4e6ff;
}
.core-sub {
  display: block;
  margin-top: 4px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 13px;
  background: rgba(10, 19, 40, 0.72);
  border: 1px solid rgba(148, 180, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #dce9ff;
  transform: translate(var(--px, 0), var(--py, 0));
  animation: chipFloat 6s ease-in-out infinite;
}
.chip img { width: 20px; height: 20px; }
.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}
.chip-1 { top: 5%; left: 0; animation-delay: -0.5s; }
.chip-2 { top: 17%; right: -1%; animation-delay: -2s; animation-duration: 7s; }
.chip-3 { bottom: 17%; left: -2%; animation-delay: -3.4s; animation-duration: 6.5s; }
.chip-4 { bottom: 5%; right: 3%; animation-delay: -1.2s; animation-duration: 7.5s; }
.chip-5 { top: 44%; left: -4%; animation-delay: -4.6s; animation-duration: 8s; opacity: 0.9; }

@keyframes chipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.scroll-cue:hover { color: #b9cff2; }
.scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.8));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.75); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- Marquee ---------- */
.marquee-band {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  border-block: 1px solid rgba(148, 180, 255, 0.09);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  color: #93a8c8;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item img { opacity: 0.9; }
.marquee-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.45);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 5.5vw, 76px);
}
.about-visual { position: relative; }

.arch-card {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(148, 180, 255, 0.16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.arch-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), transparent);
}
.arch-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: -140px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.18), transparent 68%);
  pointer-events: none;
}
.arch-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 180, 255, 0.1);
}
.arch-dots { display: flex; gap: 6px; }
.arch-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 180, 255, 0.2);
}
.arch-dots i:nth-child(1) { background: rgba(94, 162, 255, 0.55); }
.arch-dots i:nth-child(2) { background: rgba(34, 211, 238, 0.5); }
.arch-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.08);
  color: #6ee7b7;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
  animation: pulseDot 2.4s ease-out infinite;
}
.arch-body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 0 8px;
}
.arch-layer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(148, 180, 255, 0.09);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.arch-layer:hover {
  background: rgba(94, 162, 255, 0.06);
  border-color: rgba(126, 166, 255, 0.24);
  transform: translateX(3px);
}
.arch-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(94, 162, 255, 0.1);
  border: 1px solid rgba(94, 162, 255, 0.18);
  flex-shrink: 0;
}
.arch-icon img { width: 24px; height: 24px; }
.arch-meta { display: flex; flex-direction: column; min-width: 0; }
.arch-name { font-size: 13.5px; font-weight: 600; }
.arch-sub { font-size: 11px; color: var(--muted-2); margin-top: 1px; }
.arch-tag {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.06);
  color: #7fdcff;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}
.arch-connector {
  width: 1px;
  height: 14px;
  margin-left: 35px;
  background: linear-gradient(rgba(94, 162, 255, 0.45), rgba(34, 211, 238, 0.25));
}
.arch-foot {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 180, 255, 0.1);
}
.arch-metric { flex: 1; display: flex; flex-direction: column; }
.arch-metric-val {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.arch-metric-lbl {
  margin-top: 2px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.float-badge {
  position: absolute;
  right: -16px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(9, 16, 34, 0.92);
  border: 1px solid rgba(148, 180, 255, 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.95);
  animation: badgeFloat 6s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-badge-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #6ee7b7;
}
.float-badge-icon svg { width: 18px; height: 18px; }
.float-badge strong { display: block; font-size: 12.5px; font-weight: 600; }
.float-badge span { display: block; font-size: 10.5px; color: var(--muted-2); }

.about-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.about-copy p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 26px 0 28px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c5d4ef;
  font-size: 13.5px;
}
.feature-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--cyan);
  flex-shrink: 0;
}
.feature-check svg { width: 12px; height: 12px; }

/* ---------- Assignments ---------- */
.assignments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.assignment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 55%, rgba(10, 18, 38, 0.35));
  border: 1px solid rgba(148, 180, 255, 0.14);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}
.assignment-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
  opacity: 0.75;
}
.assignment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 166, 255, 0.34);
  box-shadow: 0 36px 80px -32px rgba(0, 0, 0, 0.95),
              0 0 60px -24px rgba(47, 123, 255, 0.4);
}
.card-spotlight {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(94, 162, 255, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.assignment-card:hover .card-spotlight { opacity: 1; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.card-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}
.card-num::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(94, 162, 255, 0.14), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(126, 166, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.assignment-card:hover .card-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px -14px rgba(47, 123, 255, 0.7),
              inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.card-icon img { width: 28px; height: 28px; }

.assignment-card h3 {
  margin-bottom: 10px;
  font-size: 19.5px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.assignment-card > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14.2px;
  line-height: 1.72;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.card-tags li {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid rgba(148, 180, 255, 0.14);
  background: rgba(148, 180, 255, 0.05);
  color: #a9c1e8;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 180, 255, 0.1);
}
.learn-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  background: none;
  border: 0;
  color: #cfe1ff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.learn-btn:hover { color: #fff; }
.learn-arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid rgba(148, 180, 255, 0.22);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.learn-arrow svg { width: 14px; height: 14px; }
.learn-btn:hover .learn-arrow {
  transform: translateX(3px);
  background: rgba(94, 162, 255, 0.16);
  border-color: rgba(126, 166, 255, 0.45);
}
.card-service {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  transition: color 0.3s var(--ease);
}
.assignment-card:hover .card-service { color: var(--accent); }

/* ---------- Technologies ---------- */
.technologies { overflow: hidden; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech-card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(148, 180, 255, 0.12);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tech-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(126, 166, 255, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.95);
}
.tech-card:hover::after { opacity: 1; }
.tech-index {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(148, 180, 255, 0.32);
}
.tech-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(94, 162, 255, 0.08);
  border: 1px solid rgba(94, 162, 255, 0.16);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.tech-icon img { width: 30px; height: 30px; }
.tech-card:hover .tech-icon {
  transform: scale(1.06) rotate(-2deg);
  background: rgba(34, 211, 238, 0.1);
}
.tech-card h3 {
  font-size: 16.5px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.tech-card p {
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.68;
  margin-bottom: 18px;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8ec5ff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tech-tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.7);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  position: relative;
  padding: 34px 24px 28px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  border: 1px solid rgba(148, 180, 255, 0.12);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}
.team-card::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 166, 255, 0.3);
  box-shadow: 0 30px 66px -32px rgba(0, 0, 0, 0.95);
}
.team-card:hover::before { opacity: 1; }

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, #3b82f6, #22d3ee);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.45s var(--ease);
}
.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.35), transparent 46%);
  pointer-events: none;
}
.team-card:hover .avatar { transform: scale(1.05); }
.avatar-initials {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #f3f9ff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(148, 180, 255, 0.18);
  border-top-color: rgba(34, 211, 238, 0.65);
  border-right-color: transparent;
  animation: spin 16s linear infinite;
  pointer-events: none;
}
.team-card:nth-child(2) .avatar { background: linear-gradient(145deg, #4f46e5, #38bdf8); }
.team-card:nth-child(3) .avatar { background: linear-gradient(145deg, #0ea5e9, #22d3ee); }
.team-card:nth-child(4) .avatar { background: linear-gradient(145deg, #2563eb, #7dd3fc); }
.team-card:nth-child(5) .avatar { background: linear-gradient(145deg, #0e7490, #5ea2ff); }
.team-card:nth-child(6) .avatar { background: linear-gradient(145deg, #1d4ed8, #38e0e8); }
.team-card:nth-child(2) .avatar-ring { animation-duration: 19s; animation-direction: reverse; }
.team-card:nth-child(3) .avatar-ring { animation-duration: 14s; }
.team-card:nth-child(4) .avatar-ring { animation-duration: 21s; animation-direction: reverse; }
.team-card:nth-child(5) .avatar-ring { animation-duration: 17s; }
.team-card:nth-child(6) .avatar-ring { animation-duration: 15s; animation-direction: reverse; }

.team-card h3 {
  font-size: 17.5px;
  letter-spacing: -0.01em;
}
.team-card p {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.member-index {
  display: inline-block;
  margin-top: 15px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(148, 180, 255, 0.12);
  color: rgba(148, 180, 255, 0.5);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-card:hover .member-index {
  color: #8ec5ff;
  border-color: rgba(126, 166, 255, 0.3);
}

/* ---------- Objectives ---------- */
.objectives-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: clamp(40px, 6vw, 84px);
}
.objectives-intro { position: sticky; top: 110px; }
.objectives-intro h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.7vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.objective-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(148, 180, 255, 0.14);
}
.objective-badge-ring {
  position: relative;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}
.objective-badge-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring-progress {
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.objectives-intro.is-visible .ring-progress { stroke-dashoffset: 40; }
.objective-badge-val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}
.objective-badge strong { display: block; font-size: 12.5px; font-weight: 600; }
.objective-badge p span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.objective-list { position: relative; }
.objective-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(148, 180, 255, 0.1);
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease);
}
.objective-item:first-child { border-top: 1px solid rgba(148, 180, 255, 0.1); }
.objective-item:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(94, 162, 255, 0.05), transparent 70%);
}
.objective-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(94, 162, 255, 0.07);
  border: 1px solid rgba(148, 180, 255, 0.16);
  color: #8ec5ff;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.objective-item:hover .objective-num {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(37, 99, 235, 0.8);
}
.objective-content h3 {
  font-size: 16.5px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.objective-content p {
  margin-top: 6px;
  max-width: 470px;
  color: var(--muted);
  font-size: 13.4px;
  line-height: 1.68;
}

/* ---------- CTA ---------- */
.cta-section { padding-top: 40px; }
.cta-band {
  position: relative;
  padding: clamp(56px, 8vw, 90px) 32px;
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 150% at 50% 0%, rgba(47, 123, 255, 0.24), rgba(7, 12, 26, 0.86) 56%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(148, 180, 255, 0.18);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 166, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 166, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.cta-orbit {
  position: absolute;
  top: -78%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(94, 162, 255, 0.16);
  box-shadow: inset 0 0 130px rgba(47, 123, 255, 0.14),
              0 0 100px rgba(34, 211, 238, 0.06);
  pointer-events: none;
}
.cta-band .eyebrow { position: relative; }
.cta-band h2 {
  position: relative;
  margin: 20px 0 16px;
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.cta-band > p {
  position: relative;
  max-width: 540px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding-top: 64px;
  border-top: 1px solid rgba(148, 180, 255, 0.1);
  background: linear-gradient(180deg, rgba(5, 8, 18, 0), rgba(3, 6, 14, 0.85));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-tagline {
  max-width: 330px;
  margin-bottom: 12px;
  color: #bccbe8;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.65;
}
.footer-desc {
  max-width: 350px;
  color: var(--muted-2);
  font-size: 12.6px;
  line-height: 1.72;
}
.footer-col h4 {
  margin-bottom: 18px;
  color: #8095bb;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  display: inline-block;
  color: #a7b8d6;
  font-size: 13px;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(148, 180, 255, 0.09);
  color: var(--muted-2);
  font-size: 11.5px;
}
.footer-meta { color: rgba(148, 180, 255, 0.42); letter-spacing: 0.04em; }
.footer-built span { color: #8ec5ff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(9, 16, 34, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #bcd3f5;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.to-top svg { width: 19px; height: 19px; }
.to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover {
  color: #fff;
  border-color: rgba(126, 166, 255, 0.4);
  transform: translateY(-2px);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  width: min(680px, 92vw);
  max-height: 86vh;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(148, 180, 255, 0.2);
  border-radius: 26px;
  background: linear-gradient(165deg, #0b1428, #070c1a 68%);
  color: var(--text);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.95),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(3, 6, 14, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal[open] { animation: modalIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-card {
  position: relative;
  max-height: 86vh;
  padding: 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-card::-webkit-scrollbar { width: 8px; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 44px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(148, 180, 255, 0.12);
}
.modal-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(94, 162, 255, 0.1);
  border: 1px solid rgba(94, 162, 255, 0.22);
  flex-shrink: 0;
}
.modal-icon img { width: 30px; height: 30px; }
.modal-eyebrow {
  display: block;
  color: #8ec5ff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.modal-head h3 {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.modal-lead {
  margin-bottom: 24px;
  color: #b7c8e6;
  font-size: 14.5px;
  line-height: 1.78;
}
.modal-section { margin-bottom: 24px; }
.modal-section h4 {
  margin-bottom: 12px;
  color: #8095bb;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.modal-steps { display: flex; flex-direction: column; gap: 10px; }
.modal-steps li {
  display: flex;
  gap: 11px;
  color: #b7c8e6;
  font-size: 13.4px;
  line-height: 1.62;
}
.step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border-radius: 6px;
  background: rgba(94, 162, 255, 0.1);
  border: 1px solid rgba(126, 166, 255, 0.2);
  color: #8ec5ff;
  font-family: var(--mono);
  font-size: 8.5px;
  flex-shrink: 0;
}
.modal-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-stack span {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(148, 180, 255, 0.16);
  background: rgba(148, 180, 255, 0.06);
  color: #a9c1e8;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.modal-outcome {
  display: flex;
  gap: 11px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(34, 211, 238, 0.055);
  color: #bfe6f2;
  font-size: 12.8px;
  line-height: 1.66;
}
.modal-outcome svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}

body.modal-open { overflow: hidden; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.85s var(--ease), translate 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
  .hero-visual { max-width: 500px; }
  .chip { font-size: 11.5px; padding: 9px 12px; }
  .core { width: 184px; height: 184px; margin: -92px 0 0 -92px; }
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(7, 12, 26, 0.97);
    border: 1px solid rgba(148, 180, 255, 0.16);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
                visibility 0.3s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    padding: 12px 14px;
    font-size: 14.5px;
    border-radius: 10px;
  }
  .menu-toggle { display: flex; }

  .hero { min-height: auto; padding: 140px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 700px; }
  .hero-visual {
    order: 2;
    max-width: 470px;
    margin: 0 auto;
    justify-self: center;
  }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-visual { max-width: 560px; }
  .about-copy { max-width: 700px; }

  .objectives-grid { grid-template-columns: 1fr; gap: 44px; }
  .objectives-intro { position: static; }
  .objectives-intro .section-lead { max-width: 680px; }
  .objective-badge { max-width: 340px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 96px 0; }
}

@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .assignments-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .marquee-item { padding: 0 20px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .section { padding: 82px 0; }
  .section-head { margin-bottom: 42px; }

  .nav-cta { display: none; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-name { font-size: 13.5px; }
  .nav-wrap { height: 72px; }

  .hero { padding: 124px 0 64px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: 0.16em; padding: 7px 11px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; text-align: left; }
  .stat-value { font-size: 1.5rem; }

  .hero-visual { max-width: 370px; }
  .core { width: 156px; height: 156px; margin: -78px 0 0 -78px; border-radius: 26px; }
  .core-cloud { width: 50px; height: 50px; }
  .core-label { font-size: 9px; letter-spacing: 0.2em; }
  .core-sub { font-size: 7.5px; }
  .chip { font-size: 10.5px; padding: 7px 10px; gap: 7px; border-radius: 11px; }
  .chip img { width: 17px; height: 17px; }
  .chip-dot { width: 4px; height: 4px; }
  .chip-5 { display: none; }
  .chip-1 { top: 6%; left: 0; }
  .chip-2 { top: 6%; right: 0; }
  .chip-3 { bottom: 5%; left: 0; }
  .chip-4 { bottom: 5%; right: 0; }
  .orbit-3 { inset: 16%; }

  .arch-card { padding: 18px; }
  .arch-tag { display: none; }
  .arch-metric-val { font-size: 16px; }
  .float-badge { right: 6px; bottom: -20px; padding: 12px 14px; }
  .float-badge strong { font-size: 11.5px; }

  .assignment-card { padding: 24px; }
  .assignment-card h3 { font-size: 18px; }

  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { padding: 24px; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-card { padding: 26px 16px 22px; }
  .avatar { width: 76px; height: 76px; margin-bottom: 16px; }
  .avatar-initials { font-size: 1.6rem; }
  .team-card h3 { font-size: 15.5px; }
  .team-card p { font-size: 8.5px; letter-spacing: 0.1em; }

  .objective-item { grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 2px; }
  .objective-num { width: 38px; height: 38px; border-radius: 11px; font-size: 11.5px; }
  .objective-content h3 { font-size: 15px; }
  .objective-content p { font-size: 12.8px; }

  .cta-band { padding: 48px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .modal-card { padding: 24px; }
  .modal-head h3 { font-size: 18.5px; }
  .modal-icon { width: 48px; height: 48px; border-radius: 13px; }
  .modal-lead { font-size: 13.5px; }

  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 520px) {
  .hero-visual { max-width: 330px; }
  .hero-copy .eyebrow { font-size: 8.5px; letter-spacing: 0.12em; padding: 7px 10px; }
  .hero-stats { gap: 20px 26px; }
  .stat-label { font-size: 9px; letter-spacing: 0.1em; }

  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 30px 20px 26px; }
  .avatar { width: 84px; height: 84px; }

  .feature-list { grid-template-columns: 1fr; }
  .arch-foot { flex-wrap: wrap; gap: 16px; }
  .arch-metric { flex: 1 1 40%; }
  .float-badge { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-meta { order: 3; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; translate: none; }
  .ring-progress { stroke-dashoffset: 40; }
  .core, .chip { translate: none; }
}
