:root {
  --bg: #0b0c12;
  --bg-alt: #111323;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f2eb;
  --muted: #c8c4bb;
  --accent: #d8b45c;
  --accent-2: #7d6bff;
  --accent-3: #2ec4b6;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(5, 8, 16, 0.45);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-max: 1240px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-text: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(125, 107, 255, 0.2), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(216, 180, 92, 0.18), transparent 40%),
    linear-gradient(160deg, rgba(18, 22, 40, 0.95), rgba(10, 12, 22, 0.92));
  opacity: 0.9;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 130px 130px;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--content-max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--accent);
  color: #0b0c12;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 10, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.logo img {
  width: 44px;
  height: 44px;
}

.logo span {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.primary-nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

.primary-nav a.active,
.primary-nav a:hover {
  background: rgba(216, 180, 92, 0.18);
  color: var(--text);
}

.site-header[data-open="true"] .primary-nav {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
}

main {
  padding-bottom: 4rem;
}

section {
  padding: clamp(3.2rem, 7vw, 5.6rem) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(140deg, rgba(15, 17, 29, 0.95), rgba(11, 12, 20, 0.9));
}

.section-head {
  margin-bottom: 2.6rem;
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: rgba(216, 180, 92, 0.8);
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
}

.hero {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-card {
  background: linear-gradient(135deg, rgba(125, 107, 255, 0.18), rgba(216, 180, 92, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(216, 180, 92, 0.45), transparent 70%);
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  gap: 2.8rem;
  align-items: center;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight span {
  color: var(--text);
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(130deg, var(--accent), #f0d38b, var(--accent-2));
  color: #0b0c12;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 14px 30px rgba(216, 180, 92, 0.25);
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 40px rgba(216, 180, 92, 0.35);
  filter: brightness(1.08);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 180, 92, 0.35);
  box-shadow: 0 30px 70px rgba(5, 8, 16, 0.5);
}

.icon {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: var(--accent);
  stroke: none;
}

.feature-list li {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}

.feature-list strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(216, 180, 92, 0.15);
  color: var(--text);
  font-size: 0.8rem;
}

.stats {
  display: grid;
  gap: 1rem;
}

.stat {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat h3 {
  margin-bottom: 0.3rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.cta {
  background: linear-gradient(120deg, rgba(45, 50, 90, 0.85), rgba(18, 20, 35, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.4rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

details p {
  margin-top: 0.6rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.2rem;
}

.steps li {
  position: relative;
  padding-left: 3rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(216, 180, 92, 0.2);
  color: var(--text);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.table th,
.table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.form {
  display: grid;
  gap: 1rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 22, 0.6);
  color: var(--text);
  font-family: var(--font-text);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    animation: reveal 0.9s ease forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }

  .delay-1 {
    animation-delay: 0.1s;
  }

  .delay-2 {
    animation-delay: 0.2s;
  }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 900px) {
  .primary-nav {
    flex-direction: row;
    align-items: center;
    width: auto;
    max-height: none;
    opacity: 1;
    transform: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .grid.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid.four-column {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

