:root {
  --bg: #0b0c10;
  --panel: #10131a;
  --panel2: #0e1117;
  --text: #e9eefc;
  --muted: #a8b3cf;
  --border: rgba(255, 255, 255, 0.09);
  --accent: #d8a34b;
  --accent2: #c47c1d;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(216, 163, 75, 0.12), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(196, 124, 29, 0.10), transparent 50%),
              var(--bg);
  color: var(--text);
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 12, 16, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navToggle {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.navToggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.navToggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  opacity: 0.9;
}

.nav__link {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}

.nav__link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.nav__link.is-active {
  color: var(--text);
  border-color: rgba(216, 163, 75, 0.45);
  background: rgba(216, 163, 75, 0.09);
}

.nav__link--cta {
  color: #0b0c10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
}

.nav__link--cta:hover {
  color: #0b0c10;
  opacity: 0.92;
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav__link--button {
  cursor: pointer;
  background: transparent;
}

.nav__dropdownMenu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 2px);
  min-width: 200px;
  background: rgba(16, 19, 26, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.nav__dropdown:hover .nav__dropdownMenu {
  display: block;
}

.nav__dropdownItem {
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.nav__dropdownItem:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav__dropdownItem.is-active {
  color: var(--text);
  background: rgba(216, 163, 75, 0.10);
}

.main {
  min-height: calc(100vh - 200px);
}

.flash {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.flash__inner {
  padding: 12px 0;
  font-weight: 700;
  color: var(--text);
}

.flash--success {
  background: rgba(46, 204, 113, 0.10);
  border-bottom-color: rgba(46, 204, 113, 0.25);
}

.flash--error {
  background: rgba(255, 90, 90, 0.10);
  border-bottom-color: rgba(255, 90, 90, 0.25);
}

.hero {
  padding: 52px 0 18px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.hero__title {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 12px;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
}

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

.hero__badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.hero__media {
  display: flex;
  justify-content: flex-end;
}

.hero__image {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background:
    radial-gradient(300px 220px at 20% 10%, rgba(216, 163, 75, 0.18), transparent 55%),
    radial-gradient(220px 180px at 70% 30%, rgba(196, 124, 29, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.section {
  padding: 42px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: 28px;
  margin: 0 0 10px;
}

.section__subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 70ch;
}

.section__actions {
  margin-top: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.card {
  border: 1px solid var(--border);
  background: rgba(16, 19, 26, 0.55);
  border-radius: var(--radius);
  padding: 16px;
}

.card__title {
  font-weight: 800;
  margin-bottom: 6px;
}

.card__text {
  color: var(--muted);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0b0c10;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

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

.field__label {
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

.field__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.field__input:focus {
  border-color: rgba(216, 163, 75, 0.55);
  box-shadow: 0 0 0 3px rgba(216, 163, 75, 0.12);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: rgba(0, 0, 0, 0.22);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__title {
  font-weight: 900;
}

.footer__muted {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }

  .navToggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(11, 12, 16, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    width: 100%;
  }

  .nav__dropdownMenu {
    position: static;
    min-width: 0;
    border-radius: 14px;
    padding: 6px;
    margin-top: 4px;
  }

  .nav__dropdown:hover .nav__dropdownMenu {
    display: none;
  }

  .nav__dropdown.is-open .nav__dropdownMenu {
    display: block;
  }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 34px; }
}
