:root {
  --bg-start: #0b1024;
  --bg-end: #0e1b3d;
  --accent: #f44a10;
  --accent-2: #1e3c72;
  --text: #ffffff;
  --muted: #c8d0ff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
}

/* Reset & base */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 70% 10%, rgba(255,255,255,0.08), transparent 45%),
              linear-gradient(160deg, var(--bg-start), var(--bg-end));
}


.background {
  position: fixed;
  inset: 0; 
  z-index: 1; 
  /* Try common folder name first, then the original misspelling as fallback */
  background-image: linear-gradient(160deg, rgba(30,60,114,0.25), rgba(244,81,30,0.12)),
                    url("assets/backgroundV3.webp");
  background-position: center bottom, center bottom, center bottom;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  pointer-events: none;
}


.stars {
  position: fixed;
  inset: 0;
  z-index: 0; /* behind .background */
  pointer-events: none;

  /* Two optional image layers (if present) + four procedural layers */
  background-image:
    url("assets/stars.webp"),
    url("assets/stars.webp"),
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.7) 0, rgba(255,255,255,0) 60%),
    radial-gradient(1.5px 1.5px at 80% 60%, rgba(255,255,255,0.8) 0, rgba(255,255,255,0) 60%),
    radial-gradient(1.2px 1.2px at 40% 80%, rgba(255,255,255,0.6) 0, rgba(255,255,255,0) 60%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.6) 0, rgba(255,255,255,0) 60%);
  /* Ensure all layers tile */
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat;
  /* Tile sizes per layer (tweak as needed for density) */
  background-size: 1024px 1024px, 1024px 1024px, 800px 800px, 1000px 1000px, 1200px 1200px, 1400px 1400px;
  /* Start positions for smooth scroll */
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  /* Slow down the animation */
  animation: star-sky 160s linear infinite;
  opacity: .7;
}

@keyframes star-sky {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  to {
    /* Different travel distances per layer to create subtle parallax */
    background-position: 0 -1024px, 0 -1024px, 0 -800px, 0 -1000px, 0 -1200px, 0 -1400px;
  }
}



@keyframes star-sky {
  from { transform: translateY(0); }
  to   { transform: translateY(-1800px); }
}

/* Layout */
.hero {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 6vh 20px;
}

.hero-card {
  z-index: 2;
  width: min(960px, 92vw);
  padding: clamp(20px, 4vw, 40px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.03);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: SF Pro, Segoe UI, Roboto, Oxygen, Ubuntu, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 12px 0;
  background: linear-gradient(90deg, var(--accent), #ffffff);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  margin: 0 0 22px 0;
}

.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.note { margin-top: 24px; opacity: .8; font-size: .9rem; }

/* Cursor circles */
.circle {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .stars { animation: none; }
}

