:root {
  color-scheme: dark;
  --bg: #05070d;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f7f6ef;
  --muted: #9ca4b5;
  --accent: #c7a96b;
  --accent-2: #6f8ea0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(199, 169, 107, 0.16), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(111, 142, 160, 0.16), transparent 26%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
  pointer-events: none;
}

.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 1.02;
  max-width: 10ch;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #e2c48d);
  color: #121212;
  box-shadow: 0 8px 24px rgba(199, 169, 107, 0.25);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.03);
}

.image-badge,
.floating-panel {
  position: absolute;
  z-index: 2;
  background: rgba(6, 10, 24, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.image-badge {
  top: 18px;
  left: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--accent);
}

.floating-panel {
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  max-width: 240px;
}

.floating-panel p {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.floating-panel strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

.orb-one {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(120, 242, 208, 0.7), transparent 70%);
  top: -30px;
  right: -20px;
}

.orb-two {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(138, 125, 255, 0.65), transparent 70%);
  bottom: -20px;
  left: -20px;
  animation-delay: -2s;
}

.panel-card {
  position: absolute;
  inset: 72px 56px 56px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(5, 9, 24, 0.92), rgba(16, 20, 45, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: perspective(900px) rotateX(8deg) rotateY(-10deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 60px rgba(0, 0, 0, 0.28);
  animation: panelTilt 6s ease-in-out infinite alternate;
}

.panel-heading {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.panel-body {
  display: flex;
  flex: 1;
  gap: 16px;
}

.mini-chart {
  flex: 1;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(120, 242, 208, 0.3), rgba(138, 125, 255, 0.12));
  position: relative;
  overflow: hidden;
}

.mini-chart::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mini-stack {
  width: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-stack div {
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(120, 242, 208, 0.28));
}

.mini-stack div:nth-child(2) {
  width: 70%;
}

.mini-stack div:nth-child(3) {
  width: 48%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 0 40px;
}

.stats article {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.stats strong {
  display: block;
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.stats span {
  color: var(--muted);
}

.showcase {
  padding: 24px 0 40px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.info-card {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  height: 100%;
}

.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 169, 107, 0.55);
  box-shadow: 0 18px 42px rgba(199, 169, 107, 0.14);
}

.info-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.card-cta:hover {
  transform: translateY(-2px);
  background: rgba(199, 169, 107, 0.16);
  border-color: rgba(199, 169, 107, 0.45);
}

.subpage-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 20px 0 36px;
  min-height: 420px;
}

.subpage-content h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
}

.subpage-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 24px;
  align-items: stretch;
  min-height: 280px;
}

.subpage-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.subpage-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.subpage-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.page-nav-controls {
  display: inline-flex;
  gap: 10px;
  margin: 8px 0 24px;
  min-height: 46px;
  height: 46px;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.page-nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.2rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.page-nav-arrow:hover {
  transform: translateX(2px);
  background: rgba(199, 169, 107, 0.16);
  border-color: rgba(199, 169, 107, 0.45);
}

.gallery {
  padding: 24px 0 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 12px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.04);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 34px 110px rgba(46, 242, 199, 0.16);
  }
}

@keyframes panelTilt {
  0% {
    transform: perspective(900px) rotateX(8deg) rotateY(-10deg);
  }
  100% {
    transform: perspective(900px) rotateX(4deg) rotateY(10deg);
  }
}

@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(18deg);
  }
}

@keyframes drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 36px 36px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .stats,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: 16px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 360px;
  }
}
