:root {
  --paper: #0b1220;
  --ink: #f5f7ff;
  --ink-soft: #cbd5f0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #77d8ff;
  --shadow: 0 30px 70px rgba(6, 10, 18, 0.6);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(119, 216, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(140, 160, 255, 0.18), transparent 45%),
    linear-gradient(120deg, #090f1a 0%, #0b1220 45%, #0d1628 100%);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", "Manrope", serif;
  letter-spacing: 0.02em;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(6, 10, 18, 0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}

.nav-center {
  text-align: center;
}

.nav-center p {
  margin: 0;
}

.tagline {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(203, 213, 240, 0.7);
}

.nav-pills {
  margin-top: 14px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 10px 40px rgba(6, 10, 18, 0.25);
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(203, 213, 240, 0.85);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.section-card {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 32px;
}

.section-title .underline {
  width: 64px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin: 12px auto 0;
}

.section-sub {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(203, 213, 240, 0.7);
}

.hero {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: rgba(203, 213, 240, 0.7);
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
}

.hero-body {
  font-size: 18px;
  color: rgba(203, 213, 240, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #04101a;
  border-color: transparent;
}

.btn.primary:hover {
  transform: translateY(-1px);
  background: #a6e7ff;
}

.btn.secondary:hover {
  background: white;
  color: #0b1220;
}

.card-grid {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tile {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(6, 10, 18, 0.35);
}

.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #22d3ee, #22c55e, #a855f7);
}

.tile h3 {
  font-size: 24px;
  margin-top: 8px;
}

.tile p {
  margin-top: 10px;
  color: rgba(203, 213, 240, 0.8);
  font-size: 14px;
}

.tile .open {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(203, 213, 240, 0.8);
}

.contact-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: rgba(203, 213, 240, 0.9);
  transition: all 0.2s ease;
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact-pill .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  z-index: 80;
}

.modal {
  width: min(850px, 92vw);
  max-height: 85vh;
  background: #1f2a38;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(6, 10, 18, 0.6);
}

.modal header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal header h3 {
  font-size: 28px;
}

.modal header .tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(168, 240, 220, 0.9);
}

.modal header .tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.2);
}

.modal-body {
  padding: 24px 28px 32px;
  overflow-y: auto;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section h4 {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(168, 240, 220, 0.9);
}

.modal-section p {
  margin: 10px 0 0;
  font-size: 14px;
  color: rgba(203, 213, 240, 0.9);
}

.modal-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 18px;
}

.modal-media iframe,
.modal-media video,
.modal-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.close-btn {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}
