/* ============================================================
   Pejuang Guru Digital — Ekosistem Webinar
   DESIGN SYSTEM · Premium · Modern · Edukatif · Mobile-First
   Palet: Biru Digital · Cyan · Putih · Aksen Emas
   ============================================================ */

:root {
  /* Brand */
  --blue:        #1565C0;
  --blue-dark:   #0D47A1;
  --blue-deep:   #082B5E;
  --blue-light:  #42A5F5;
  --cyan:        #00BCD4;
  --cyan-bright: #1DE9F0;
  --gold:        #F5C842;
  --gold-deep:   #C8961E;

  /* Netral */
  --ink:         #11243A;
  --ink-soft:    #44617B;
  --line:        #E2EBF3;
  --bg:          #F4F8FC;
  --white:       #FFFFFF;

  /* Status */
  --ok:          #15A66A;
  --warn:        #E8920C;
  --danger:      #D84343;

  /* Sistem */
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 6px 24px rgba(13,71,161,.10);
  --shadow-lg:   0 18px 50px rgba(13,71,161,.18);
  --grad:        linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 45%, var(--cyan) 120%);
  --grad-gold:   linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  --maxw:        1140px;
  --font:        'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); }
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border: none; border-radius: 12px;
  font-family: var(--font); font-size: .98rem; font-weight: 700;
  cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(21,101,192,.32);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(21,101,192,.42); transform: translateY(-2px); }
.btn-gold {
  background: var(--grad-gold); color: #4A360A;
  box-shadow: 0 8px 22px rgba(200,150,30,.34);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,150,30,.44); }
.btn-ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline {
  background: #fff; color: var(--blue); border: 2px solid var(--line);
}
.btn-outline:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; padding: 15px 20px; background: #fff; color: #1f2937;
  border: 2px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all .18s;
}
.btn-google:hover { border-color: var(--blue); box-shadow: 0 6px 22px rgba(21,101,192,.18); transform: translateY(-1px); }

/* ── Toast ───────────────────────────────────────────────── */
.pgd-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 12px;
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .3s; z-index: 9999; max-width: 90vw;
}
.pgd-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pgd-toast.warn { background: var(--warn); }
.pgd-toast.ok   { background: var(--ok); }
.pgd-toast.error{ background: var(--danger); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  LANDING PAGE                                              ║
   ╚══════════════════════════════════════════════════════════╝ */

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.brand b { font-size: 1.02rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .92rem; }
.nav-links a:hover { color: var(--blue); }
.nav .btn { padding: 10px 18px; font-size: .9rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad);
  padding: 64px 0 88px;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(8px); opacity: .35;
}
.hero::before { width: 380px; height: 380px; background: radial-gradient(circle, var(--cyan-bright), transparent 70%); top: -120px; right: -80px; }
.hero::after  { width: 300px; height: 300px; background: radial-gradient(circle, var(--gold), transparent 70%); bottom: -120px; left: -60px; opacity: .22; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: 7px 15px; border-radius: 100px; font-size: .8rem; font-weight: 700;
  letter-spacing: .03em; margin-bottom: 20px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 0 4px rgba(29,233,240,.3); }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 16px; }
.hero .lead { font-size: 1.1rem; opacity: .94; max-width: 560px; margin-bottom: 26px; }

.event-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.event-meta .chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 11px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600;
}
.event-meta .chip .ico { font-size: 1.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Countdown / event card */
.event-card {
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg);
}
.event-card .ec-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.status-tag { font-size: .74rem; font-weight: 800; padding: 6px 13px; border-radius: 100px; letter-spacing: .03em; }
.status-tag.is-upcoming { background: #E7F0FF; color: var(--blue); }
.status-tag.is-live { background: #FDECEC; color: var(--danger); animation: pulse 1.6s infinite; }
.status-tag.is-ended { background: #EEF2F6; color: var(--ink-soft); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.55} }
.event-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 22px 0; }
.cd-cell { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; text-align: center; }
.cd-cell .num { font-size: 1.7rem; font-weight: 800; color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.cd-cell .lbl { font-size: .68rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.event-card .ec-note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: var(--white); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.sec-eyebrow { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 12px; }
.sec-head p { color: var(--ink-soft); font-size: 1.04rem; }

/* Benefit grid */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.benefit .b-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; background: linear-gradient(135deg, #E7F2FF, #DAF7FB); margin-bottom: 16px;
}
.benefit h3 { font-size: 1.08rem; margin-bottom: 7px; }
.benefit p { color: var(--ink-soft); font-size: .94rem; }

/* Agenda timeline */
.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 26px 64px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-dot {
  position: absolute; left: 12px; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--blue-light);
}
.tl-time { font-size: .82rem; font-weight: 800; color: var(--cyan); margin-bottom: 3px; }
.tl-item h4 { font-size: 1.05rem; margin-bottom: 3px; }
.tl-item p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* Speaker */
.speaker-card {
  max-width: 760px; margin: 0 auto; display: flex; gap: 30px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px; box-shadow: var(--shadow);
}
.speaker-photo {
  width: 130px; height: 130px; border-radius: 22px; object-fit: cover; flex-shrink: 0;
  background: var(--grad); padding: 4px;
}
.speaker-card h3 { font-size: 1.45rem; }
.speaker-card .role { color: var(--blue); font-weight: 700; margin: 4px 0 2px; }
.speaker-card .org  { color: var(--ink-soft); font-size: .92rem; }

/* Flow steps */
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow-step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; position: relative;
}
.flow-step .fs-num {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center;
}
.flow-step .fs-ico { font-size: 1.5rem; margin-bottom: 6px; }
.flow-step h4 { font-size: .96rem; margin-bottom: 4px; }
.flow-step p { font-size: .82rem; color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .arr { transition: transform .25s; color: var(--blue); font-size: 1.3rem; flex-shrink: 0; }
.faq-item.open .faq-q .arr { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 50px 36px;
  text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-band p { opacity: .94; max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }

/* Footer */
.footer { background: var(--blue-deep); color: #C9D8EC; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
.footer .brand b, .footer .brand small { color: #fff; }
.footer h5 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer a, .footer li { color: #A9BFDC; font-size: .9rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center;
  font-size: .82rem; color: #8AA3C6; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  DASHBOARD                                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
.dash { display: flex; min-height: 100vh; background: var(--bg); }

/* Sidebar */
.sidebar {
  width: 256px; flex-shrink: 0; background: var(--blue-deep); color: #C9D8EC;
  display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 120;
  transition: transform .28s ease;
}
.sidebar .sb-brand { display: flex; align-items: center; gap: 11px; padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar .sb-brand img { width: 38px; height: 38px; border-radius: 9px; }
.sidebar .sb-brand b { color: #fff; font-size: 1rem; }
.sidebar .sb-brand small { color: #91A8CC; font-size: .68rem; display: block; }
.sb-nav { padding: 16px 12px; flex: 1; }
.sb-link {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 11px;
  color: #B7CAE6; font-weight: 600; font-size: .94rem; cursor: pointer; margin-bottom: 4px;
  border: none; background: none; width: 100%; text-align: left; font-family: var(--font);
  transition: background .15s, color .15s;
}
.sb-link .ico { font-size: 1.2rem; width: 24px; text-align: center; }
.sb-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sb-link.active { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.sb-foot { padding: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.sb-user { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.sb-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; flex-shrink: 0; object-fit: cover; }
.sb-user .nm { color: #fff; font-weight: 700; font-size: .88rem; line-height: 1.2; }
.sb-user .em { color: #8AA3C6; font-size: .73rem; word-break: break-all; }

/* Main */
.main { flex: 1; margin-left: 256px; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 14px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar .tb-title { font-size: 1.15rem; font-weight: 800; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.main-inner { padding: 26px; max-width: 1000px; }

.view { display: none; animation: fade .25s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Welcome banner */
.welcome { background: var(--grad); color: #fff; border-radius: 20px; padding: 28px 30px;
  margin-bottom: 26px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.welcome h2 { font-size: 1.5rem; margin-bottom: 6px; }
.welcome p { opacity: .92; margin: 0; }

/* Quick cards */
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 10px; }
.quick {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; cursor: pointer; transition: transform .18s, box-shadow .18s;
}
.quick:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.quick .q-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.5rem; background: linear-gradient(135deg,#E7F2FF,#DAF7FB); margin-bottom: 14px; }
.quick h3 { font-size: 1.05rem; margin-bottom: 5px; }
.quick p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* Webinar cards */
.card-list { display: grid; gap: 18px; }
.wbn-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: box-shadow .2s;
}
.wbn-card:hover { box-shadow: var(--shadow-lg); }
.wbn-card .wc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.wbn-card h3 { font-size: 1.18rem; line-height: 1.35; }
.wbn-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; color: var(--ink-soft); font-size: .92rem; }
.wbn-meta span { display: inline-flex; align-items: center; gap: 7px; }
.wbn-actions { display: flex; flex-wrap: wrap; gap: 11px; padding-top: 16px; border-top: 1px solid var(--line); }
.wbn-actions .btn { padding: 11px 20px; font-size: .9rem; }
.attend-flag { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 700; }
.attend-flag.done { color: var(--ok); }
.attend-flag.pending { color: var(--warn); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.6px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: .95rem; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
.field input[readonly] { background: #F1F5FA; color: var(--ink-soft); }
.field .hint { font-size: .78rem; color: var(--ink-soft); margin-top: 5px; }
.check-row { display: flex; align-items: flex-start; gap: 11px; background: #F5F9FE; border: 1.6px solid var(--line);
  border-radius: 10px; padding: 14px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.check-row span { font-size: .9rem; color: var(--ink-soft); }

/* Status banner inside view */
.banner { display: flex; align-items: center; gap: 14px; border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 22px; font-size: .94rem; }
.banner.info { background: #E9F2FF; color: var(--blue-dark); border: 1px solid #C9E0FF; }
.banner.ok   { background: #E6F7EF; color: #0C7C4D; border: 1px solid #BDEBD4; }
.banner.warn { background: #FFF5E1; color: #8A5A07; border: 1px solid #FBE3B0; }
.banner .b-ico { font-size: 1.5rem; }

.empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.empty .e-ico { font-size: 3rem; margin-bottom: 12px; }

/* Profil */
.profile-head { display: flex; align-items: center; gap: 20px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.profile-head .pf-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; object-fit: cover; }
.profile-head h2 { font-size: 1.35rem; }
.profile-head .em { color: var(--ink-soft); }

.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(8,43,94,.5); z-index: 110; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  AUTH (login mini)                                         ║
   ╚══════════════════════════════════════════════════════════╝ */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: var(--grad); }
.auth-box { width: 100%; max-width: 420px; background: #fff; border-radius: 22px; padding: 38px 32px;
  box-shadow: var(--shadow-lg); }
.auth-box .a-brand { text-align: center; margin-bottom: 26px; }
.auth-box .a-brand img { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; }
.auth-box h1 { font-size: 1.5rem; }
.auth-box .a-brand p { color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }
.auth-note { text-align: center; font-size: .8rem; color: var(--ink-soft); margin-top: 18px; line-height: 1.5; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .benefit-grid, .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  /* Dashboard → sidebar off-canvas */
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: translateX(0); }
  .sidebar.open ~ .sidebar-backdrop { display: block; }
  .main { margin-left: 0; }
  .hamburger { display: block; }
}
@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .hero { padding: 44px 0 64px; }
  .benefit-grid, .quick-grid, .flow-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .speaker-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .countdown { gap: 7px; }
  .cd-cell .num { font-size: 1.4rem; }
  .wbn-actions .btn, .hero-cta .btn { width: 100%; }
  .main-inner, .topbar { padding-left: 16px; padding-right: 16px; }
}

/* ── app.masri.cloud iframe mode ─────────────────────────── */
html.embed-app {
  color-scheme: dark;
}

html.embed-app body,
html.embed-app .dash,
html.embed-app .main {
  background: #060d1f;
  color: #e8f0fe;
}

html.embed-app a {
  color: #4ade80;
}

html.embed-app .nav {
  display: none;
}

html.embed-app .hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(74,222,128,.16), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(56,189,248,.12), transparent 34%),
    #060d1f;
  padding: 34px 0 44px;
}

html.embed-app .hero::before,
html.embed-app .hero::after {
  opacity: .16;
}

html.embed-app .section,
html.embed-app .section.alt {
  background: #060d1f;
  padding: 38px 0;
}

html.embed-app .container {
  max-width: 1060px;
}

html.embed-app .pill,
html.embed-app .event-meta .chip {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
}

html.embed-app .sec-eyebrow,
html.embed-app .tl-time,
html.embed-app .speaker-card .role {
  color: #4ade80;
}

html.embed-app .muted,
html.embed-app .sec-head p,
html.embed-app .benefit p,
html.embed-app .flow-step p,
html.embed-app .speaker-card .org,
html.embed-app .event-card .ec-note,
html.embed-app .wbn-meta,
html.embed-app .field .hint,
html.embed-app .check-row span,
html.embed-app .empty,
html.embed-app .profile-head .em {
  color: rgba(255,255,255,.56);
}

html.embed-app .event-card,
html.embed-app .benefit,
html.embed-app .speaker-card,
html.embed-app .flow-step,
html.embed-app .faq-item,
html.embed-app .cta-band,
html.embed-app .welcome,
html.embed-app .quick,
html.embed-app .wbn-card,
html.embed-app .form-card,
html.embed-app .profile-head,
html.embed-app .auth-box {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: none;
  color: #e8f0fe;
}

html.embed-app .event-card,
html.embed-app .speaker-card,
html.embed-app .cta-band,
html.embed-app .welcome {
  border-radius: 16px;
}

html.embed-app .quick,
html.embed-app .benefit,
html.embed-app .flow-step,
html.embed-app .form-card,
html.embed-app .wbn-card,
html.embed-app .profile-head {
  border-radius: 14px;
}

html.embed-app .benefit:hover,
html.embed-app .quick:hover,
html.embed-app .wbn-card:hover {
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
  border-color: rgba(74,222,128,.22);
}

html.embed-app .benefit .b-ico,
html.embed-app .quick .q-ico,
html.embed-app .flow-step .fs-num,
html.embed-app .sb-avatar,
html.embed-app .profile-head .pf-avatar {
  background: rgba(74,222,128,.12);
  color: #4ade80;
}

html.embed-app .btn-primary {
  background: #4ade80;
  color: #0f1117;
  box-shadow: 0 10px 28px rgba(74,222,128,.18);
}

html.embed-app .btn-primary:hover {
  box-shadow: 0 14px 32px rgba(74,222,128,.24);
}

html.embed-app .btn-outline,
html.embed-app .btn-google {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}

html.embed-app .btn-outline:hover,
html.embed-app .btn-google:hover {
  border-color: rgba(74,222,128,.35);
  box-shadow: none;
}

html.embed-app .btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
}

html.embed-app .btn-gold {
  background: rgba(251,191,36,.12);
  color: #fbbf24;
  box-shadow: none;
}

html.embed-app .status-tag.is-upcoming {
  background: rgba(56,189,248,.12);
  color: #38bdf8;
}

html.embed-app .status-tag.is-live {
  background: rgba(248,113,113,.12);
  color: #f87171;
}

html.embed-app .status-tag.is-ended {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.58);
}

html.embed-app .cd-cell,
html.embed-app .check-row {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.08);
}

html.embed-app .cd-cell .num {
  color: #4ade80;
}

html.embed-app .cd-cell .lbl,
html.embed-app .brand small,
html.embed-app .sidebar .sb-brand small,
html.embed-app .sb-user .em {
  color: rgba(255,255,255,.42);
}

html.embed-app .timeline::before,
html.embed-app .wbn-actions,
html.embed-app .sidebar .sb-brand,
html.embed-app .sb-foot {
  border-color: rgba(255,255,255,.08);
}

html.embed-app .tl-item .tl-dot {
  background: #4ade80;
  border-color: #060d1f;
  box-shadow: 0 0 0 2px rgba(74,222,128,.32);
}

html.embed-app .faq-q,
html.embed-app .field label,
html.embed-app .brand,
html.embed-app .sidebar .sb-brand b,
html.embed-app .sb-user .nm,
html.embed-app .topbar .tb-title {
  color: #e8f0fe;
}

html.embed-app .faq-q .arr {
  color: #4ade80;
}

html.embed-app .field input,
html.embed-app .field select {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  color: #e8f0fe;
}

html.embed-app .field input:focus,
html.embed-app .field select:focus {
  border-color: rgba(74,222,128,.6);
  box-shadow: 0 0 0 3px rgba(74,222,128,.12);
}

html.embed-app .field input[readonly] {
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.58);
}

html.embed-app .banner.info {
  background: rgba(56,189,248,.1);
  color: #7dd3fc;
  border-color: rgba(56,189,248,.18);
}

html.embed-app .banner.ok {
  background: rgba(74,222,128,.1);
  color: #86efac;
  border-color: rgba(74,222,128,.2);
}

html.embed-app .banner.warn {
  background: rgba(251,191,36,.1);
  color: #fbbf24;
  border-color: rgba(251,191,36,.2);
}

html.embed-app .sidebar {
  background: #0f1117;
  border-right: 1px solid rgba(255,255,255,.06);
  box-shadow: none;
}

html.embed-app .sb-link {
  border-left: 2px solid transparent;
  border-radius: 0;
  color: rgba(255,255,255,.52);
  padding: 10px 14px;
}

html.embed-app .sb-link:hover {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.8);
}

html.embed-app .sb-link.active {
  background: rgba(74,222,128,.08);
  color: #4ade80;
  border-left-color: #4ade80;
  box-shadow: none;
}

html.embed-app .topbar {
  background: rgba(6,13,31,.88);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: none;
}

html.embed-app .hamburger {
  color: #e8f0fe;
}

html.embed-app .main-inner {
  max-width: 1040px;
}

html.embed-app .footer {
  display: none;
}

html.embed-app .sidebar-backdrop {
  background: rgba(0,0,0,.56);
}

@media (max-width: 860px) {
  html.embed-app .sidebar {
    box-shadow: 18px 0 48px rgba(0,0,0,.34);
  }
}
