/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #5b4bff;
  --primary-dark: #4438d1;
  --accent: #ffd166;
  --text: #1a1a2e;
  --text-soft: #5f6079;
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --border: #e6e6f0;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 20, 60, 0.08);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.pill {
  display: inline-block;
  background: #efeaff;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  font-weight: 800;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; gap: 10px; }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #fafaff 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy p {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin: 20px 0 28px;
  max-width: 520px;
}

.search-bar {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  max-width: 560px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: transparent;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}

.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.35rem; font-weight: 700; }
.hero-stats span { font-size: 0.82rem; color: var(--text-soft); }

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b4bff, #a89cff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-card-header strong { display: block; font-size: 0.98rem; }
.hero-card-header span { font-size: 0.8rem; color: var(--text-soft); }

.hero-card-body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
}

.tag {
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.price { font-weight: 700; font-size: 0.95rem; color: var(--primary-dark); }

/* ===== HOW IT WORKS ===== */
.how { padding: 80px 0; }

.how h2 { text-align: center; margin-bottom: 50px; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.how-step {
  background: var(--bg-soft);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 18px;
}

.how-step p { color: var(--text-soft); font-size: 0.92rem; margin-top: 8px; }

/* ===== EXPERTS ===== */
.experts { padding: 60px 0 80px; background: var(--bg-soft); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.filters { display: flex; gap: 8px; flex-wrap: wrap; }

.filter {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter:hover { border-color: var(--primary); color: var(--primary); }

.filter.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.expert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.expert-top { display: flex; align-items: center; gap: 12px; }
.expert-top strong { display: block; font-size: 0.95rem; }
.expert-top span { font-size: 0.78rem; color: var(--text-soft); }

.expert-topics { display: flex; flex-wrap: wrap; gap: 6px; }

.expert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.rating { font-size: 0.82rem; color: var(--text-soft); }

/* ===== PODS ===== */
.pods { padding: 90px 0; }

.pods-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pods-copy p { color: var(--text-soft); margin: 16px 0 24px; max-width: 480px; }

.pods-list { list-style: none; margin-bottom: 28px; }
.pods-list li { padding: 6px 0; color: var(--text-soft); font-size: 0.94rem; }

.pods-card {
  background: linear-gradient(160deg, #1a1a2e, #2c2c54);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.pod-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pod-line .highlight { color: var(--accent); font-weight: 700; }

.pod-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 1.1rem;
}

.pod-total strong { color: var(--accent); font-size: 1.6rem; }

/* ===== CTA ===== */
.cta {
  padding: 90px 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta p { opacity: 0.9; margin-bottom: 12px; }
.cta .btn-primary { background: #fff; color: var(--primary); }
.cta .btn-primary:hover { background: #f0f0ff; }

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer p { font-size: 0.85rem; color: var(--text-soft); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 50, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: pop 0.25s ease;
}

@keyframes pop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: var(--bg-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-soft);
}

.modal-sub { color: var(--text-soft); font-size: 0.9rem; margin: 6px 0 20px; }

.modal-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.time-slot {
  padding: 12px 6px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.time-slot:hover { border-color: var(--primary); color: var(--primary); }
.time-slot.selected { background: var(--primary); color: #fff; border-color: var(--primary); }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner, .pods-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .nav-actions .btn-ghost { display: none; }
  .search-bar { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .footer-inner { justify-content: center; text-align: center; }
}
/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1000;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--text-soft); font-size: 14px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
  .cookie-banner .btn-ghost { display: inline-flex; }
}
