:root {
  --bg: #071a2c;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #eff7ff;
  --muted: #9bb8d0;
  --accent: #7dd3fc;
  --accent-2: #c7d2fe;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(3, 23, 50, 0.24);
  --radius: 1.5rem;
  --max-width: min(1120px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  background-image:
    url('background-water.jpg'),
    radial-gradient(circle at 20% 15%, rgba(29, 78, 216, 0.16), transparent 12%),
    radial-gradient(circle at 85% 10%, rgba(96, 165, 250, 0.12), transparent 14%),
    linear-gradient(180deg, rgba(8, 23, 55, 0.92), rgba(5, 18, 42, 0.95) 48%, rgba(7, 26, 52, 0.98));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.05), transparent 18%),
    radial-gradient(circle at 15% 70%, rgba(255, 255, 255, 0.03), transparent 20%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  opacity: 0.75;
  mix-blend-mode: screen;
}

.wrapper {
  width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  padding: clamp(1.5rem, 4vw, 3rem) 0 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto max-content;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(20, 184, 255, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.brand-title {
  margin: 0;
  font-size: 1rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.icon-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.navigation a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.navigation a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  cursor: pointer;
  padding: 0.7rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 6rem);
  display: grid;
  align-items: center;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top left, rgba(20, 184, 255, 0.08), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(230, 244, 255, 0.07), transparent 20%),
    linear-gradient(180deg, #081b33 0%, #0e3a5d 55%, #081b33 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 22%, rgba(20, 184, 255, 0.16), transparent 14%),
    radial-gradient(circle at 75% 40%, rgba(230, 244, 255, 0.12), transparent 12%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 58, 93, 0.45), rgba(8, 27, 51, 0.65));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  color: var(--text);
}

.eyebrow,
.section-eyebrow,
.brand-label {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.78rem;
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.03;
}

.hero-copy p {
  margin: 1.5rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, #14b8ff, #60a5fa);
  color: #081b33;
}

.hero-badge {
  display: inline-flex;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: rgba(20, 184, 255, 0.14);
  color: #e6f4ff;
  font-size: 0.9rem;
}

.hero-panel,
.status-card,
.objective-card,
.timeline-item,
.metric-card,
.next-card,
.architecture-step,
.glass {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.hero-panel {
  display: grid;
  gap: 1.25rem;
  padding: 2rem;
}

.panel-label {
  margin: 0;
  font-size: 0.95rem;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(20, 184, 255, 0.12);
}

.hero-metrics {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.2rem;
}

.metric-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.metric-card strong {
  display: block;
  font-size: 1rem;
}

.section {
  padding: 5rem 0;
}

.surface {
  background: rgba(255, 255, 255, 0.03);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.section-header h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 1.5rem;
  max-width: 54rem;
  color: var(--muted);
  line-height: 1.75;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.about-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
}

.about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.status-card {
  padding: 2rem;
}

.status-card-label {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.88rem;
}

.status-card strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.objectives-grid,
.metrics-grid,
.tech-grid,
.status-grid,
.next-grid {
  display: grid;
  gap: 1.2rem;
}

.objectives-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.objective-card {
  padding: 1.5rem;
}

.objective-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.objective-card h4 {
  margin: 0 0 0.75rem;
}

.objective-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1rem;
  align-items: center;
}

.architecture-step {
  padding: 1.3rem;
  text-align: center;
}

.architecture-step span {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 184, 255, 0.16);
  color: var(--accent);
  font-weight: 700;
}

.architecture-step p {
  margin: 0;
  font-size: 0.95rem;
}

.architecture-arrow {
  display: flex;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.5rem;
}

.timeline-marker {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 1rem;
}

.timeline-content span {
  display: inline-flex;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.timeline-content h4 {
  margin: 0 0 0.8rem;
}

.timeline-content img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric-card h4 {
  margin: 0 0 0.75rem;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

.tech-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.tech-grid span {
  padding: 1rem 1.2rem;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.status-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.status-item {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.status-item.completed {
  background: rgba(20, 184, 255, 0.14);
  color: #e6f4ff;
}

.status-item.pending {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.next-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.next-card {
  padding: 1.5rem;
  min-height: 130px;
}

.next-card h4 {
  margin: 0;
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(20, 184, 255, 0.18);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-5px);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 15, 33, 0.96);
  padding: 2rem;
  z-index: 500;
}

.lightbox.open {
  display: flex;
}

.lightbox-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(96vw, 860px);
}

.lightbox-caption {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.lightbox img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  max-height: 80vh;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .architecture-grid,
  .objectives-grid,
  .metrics-grid,
  .tech-grid,
  .status-grid,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 1.3rem 0 0;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .social-icons {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .icon-link {
    width: 2.2rem;
    height: 2.2rem;
  }

  .navigation {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    min-height: 100vh;
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    background: rgba(3, 18, 40, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.75rem;
    z-index: 300;
  }

  .navigation.mobile-open {
    display: flex;
  }

  .navigation a {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(18px);
    background: rgba(8, 27, 51, 0.88);
  }

  body {
    background-attachment: scroll;
  }

  .hero {
    padding: 3.2rem 0 2rem;
  }

  .hero-copy p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 1.2rem;
  }

  .section-header {
    align-items: flex-start;
  }
}
