:root {
  --ink: #f8f3e7;
  --ink-dark: #11120f;
  --muted: #a9adba;
  --muted-warm: #d8c7a1;
  --paper: #080a0f;
  --panel: rgba(255, 255, 255, .075);
  --panel-strong: rgba(255, 255, 255, .12);
  --line: rgba(255, 255, 255, .16);
  --gold: #d7b46a;
  --gold-2: #f4dc9a;
  --teal: #58f0d4;
  --blue: #7aa7ff;
  --danger: #ff817e;
  --success: #6df2a7;
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
  --glow: 0 0 80px rgba(215, 180, 106, .22);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% -10%, rgba(215, 180, 106, .30), transparent 32%),
    radial-gradient(circle at 86% 4%, rgba(88, 240, 212, .18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(122, 167, 255, .18), transparent 32%),
    linear-gradient(135deg, #080a0f 0%, #12151e 48%, #06070b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 34px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, .72);
  backdrop-filter: blur(22px) saturate(140%);
}

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: -.045em; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.34), transparent),
    linear-gradient(135deg, var(--gold), #7c5b21 48%, var(--teal));
  box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.45);
}
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 800; }
.nav-links a:hover { color: var(--gold-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.button, button {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 950;
  cursor: pointer;
  color: #080a0f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #9c7027);
  box-shadow: 0 16px 38px rgba(215, 180, 106, .24), inset 0 1px 0 rgba(255,255,255,.52);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button:hover, button:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(215, 180, 106, .32); }
.button.secondary {
  color: var(--ink);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.button.brand { color: #07100d; background: linear-gradient(135deg, var(--teal), var(--gold-2)); }
.button.warning { color: #120d04; background: linear-gradient(135deg, #fff1b8, var(--gold), #f59e0b); }

.hero { padding: 108px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(215, 180, 106, .32);
  border-radius: 999px;
  background: rgba(215, 180, 106, .10);
  color: var(--gold-2);
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
h1, h2, h3 { letter-spacing: -.06em; line-height: .92; margin: 0; }
h1 {
  max-width: 980px;
  font-size: clamp(48px, 7.4vw, 104px);
  background: linear-gradient(135deg, #fff 0%, #f4dc9a 38%, #b7fff3 74%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: 24px; }
.lead { color: #c4c8d4; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.65; }

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05)),
    radial-gradient(circle at top right, rgba(215,180,106,.26), transparent 44%);
  box-shadow: var(--shadow), var(--glow);
  padding: 30px;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -24% -28% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,240,212,.28), transparent 64%);
}
.pipeline { display: grid; gap: 14px; position: relative; }
.pipeline-step {
  padding: 18px;
  border-radius: 22px;
  background: rgba(5, 8, 14, .62);
  border: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(109,242,167,.10), 0 0 28px rgba(109,242,167,.55);
}

.section { padding: 62px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: var(--panel);
  padding: 25px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255,255,255,.09);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 38%);
}
.price {
  font-size: 46px;
  font-weight: 1000;
  letter-spacing: -.06em;
  color: var(--gold-2);
}
.muted { color: var(--muted); }
.badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(88, 240, 212, .10);
  border: 1px solid rgba(88, 240, 212, .22);
  color: var(--teal);
  font-weight: 950;
  font-size: 13px;
}
.feature-list { padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { padding-left: 28px; position: relative; color: #c5c9d5; }
.feature-list li::before {
  content: "OK";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 1000;
}

.form-card { width: min(540px, calc(100% - 32px)); margin: 72px auto; }
label { display: block; font-weight: 950; margin: 12px 0 7px; color: #f3e9cf; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 17px;
  padding: 14px 15px;
  background: rgba(255,255,255,.08);
  color: var(--ink);
  font: inherit;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(215,180,106,.62);
  box-shadow: 0 0 0 4px rgba(215,180,106,.12);
}
textarea { min-height: 142px; resize: vertical; }
select option { color: #11120f; }
.alert {
  padding: 14px 16px;
  border-radius: 18px;
  margin: 14px auto;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.09);
  width: min(1200px, calc(100% - 34px));
}
.alert.success { border-color: rgba(109,242,167,.28); color: var(--success); }
.alert.error { border-color: rgba(255,129,126,.32); color: var(--danger); }

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.table th, .table td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.10); text-align: left; vertical-align: top; }
.table th { color: var(--muted-warm); font-size: 12px; text-transform: uppercase; letter-spacing: .10em; }

.dashboard-shell { display: grid; grid-template-columns: 250px 1fr; gap: 24px; width: min(1440px, calc(100% - 32px)); margin: 28px auto; }
.sidebar {
  position: sticky;
  top: 96px;
  height: calc(100vh - 120px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: rgba(255,255,255,.07);
  padding: 18px;
  box-shadow: var(--shadow);
}
.sidebar a { display: block; padding: 12px 13px; border-radius: 15px; color: #c4c8d4; font-weight: 850; }
.sidebar a:hover { background: rgba(215,180,106,.12); color: var(--gold-2); }
.admin-main { min-width: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); background: rgba(0,0,0,.16); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }

@media (max-width: 900px) {
  .hero { padding-top: 70px; }
  .hero-grid, .grid, .grid.two, .dashboard-shell { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .nav-actions { flex-wrap: wrap; justify-content: flex-end; }
  .sidebar { position: static; height: auto; }
  .section-head { display: block; }
}

