:root {
  --bg-dark: #090e1f;
  --bg-purple: #0f0b2b;
  --ultramarine: #0a0568;
  --ultramarine-bright: #0d0890;
  --orange: #3b82f6;
  --orange-light: #3b82f680;
  --text: rgba(255, 255, 255, 0.95);
  --text-muted: rgba(255, 255, 255, 0.70);
  --border: rgba(255, 255, 255, 0.10);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --container-narrow: 900px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--text);
  background-color: #090e1f;
  background-image:
    /* subtle center haze */
    radial-gradient(900px 600px at 50% 55%,
      rgba(44, 38, 62, 0.45) 0%,
      rgba(44, 38, 62, 0) 65%
    ),
    /* bottom-left indigo glow */
    radial-gradient(1100px 800px at 28% 80%,
      rgba(62, 78, 143, 0.45) 0%,
      rgba(62, 78, 143, 0) 65%
    ),
    /* bottom-right magenta/red glow */
    radial-gradient(1200px 900px at 78% 78%,
      rgba(189, 47, 85, 0.55) 0%,
      rgba(189, 47, 85, 0) 60%
    ),
    /* gentle vertical depth */
    linear-gradient(180deg,
      #090e1f 0%,
      #090e1f 55%,
      #0f0b2b 100%
    );
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--orange-light);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 4px;
  transform: translateY(-200%);
  transition: transform 0.2s;
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--orange);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.container-narrow {
  width: min(var(--container-narrow), calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 14, 31, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand:hover {
  opacity: 1;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

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

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}

.button-large {
  padding: 16px 32px;
  font-size: 16px;
}

.button-primary {
  background: linear-gradient(135deg, #5b6dff 0%, #7c8aff 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(91, 109, 255, 0.4), 0 4px 20px rgba(124, 138, 255, 0.3);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(91, 109, 255, 0.5), 0 6px 28px rgba(124, 138, 255, 0.4);
  opacity: 1;
  background: linear-gradient(135deg, #6b7dff 0%, #8c9aff 100%);
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.button-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--orange-light);
  font-weight: 600;
  font-size: 16px;
}

.button-link:hover {
  opacity: 0.8;
}

/* MAIN */
.main {
  outline: none;
}

/* HERO SECTION */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(10, 5, 104, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin: 0 0 16px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  margin: 0 0 32px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.60);
}

.hero-note a {
  color: var(--orange-light);
  text-decoration: underline;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

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

.section-kicker {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-light);
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-text {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
}

.section-title-center {
  text-align: center;
  margin: 0 0 16px;
}

.section-subtitle-center {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}

.feature-subtitle {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-light);
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* STEPS */
.steps {
  list-style: none;
  padding: 0;
  margin: 48px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--ultramarine) 100%);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  color: white;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.step-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.cta-center {
  text-align: center;
  margin-top: 48px;
}

/* GUIDE SECTION */
.section-guide {
  background: rgba(10, 5, 104, 0.05);
  border-top: 1px solid rgba(10, 5, 104, 0.15);
  border-bottom: 1px solid rgba(10, 5, 104, 0.15);
}

.guide-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.guide-kicker {
  font-size: 48px;
  margin: 0 0 16px;
}

.guide-box h2 {
  margin: 0 0 16px;
}

.guide-text {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  margin-top: 48px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: var(--orange-light);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
  padding: 0 24px 24px;
}

.faq-answer p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA SECTION */
.section-cta {
  background: 
    radial-gradient(ellipse 800px 400px at 50% 50%, rgba(255, 106, 0, 0.15), transparent),
    rgba(10, 5, 104, 0.05);
  border-top: 1px solid rgba(255, 106, 0, 0.2);
  border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  margin: 0 0 16px;
}

.cta-text {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.site-footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-disclaimer {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.50);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .button {
    width: 100%;
  }
}
