/* Dorna Group LLC — Diadem design system */

:root {
  --bg: #070b14;
  --navy: #0f172a;
  --turquoise: #14b8a6;
  --gold: #c9a227;
  --pearl: #c8c2b4;
  --champagne: #b8b0a0;
  --text: #e8eef7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Gold rules */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a227, transparent);
}

.gold-line-thick {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #c9a227 20%,
    #e8c84a 50%,
    #c9a227 80%,
    transparent
  );
}

/* Header */
.nav-blur {
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #c9a227;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #b8941f, #c9a227 45%, #e0c04a 55%, #c9a227);
  color: #070b14;
  font-weight: 600;
  border-radius: 9999px;
  transition: filter 0.2s ease;
}

.btn-gold:hover {
  filter: brightness(1.1);
}

.btn-pearl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2a2f3a;
  color: #d4cfc3;
  border: 1px solid rgba(200, 194, 180, 0.22);
  font-weight: 500;
  border-radius: 9999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-pearl:hover {
  background: #343a47;
  border-color: rgba(201, 162, 39, 0.35);
  color: #e8e4d9;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(201, 162, 39, 0.9);
  border: 1px solid rgba(201, 162, 39, 0.3);
  font-weight: 500;
  border-radius: 9999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-outline-gold:hover {
  border-color: rgba(201, 162, 39, 0.6);
  background: rgba(201, 162, 39, 0.05);
}

/* Crown label */
.crown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.crown span {
  display: block;
  height: 1px;
  width: 2.5rem;
  background: linear-gradient(90deg, transparent, #c9a227);
}

.crown span:last-child {
  background: linear-gradient(90deg, #c9a227, transparent);
}

/* Muted warm cards */
.pearl-card {
  background: linear-gradient(165deg, #1c2118 0%, #161b14 55%, #121610 100%);
  color: #d8d3c6;
  border: 1px solid rgba(201, 162, 39, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pearl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.pearl-card-flagship {
  background: linear-gradient(165deg, #242018 0%, #1a1812 45%, #141310 100%);
  border-color: rgba(201, 162, 39, 0.32);
}

.pearl-card h3 {
  color: #ebe6da;
}

.pearl-card .card-body {
  color: rgba(216, 211, 198, 0.62);
}

.soft-panel {
  background: rgba(200, 194, 180, 0.03);
  border: 1px solid rgba(200, 194, 180, 0.07);
}

.why-tile {
  background: rgba(200, 194, 180, 0.04);
  border: 1px solid rgba(201, 162, 39, 0.14);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.why-tile:hover {
  background: rgba(200, 194, 180, 0.07);
  border-color: rgba(201, 162, 39, 0.28);
}

/* Forms */
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 194, 180, 0.7);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(200, 194, 180, 0.15);
  background: rgba(200, 194, 180, 0.04);
  color: #e8eef7;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder {
  color: rgba(200, 194, 180, 0.35);
}

.form-input:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C8C2B4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Legal */
.legal-content h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  color: #ebe6da;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: rgba(200, 194, 180, 0.65);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-weight: 300;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: rgba(200, 194, 180, 0.65);
  margin-bottom: 1rem;
  font-weight: 300;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-content a {
  color: #c9a227;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong {
  color: #d8d3c6;
  font-weight: 500;
}

/* Footer links */
.footer-link {
  color: rgba(200, 194, 180, 0.45);
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #c9a227;
}

/* Dropdown — no hover gap (invisible bridge keeps menu open while moving pointer) */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0.25rem 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 15.5rem;
  background: #0e121c;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 0.875rem;
  /* Top padding acts as a hit-area bridge under the trigger */
  padding: 0.75rem 0.5rem 0.5rem;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 60;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Invisible hover bridge from nav item into the menu */
.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  color: #d8d3c6;
  font-size: 0.875rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
  background: rgba(201, 162, 39, 0.08);
  color: #ebe6da;
}

.dropdown-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(200, 194, 180, 0.45);
  margin-top: 0.15rem;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 32rem;
}

/* Feature check */
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-check .check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #c9a227;
  margin-top: 0.1rem;
}

/* Step number */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #c9a227;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Placeholder */
.placeholder-card {
  border: 1px dashed rgba(200, 194, 180, 0.2);
  border-radius: 1rem;
  background: rgba(200, 194, 180, 0.03);
  padding: 2rem;
  text-align: center;
  color: rgba(200, 194, 180, 0.4);
  font-weight: 300;
  font-size: 0.875rem;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 2px;
  width: min(100%, 56rem);
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: #c9a227;
  color: #070b14;
  font-weight: 600;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}
