:root {
  --gold: #d4af37;
  --gold-bright: #ffd700;
  --black: #050505;
  --gray-950: #0b0b0d;
  --gray-900: #111116;
  --gray-800: #1a1a20;
  --gray-700: #282832;
  --white: #ffffff;
  --muted: #b8b8c4;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 215, 0, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --nav-h: 88px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 24%, rgba(255, 215, 0, 0.09), transparent 26rem),
    linear-gradient(135deg, var(--black), #101015 52%, #050505);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.modal-open {
  overflow: hidden;
}

a,
button,
input,
textarea,
select {
  font: inherit;
}

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

img {
  display: block;
  width: 100%;
}

button {
  border: 0;
  cursor: none;
}

::selection {
  color: #090909;
  background: var(--gold-bright);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 9999;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), #fff3a4);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-bright);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.9);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 215, 0, 0.85);
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.cursor-ring.is-hover {
  width: 70px;
  height: 70px;
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
}

.trail-particle {
  position: fixed;
  z-index: 9998;
  width: 6px;
  height: 6px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-bright), rgba(255, 215, 0, 0));
  animation: trailFade 0.65s ease forwards;
}

@keyframes trailFade {
  to {
    transform: translateY(14px) scale(0);
    opacity: 0;
  }
}

.preloader,
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: grid;
  place-items: center;
  background: #030303;
}

.preloader {
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  color: var(--gold-bright);
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0;
}

.loader-mark img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 34px rgba(255, 215, 0, 0.42);
}

.loader-mark::before,
.loader-mark::after {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--gold);
  animation: spin 1.1s linear infinite;
}

.loader-mark::after {
  inset: 12px;
  border-top-color: var(--white);
  animation-direction: reverse;
}

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

.page-transition {
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  background: linear-gradient(135deg, #050505, #1a1506, #050505);
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.8;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  backdrop-filter: blur(18px);
  background: rgba(3, 3, 3, 0.72);
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
  transition: transform 0.35s ease, background 0.35s ease;
}

.site-header.nav-hidden {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #050505;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.45);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--gold-bright);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--gold-bright);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main {
  padding-top: var(--nav-h);
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(310px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 5vw, 5.35rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.gold-text {
  color: transparent;
  background: linear-gradient(135deg, #fff7bd, var(--gold-bright), var(--gold), #fff3ad);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.typing {
  color: var(--gold-bright);
  white-space: nowrap;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  color: #080808;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: var(--radius);
  box-shadow: 0 15px 34px rgba(212, 175, 55, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(255, 215, 0, 0.35);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.32);
}

.btn .ripple {
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.7s ease-out;
}

@keyframes ripple {
  to {
    transform: scale(160);
    opacity: 0;
  }
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.lux-card,
.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: absolute;
  inset: 40px 0 auto auto;
  width: min(420px, 100%);
  padding: 18px;
}

.hero-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(1.08) contrast(1.05);
}

.hero-stat {
  position: absolute;
  left: 0;
  bottom: 38px;
  width: 280px;
  padding: 24px;
}

.stat-number {
  display: block;
  color: var(--gold-bright);
  font-family: "Playfair Display", serif;
  font-size: 2.55rem;
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 42px;
}

.section-head p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.team-card,
.product-card,
.metric-card,
.reward-card,
.income-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 215, 0, 0.16);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.feature-card::before,
.product-card::before,
.team-card::before {
  position: absolute;
  content: "";
  inset: -1px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), transparent 42%, rgba(255, 255, 255, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover::before,
.product-card:hover::before,
.team-card:hover::before {
  opacity: 1;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: #090909;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  font-weight: 900;
}

.card-text {
  color: var(--muted);
}

.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card img,
.gallery-item img,
.product-card img,
.team-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.media-card:hover img,
.gallery-item:hover img,
.product-card:hover img,
.team-card:hover img {
  transform: scale(1.07);
}

.team-card,
.product-card {
  padding: 12px;
  transform-style: preserve-3d;
}

.team-card .card-body,
.product-card .card-body {
  padding: 18px 10px 10px;
}

.team-card img,
.product-card img {
  border-radius: var(--radius);
}

.price {
  color: var(--gold-bright);
  font-size: 1.35rem;
  font-weight: 900;
}

.swiper {
  padding: 4px 2px 54px;
}

.testimonial {
  padding: 32px;
}

.quote {
  margin: 0;
  color: #f4f4f7;
  font-size: 1.08rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.quote-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
}

.swiper-pagination-bullet-active {
  background: var(--gold-bright);
}

.page-hero {
  min-height: 38vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.8)),
    var(--hero-image, radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent));
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
}

.doc-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.16);
  border-radius: var(--radius);
}

.doc-status {
  color: #080808;
  white-space: nowrap;
  padding: 5px 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.profile-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 20px;
  border-left: 2px solid var(--gold);
}

.timeline-year {
  color: var(--gold-bright);
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.chart-bars {
  display: grid;
  gap: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 70px;
  align-items: center;
  gap: 14px;
}

.bar-track {
  overflow: hidden;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}

.bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.55);
}

.diagram {
  min-height: 410px;
  position: relative;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: #080808;
  text-align: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(255, 215, 0, 0.38);
}

.node:nth-child(1) {
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
}

.node:nth-child(2) {
  left: 20%;
  top: 40%;
}

.node:nth-child(3) {
  right: 20%;
  top: 40%;
}

.node:nth-child(4) {
  left: 8%;
  bottom: 4%;
}

.node:nth-child(5) {
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
}

.node:nth-child(6) {
  right: 8%;
  bottom: 4%;
}

.diagram-lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.masonry {
  columns: 3 280px;
  column-gap: 20px;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.16);
  border-radius: var(--radius);
}

.gallery-item img {
  aspect-ratio: auto;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  min-height: 680px;
  overflow: hidden;
}

.form-aside {
  padding: 42px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.76)),
    url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1000&q=82") center / cover;
}

.form-panel {
  padding: 42px;
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}

.tab-btn {
  flex: 1;
  min-height: 42px;
  color: var(--white);
  background: transparent;
  border-radius: var(--radius);
}

.tab-btn.active {
  color: #080808;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  font-weight: 900;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: var(--radius);
  outline: 0;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field textarea {
  min-height: 132px;
  padding-top: 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.13);
}

.field.error input,
.field.error textarea {
  border-color: #ff5b5b;
  animation: shake 0.35s ease;
}

.error-msg {
  min-height: 18px;
  color: #ffb1b1;
  font-size: 0.78rem;
}

@keyframes shake {
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-3px);
  }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  align-self: start;
  padding: 20px;
}

.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
}

.side-link.active,
.side-link:hover {
  color: #090909;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  font-weight: 900;
}

.wallet {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.wallet-balance {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1;
  color: var(--gold-bright);
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 210px;
}

.mini-chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 6px 6px 0 0;
}

.map-frame {
  min-height: 380px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.8) invert(0.9) contrast(0.92);
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 850;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #061005;
  background: #25d366;
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.28);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 850;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #080808;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-footer {
  padding: 54px 0 28px;
  background: rgba(0, 0, 0, 0.72);
  border-top: 1px solid rgba(255, 215, 0, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(16px);
}

.brand-popup {
  position: fixed;
  inset: 0;
  z-index: 9550;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(16px);
}

.brand-popup.active {
  display: flex;
}

.brand-popup-card {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 215, 0, 0.2), transparent 18rem),
    rgba(8, 8, 10, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
  transform: translateY(18px) scale(0.94);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.brand-popup.active .brand-popup-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.brand-popup-logo {
  width: 138px;
  height: 138px;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 215, 0, 0.42);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(255, 215, 0, 0.18);
}

.brand-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #080808;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.modal.active {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(8, 8, 10, 0.94);
  border: 1px solid rgba(255, 215, 0, 0.24);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
  transform: scale(0.86);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.modal.active .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.modal-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  max-height: calc(100vh - 48px);
}

.modal-image-wrap {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: #020202;
}

.modal-image {
  width: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
}

.modal-info {
  padding: 32px;
  overflow: auto;
}

.modal-close,
.modal-nav,
.slideshow-toggle {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #080808;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}

.modal-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
}

.modal-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.modal-prev {
  left: 16px;
}

.modal-next {
  right: 372px;
}

.slideshow-toggle {
  left: 16px;
  bottom: 16px;
  width: auto;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 900;
}

.reveal {
  opacity: 0;
}

.split-line {
  display: inline-block;
  overflow: hidden;
}

.split-line span {
  display: inline-block;
}

@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  button,
  a {
    cursor: pointer;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    background: rgba(4, 4, 5, 0.96);
    border-bottom: 1px solid rgba(255, 215, 0, 0.18);
    transform: translateY(-120%);
    transition: transform 0.32s ease;
  }

  .nav-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-shell,
  .dashboard-grid,
  .wallet,
  .modal-media,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-card {
    inset: 0 0 auto auto;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

  .modal-next {
    right: 16px;
  }

  .modal-info {
    max-height: 34vh;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 70px;
  }

  .section {
    padding: 70px 0;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-stat {
    width: calc(100% - 40px);
    left: 20px;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .diagram {
    min-height: 500px;
  }

  .node {
    width: 78px;
    height: 78px;
    font-size: 0.82rem;
  }

  .node:nth-child(2) {
    left: 6%;
  }

  .node:nth-child(3) {
    right: 6%;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    max-height: calc(100vh - 24px);
  }

  .modal-image-wrap {
    min-height: 300px;
  }

  .slideshow-toggle {
    bottom: auto;
    top: 16px;
  }
}

/* =========================
   LEGAL DOCUMENTS
========================= */

.doc-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
}

.legal-doc-card{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: 0.35s ease;
  overflow: hidden;
  position: relative;
}

.legal-doc-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.5);
  background: rgba(255,255,255,0.06);
}

.legal-doc-image{
  width: 95px;
  height: 95px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
}

.legal-doc-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.legal-doc-content{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-doc-content strong{
  font-size: 18px;
  color: #fff;
  line-height: 1.4;
}

.doc-status{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

@media(max-width: 767px){

  .legal-doc-card{
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-doc-image{
    width: 100%;
    height: 200px;
  }

}
