:root {
  --gold: #ffe81f;          /* Star Wars title yellow */
  --gold-dim: #d8c20f;
  --space: #000000;
  --space-soft: #05070f;
  --panel: rgba(10, 18, 34, 0.72);
  --hologram: #4fd2ff;      /* hologram blue */
  --saber: #2ee6ff;
  --text: #d6e2f0;
  --muted: #8da3bd;
  --border: rgba(79, 210, 255, 0.25);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--space);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: min(1120px, 92%); margin-inline: auto; }
.narrow { max-width: 760px; }

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

/* ---------- Starfield ---------- */
.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, #0a1733 0%, #02040a 55%, #000 100%);
}

.stars-layer {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

/* tiny stars rendered as box-shadows via radial gradients */
.stars-1 {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, #cfe6ff, transparent),
    radial-gradient(1px 1px at 200px 160px, #fff, transparent),
    radial-gradient(1px 1px at 300px 50px, #fff, transparent);
  background-size: 350px 350px;
  animation: drift 200s linear infinite;
  opacity: 0.9;
}
.stars-2 {
  background-image:
    radial-gradient(1.5px 1.5px at 80px 120px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 240px 200px, #bcd8ff, transparent),
    radial-gradient(1.5px 1.5px at 160px 40px, #fff, transparent);
  background-size: 500px 500px;
  animation: drift 140s linear infinite, twinkle 5s ease-in-out infinite alternate;
  opacity: 0.7;
}
.stars-3 {
  background-image:
    radial-gradient(2px 2px at 50px 300px, #fff, transparent),
    radial-gradient(2px 2px at 400px 100px, #e6f1ff, transparent);
  background-size: 650px 650px;
  animation: drift 90s linear infinite;
  opacity: 0.5;
}

@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-650px); } }
@keyframes twinkle { from { opacity: 0.4; } to { opacity: 0.9; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold);
  color: #000;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 0 18px rgba(255, 232, 31, 0.55);
}

.brand-text {
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); transition: color 0.2s, text-shadow 0.2s; }
.nav-links a:not(.btn):hover { color: var(--saber); text-shadow: 0 0 10px var(--saber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-lg { padding: 17px 36px; font-size: 15px; }

.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 22px rgba(255, 232, 31, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(255, 232, 31, 0.75); }

.btn-ghost {
  border: 1px solid var(--saber);
  color: var(--saber);
  box-shadow: inset 0 0 12px rgba(46, 230, 255, 0.15), 0 0 12px rgba(46, 230, 255, 0.25);
}
.btn-ghost:hover { background: rgba(46, 230, 255, 0.12); box-shadow: 0 0 22px rgba(46, 230, 255, 0.5); }

.btn-sm.btn { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-sm.btn:hover { background: rgba(255, 232, 31, 0.12); box-shadow: 0 0 16px rgba(255, 232, 31, 0.45); }

/* ---------- Hero / Crawl ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 70px;
  overflow: hidden;
}

.intro-line {
  margin-top: 60px;
  color: var(--hologram);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  text-align: center;
  text-shadow: 0 0 14px rgba(79, 210, 255, 0.6);
  animation: fadeIntro 4s ease forwards;
  opacity: 0;
  padding-inline: 20px;
}

@keyframes fadeIntro {
  0% { opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0.15; }
}

.crawl-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  margin-top: 10px;
  /* fade the top into space */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
  perspective: 380px;
  overflow: hidden;
  min-height: 460px;
}

.crawl {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  transform: rotateX(28deg);
}

.crawl-content {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(680px, 86%);
  transform: translateX(-50%);
  color: var(--gold);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  text-align: justify;
  animation: crawl 48s linear infinite;
}

.crawl-content p { margin-bottom: 1.4em; }

.crawl-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 2px;
  margin-bottom: 1.2em;
  text-shadow: 0 0 18px rgba(255, 232, 31, 0.5);
}

@keyframes crawl {
  0% { top: 100%; }
  100% { top: -240%; }
}

.hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.85), rgba(2, 5, 14, 0.85));
  border-block: 1px solid var(--border);
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--gold);
  letter-spacing: 1px;
  text-shadow: 0 0 18px rgba(255, 232, 31, 0.35);
}
.section-title.centered { text-align: center; margin-bottom: 26px; }

/* lightsaber divider */
.saber {
  height: 3px;
  width: 220px;
  margin: 18px 0 30px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fff, var(--saber) 30%, var(--saber) 70%, transparent);
  box-shadow: 0 0 10px var(--saber), 0 0 24px rgba(46, 230, 255, 0.7);
}

.body-lg { font-size: 1.15rem; color: var(--muted); margin-bottom: 20px; }

/* ---------- Cards (holograms) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 30px rgba(79, 210, 255, 0.06), 0 0 0 1px rgba(79, 210, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--saber);
  box-shadow: 0 0 28px rgba(46, 230, 255, 0.35);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(79, 210, 255, 0.1);
  border: 1px solid var(--border);
  font-size: 26px;
  margin-bottom: 18px;
}

.card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
  color: var(--hologram);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.card p { color: var(--muted); font-size: 0.98rem; }

.benefits-note {
  text-align: center;
  margin-top: 48px;
  font-size: 1.15rem;
  color: var(--muted);
}
.benefits-note strong { color: var(--gold); text-shadow: 0 0 12px rgba(255, 232, 31, 0.4); }

/* ---------- Who list ---------- */
.who-list { list-style: none; display: grid; gap: 16px; }

.who-list li {
  position: relative;
  padding-left: 38px;
  font-size: 1.1rem;
  color: var(--text);
}

.who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fff, var(--saber));
  box-shadow: 0 0 8px var(--saber);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 232, 31, 0.4);
}

.cta p { margin: 18px 0 34px; color: var(--muted); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

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

.footer-copy { font-size: 0.9rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .crawl-wrap { min-height: 380px; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .crawl-content { animation: none; top: 0; }
  .stars-layer { animation: none; }
  .crawl { transform: none; }
  .crawl-wrap { -webkit-mask-image: none; mask-image: none; perspective: none; }
  .intro-line { animation: none; opacity: 1; }
}
