:root {
  --bg: #050505;
  --fg: #eceae6;
  --dim: #8d8880;
  --line: #26231f;
  --gold: #c4a574;
  --gold-deep: #8d6b3c;
  --silver: #cfd3d8;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --display: "Sora", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-user-select: none;
  user-select: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  cursor: none;
  -webkit-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #050505; }

.cursor {
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: difference;
}

.cursor.on-link {
  width: 36px;
  height: 36px;
  background: var(--gold);
}

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow i {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .38;
  animation: drift 18s ease-in-out infinite;
}

.glow i:nth-child(1) {
  width: 420px;
  height: 420px;
  left: -80px;
  top: -60px;
  background: #5a4a32;
}

.glow i:nth-child(2) {
  width: 340px;
  height: 340px;
  right: -40px;
  top: 28%;
  background: #8a8f96;
  animation-duration: 22s;
  animation-delay: -6s;
}

.glow i:nth-child(3) {
  width: 280px;
  height: 280px;
  left: 42%;
  bottom: -80px;
  background: #c4a574;
  animation-duration: 16s;
  animation-delay: -3s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(36px, -24px) scale(1.1); }
}

.grid-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(196,165,116,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,165,116,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  animation: gridshift 28s linear infinite;
}

@keyframes gridshift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubbles span {
  position: absolute;
  border: 1px solid rgba(196,165,116,.4);
  background: rgba(207,211,216,.06);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.bubbles span:nth-child(odd) { border-color: rgba(207,211,216,.3); }

.bubbles span:nth-child(1) { width: 6px; height: 6px; left: 10%; top: 22%; }
.bubbles span:nth-child(2) { width: 9px; height: 9px; left: 78%; top: 16%; animation-duration: 24s; }
.bubbles span:nth-child(3) { width: 5px; height: 5px; left: 42%; top: 70%; animation-duration: 16s; }
.bubbles span:nth-child(4) { width: 8px; height: 8px; left: 88%; top: 58%; animation-duration: 26s; }
.bubbles span:nth-child(5) { width: 6px; height: 6px; left: 18%; top: 80%; animation-duration: 18s; }
.bubbles span:nth-child(6) { width: 4px; height: 4px; left: 62%; top: 28%; animation-duration: 14s; }
.bubbles span:nth-child(7) { width: 7px; height: 7px; left: 6%; top: 48%; animation-duration: 22s; }
.bubbles span:nth-child(8) { width: 5px; height: 5px; left: 52%; top: 8%; animation-duration: 21s; }
.bubbles span:nth-child(9) { width: 6px; height: 6px; left: 32%; top: 44%; animation-duration: 19s; }
.bubbles span:nth-child(10) { width: 8px; height: 8px; left: 92%; top: 86%; animation-duration: 15s; }

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: .28; }
  50% { transform: translateY(-22px); opacity: .7; }
}

header, main, footer { position: relative; z-index: 1; }

header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}

nav a:hover { color: var(--gold); }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #14110e;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: none;
  box-shadow: 0 0 24px rgba(196,165,116,.22);
}

.btn:hover {
  background: transparent;
  color: var(--gold);
}

.btn.line {
  background: transparent;
  color: var(--silver);
  border-color: var(--silver);
  box-shadow: none;
}

.btn.line:hover {
  background: var(--gold);
  color: #14110e;
  border-color: var(--gold);
}

.menu {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--gold), var(--gold)) center 14px / 16px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center 25px / 16px 1px no-repeat;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 40px 72px;
}

.hero h1, .wrap h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  color: var(--silver);
}

.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
}

.hero h1 span {
  color: var(--gold);
}

.lead {
  max-width: 38ch;
  color: var(--dim);
  font-size: 17px;
  font-weight: 300;
  margin: 24px 0 28px;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.board {
  margin-top: 56px;
  border: 1px solid rgba(196,165,116,.35);
  padding: 20px 22px;
  background: rgba(18, 16, 14, .55);
  box-shadow: 0 0 40px rgba(196,165,116,.08);
}

.board-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
}

.waves {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 110px;
  margin: 26px 0;
}

.waves i {
  flex: 1;
  background: linear-gradient(180deg, var(--silver), var(--gold));
  animation: eq 1.5s ease-in-out infinite alternate;
}

.waves i:nth-child(odd) { height: 42%; animation-delay: .12s; }
.waves i:nth-child(even) { height: 78%; }
.waves i:nth-child(3n) { height: 58%; animation-delay: .28s; }
.waves i:nth-child(4n) { height: 94%; }

@keyframes eq {
  from { transform: scaleY(.5); }
  to { transform: scaleY(1); }
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 40px;
  border-top: 1px solid var(--line);
}

.kicker {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}

.wrap h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.split p { color: var(--dim); margin-top: 0; }

.three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.three article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.three h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--silver);
}

.three p { color: var(--dim); margin: 0; }

.star-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196,165,116,.45);
  background: rgba(196,165,116,.1);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.star-card {
  border: 1px solid rgba(196,165,116,.45);
  background: linear-gradient(180deg, rgba(196,165,116,.12), rgba(20,18,16,.5));
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 0 48px rgba(196,165,116,.12);
}

.star-card h2 { margin-bottom: 12px; color: var(--gold); }
.star-card p { color: var(--dim); max-width: 48ch; }
.star-card .btn { margin-top: 8px; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(14,13,12,.78);
  border-radius: 22px;
  padding: 28px 22px 22px;
}

.plan-name {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
}

.price {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--silver);
  margin: 0 0 8px;
}

.price span {
  font-size: 24px;
  margin-right: 2px;
  color: var(--gold);
}

.once {
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 13px;
}

.plan-desc {
  margin: 0 0 18px;
  color: var(--fg);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.plan li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--dim);
  font-size: 14px;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 500;
}

.plan .btn { width: 100%; margin-top: 22px; }

.plan.hot {
  border-color: rgba(196,165,116,.65);
  background: linear-gradient(180deg, rgba(196,165,116,.16), rgba(12,11,10,.92));
  box-shadow: 0 16px 40px rgba(141,107,60,.2);
  transform: translateY(-8px);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #14110e;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}

.plan.hot .btn {
  background: var(--gold);
  color: #14110e;
  border-color: var(--gold);
}

.plan.hot .btn:hover {
  background: transparent;
  color: var(--gold);
}

.mail {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--gold);
}

.contact form { display: grid; gap: 14px; }

input, select, textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  padding: 10px 0;
  border-radius: 0;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}

input:focus, select:focus, textarea:focus { border-bottom-color: var(--gold); }

.form-status { min-height: 18px; color: var(--dim); margin: 0; }
.form-status.ok { color: var(--gold); }

footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 40px 40px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}

footer a { color: var(--gold); }

.error-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 16px;
}

.error-page h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 48px;
  margin: 0;
  color: var(--silver);
}

@media (max-width: 1100px) {
  .plans { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { cursor: auto; }
  .cursor { display: none; }
  header { padding: 16px 20px; }
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #050505;
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  nav.open { display: flex; }
  header .btn { display: none; }
  .menu { display: block; margin-left: auto; }
  .hero, .wrap, footer { padding-left: 20px; padding-right: 20px; }
  .split, .three, .plans { grid-template-columns: 1fr; }
  .plan.hot { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bubbles span, .waves i, .glow i, .grid-fx { animation: none; }
}
