/* =========================
   BASE
   ========================= */

:root{
  --bg-base: #0b1220;

  --text: #e2e8f0;
  --text-strong: #ffffff;
  --border: rgba(255, 255, 255, 0.10);
}

html, body{
  min-height: 100%;
  background: var(--bg-base);
}

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* container */
.container{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* =========================
   HOME
   ========================= */

.home{
  padding: 40px 0 80px;
}

.home-hero{
  padding: 40px 0 20px;
}

.home-hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.home-hero__copy{ min-width: 0; }

.home-title{
  margin: 0 0 16px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-strong);
}

.home-subtitle{
  margin: 0 0 24px;
  opacity: .9;
  line-height: 1.6;
  font-size: 1.1rem;
  max-width: 60ch;
  color: #cbd5e1;
}

.home-cta{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

/* BUTTONS */
.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  background: #6366f1;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
}
.btn-primary:hover{
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, .30);
}

.btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 500;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.25);
}

/* bullets */
.home-bullets{
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
}
.home-bullet{
  opacity: .9;
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
  font-size: .95rem;
}
.home-bullet::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: #a855f7;
  font-weight: 700;
}

.home-trust{
  margin: 0;
  opacity: .7;
  font-size: .85rem;
  line-height: 1.5;
  max-width: 70ch;
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 12px;
}

/* hero card */
.home-card{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.50);
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.home-card__top{
  display: flex;
  gap: 8px;
  padding: 16px 16px 0;
}

.home-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
  opacity: .9;
}
.home-pill--ok{
  border-color: rgba(168,85,247,.35);
  background: rgba(168,85,247,.15);
  color: #d8b4fe;
}

.home-card__body{ padding: 18px; }
.home-card__body h3{
  margin: 8px 0 8px;
  color: var(--text-strong);
  font-size: 1.25rem;
}
.home-card__body p{
  margin: 0;
  opacity: .85;
  line-height: 1.6;
}
.home-card__bottom{ padding: 0 18px 18px; }
.home-card__link{
  text-decoration: none;
  color: #a855f7;
  font-weight: 500;
  font-size: .95rem;
}
.home-card__link:hover{ opacity: .85; }

/* sections */
.home-section{ padding: 60px 0; }
.home-section--last{ padding-bottom: 20px; }

.home-section__head{ margin-bottom: 24px; }
.home-section__head h2{
  margin: 0 0 10px;
  font-size: 2rem;
  color: var(--text-strong);
}
.home-section__head p{
  margin: 0;
  opacity: .8;
  font-size: 1.1rem;
}

.home-section__foot{
  margin-top: 20px;
  text-align: right;
}

.home-inline-link{
  text-decoration: none;
  color: #a855f7;
  font-weight: 500;
}
.home-inline-link:hover{ color: #c084fc; }

/* grid3 */
.home-grid3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-box{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 24px;
  transition: background .2s, transform .2s;
}
.home-box:hover{
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}
.home-box h3{
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 1.15rem;
}
.home-box p{
  margin: 0;
  opacity: .8;
  line-height: 1.6;
  font-size: .95rem;
}

/* steps */
.home-steps{ display: grid; gap: 16px; }
.home-step{
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: start;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 20px;
}
.home-step__n{
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 1.2rem;
}
.home-step h3{
  margin: 0 0 6px;
  color: var(--text-strong);
  font-size: 1.1rem;
}
.home-step p{
  margin: 0;
  opacity: .85;
  line-height: 1.6;
}

/* FAQ */
.home-faq{ display: grid; gap: 12px; }
.home-faq__item{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 18px;
  transition: background .2s;
}
.home-faq__item[open]{ background: rgba(255,255,255,.06); }

.home-faq__item summary{
  cursor: pointer;
  color: var(--text-strong);
  font-weight: 600;
  list-style: none;
}
.home-faq__item summary::-webkit-details-marker{ display: none; }

.home-faq__item p{
  margin: 12px 0 0;
  opacity: .85;
  line-height: 1.6;
  color: #cbd5e1;
}

/* responsive */
@media (max-width: 980px){
  .home-hero__grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-hero__copy{ text-align: center; }
  .home-cta{ justify-content: center; }

  .home-bullets{
    display: inline-grid;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .home-trust{ margin: 0 auto; }
  .home-grid3{ grid-template-columns: 1fr; }
}
