:root{
  --bg: #0b1220;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --text: #fff;
  --muted: rgba(234,240,255,.72);
  --border: rgba(255,255,255,.12);

  --radius: 18px;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Cairo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings:"slnt" 0;
  color: var(--text);
}

a{ color: inherit; text-decoration:none; }
.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.header,.hero, .main, .footer
{
  background: linear-gradient(120deg, #6c499d, #1a2a6c, #6c499d, #243b55);
  background-size: 300% 300%;
  animation: gradientShift 24s ease infinite;
}

 @keyframes gradientShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

/* Header */
.header{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  /* background: rgba(10,16,30,.55); */
  border-bottom: 1px solid var(--border);
  box-shadow: #0b1220 1px 1px 30px 1px;
}
.header__inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 10px;
  border-radius: 999px;
}
.brand__logo{
  height:55px;
  width:auto;
  display:grid;
  place-items:center;
 }
.brand__text{ font-weight:700; letter-spacing:.2px; }

.header__toggle{ margin-inline-start: auto; display:none; }

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-inline-start: auto;
}
.nav__link{
  padding:10px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.nav__link:hover{ background: rgba(255,255,255,.06); color: var(--text); }

.nav__actions{
  display:flex;
  gap:10px;
  margin-inline-start: 8px;
}

/* Dropdown */
.nav__dropdown{ position:relative; }
.nav__dropbtn{
  background: transparent;
  border:0;
  font: inherit;
  cursor:pointer;
}

.nav__dropmenu{
  position:absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 180px;
  padding:8px;
  border-radius: 14px;
  background: rgba(10,16,30,.92);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  display:none;
}

/* Show dropdown on hover (desktop) */
@media (hover:hover) and (pointer:fine){
  .nav__dropdown:hover .nav__dropmenu,
  .nav__dropdown:focus-within .nav__dropmenu{
    display:block;
  }
}

.nav__dropmenu a{
  display:block;
  padding:10px 10px;
  border-radius: 10px;
  color: var(--muted);
}
.nav__dropmenu a:hover{ background: rgba(255,255,255,.07); color: var(--text); }

/* Also allow JS toggling (mobile click) */
.nav__dropdown[data-open="true"] .nav__dropmenu{ display:block; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.12);
  color: var(--text);
  cursor:pointer;
}
.btn:hover{ background: rgba(255,255,255,.18); }
.btn--ghost{ background: transparent; }
.btn--small{ padding: 8px 12px; }

.input{
  width:100%;
  padding: 12px 14px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
.input::placeholder{ color: rgba(234,240,255,.55); }

.icon-btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.10);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}

/* Hero */
.hero{
  text-align: center;
  height: 100vh;
  padding: 44px 0 26px;
 }

.hero__inner{
  padding-top: 125px;
  text-align: center;
  align-items: stretch;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
}
.muted{ color: var(--muted); line-height: 1.7; }
.tiny{ font-size: 12px; }
.hero__cta{ margin-top: 16px;}

.hero__card{
  border-radius: var(--radius);
  background: var(--panel);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
  display:grid;
  gap: 12px;
}
.hero__stat{
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  padding: 14px;
}
.hero__statNum{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

/* Sections */
.section{ padding: 28px 0; color:#0b1220; }
.section--alt{
  background: rgba(108,73,157,0.98);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  color: #fff;
}
.section__head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section__head h2{ margin:0; font-size: 22px; }
.link{ color: rgba(234,240,255,.85); }
.link:hover{ text-decoration: underline; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border-radius: var(--radius);
  background: var(--panel);
  border:1px solid var(--border);
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transition: transform .18s ease, background .18s ease;
}
.card:hover{ transform: translateY(-3px); background: var(--panel2); }
.card__thumb{
  height: 150px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border-bottom:1px solid var(--border);
}
.card__body{ padding: 14px; }
.card__title{
  text-align: center;
  margin:0 0 8px;
  font-size: 16px;
  line-height: 1.5;
}
.card__meta{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  color: rgba(234,240,255,.62);
  font-size: 12px;
}

.podcast{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: stretch;
}
.podcast__cover{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.10), transparent 55%),
    rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}
.podcast__content{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--panel);
  padding: 18px;
}
.podcast__title{ margin:0 0 8px; }
.podcast__player{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.bar{
  flex:1;
  height: 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.22);
  overflow:hidden;
}
.bar span{
  display:block;
  height:100%;
  background: rgba(255,255,255,.22);
}

.chips{ display:flex; gap:8px; flex-wrap: wrap; margin-top: 12px; }
.chip{
  border:1px solid var(--border);
  background: rgba(255,255,255,.08);
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(234,240,255,.85);
  font-size: 12px;
}
.chip:hover{ background: rgba(255,255,255,.14); }

.newsletter{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.newsletter__form{
  display:flex;
  gap:10px;
  align-items:center;
  width: min(520px, 100%);
}

.footer{
  padding: 22px 0;
  border-top:1px solid var(--border);
  backdrop-filter: blur(10px);
}
.footer__inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand{ font-weight:800; }
.footer__links{ display:flex; gap:12px; flex-wrap: wrap; color: var(--muted); }
.footer__links a:hover{ color: var(--text); }

@media (max-width: 900px){
  .hero__inner{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .podcast{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .header__toggle{ display:inline-flex; }
  .nav{
    position: fixed;
    inset: 64px 12px auto 12px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(10,16,30,.96);
    border:1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav[data-open="true"]{ display:flex; }
  .nav__actions{ width:100%; flex-direction: column; }
  .btn{ width:100%; }
  .grid{ grid-template-columns: 1fr; }
}
