/* =========================
   NameItLearn - Global Styles
   No em dashes in copy
========================= */

:root{
  --bg1:#2b4bd6;
  --bg2:#6b3bd0;
  --bg3:#b94a8c;

  --text:#ffffff;
  --muted:rgba(255,255,255,.78);
  --muted2:rgba(255,255,255,.62);

  --card:rgba(255,255,255,.10);
  --card2:rgba(255,255,255,.14);
  --border:rgba(255,255,255,.16);

  --shadow: 0 18px 55px rgba(0,0,0,.28);
  --shadow2: 0 10px 30px rgba(0,0,0,.18);

  --radius:18px;
  --radius2:24px;

  --max:1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(900px 500px at 85% 25%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(120deg, var(--bg1) 0%, var(--bg2) 48%, var(--bg3) 100%);
  min-height:100%;
}

/* Layout */
.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding: 0 20px;
}

.section{
  padding: 56px 0;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
}

/* Typography */
h1,h2,h3{ margin:0 0 12px 0; letter-spacing:-.02em; }
h1{
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}
h2{
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}
p{
  margin: 0 0 14px 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 16px;
}
.small{ color: var(--muted2); font-size: 13px; }

/* Links */
a{ color: rgba(255,255,255,.92); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Top Nav */
.nav{
  position: sticky;
  top:0;
  z-index: 20;
  background: rgba(0,0,0,.16);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 750;
  letter-spacing:.02em;
}
.brand-badge{
  width:32px;
  height:32px;
  border-radius:10px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  box-shadow: var(--shadow2);
}
.nav-links{
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-links a{
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
}
.nav-links a:hover{
  background: rgba(255,255,255,.10);
  text-decoration:none;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.16);
  cursor:pointer;
  font-weight: 650;
  text-decoration:none !important;
  white-space:nowrap;
}
.btn-primary{
  background: rgba(255,255,255,.92);
  color: rgba(15,16,20,.92);
  border-color: rgba(255,255,255,.60);
  box-shadow: var(--shadow2);
}
.btn-primary:hover{ filter: brightness(0.97); }
.btn-ghost{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
}
.btn-ghost:hover{ background: rgba(255,255,255,.14); }

/* Hero */
.hero{
  padding: 54px 0 34px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items:center;
}
.hero-card{
  padding: 26px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
}
.hero-sub{
  max-width: 56ch;
  margin-top: 10px;
}
.waitlist{
  display:flex;
  gap: 10px;
  margin-top: 18px;
  align-items:center;
  flex-wrap: wrap;
}
.input{
  flex: 1 1 240px;
  min-width: 240px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.95);
  outline:none;
}
.input::placeholder{ color: rgba(255,255,255,.60); }
.hero-note{ margin-top: 10px; }

/* Video panel */
.video-card{
  padding: 14px;
  border-radius: var(--radius2);
}
.video-shell{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow2);
}
.video-shell video{
  width:100%;
  height:auto;
  display:block;
}

/* ============================
   VIDEO WIDTH FIX (KEEP BG FULL WIDTH)
   ============================ */

/* Keep the section full width */
.video-card{
  width: 100%;
  margin: 48px 0;
  padding: 0 24px;
  background: transparent;
}

/* Constrain only the video box */
.video-shell{
  max-width: 960px;
  margin: 0 auto;
}

/* Video stays responsive inside the box */
.video-shell video{
  width: 100%;
  height: auto;
  display: block;
}


/* Feature highlights */
.highlights{
  padding: 18px 0 64px 0;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-tile{
  padding: 18px;
  border-radius: var(--radius);
}
.feature-tile h3{
  font-size: 16px;
  margin-bottom: 6px;
}
.feature-tile p{ font-size: 14px; color: var(--muted); margin:0; }
.icon{
  width:36px;
  height:36px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 10px;
}

/* Credibility band */
.cred{
  margin-top: 16px;
  padding: 16px 18px;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
}
.cred-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  max-width: 340px;
}
.cred-item strong{
  display:block;
  font-size: 14px;
  margin-bottom: 2px;
}

/* Footer */
.footer{
  padding: 34px 0 42px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  margin-top: 40px;
}
.footer-inner{
  display:flex;
  gap: 14px;
  justify-content: space-between;
  align-items:center;
  flex-wrap: wrap;
}
.footer a{ color: rgba(255,255,255,.86); }

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .hero{ padding-top: 34px; }
}
