/* ─── Base ─────────────────────────────────────────────────── */
* { box-sizing: border-box; }
:root {
  --card:    #0f172a;
  --chip:    #1e293b;
  --accent:  #60a5fa;
  --green:   #22c55e;
}
html, body { height: 100%; margin: 0; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1100px 500px at 80% -5%,  rgba(96,165,250,.18), transparent),
    radial-gradient(ellipse  800px 400px at 15% -10%, rgba(34,197,94,.2),   transparent);
  pointer-events: none;
}
.hero__wrap {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
}
@media (min-width: 900px) {
  .hero__wrap { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; }
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.75); }
}

/* Headline */
.hero__content h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
.highlight {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: .5rem 0 1.75rem;
  max-width: 46ch;
}

/* CTA buttons */
.cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.btn--block { width: 100%; }

/* Social-proof chips */
.trust {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}
.chip {
  background: var(--chip);
  color: #cbd5e1;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .82rem;
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .15s;
}
.chip:hover { border-color: rgba(96,165,250,.4); }

/* ─── Session Card ─────────────────────────────────────────── */
.hero__card { display: grid; }
.session-card {
  background: linear-gradient(160deg, rgba(15,23,42,.95), rgba(11,18,32,.98));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.1rem;
  padding: 1.35rem;
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.03) inset;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.session-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--accent));
}
.session-card__header { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }

.avatar-wrap { position: relative; }
.avatar {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.08);
  font-size: 22px;
}
.live-dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #0b1220;
  animation: pulse 1.8s ease-in-out infinite;
}

.player { font-weight: 700; font-size: .95rem; }
.meta   { color: var(--muted); font-size: .82rem; margin-top: 2px; }

.slot-list {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; gap: .45rem;
}
.slot-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: rgba(11,18,32,.8);
  border: 1px solid rgba(255,255,255,.06);
  padding: .65rem .85rem;
  border-radius: .6rem;
  color: #cbd5e1;
  font-size: .9rem;
  transition: border-color .15s;
}
.slot-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  opacity: .7;
}
.slot-list li:hover { border-color: rgba(96,165,250,.25); }

.secure {
  color: var(--muted);
  font-size: .8rem;
  margin-top: .8rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.secure::before { content: "🔒"; font-size: .85rem; }

/* ─── Charity banner ───────────────────────────────────────── */
.charity-banner {
  padding: 1rem 0;
  background: rgba(16, 185, 129, .08);
  border-top: 1px solid rgba(16, 185, 129, .2);
  border-bottom: 1px solid rgba(16, 185, 129, .2);
  text-align: center;
  font-size: .95rem;
  color: #6ee7b7;
}
.charity-banner__inner { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.charity-banner__icon { font-size: 1.1rem; }

/* ─── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
}
.stat__value {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label { color: var(--muted); font-size: .82rem; }

/* ─── How it works ─────────────────────────────────────────── */
.how {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,.3) 100%);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.2);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .28rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.how h2,
.lead__copy h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.1rem);
  margin: 0 0 .5rem;
  letter-spacing: -0.02em;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  /* connector line */
  .steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(33.33% + 1rem);
    right: calc(33.33% + 1rem);
    height: 1px;
    background: linear-gradient(90deg, rgba(96,165,250,.3), rgba(96,165,250,.3));
    z-index: 0;
  }
}

.step {
  background: rgba(11,18,32,.8);
  border: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 1.1rem;
  border-radius: .9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  position: relative;
  z-index: 1;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(96,165,250,.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.step__icon { font-size: 1.6rem; margin-bottom: .6rem; line-height: 1; }
.step__num {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), rgba(96,165,250,.5));
  color: #041024;
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: .6rem;
}
.step h3 { margin: .25rem 0 .3rem; font-size: 1.02rem; }
.step p  { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ─── Lead form ─────────────────────────────────────────────── */
.lead { padding: 3.5rem 0 5rem; }
.lead__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) { .lead__wrap { grid-template-columns: 1fr 1.25fr; gap: 2rem; } }

.lead__copy { padding-top: .5rem; }
.lead__copy p  { margin: .5rem 0 0; color: var(--muted); line-height: 1.65; }
.lead__perks   { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.lead__perks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #cbd5e1;
  font-size: .9rem;
}
.lead__perks li::before {
  content: "";
  width: 16px; height: 16px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.form {
  background: rgba(11,18,32,.9);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
}
.form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.form__title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 1.1rem;
  color: var(--text);
}

.grid { display: grid; grid-template-columns: 1fr; gap: .85rem; }
@media (min-width: 800px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid > .field:nth-child(-n+2) { grid-column: span 1; }
}
.field { display: grid; gap: .35rem; }
label { color: #94a3b8; font-size: .83rem; font-weight: 500; }

input, select {
  background: rgba(2,6,23,.7);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--text);
  padding: .7rem .8rem;
  border-radius: .55rem;
  outline: none;
  font-size: .92rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
input::placeholder { color: #4b5e7a; }
input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(96,165,250,.18);
}
select { cursor: pointer; }

.actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.fineprint { color: var(--muted); font-size: .82rem; }

/* ─── Dashboard ─────────────────────────────────────────────── */
.dashboard {
  padding: 3.5rem 0 5rem;
}
.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.dashboard__header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
  letter-spacing: -0.03em;
}
.btn--sm {
  padding: .5rem 1rem;
  font-size: .88rem;
}
.dashboard__section {
  margin-bottom: 2.5rem;
}
.dashboard__section-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--green  { background: var(--green); animation: pulse 1.8s ease-in-out infinite; }
.dot--muted  { background: #475569; }

.conv-list { display: grid; gap: .75rem; }
@media (min-width: 700px) {
  .conv-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .conv-list { grid-template-columns: repeat(3, 1fr); }
}

.conv-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: rgba(11,18,32,.85);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .9rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
}
.conv-card--upcoming::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--accent));
}
.conv-card--past { opacity: .7; }

.conv-card__avatar {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 22px;
}
.conv-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.conv-card__avatar--past { filter: grayscale(60%); }
.conv-card__avatar .live-dot {
  position: absolute;
  bottom: 1px; right: 1px;
}

.conv-card__top {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.conv-card__name {
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.conv-card__time {
  color: var(--muted);
  font-size: .82rem;
}

.conv-card__badge {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.conv-card__badge--upcoming {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: var(--green);
}
.conv-card__badge--past {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #64748b;
}

.conv-card__countdown {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: .02em;
}

.conv-card__join {
  display: block;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.35);
  color: var(--green);
  text-decoration: none;
  transition: background .2s, color .2s;
  margin-top: .2rem;
}
.conv-card__join--live {
  background: var(--green);
  color: #000;
  border-color: var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

.conv-card--live::before {
  background: var(--green) !important;
  box-shadow: 0 0 12px rgba(34,197,94,.5);
}

.dashboard__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1.5rem;
  background: rgba(11,18,32,.6);
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 1rem;
  text-align: center;
}
.dashboard__empty-icon { font-size: 2.5rem; }
.dashboard__empty p { color: var(--muted); margin: 0; }

/* ─── Utilities ─────────────────────────────────────────────── */
.hidden { display: none; }
