/* ---------- BASE ---------- */
:root{
  --teal: rgb(60, 201, 189);
  --teal2: rgb(77, 220, 211);
  --blue: rgb(61, 139, 178);
  --indigo: rgb(63, 64, 124);
  --text: rgb(82, 235, 223);
  --muted: rgba(130, 255, 245, 0.75);
  --line: rgba(255,255,255,0.14);
}

*{ box-sizing:border-box; }
html, body{ height:100%; overflow-x: hidden;}
body{
  margin:0;
  background:#000;
  font-family:"Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

a{ text-decoration:none; color:inherit; }
img{ max-width:100%; height:auto; display:block; }

.user-pfp{
  width: 40px;
  height: 40px;
  position: absolute;
  right: 25px;
  border-radius: 50%;
  object-fit: cover;

  border: 1px solid rgba(255,255,255,0.18); /* same as .ghost */
  background: rgba(0,0,0,0.25);

  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* ---------- NAV ---------- */
.nav{
  position: sticky; /* better than fixed for responsive flow */
  top:0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner{
  width: 100%;
  padding: 14px 28px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}


.logo img{ height:50px; width:auto; }

.nav-links{
  display:flex;
  gap: 18px;
  align-items:center;
  flex: 1;
  color: rgba(200,200,200,0.85);
  font-size: 16px;
}

.nav-links a{ padding: 8px 10px; border-radius: 10px; }
.nav-links a:hover{ background: rgba(255,255,255,0.06); }

.nav-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

button{
  font-family: inherit;
}

.ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(230,230,230,0.9);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.ghost:hover{ background: rgba(255,255,255,0.06); }

.signin{ display:flex; align-items:center; position: absolute; right: 25px;}

/* ---------- PAGE + SECTIONS ---------- */
.page{ width:100%; }

.section{
  position: relative;
  padding: 72px 0;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;              /* ✅ add this */
}


/* background image crop + fade black if spare space */
.bg{
  min-height: 520px;
  display:flex;
  align-items:center;
}

.bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-position: center;
  background-size: cover;
  background-repeat:no-repeat;
  filter: saturate(1.05) contrast(1.05);
  z-index: -2;
}

/* fade to black at bottom (and slightly top) */
.bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.08) 35%, rgba(0,0,0,0.55) 78%, rgba(0,0,0,0.95));
  z-index:-1;
}

.bg-1::before{ background-image: url("images/Background 1.png"); }
.bg-2::before{ background-image: url("images/Background 2.png"); }
.bg-3::before{ background-image: url("images/Background 3.png"); }
.bg-4::before{ background-image: url("images/Background 4.png"); }
.bg-5::before{ background-image: url("images/Background 5.png"); }

.section-head{
  text-align:center;
  margin-bottom: 26px;
}
.section-head h2{
  margin:0 0 10px;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 500;
  color: var(--text);
}
.section-head p{
  margin:0;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ---------- HERO ---------- */
.hero{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items:center;
}

.hero-text h1{
  margin:0;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 500;
  color: var(--teal2);
  line-height: 1.05;
}

.hero-text p{
  margin: 16px 0 0;
  font-size: clamp(16px, 2vw, 24px);
  color: var(--teal);
  font-weight: 300;
}

.hero-actions{
  margin-top: 22px;
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.pill{
  border:0;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 18px;
  cursor:pointer;
}

.pile {
    border:0;
    padding: 26px 22px;
    border-radius: 20px;
    font-size: 25px;
    cursor:pointer;
}

.primary{
  background: var(--teal);
  color:#fff;
  font-weight: 600;
}

.hero-art{
  display:flex;
  justify-content:center;
}
.hero-art img{
  width: min(520px, 90%);
}

/* AI form responsive */
.AIform{
  position: relative;
  width: min(860px, 100%);
  height: 62px;
}

.askAI{
  width: 100%;
  height: 62px;
  border-radius: 999px;
  padding: 0 64px 0 18px;
  font-size: 18px;
  color:#fff;
  background: rgba(36, 36, 36, 0.85);
  border: 2px solid var(--teal2);
  outline: none;
  box-shadow: 0 0 0 6px rgba(58,58,58,0.55);
}

.AIsubmit{
  position:absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid var(--teal2);
  background: var(--teal2);
}

/* ---------- FEATURES ---------- */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card{
  border-radius: 28px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 10px 10px -8px rgba(0,0,0,0.45);
  min-height: 240px;
  display:flex;
  flex-direction: column;
  gap: 14px;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}

.card p{
  margin:0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.teal{ background: var(--teal); }
.blue{ background: var(--blue); }
.indigo{ background: var(--indigo); }

.tall{ min-height: 320px; }

/* ---------- SHOWCASE ---------- */
.showcase{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.stack{
  display:grid;
  gap: 16px;
}

.shot{
  position: relative;
  border-radius: 28px;
  overflow:hidden;
  /* border: 1px solid rgba(255,255,255,0.12); */
  min-height: 520px;
  display: flex;
  align-items: center;
}

.shot img{
  width:60%;
  object-fit: cover;
}

.shot-caption{
  position:absolute;
  min-height: 150px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background-color: rgb(63, 64, 124);
  border-radius: 22px;
  padding: 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  font-size: 20px;
}

.shot-caption p{
  margin:0;
  color:#fff;
  font-weight:300;
  line-height:1.4;
}

/* ---------- COURSES ---------- */
/* ---------- COURSES ---------- */
/* ---------- COURSES (ZOOM-SAFE CENTERING) ---------- */
.chips{
  display: flex;
  gap: 16px;

  /* keep it visually centered like other sections */
  width: min(1100px, 100%);
  margin: 28px auto 10px;

  /* give it proper side space so zoom doesn't shove it off */
  padding: 10px 18px 16px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* prevents first/last chip from looking cut off at zoom */
  scroll-padding-left: 18px;
  scroll-padding-right: 18px;
}

.chips::-webkit-scrollbar{ display:none; }

.chip{
  /* clamp makes it scale nicely with zoom + different widths */
  flex: 0 0 clamp(240px, 28vw, 300px);
  height: clamp(240px, 28vw, 300px);

  max-width: 85vw;  /* extra safety at high zoom */
  
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 40px;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 300;
  color: var(--text);

  scroll-snap-align: start;
  transition: transform 0.25s ease, background 0.25s ease;
}

.chip:hover{
  transform: translateY(-6px);
  background: rgba(0,0,0,0.5);
}


.center{ text-align:center; }
.muted{ color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-container{
  max-width: 820px;
  margin: 18px auto 0;
}

.faq-item{
  margin-bottom: 14px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.faq-question{
  width:100%;
  padding: 16px;
  background: var(--teal);
  color:#fff;
  border:0;
  text-align:left;
  font-size: 18px;
  cursor:pointer;
}

.faq-question:hover{ filter: brightness(0.95); }

.faq-answer{
  max-height: 0;
  overflow:hidden;
  background: rgba(255,255,255,0.95);
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
}

.faq-answer p, .faq-answer li{
  color:#222;
}

.faq-item.active .faq-answer{
  max-height: 1000px; /* prevents clipped answers */
  padding: 14px 16px 18px;
}

/* ---------- FOOTER (CONTACT) ---------- */
.footer{
  padding: 56px 0 40px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-box h2{
  margin:0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
}

.contact-box p{
  margin:0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.copyright{
  color: var(--muted);
  font-weight: 300;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  .nav-links{ display:none; } /* simplest: hide links; later you can add a hamburger */
  .hero{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .hero-actions{ align-items:center; }
  .hero-art{ order:-1; }
  .feature-grid{ grid-template-columns: 1fr; }
  .showcase{ grid-template-columns: 1fr; }
  .shot{ min-height: 420px; }
}

@media (max-width: 520px){
  .ghost{ display:none; } /* keep header clean on tiny screens */
  .chip{
    flex: 0 0 85vw;
    height: 260px;
    font-size: 30px;
  }
}
