:root {
  --bg: #000;
  --panel: rgba(15, 15, 15, 0.78);
  --panel-border: rgba(201, 169, 97, 0.28);
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --soft: rgba(255,255,255,0.68);
  --gold: #c9a961;
  --gold-light: #d4b976;
  --gold-soft: rgba(201, 169, 97, 0.16);
  --line: rgba(255,255,255,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { min-height: 100%; background: var(--bg); }

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,169,97,.08) 0, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201,169,97,.05) 0, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(201,169,97,.06) 0, transparent 50%);
  animation: meshMove 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes meshMove {
  0%, 100% { transform: translate(0) rotate(0deg); }
  33% { transform: translate(5%, 5%) rotate(1deg); }
  66% { transform: translate(-5%, 5%) rotate(-1deg); }
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .018;
  mix-blend-mode: overlay;
  background-image: url("../img/noise.svg");
  z-index: 5;
}

.glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(70px);
  opacity: .36;
  z-index: 1;
}

.glow-a { top: -14rem; right: -12rem; background: rgba(201,169,97,.25); }
.glow-b { bottom: -16rem; left: -12rem; background: rgba(212,185,118,.18); }

.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 2.5rem);
}

.hero-card {
  width: min(1120px, 100%);
  min-height: min(760px, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: clamp(1.5rem, 3vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(201,169,97,.12), transparent),
    radial-gradient(circle at 80% 10%, rgba(201,169,97,.18), transparent 34%);
  opacity: .85;
}

.topbar,
.footer-note,
.content-grid { position: relative; z-index: 2; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.brand-logo { width: clamp(9rem, 16vw, 13rem); height: auto; }

.lang-switch {
  display: inline-flex;
  gap: .35rem;
  padding: .35rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(0,0,0,.34);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(245,245,245,.66);
  font: 700 .75rem/1 Inter, sans-serif;
  letter-spacing: .08em;
  padding: .55rem .72rem;
  transition: color .2s ease, background .2s ease;
}

.lang-switch button.active {
  background: rgba(201,169,97,.18);
  color: var(--gold-light);
}

.content-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1rem, 4vw, 4rem);
}

.hero-content { max-width: 690px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 2rem;
  padding: .55rem .9rem;
  border: 1px solid rgba(201,169,97,.3);
  border-radius: 999px;
  background: rgba(201,169,97,.08);
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pulse {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201,169,97,.55);
  animation: pulse 2.1s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(201,169,97,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,169,97,0); }
}

.eyebrow {
  margin-bottom: .9rem;
  color: var(--gold);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .02em;
}

h1 {
  max-width: 780px;
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.065em;
}

.lead {
  max-width: 600px;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #080808;
  box-shadow: 0 14px 40px rgba(201,169,97,.22);
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: var(--text);
}

.preview-panel {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(10,10,10,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 70px rgba(0,0,0,.32);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: .45rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.window-bar span {
  width: .65rem;
  height: .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.window-bar span:first-child { background: rgba(201,169,97,.8); }

.preview-stage {
  position: absolute;
  inset: 3rem 0 0;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.cube {
  position: absolute;
  border: 1px solid rgba(201,169,97,.5);
  background: linear-gradient(135deg, rgba(201,169,97,.28), rgba(255,255,255,.04));
  transform: rotateX(58deg) rotateZ(45deg);
}

.cube-main {
  width: 160px;
  height: 160px;
  box-shadow: 0 0 70px rgba(201,169,97,.18), inset 0 0 30px rgba(255,255,255,.04);
  animation: floatMain 6s ease-in-out infinite;
}

.cube-small {
  width: 74px;
  height: 74px;
  right: 16%;
  top: 23%;
  opacity: .72;
  animation: floatSmall 7s ease-in-out infinite;
}

@keyframes floatMain {
  0%,100% { transform: rotateX(58deg) rotateZ(45deg) translateY(0); }
  50% { transform: rotateX(58deg) rotateZ(45deg) translateY(-18px); }
}

@keyframes floatSmall {
  0%,100% { transform: rotateX(58deg) rotateZ(45deg) translateY(0); }
  50% { transform: rotateX(58deg) rotateZ(45deg) translateY(14px); }
}

.path-line {
  position: absolute;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,.6), transparent);
  transform: rotate(-18deg);
  opacity: .8;
}

.preview-card {
  position: absolute;
  width: 120px;
  min-height: 86px;
  padding: 1rem;
  border: 1px solid rgba(201,169,97,.24);
  border-radius: 1rem;
  background: rgba(23,23,23,.72);
  backdrop-filter: blur(12px);
}

.preview-card span {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 1.3rem;
  border-radius: 99px;
  background: rgba(201,169,97,.7);
}

.preview-card strong {
  color: rgba(255,255,255,.9);
  font-size: 1.5rem;
}

.card-one { left: 10%; bottom: 14%; }
.card-two { right: 12%; bottom: 22%; }

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(245,245,245,.54);
  font-size: .9rem;
}

@media (max-width: 860px) {
  .hero-card { min-height: auto; }
  .content-grid { grid-template-columns: 1fr; padding-top: 2rem; }
  .preview-panel { min-height: 320px; }
  h1 { letter-spacing: -.045em; }
}

@media (max-width: 560px) {
  .topbar { align-items: flex-start; }
  .brand-logo { width: 8.5rem; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-note { flex-direction: column; }
  .preview-panel { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
