/* =========================
   Nexastrike Landing — styles.css (FULL / CLEAN)
   ========================= */

/* ---- Reset ---- */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: #000;
  color: rgba(235, 245, 255, 0.92);
  overflow-x: hidden;
}

/* =========================
   HERO STAGE
   ========================= */
.hero{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;

  display: grid;
  place-items: center;

  padding: 9vh 16px 10vh;
}

/* Background image layer */
.bg{
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("assets/hero-bg.png?v=2026-01-13-1");
  background-repeat: no-repeat;
  background-size: cover;

  /* Desktop framing */
  background-position: center -80px;

  filter: none;
  transform: none;
}

/* Vignette */
.vignette{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(1200px 760px at 50% 32%,
      rgba(0,0,0,0.00) 0%,
      rgba(0,0,0,0.45) 55%,
      rgba(0,0,0,0.86) 100%);
}

/* Grain */
.grain{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;

  background-image:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 1px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 6px);
  mix-blend-mode: overlay;
}

/* =========================
   TOP PILL
   ========================= */
.top-pill-wrap{
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;

  width: 100%;
  display: flex;
  justify-content: center;

  pointer-events: none;
}

.top-pill{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(10, 18, 28, 0.55);
  border: 1px solid rgba(120, 190, 255, 0.14);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);

  color: rgba(220, 235, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================
   CONTENT WRAPPER
   ========================= */
.content{
  position: relative;
  z-index: 3;

  width: min(980px, 92vw);
  text-align: center;

  /* Desktop vertical placement */
  transform: translateY(40px);
}

/* =========================
   LOGO (center small)
   ========================= */
.logo-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0 10px;
}

.logo{
  width: 34px;
  height: 34px;
  opacity: 0.92;
  filter: drop-shadow(0 0 18px rgba(120,190,255,0.18));
}

/* =========================
   HERO TITLE (2 lines stable)
   ========================= */
.hero-title{
  margin: 0;

  font-weight: 700;
  text-transform: uppercase;
  text-align: center;

  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.08;

  color: rgba(220, 235, 255, 0.88);

  text-shadow:
    0 0 10px rgba(120, 190, 255, 0.18),
    0 0 28px rgba(40, 120, 200, 0.22);

  letter-spacing: 0.22em;
}

/* Important: each line is 100% width so it centers perfectly */
.hero-title span{
  display: block;
  width: 100%;
  text-align: center;
}

/* second line optical balance (slightly different) */
.hero-title span:last-child{
  letter-spacing: 0.26em;
}

/* =========================
   TAGLINE + SUBTAG
   ========================= */
.tagline{
  margin: 14px 0 4px;

  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(220, 235, 255, 0.82);

  text-shadow: 0 0 18px rgba(70, 150, 255, 0.18);
}

.subtag{
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(220, 235, 255, 0.55);
}

/* =========================
   CTA ROW
   ========================= */
.cta-row{
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn{
  appearance: none;
  border: 1px solid rgba(120, 190, 255, 0.18);
  background: rgba(10, 18, 28, 0.55);
  color: rgba(230, 245, 255, 0.90);

  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.02em;

  cursor: pointer;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 14px 50px rgba(0,0,0,0.35);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(140, 210, 255, 0.34);
  background: rgba(10, 18, 28, 0.62);
}

.btn:active{ transform: translateY(0px); }

.btn.primary{
  background: rgba(160, 220, 255, 0.90);
  color: rgba(8, 14, 22, 0.92);
  border-color: rgba(200, 240, 255, 0.65);
  box-shadow:
    0 0 18px rgba(140, 210, 255, 0.20),
    0 18px 70px rgba(0,0,0,0.40);
}

.btn.primary:hover{
  background: rgba(175, 230, 255, 0.94);
}

.btn.ghost{
  background: rgba(10, 18, 28, 0.38);
}

/* =========================
   FEATURES (chips)
   ========================= */
.features{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.features span{
  padding: 8px 12px;
  border-radius: 999px;

  font-size: 11px;
  letter-spacing: 0.02em;

  background: rgba(10, 18, 28, 0.35);
  border: 1px solid rgba(120, 190, 255, 0.12);
  color: rgba(220, 235, 255, 0.65);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================
   OVERLAY PANELS
   ========================= */
.panel{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.panel:target{ display: flex; }

.panel-inner{
  width: min(860px, 92vw);
  border-radius: 18px;
  padding: 22px 24px;

  background: rgba(10, 18, 28, 0.62);
  border: 1px solid rgba(120, 190, 255, 0.16);
  box-shadow: 0 24px 90px rgba(0,0,0,0.55);

  color: rgba(230, 245, 255, 0.92);
}

.panel-inner h2{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.panel-inner p{
  margin: 0 0 16px;
  color: rgba(220, 235, 255, 0.70);
  font-size: 13px;
  line-height: 1.55;
}

.panel-actions{
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* =========================
   Responsive tweaks (small)
   ========================= */
@media (max-width: 640px){
  .content{ transform: translateY(22px); }
  .logo{ width: 30px; height: 30px; }
  .top-pill{ font-size: 11px; padding: 9px 14px; }
}

/* =========================
   MOBILE MICRO-TUNING (safe)
   ========================= */
@media (max-width: 480px){

  /* keep layout centered + safe area */
  .content{
    width: min(520px, 92vw);
    margin-inline: auto;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: calc(10px + env(safe-area-inset-top));
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  /* title: slightly tighter so it fits perfectly */
  .hero-title{
    font-size: clamp(40px, 10.6vw, 56px);
    line-height: 1.00;
    letter-spacing: 0.20em;
    margin-top: 6px;
    margin-bottom: 10px;
  }

  .hero-title span:last-child{
    letter-spacing: 0.22em;
  }

  .tagline{
    font-size: 18px;
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .subtag{
    font-size: 12.5px;
    margin-bottom: 14px;
  }

  .cta-row{
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .features{
    gap: 8px;
  }

  /* Mobile framing for background (minor) */
  .bg{
    background-position: center -40px;
  }
}

/* iPhone SE very small */
@media (max-width: 375px){
  .hero-title{
    font-size: clamp(36px, 11.2vw, 52px);
    letter-spacing: 0.18em;
  }
  .hero-title span:last-child{
    letter-spacing: 0.20em;
  }
  .tagline{ font-size: 17px; }
}
