/* Sleep Paralysis Companion - Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #060913;
  --bg-deep: #0b1125;
  --primary-glow: rgba(99, 102, 241, 0.15);
  --secondary-glow: rgba(139, 92, 246, 0.15);
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-blue: #3b82f6;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-glass: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(13, 20, 44, 0.45);
  --bg-glass-hover: rgba(20, 30, 60, 0.6);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.4);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Website Transformation: article conversion and scanning patterns */
.article-hero-actions {
  margin-top: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.prevention-grid.article-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 2rem;
}

.article-action-card {
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.article-action-card .action-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.85rem;
  border-radius: 11px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.18);
}

.article-action-card h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1rem;
}

.article-action-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.55;
}

.article-reassurance-box {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 1.4rem;
  margin: 0 0 3.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.09));
  border: 1px solid rgba(167, 139, 250, 0.28);
}

.article-reassurance-box img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.article-reassurance-box h2 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
}

.article-reassurance-box p {
  margin: 0 0 1rem;
}

.article-reassurance-box .reassurance-eyebrow {
  margin-bottom: 0.35rem;
  color: #a78bfa;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .prevention-grid.article-action-grid {
    grid-template-columns: 1fr;
  }

  .article-reassurance-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .article-reassurance-box img {
    margin: 0 auto;
  }

  .article-reassurance-box .btn {
    width: 100%;
  }
}

.article-mascot-wrap {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.article-mascot-wrap .article-mascot {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.article-mascot-wrap .article-mascot-caption {
  margin: 0;
  color: #f1f5f9;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .article-mascot-wrap {
    flex-direction: column;
    text-align: center;
    gap: 1.1rem;
    padding: 1.25rem;
  }
}

/* ==========================================================================
   Toolkit & Blog Hub Styles
   ========================================================================== */
.toolkit-main {
  padding-bottom: 6rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Mascot Avatar & Pulsing Glow */
.mascot-aura-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-aura-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, rgba(99, 102, 241, 0.1) 70%, transparent 100%);
  animation: auraPulse 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auraPulse {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; filter: blur(6px); }
}

.mascot-avatar-img {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  border: 2px solid rgba(196, 181, 253, 0.5);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
  background: rgba(15, 23, 42, 0.8);
  padding: 8px;
  object-fit: contain;
}

/* Toolkit Hero */
.toolkit-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 5rem 1rem 3rem;
  text-align: center;
}

.toolkit-hero h1 {
  margin: 1.25rem 0;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.toolkit-subheadline {
  max-width: 780px;
  margin: 0 auto 2rem;
  color: #c4b5fd;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
}

/* Medical Disclaimer Banner */
.disclaimer-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(30, 27, 75, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  text-align: left;
  max-width: 820px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

.disclaimer-icon {
  color: #c084fc;
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.disclaimer-text {
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.disclaimer-text strong {
  color: #f8fafc;
}

/* Section Title Wrappers */
.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.section-title-wrap h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.section-title-wrap p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* 3 Core Benefit Cards */
.toolkit-features-section {
  margin: 4.5rem 0;
}

.benefit-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.benefit-glass-card {
  position: relative;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.benefit-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.2);
}

.benefit-card-popular {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(124, 58, 237, 0.16);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.18);
}

.benefit-popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.benefit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.benefit-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.icon-indigo { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.icon-violet { background: rgba(139, 92, 246, 0.25); color: #a78bfa; }
.icon-blue { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }

.benefit-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
}

.benefit-glass-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.benefit-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.benefit-points {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-points li {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.benefit-points li i {
  color: #34d399;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.benefit-points li strong {
  color: #f1f5f9;
}

/* Download Capture Box */
.download-capture-section {
  margin: 5rem 0;
}

.download-box {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 27, 75, 0.6) 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.download-box-art {
  text-align: center;
}

.download-box-art img {
  filter: drop-shadow(0 10px 25px rgba(124, 58, 237, 0.35));
}

.download-box-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.75rem 0;
}

.download-box-content p {
  color: #c4b5fd;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.toolkit-form {
  max-width: 600px;
}

.form-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.input-wrap {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
}

.input-wrap input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.8rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrap input:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}

.btn-download {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.55);
}

.form-microcopy {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  margin-bottom: 0 !important;
}

.form-microcopy i {
  color: #a78bfa;
}

.toolkit-success-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 14px;
  padding: 1.25rem;
}

.toolkit-success-box .success-icon {
  color: #34d399;
  font-size: 1.6rem;
  margin-top: 2px;
}

.toolkit-success-box h4 {
  color: #f0fdf4;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.toolkit-success-box p {
  color: #a7f3d0;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Full-Screen Translucent Landing Gate Modal
   ========================================================================== */
body.toolkit-gated-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

body.toolkit-gated-locked #mainContentContainer,
body.toolkit-gated-locked header,
body.toolkit-gated-locked footer {
  filter: blur(18px) brightness(0.6);
  pointer-events: none;
  user-select: none;
  transition: filter 0.5s ease;
}

.landing-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 0, 21, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.landing-gate-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.landing-gate-card {
  max-width: 500px;
  width: 100%;
  text-align: center;
  padding: 2.75rem 2.25rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.88) 100%);
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(124, 58, 237, 0.3);
  animation: gateCardPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gateCardPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.gate-mascot-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-mascot-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.5) 0%, transparent 70%);
  animation: auraPulse 3s infinite alternate;
}

.gate-mascot-img {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  border: 2px solid rgba(196, 181, 253, 0.6);
  background: rgba(15, 23, 42, 0.9);
  padding: 6px;
}

.landing-gate-card h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.75rem 0 0.5rem;
}

.gate-subtitle {
  color: #c4b5fd;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.gate-form {
  max-width: 420px;
  margin: 0 auto;
}

.gate-input-group {
  position: relative;
  margin-bottom: 0.85rem;
}

.gate-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.05rem;
}

.gate-input-group input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.8rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gate-input-group input:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3);
}

.btn-gate-submit {
  width: 100%;
  padding: 0.95rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border: none;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gate-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.6);
}

.gate-microcopy {
  color: #94a3b8;
  font-size: 0.82rem;
  margin: 0.85rem 0 0;
}

.gate-microcopy i {
  color: #a78bfa;
}

.gate-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.45;
}

.gate-disclaimer i {
  color: #c084fc;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.gate-disclaimer strong {
  color: #e2e8f0;
}

/* ==========================================================================
   Unlocked In-Page Grounding Toolkit Section (Decluttered & Modern)
   ========================================================================== */
.unlocked-toolkit-wrapper {
  position: relative;
  margin: 3.5rem 0 4.5rem;
  transition: all 0.5s ease;
}

/* Locked state with soft blur */
.toolkit-locked-mode .unlocked-toolkit-body {
  filter: blur(12px) opacity(0.35);
  pointer-events: none;
  user-select: none;
}

.unlocked-toolkit-body {
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.88) 0%, rgba(26, 21, 65, 0.72) 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.toolkit-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.toolkit-header-bar h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.35rem;
  letter-spacing: -0.02em;
}

.unlocked-protocol-block {
  margin: 2.5rem 0;
}

.protocol-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.protocol-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
  flex-shrink: 0;
}

.protocol-title-row h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.protocol-timing {
  color: #c4b5fd;
  font-size: 0.84rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.protocol-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-routine-start {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-routine-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* Routine Live Progress Bar Card */
.routine-progress-card {
  background: rgba(13, 20, 44, 0.8);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 16px;
  padding: 1.15rem 1.4rem;
  margin-bottom: 1.5rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.routine-progress-card.active {
  display: block;
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.progress-phase-label {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-phase-label i {
  color: #38bdf8;
}

.progress-time-remaining {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #a855f7);
  border-radius: 999px;
  transition: width 0.5s ease;
}

.progress-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn-progress-action {
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-progress-action:hover {
  background: rgba(167, 139, 250, 0.2);
  color: #ffffff;
}

/* Steps Grid */
.routine-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.routine-step-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 18px;
  padding: 1.4rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.routine-step-item:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(15, 23, 42, 0.85);
}

.routine-step-item.active-step {
  border-color: #38bdf8;
  background: rgba(13, 20, 44, 0.95);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
  transform: scale(1.02);
}

.routine-step-item.completed-step {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(6, 78, 59, 0.15);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.step-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 6px;
  width: fit-content;
}

.step-check-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.routine-step-item.completed-step .step-check-btn {
  background: #34d399;
  border-color: #34d399;
  color: #064e3b;
}

.routine-step-item h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.routine-step-item p {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.step-subpoints {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.step-subpoints li {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.step-subpoints li i {
  color: #a78bfa;
  font-size: 0.72rem;
  margin-top: 0.28rem;
  flex-shrink: 0;
}

/* Completion Banner */
.reset-complete-banner {
  margin-top: 1.25rem;
  padding: 1.15rem 1.4rem;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 14px;
  display: none;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.4s ease;
}

.reset-complete-banner.show {
  display: flex;
}

.reset-complete-icon {
  font-size: 1.5rem;
  color: #34d399;
}

.reset-complete-text h4 {
  color: #6ee7b7;
  font-size: 0.98rem;
  margin: 0 0 0.2rem 0;
}

.reset-complete-text p {
  color: #d1fae5;
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   Interactive Breathing & Audio Suite
   ========================================================================== */
.breathing-hub-card {
  background: rgba(13, 20, 44, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.breathing-tabs-nav {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.breathing-tab-btn {
  padding: 0.6rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}

.breathing-tab-btn:hover {
  background: rgba(167, 139, 250, 0.12);
  color: #ffffff;
}

.breathing-tab-btn.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35) 0%, rgba(99, 102, 241, 0.25) 100%);
  border-color: rgba(167, 139, 250, 0.55);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.breathing-tab-btn .tab-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.breathing-interactive-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.breathing-pacer-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.breathing-circle-outer {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 2px dashed rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.breathing-circle-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.8) 0%, rgba(79, 70, 229, 0.4) 100%);
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 4s ease-in-out;
  transform: scale(0.85);
}

.breathing-phase-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breathing-countdown {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: monospace;
}

.pacer-controls {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-pacer-toggle {
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(99, 102, 241, 0.3) 100%);
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-pacer-toggle:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.6) 0%, rgba(99, 102, 241, 0.5) 100%);
  transform: translateY(-1px);
}

.btn-pacer-sound {
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-pacer-sound:hover {
  background: rgba(167, 139, 250, 0.15);
  color: #ffffff;
}

.btn-pacer-sound.sound-muted {
  color: #94a3b8;
  opacity: 0.65;
  border-color: rgba(255, 255, 255, 0.06);
}

.btn-pacer-sound.sound-active {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.12);
}

.btn-pacer-yt-link {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-pacer-yt-link:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: translateY(-1px);
}

.breathing-info-panel h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.breathing-info-panel p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.breathing-steps-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.step-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 4px 10px;
  border-radius: 8px;
}

/* Integrated Soundscape Row & Dual Sound Selector */
.soundscape-section-container {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.soundscape-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.soundscape-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.soundscape-bar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.soundscape-header-left h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.15rem 0;
}

.soundscape-header-left p {
  color: #94a3b8;
  font-size: 0.84rem;
  margin: 0;
}

.soundscape-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 680px) {
  .soundscape-grid {
    grid-template-columns: 1fr;
  }
}

.soundscape-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: all 0.25s ease;
}

.soundscape-card:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(56, 189, 248, 0.3);
}

.soundscape-card.sound-active {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.soundscape-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sound-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.sound-icon-badge.rain {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
}

.sound-icon-badge.waves {
  background: rgba(45, 212, 191, 0.18);
  color: #2dd4bf;
}

.sound-meta h5 {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.15rem 0;
}

.sound-meta span {
  color: #94a3b8;
  font-size: 0.78rem;
  display: block;
}

.soundscape-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.soundscape-btn {
  flex: 1;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.soundscape-btn:hover,
.soundscape-btn.sound-playing {
  background: rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

.sound-yt-link {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sound-yt-link:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: translateY(-1px);
}

/* Soundscape Embedded Player Box */
.soundscape-embed-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 0.25rem;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.embed-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.embed-player-header span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.embed-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.embed-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.embed-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
}

.embed-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Partner Layout */
.partner-guide-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem;
}

.partner-left-col,
.partner-right-col {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 18px;
  padding: 1.5rem;
}

.partner-left-col h4,
.partner-right-col h4 {
  color: #ffffff;
  font-size: 1.02rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.partner-left-col h4 i {
  color: #a78bfa;
}

.partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.partner-list li {
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1.25rem;
}

.partner-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a78bfa;
}

.whisper-quote-box {
  background: rgba(13, 20, 44, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-left: 4px solid #a78bfa;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 0.85rem;
}

.whisper-quote-box p {
  color: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.85rem;
}

.copy-btn {
  font-size: 0.8rem;
  padding: 5px 12px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 8px;
  background: rgba(167, 139, 250, 0.12);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.copy-btn:hover {
  background: rgba(167, 139, 250, 0.25);
  color: #ffffff;
}

.whisper-tip {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.whisper-tip i {
  color: #f472b6;
}

.toolkit-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 2.25rem 0;
}

/* ==========================================================================
   Clean Collapsible Accordions (Science & FAQ)
   ========================================================================== */
.toolkit-accordion-section {
  margin: 4.5rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
}

.section-title-wrap h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.section-title-wrap p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.accordion-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.accordion-item {
  border-radius: 16px;
  background: rgba(13, 20, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.accordion-item:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(13, 20, 44, 0.8);
}

.accordion-trigger {
  width: 100%;
  padding: 1.25rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: #c7d2fe;
}

.accordion-trigger-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-trigger-title i {
  color: #a78bfa;
  font-size: 0.95rem;
}

.accordion-icon {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
  color: #a78bfa;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.6rem;
}

.accordion-item.open .accordion-content {
  max-height: 350px;
  padding: 0 1.6rem 1.35rem 1.6rem;
}

.accordion-content p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 0.5rem 0;
}

.accordion-content p:last-child {
  margin: 0;
}

/* Comprehensive Disclaimer Notice */
.comprehensive-disclaimer {
  margin: 3.5rem 0 2rem;
  padding: 1.35rem 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(30, 27, 75, 0.35);
  backdrop-filter: blur(12px);
}

.disclaimer-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comprehensive-disclaimer p {
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .routine-steps-grid,
  .breathing-interactive-layout,
  .partner-guide-layout {
    grid-template-columns: 1fr;
  }

  .unlocked-toolkit-body {
    padding: 1.75rem 1.25rem;
  }
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .benefit-card-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.2rem;
  }

  .download-box-art {
    margin-bottom: -1rem;
  }

  .form-row {
    flex-direction: column;
  }

  .btn-download {
    width: 100%;
  }

  .blog-card-featured {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .blog-card-content {
    padding: 1.5rem;
  }

  .blog-footer-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.75rem;
  }

  .blog-footer-cta .btn {
    width: 100%;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  width: 100%;
  max-width: 100vw;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden !important;
  overflow-x: clip !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overscroll-behavior-x: none;
  line-height: 1.6;
  min-height: 100vh;
}

body.nav-drawer-open {
  overflow-y: hidden !important;
}

/* Typography headers */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Premium Background System */
.background-effects,
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden !important;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, var(--bg-deep) 0%, var(--bg-dark) 100%);
  max-width: 100vw;
}

/* Animated Ambient Glows */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.8;
  animation: pulse-glow 20s infinite alternate ease-in-out;
  pointer-events: none;
}

.glow-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: -10%;
  left: 10%;
}

.glow-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  bottom: 10%;
  right: -5%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.glow-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
  animation-duration: 30s;
}

@keyframes pulse-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -40px) scale(1.1);
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* Starry Sky Overlay */
.starry-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.stars-1, .stars-2, .stars-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stars-1 {
  background-image: 
    radial-gradient(1px 1px at 10px 30px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 80px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 300px 290px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 450px 120px, rgba(255,255,255,0.85), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 600px 400px, rgba(255,255,255,0.5), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 750px 180px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 900px 320px, #fff, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 1100px 80px, rgba(255,255,255,0.95), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 1250px 220px, rgba(255,255,255,0.4), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 1400px 480px, #fff, rgba(0,0,0,0));
  background-size: 550px 550px;
  animation: stars-twinkle 6s infinite alternate ease-in-out;
}

.stars-2 {
  background-image: 
    radial-gradient(1px 1px at 50px 150px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 250px 350px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 400px 50px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 550px 280px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 700px 120px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 850px 450px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 1000px 200px, rgba(255,255,255,0.5), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 1200px 380px, #fff, rgba(0,0,0,0));
  background-size: 700px 700px;
  animation: stars-twinkle 9s infinite alternate-reverse ease-in-out;
}

@keyframes stars-twinkle {
  0% { opacity: 0.3; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

/* Glassmorphism Standard */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
}

/* Navigation */
header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  z-index: 1002;
}

.logo span {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.45));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  flex-shrink: 0;
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(4deg);
  filter: drop-shadow(0 6px 18px rgba(139, 92, 246, 0.65));
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav-icon {
  display: none;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}



/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem 0;
  min-height: calc(85vh - 80px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-cta {
  margin: 1.5rem 0 1.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.65;
}

/* Social Proof (Avatar group) */
.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  border: 2px solid var(--bg-dark);
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-a { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.avatar-m { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.avatar-j { background: linear-gradient(135deg, #2dd4bf, #0d9488); }

.social-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.social-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Waitlist Form Card */
.waitlist-card {
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.waitlist-card.card-highlight-pulse {
  animation: cardPulseGlow 0.8s ease-out;
  border-color: rgba(139, 92, 246, 0.7) !important;
  box-shadow: 0 0 45px rgba(139, 92, 246, 0.4), var(--shadow-premium) !important;
}

@keyframes cardPulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(139, 92, 246, 0);
  }
  40% {
    transform: scale(1.025);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5), var(--shadow-premium);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-premium);
  }
}

.waitlist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-violet));
}

.waitlist-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.waitlist-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-container {
  display: flex;
  position: relative;
  align-items: center;
}

.input-container i {
  position: absolute;
  left: 1.25rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.waitlist-input {
  width: 100%;
  padding: 1.1rem 1.25rem 1.1rem 3.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.waitlist-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit i {
  transition: var(--transition-smooth);
}

.btn-submit:hover i {
  transform: translateX(3px);
}

.privacy-tip {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Success Card Overlay */
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d142d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 2;
  border-radius: 24px;
}

.success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 70px;
  height: 70px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50%;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  animation: scale-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-up {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-overlay h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.success-overlay p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mouse-scroll {
  width: 20px;
  height: 35px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.mouse-scroll::before {
  content: '';
  width: 4px;
  height: 8px;
  background-color: var(--accent-indigo);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* Feature Section Layout */
.features-container {
  padding: 8rem 0;
  display: flex;
  flex-direction: column;
  gap: 12rem;
  position: relative;
}

.features-container::before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.03) 20%, rgba(255,255,255,0.03) 80%, transparent);
  z-index: -1;
}

.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.feature-section:nth-child(even) {
  direction: rtl;
}

.feature-section:nth-child(even) .feature-text {
  direction: ltr;
}

.feature-text {
  max-width: 500px;
}

.feature-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-num::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-indigo);
}

.feature-section h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 50%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-highlight {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.highlight-item i {
  color: var(--accent-blue);
  margin-top: 0.25rem;
}

/* Premium Device Frame Mockup */
.device-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-frame {
  width: 295px;
  height: 600px;
  background: #141724;
  border-radius: 44px;
  padding: 10px;
  position: relative;
  transition: var(--transition-smooth);
  animation: float-device 7s infinite ease-in-out;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-frame::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.feature-section:nth-child(even) .device-frame {
  animation-delay: -3.5s;
}

@keyframes float-device {
  0% { 
    transform: translateY(0) rotateY(-8deg) rotateX(6deg) rotateZ(-1deg); 
    box-shadow: 
      0px 20px 45px -10px rgba(0, 0, 0, 0.75),
      0px 0px 0px 4px rgba(255, 255, 255, 0.04),
      inset 0 0 15px rgba(255, 255, 255, 0.06);
  }
  50% { 
    transform: translateY(-16px) rotateY(6deg) rotateX(3deg) rotateZ(1deg); 
    box-shadow: 
      0px 35px 75px -15px rgba(0, 0, 0, 0.9),
      0px 0px 0px 4px rgba(255, 255, 255, 0.06),
      inset 0 0 15px rgba(255, 255, 255, 0.1);
  }
  100% { 
    transform: translateY(0) rotateY(-8deg) rotateX(6deg) rotateZ(-1deg); 
    box-shadow: 
      0px 20px 45px -10px rgba(0, 0, 0, 0.75),
      0px 0px 0px 4px rgba(255, 255, 255, 0.04),
      inset 0 0 15px rgba(255, 255, 255, 0.06);
  }
}

.device-frame:hover {
  transform: scale(1.04) translateY(-10px) rotateY(0deg) rotateX(0deg) rotateZ(0deg);
  box-shadow: 
    0px 45px 85px -15px rgba(0, 0, 0, 0.95),
    0px 0px 0px 4px rgba(255, 255, 255, 0.12),
    0px 0px 40px rgba(99, 102, 241, 0.35);
}

.device-frame:hover::before {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, transparent 65%);
}

/* Notch / Dynamic Island */
.device-notch {
  width: 90px;
  height: 25px;
  background: #09090b;
  border-radius: 15px;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-screen {
  width: 100%;
  height: 100%;
  background: #060913;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Screen glare gloss overlay */
.device-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.0) 45%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
  z-index: 4;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom CTA Banner */
.bottom-cta {
  padding: 8rem 0;
  text-align: center;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.bottom-cta h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bottom-cta p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

.btn-cta-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  transition: var(--transition-smooth);
}

.btn-cta-anchor:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.btn-cta-anchor i {
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.btn-cta-anchor:hover i {
  transform: translateY(-2px);
}



/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-success i {
  color: #10b981;
}

.toast-info i {
  color: var(--accent-blue);
}

/* Platform Availability Tag */
.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
}

.platform-tag i {
  color: var(--accent-indigo);
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Science & Educational Section */
.science-section {
  padding: 6rem 0;
  position: relative;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.science-card {
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.science-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.science-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-indigo);
  margin-bottom: 1.5rem;
}

.science-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.science-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* About / Lived Experience Section */
.about-section {
  padding: 6rem 0;
}

.about-card {
  padding: 4rem 3.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 1.75rem;
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2rem auto;
  font-weight: 300;
}

.about-tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 6rem 0;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: #c7d2fe;
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--accent-indigo);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 2rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 300;
}

/* Medical Disclaimer Banner */
.medical-disclaimer-section {
  padding: 2rem 0;
}

.medical-disclaimer-box {
  padding: 2rem 2.5rem;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.medical-disclaimer-box i {
  color: #94a3b8;
  font-size: 1.6rem;
  margin-top: 0.2rem;
}

.disclaimer-text h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.disclaimer-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Legal Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 15, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  background: #0d142d;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.modal-body h4 {
  font-size: 1.05rem;
  color: #fff;
  margin: 1.2rem 0 0.5rem 0;
}

.modal-body a {
  color: var(--accent-indigo);
  text-decoration: underline;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 3rem 0;
  margin-top: 4rem;
  background: rgba(4, 6, 15, 0.6);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info {
  max-width: 380px;
}

.footer-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col a,
.footer-nav-col button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: var(--transition-smooth);
}

.footer-nav-col a:hover,
.footer-nav-col button:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 6.5vw, 3.4rem);
  }

  .badge {
    margin-bottom: 1.25rem;
  }

  .social-proof {
    justify-content: center;
  }

  .platform-tag {
    justify-content: center;
  }

  .waitlist-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-container {
    gap: 7rem;
  }

  .feature-section {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .feature-section:nth-child(even) {
    direction: ltr;
  }

  .feature-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .feature-num {
    justify-content: center;
  }

  .feature-num::after {
    display: none;
  }
  
  .device-wrapper {
    order: 2;
  }

  .features-container::before {
    display: none;
  }

  .science-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 3rem 2rem;
  }
  
  .bottom-cta h2 {
    font-size: clamp(1.8rem, 5.5vw, 2.5rem);
  }
}

/* Tablet & Mobile Navigation Breakpoint (<= 860px) */
@media (max-width: 860px) {
  header {
    padding: 0.65rem 1rem !important;
    min-height: 54px;
  }

  .logo {
    font-size: 1rem !important;
    gap: 0.5rem !important;
    max-width: calc(100% - 50px);
  }

  .logo-img {
    width: 30px !important;
    height: 30px !important;
  }

  .logo span {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-nav-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 290px);
    height: 100vh;
    height: 100dvh;
    background: #080d1f;
    background: linear-gradient(180deg, rgba(13, 20, 44, 0.99) 0%, rgba(6, 9, 19, 0.99) 100%);
    border-left: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(3.5rem + env(safe-area-inset-top)) 1.25rem calc(2rem + env(safe-area-inset-bottom)) 1.25rem;
    gap: 0.75rem;
    z-index: 1001;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    overscroll-behavior-y: contain;
  }

  .nav-right.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-right .nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    min-height: 44px;
  }

  .nav-right .nav-link:hover,
  .nav-right .nav-link:active {
    background: rgba(99, 102, 241, 0.18);
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateX(4px);
  }

  .mobile-nav-icon {
    display: inline-block;
    width: 20px;
    text-align: center;
    color: var(--accent-indigo);
    font-size: 1rem;
  }

  .nav-right .btn-nav {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
    border-radius: 12px;
  }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 1.15rem;
  }

  .hero {
    padding: 2.5rem 0 2rem 0 !important;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    line-height: 1.22;
  }

  .hero-subheadline,
  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .scroll-indicator {
    display: none !important;
  }

  .waitlist-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: 20px;
  }

  .section-header {
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .section-header h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .features-container {
    padding: 2.5rem 0 !important;
    gap: 3.5rem !important;
  }

  .feature-section {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center !important;
    direction: ltr !important;
  }

  .feature-section:nth-child(even) {
    direction: ltr !important;
  }

  .feature-text {
    max-width: 100% !important;
    margin: 0 auto !important;
    direction: ltr !important;
  }

  .feature-num {
    justify-content: center !important;
  }

  .feature-num::after {
    display: none !important;
  }

  .feature-section h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
    line-height: 1.25;
    margin-bottom: 0.75rem !important;
  }

  .feature-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }

  .feature-highlight {
    align-items: center !important;
  }

  .highlight-item {
    text-align: left !important;
    max-width: 320px !important;
    font-size: 0.9rem !important;
  }

  .device-wrapper {
    perspective: none !important;
    margin: 0 auto !important;
  }

  .device-frame {
    width: min(100%, 240px) !important;
    height: auto !important;
    min-height: unset !important;
    max-height: 420px !important;
    border-radius: 32px !important;
    padding: 8px !important;
    transform: none !important;
    animation: float-device-mobile 6s infinite ease-in-out !important;
  }

  @keyframes float-device-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  .science-guide-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.15rem !important;
    gap: 1.25rem;
    border-radius: 20px;
  }

  .science-guide-banner .banner-bear-img {
    margin: 0 auto;
    width: 90px;
    height: 90px;
  }

  .science-guide-banner .btn {
    width: 100%;
    justify-content: center;
  }

  .about-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px;
    text-align: center;
  }

  .about-mascot-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .about-mascot-frame {
    margin: 0 auto;
    width: 110px;
    height: 110px;
  }

  .cta-box {
    padding: 2rem 1.15rem !important;
    border-radius: 20px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Extra Small Screens (<= 400px) */
@media (max-width: 400px) {
  .container {
    padding: 0 0.9rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .waitlist-card {
    padding: 1.75rem 1rem;
  }

  .waitlist-input {
    padding: 1rem 1rem 1rem 2.85rem;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

/* Science Guide Callout Banner on Homepage */
.science-guide-banner {
  margin-top: 2.5rem;
  padding: 2.25rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(13, 20, 44, 0.8), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.science-guide-banner .banner-content {
  flex: 1;
  min-width: 280px;
}

.science-guide-banner h3 {
  font-size: 1.45rem;
  color: #fff;
  margin: 0.5rem 0 0.5rem 0;
}

.science-guide-banner p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.science-guide-banner .btn {
  flex-shrink: 0;
}

/* ==========================================================================
   Cozy Bear Mascot Illustrations & Character Design
   ========================================================================== */
.card-bear-illustration {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 18px rgba(99, 102, 241, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.science-card:hover .card-bear-illustration,
.feature-card:hover .card-bear-illustration {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 12px 24px rgba(167, 139, 250, 0.45));
}

.banner-bear-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 25px rgba(99, 102, 241, 0.4));
  animation: float-slow 4s ease-in-out infinite alternate;
}

.about-mascot-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
}

.about-mascot-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.3);
}

.about-mascot-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-mascot-frame:hover .about-mascot-img {
  transform: scale(1.04);
}

.step-bear-badge {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(99, 102, 241, 0.35));
  margin-bottom: 0.75rem;
}

.guide-mascot-callout {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: rgba(13, 20, 44, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.guide-mascot-callout img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.35));
}

.guide-mascot-callout p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.sidebar-mascot-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(99, 102, 241, 0.4));
  animation: float-slow 3.5s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .about-mascot-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
  .about-mascot-frame {
    max-width: 200px;
    margin: 0 auto;
  }
  .banner-bear-img {
    margin: 0 auto;
  }
  .guide-mascot-callout {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Educational Guide & Blog Styles (/what-is-sleep-paralysis)
   ========================================================================== */

.nav-link-active {
  color: var(--accent-indigo) !important;
  font-weight: 600;
}

.btn-nav {
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 999px;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

/* Extra Large Prominent CTA Button */
.btn-cta-prominent {
  font-size: 1.15rem !important;
  padding: 1.1rem 2.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5), 0 0 20px rgba(168, 85, 247, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
}

.btn-cta-prominent:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.7), 0 0 30px rgba(168, 85, 247, 0.5) !important;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%) !important;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
  color: var(--accent-indigo);
}

.bc-sep {
  color: rgba(255, 255, 255, 0.2);
}

.bc-current {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

/* Guide Article Header */
.guide-article {
  padding-bottom: 4rem;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 2.5rem;
  align-items: center;
}

.article-hero-mascot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
}

.article-hero-mascot img {
  position: relative;
  z-index: 2;
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(99, 102, 241, 0.25));
}

.article-mascot-wrap {
  display: grid;
  place-items: center;
  margin: 2.25rem auto;
  padding: 1.25rem;
  max-width: 360px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 24px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), rgba(13, 20, 44, 0.35) 68%, transparent);
}

.article-mascot {
  display: block;
  width: min(220px, 75vw);
  height: auto;
  object-fit: contain;
}

.guide-section a,
.source-section a {
  color: #a5b4fc;
  text-decoration: underline;
  text-decoration-color: rgba(165, 180, 252, 0.45);
  text-underline-offset: 0.2em;
}

.source-section ul {
  margin: 1rem 0 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.related-guides-card {
  margin-top: 1.25rem;
  padding: 1.35rem;
  border-radius: 18px;
}

.related-guides-card h3 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.related-guide-link {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #c7d2fe;
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border-glass);
}

.related-guide-link i {
  color: var(--accent-indigo);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .article-hero-mascot {
    min-height: 180px;
  }

  .article-hero-mascot img {
    width: 170px;
  }
}

.guide-header {
  margin-bottom: 3.5rem;
}

.guide-tag-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.guide-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  color: #c7d2fe;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.guide-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 80%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 1000px;
}

.guide-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 900px;
  margin-bottom: 1.75rem;
}

/* Editorial Trust Card (E-E-A-T) */
.editorial-trust-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  background: rgba(13, 20, 44, 0.6);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #4ade80;
  font-size: 0.88rem;
}

.trust-badge i {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.trust-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Guide Grid Layout */
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3.5rem;
  align-items: stretch;
}

.guide-main-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 100px;
}

.guide-section h2 {
  font-size: 1.95rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
}

.guide-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
  color: #e2e8f0;
}

.guide-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* Snippet Definition Box */
.snippet-definition-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-left: 4px solid var(--accent-indigo);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.snippet-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
}

.snippet-definition-box .snippet-lead-text,
.snippet-definition-box > p:first-of-type {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: #f8fafc;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.snippet-definition-box .step-subpoints {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.snippet-definition-box .step-subpoints li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.snippet-definition-box .step-subpoints li i {
  color: #34d399;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Stat Callout Grid */
.stat-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat-card {
  background: rgba(13, 20, 44, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Guide Checklist */
.guide-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-checklist li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.guide-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-indigo);
  font-weight: 800;
  font-size: 1.1rem;
}

.guide-checklist li strong {
  color: #f8fafc;
}

/* Card Feature Grid */
.card-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.guide-info-card {
  background: rgba(13, 20, 44, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.75rem;
  transition: var(--transition-smooth);
}

.guide-info-card:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.guide-info-card h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.guide-info-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Hallucinations Breakdown */
.hallucination-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.hallucination-card {
  background: rgba(13, 20, 44, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
}

.h-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.h-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.hallucination-card h3 {
  font-size: 1.3rem;
  margin: 0;
  color: #fff;
}

.neuro-note {
  background: rgba(6, 9, 19, 0.6);
  border-left: 3px solid var(--accent-violet);
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Step Guide Protocol */
.step-guide-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.step-guide-item {
  display: flex;
  gap: 1.5rem;
  background: rgba(13, 20, 44, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.75rem;
  align-items: flex-start;
}

.step-guide-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.step-guide-body h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-guide-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.mini-list {
  margin: 0.5rem 0 0.85rem 1.25rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.mini-list li {
  margin-bottom: 0.35rem;
}

/* Prevention Grid */
.prevention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.prevention-card {
  background: rgba(13, 20, 44, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 1.5rem;
}

.prevention-card h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prevention-card h4 i {
  color: var(--accent-indigo);
}

.prevention-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* App In-Article CTA Box */
.app-feature-cta-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85), rgba(99, 102, 241, 0.25));
  border: 2px solid rgba(139, 92, 246, 0.45);
  border-radius: 28px;
  padding: 3.25rem 2.5rem;
  margin: 3.5rem 0;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(99, 102, 241, 0.25);
}

.cta-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a5b4fc;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.app-feature-cta-box h3 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.app-feature-cta-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Medical Warning Box */
.medical-warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-left: 4px solid #ef4444;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f87171;
  margin-bottom: 0.75rem;
}

.warning-header i {
  font-size: 1.2rem;
}

.warning-header h4 {
  font-size: 1.1rem;
  margin: 0;
  color: #fca5a5;
}

.medical-warning-box ul {
  margin-left: 1.25rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.medical-warning-box li {
  margin-bottom: 0.4rem;
}

/* Guide Footer Disclaimer */
.guide-footer-disclaimer {
  background: rgba(13, 20, 44, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 3rem;
}

.disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.disclaimer-inner i {
  color: var(--accent-indigo);
  font-size: 1.3rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.disclaimer-inner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Sticky Sidebar (Table of Contents + Widget) */
.guide-sidebar {
  position: relative;
}

.sticky-sidebar-container {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.toc-card {
  padding: 1.75rem;
  border-radius: 20px;
}

.toc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title i {
  color: var(--accent-indigo);
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.toc-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  border-left: 2px solid transparent;
  line-height: 1.4;
}

.toc-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-left-color: rgba(99, 102, 241, 0.5);
  padding-left: 0.75rem;
}

.toc-link.active {
  color: #c7d2fe;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.12);
  border-left-color: var(--accent-indigo);
  padding-left: 0.75rem;
}

/* Sidebar App Widget */
.sidebar-app-widget {
  padding: 1.75rem;
  border-radius: 20px;
  text-align: center;
  border-color: rgba(99, 102, 241, 0.25);
  background: linear-gradient(180deg, rgba(13, 20, 44, 0.7), rgba(99, 102, 241, 0.1));
}

.widget-logo {
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.5));
}

.sidebar-app-widget h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sidebar-app-widget p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

/* Responsive Rules for Guide */
.toc-mobile-toggle {
  display: none;
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}

.toc-mobile-toggle:hover {
  background: rgba(99, 102, 241, 0.2);
}

.toc-toggle-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--accent-indigo);
}

.toc-mobile-toggle.open .toc-toggle-chevron {
  transform: rotate(180deg);
}

/* Floating Mobile Bottom CTA Bar */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: rgba(11, 17, 37, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  z-index: 950;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-floating-bar.visible {
  transform: translateY(0);
}

.floating-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  max-width: 480px;
  margin: 0 auto;
}

.floating-bar-text {
  display: flex;
  flex-direction: column;
}

.floating-bar-text strong {
  font-size: 0.88rem;
  color: #fff;
}

.floating-bar-text span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.floating-bar-content .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .guide-sidebar {
    order: initial;
  }

  .sticky-sidebar-container {
    position: static;
  }

  .guide-title {
    font-size: clamp(2rem, 6vw, 2.75rem);
  }
}

@media (max-width: 768px) {
  .mobile-floating-bar {
    display: block;
  }

  .toc-mobile-toggle {
    display: flex;
  }

  .table-of-contents .toc-list {
    display: none;
    padding-top: 0.85rem;
  }

  .table-of-contents .toc-list.open {
    display: block;
  }

  .table-of-contents h3 {
    display: none;
  }

  .guide-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hallucination-grid,
  .prevention-grid {
    grid-template-columns: 1fr;
  }

  .step-guide-item {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .step-bear-badge {
    width: 65px;
    height: 65px;
  }

  .app-feature-cta-box {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }

  .app-feature-cta-box h3 {
    font-size: 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .faq-question {
    padding: 1.25rem 1.15rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .guide-title {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }

  .guide-lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .step-guide-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-guide-body h4 {
    font-size: 1.15rem;
  }

  .mini-list li {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   Legal & Privacy Policy Styles
   ========================================================================== */
.legal-page-header {
  padding: 3rem 0 2rem 0;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.legal-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-meta-item i {
  color: var(--accent-indigo);
}

/* Legal Highlights Grid */
.legal-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 3.5rem 0;
}

.legal-highlight-card {
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: rgba(13, 20, 44, 0.6);
  border: 1px solid var(--border-glass);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.legal-highlight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
}

.legal-highlight-card .card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.legal-highlight-card h4 {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.legal-highlight-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Policy Index Card (Top-of-page full-width index) */
.policy-index-card {
  padding: 2.25rem;
  border-radius: 22px;
  background: rgba(13, 20, 44, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  margin-bottom: 3.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.policy-index-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-index-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.policy-index-title i {
  color: var(--accent-indigo);
}

.policy-index-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.policy-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1rem;
}

.policy-index-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.policy-index-item:hover {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  padding-left: 1.2rem;
}

.policy-index-num {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: monospace;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.18);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.policy-index-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Single Column Legal Document Container */
.legal-document-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

/* Back to Index Button */
.back-to-index-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  margin-left: auto;
  transition: all 0.2s ease;
  font-weight: 500;
}

.back-to-index-pill:hover {
  color: #fff;
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Legal Content Body */
.legal-content-card {
  padding: 3rem;
  border-radius: 24px;
  margin-bottom: 2.5rem;
  background: rgba(13, 20, 44, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

.legal-section {
  margin-bottom: 3.25rem;
  scroll-margin-top: 100px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.legal-section h2 .section-num {
  color: var(--accent-indigo);
  font-size: 1.2rem;
  font-weight: 600;
}

.legal-section h3 {
  font-size: 1.22rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 1.75rem 0 0.85rem 0;
}

.legal-section h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #cbd5e1;
  margin: 1.25rem 0 0.5rem 0;
}

.legal-section p,
.legal-section li {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.legal-section p {
  margin-bottom: 1.15rem;
}

.legal-section ul,
.legal-section ol {
  margin: 0.75rem 0 1.25rem 1.4rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section strong {
  color: #ffffff;
}

/* Deletion Step Cards */
.deletion-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem 0;
}

.deletion-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.deletion-step-item:hover {
  transform: translateX(4px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.06);
}

.deletion-step-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(129, 140, 248, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deletion-step-content h4 {
  margin: 0 0 0.4rem 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.deletion-step-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Danger / Important Warning Callout */
.deletion-warning-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid #f59e0b;
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  margin: 1.75rem 0;
}

.deletion-warning-box h4 {
  color: #fcd34d;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
}

.deletion-warning-box p {
  color: #fde68a;
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}

.deletion-timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  font-weight: 600;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}


/* Callout Box within Legal */
.legal-callout {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-left: 4px solid var(--accent-indigo);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-callout-health {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 4px solid #10b981;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-callout-health h4 {
  color: #6ee7b7;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-callout h4 {
  color: #c7d2fe;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive Table */
.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: rgba(8, 12, 28, 0.6);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.legal-table th {
  background: rgba(99, 102, 241, 0.12);
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.legal-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  line-height: 1.55;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Contact Card in Legal */
.legal-contact-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(13, 20, 44, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
}

.legal-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: monospace;
  font-size: 1rem;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-copy-email {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-copy-email:hover {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
}

@media (max-width: 1024px) {
  .policy-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .policy-index-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 2rem;
  }

  .policy-index-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .policy-index-item {
    font-size: 0.88rem;
    padding: 0.65rem 0.85rem;
  }

  .legal-content-card {
    padding: 1.75rem 1.25rem;
  }
  
  .legal-section h2 {
    font-size: 1.35rem;
  }
  
  .legal-contact-box {
    padding: 1.25rem;
  }
}

/* Support Guidance Dos & Don'ts */
.support-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem 0;
}

.guidance-card {
  padding: 1.5rem 1.65rem;
  border-radius: 18px;
  background: rgba(13, 20, 44, 0.65);
  border: 1px solid var(--border-glass);
}

.guidance-card-do {
  border-left: 4px solid #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.guidance-card-dont {
  border-left: 4px solid #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.guidance-card h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guidance-card-do h4 {
  color: #6ee7b7;
}

.guidance-card-dont h4 {
  color: #fca5a5;
}

.guidance-card ul {
  margin: 0 0 0 1.25rem;
  padding: 0;
}

.guidance-card li {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.guidance-card li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .support-guidance-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Comprehensive Mobile Web Optimizations
   Targeting modern iOS, Android, and all small mobile viewports
   ========================================================================== */

/* Global Mobile Base & Touch Adjustments */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent;
}

/* Safe Area Inset Management for Notched / Island Phones */
.header-glass {
  padding-top: max(0.85rem, env(safe-area-inset-top));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.floating-mobile-bar {
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.footer {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
}

/* Ensure iOS Safari never auto-zooms inputs on focus */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="password"],
  select,
  textarea,
  .waitlist-input,
  #gateEmailInput,
  .form-input {
    font-size: 16px !important;
  }
}

/* 768px Breakpoint - Mobile Tablet & Large Phones */
@media (max-width: 768px) {
  /* Center Background Glows on Mobile to Prevent Asymmetrical Left/Right Shifts */
  .glow-blob-1 {
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: -5% !important;
    width: min(450px, 95vw) !important;
    height: min(450px, 95vw) !important;
  }

  .glow-blob-2 {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 5% !important;
    width: min(350px, 80vw) !important;
    height: min(350px, 80vw) !important;
  }

  /* Containers & Padding */
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    margin-left: auto;
    margin-right: auto;
  }

  .site-main,
  .toolkit-main {
    overflow-x: hidden;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  /* Header & Navigation */
  .nav-menu-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-drawer {
    padding-top: calc(2rem + env(safe-area-inset-top));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mobile-drawer-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    padding: 0.75rem 0;
  }

  /* Typography & Hero scaling */
  .hero {
    padding: 2.5rem 0 1.75rem !important;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.22;
  }

  .hero-subheadline {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  /* Waitlist Form Mobile */
  .waitlist-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: 20px;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .waitlist-input-wrapper {
    width: 100%;
  }

  .waitlist-input {
    width: 100%;
    min-height: 48px;
  }

  .btn-submit {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Centered Footer on Mobile */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-info {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info .logo {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 2rem;
  }

  .footer-nav-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-nav-col ul {
    align-items: center;
    justify-content: center;
  }

  .footer-nav-col a,
  .footer-nav-col button {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .footer-legal-links {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Features & Interactive Cards */
  .features-grid,
  .benefits-grid,
  .episodes-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.75rem 1.35rem;
  }

  /* Device Preview Section */
  .device-preview-wrapper {
    margin: 2.5rem auto 1.5rem;
  }

  .device-frame {
    max-width: 290px;
    border-width: 8px;
    border-radius: 36px;
  }

  /* Blog & Toolkit Specifics */
  .toolkit-hero {
    padding: 4.5rem 0.75rem 2rem;
  }

  .toolkit-hero h1 {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .routine-card {
    padding: 1.5rem 1.25rem;
  }

  .routine-step-header {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
  }

  .step-check-btn {
    min-width: 44px;
    min-height: 44px;
  }

  /* Breathing Pacer Scaling */
  .breathing-interactive-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pacer-visual-container {
    padding: 2rem 1rem;
    min-height: 280px;
  }

  .pacer-circle-outer {
    width: min(180px, 48vw);
    height: min(180px, 48vw);
  }

  .pacer-circle-inner {
    width: min(110px, 30vw);
    height: min(110px, 30vw);
  }

  .breathing-tab-btn {
    min-height: 44px;
    padding: 0.65rem 0.95rem;
    font-size: 0.88rem;
  }

  .soundscapes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .soundscape-card {
    padding: 1.25rem;
  }

  .soundscape-btn {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }

  .soundscape-yt-embed-wrapper {
    margin-top: 1rem;
    border-radius: 12px;
  }

  /* Partner Guide & Whisper Script */
  .partner-guide-box {
    padding: 1.5rem 1.25rem;
  }

  .partner-whisper-card {
    padding: 1.25rem;
  }

  .btn-copy-script {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }

  /* Accordions Touch Optimization */
  .accordion-trigger {
    min-height: 52px;
    padding: 1.15rem 1rem;
  }

  .accordion-content {
    padding: 0 1rem 1.25rem;
  }

  /* Modal Dialogs */
  .modal-dialog {
    width: 92%;
    max-width: 480px;
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    margin: auto 1rem;
    max-height: calc(100vh - 4rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-close-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 480px Breakpoint - Compact Smartphones */
@media (max-width: 480px) {
  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem;
  }

  .mascot-aura-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .mascot-avatar-img {
    width: 80px;
    height: 80px;
  }

  .disclaimer-callout {
    padding: 1rem;
    flex-direction: column;
    gap: 0.65rem;
  }

  .btn {
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .routine-step-num {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .routine-card h3 {
    font-size: 1.15rem;
  }

  .pacer-label {
    font-size: 1.1rem;
  }

  .pacer-timer {
    font-size: 1.75rem;
  }

  .unlocked-toolkit-body {
    padding: 1.35rem 1rem;
  }

  .toolkit-download-item {
    padding: 1rem 0.85rem;
  }

  .policy-index-card {
    padding: 1.25rem 0.9rem;
  }

  .legal-content-card {
    padding: 1.5rem 1rem;
  }

  .legal-section h2 {
    font-size: 1.22rem;
  }

  .contact-email-badge {
    font-size: 0.85rem;
    padding: 0.45rem 0.7rem;
    word-break: break-all;
  }

  .deletion-warning-box {
    padding: 1rem;
  }
}

/* 360px Breakpoint - Very Small Screens */
@media (max-width: 360px) {
  .logo {
    font-size: 0.92rem;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .btn {
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
  }

  .waitlist-card {
    padding: 1.5rem 0.85rem;
  }

  .device-frame {
    max-width: 250px;
  }

  .pacer-circle-outer {
    width: 150px;
    height: 150px;
  }

  .pacer-circle-inner {
    width: 90px;
    height: 90px;
  }
}

/* ==========================================================================
   BLOG HUB DIRECTORY STYLES (Cards & Featured Section)
   ========================================================================== */

.blog-hub-page {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
}

.blog-hub-main {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.blog-hub-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.blog-hub-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hub-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 640px;
}

/* Featured Card */
.blog-featured-section {
  margin-bottom: 4rem;
}

.blog-featured-card {
  border-radius: 24px;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(26, 16, 60, 0.6) 0%, rgba(10, 15, 35, 0.7) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
}

.featured-badge-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.featured-time-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.featured-card-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: center;
}

.featured-card-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.featured-card-content p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.featured-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin-bottom: 2rem;
}

.featured-highlights span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.featured-highlights i {
  color: #34d399;
  font-size: 0.85rem;
}

.featured-action-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-featured {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.featured-note {
  font-size: 0.85rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.featured-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-mascot-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(25px);
  z-index: 0;
  pointer-events: none;
}

.featured-mascot-img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  transition: transform 0.35s ease;
}

.blog-featured-card:hover .featured-mascot-img {
  transform: scale(1.04) translateY(-4px);
}

/* Section Title Row */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-title-row h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.article-count-tag {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Blog Cards Grid */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(13, 20, 44, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(124, 58, 237, 0.15);
}

.blog-card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image-wrap {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 16, 48, 0.9) 0%, rgba(10, 12, 28, 0.9) 100%);
  padding: 3.5rem 1.5rem 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 200px;
  overflow: hidden;
}

.blog-card-img {
  max-width: 125px;
  max-height: 125px;
  object-fit: contain;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.card-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-badge-interactive {
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.45);
}

.card-badge-safety {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.card-badge-practical {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.blog-card-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: #a78bfa;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more-btn {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-indigo);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card:hover .read-more-btn {
  color: #c4b5fd;
  gap: 0.65rem;
}

/* Waitlist Box */
.blog-hub-waitlist-section {
  margin-top: 3rem;
}

.blog-waitlist-box {
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18) 0%, rgba(13, 20, 44, 0.8) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.waitlist-box-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.waitlist-box-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #ffffff;
}

.waitlist-box-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.waitlist-box-cta {
  margin-top: 0.75rem;
}

/* Responsive queries for Blog Hub */
@media (max-width: 768px) {
  .featured-card-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .featured-card-visual {
    order: -1;
  }

  .blog-cards-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-card {
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================================================
   COLLAPSIBLE FAQ ACCORDIONS (HTML5 Details & Summary)
   ========================================================================== */

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.faq-details {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-details:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.faq-details[open] {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.35rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
  gap: 1rem;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  color: #c4b5fd;
}

.faq-summary-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  font-size: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
  flex-shrink: 0;
}

.faq-details[open] .faq-summary-icon {
  transform: rotate(180deg);
  background: rgba(139, 92, 246, 0.3);
  color: #ffffff;
}

.faq-content {
  padding: 0 1.35rem 1.25rem 1.35rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
  padding-top: 0.9rem;
}

.faq-content p {
  margin: 0;
}

/* Protocol Step Cards (Modern & Rich Visual Design) */
.protocol-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.75rem 0 2.5rem 0;
}

.protocol-step-card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.protocol-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.protocol-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.22);
}

.protocol-step-card:hover::before {
  opacity: 1;
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.step-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.step-pill-1 { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.4); }
.step-pill-2 { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }
.step-pill-3 { background: rgba(6, 182, 212, 0.2); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.4); }
.step-pill-4 { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.4); }
.step-pill-5 { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.4); }

.step-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.icon-box-1 { background: rgba(139, 92, 246, 0.25); color: #c084fc; }
.icon-box-2 { background: rgba(16, 185, 129, 0.25); color: #34d399; }
.icon-box-3 { background: rgba(6, 182, 212, 0.25); color: #38bdf8; }
.icon-box-4 { background: rgba(245, 158, 11, 0.25); color: #fbbf24; }
.icon-box-5 { background: rgba(99, 102, 241, 0.25); color: #818cf8; }

.step-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  flex: 1;
  min-width: 180px;
}

.step-main-rule {
  font-size: 1.08rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.45;
  margin: 0 0 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.step-main-rule i {
  margin-top: 0.22rem;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.step-sub-note {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 0 1.55rem;
}

/* Article Mascot Wrappers */
.article-mascot-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 1.75rem auto;
  padding: 1.25rem;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.article-mascot {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* Prevention Feature Cards (Cool, Rich, Low Cognitive Load) */
.prevention-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

.prevention-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: rgba(30, 27, 75, 0.35);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(14px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.prevention-card:hover {
  transform: translateX(4px);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.18);
  background: rgba(30, 27, 75, 0.55);
}

.prevention-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.prev-icon-light { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.prev-icon-water { background: rgba(6, 182, 212, 0.2); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.35); }
.prev-icon-bed   { background: rgba(139, 92, 246, 0.2); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.35); }
.icon-rose       { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.35); }
.icon-teal       { background: rgba(20, 184, 166, 0.2); color: #2dd4bf; border: 1px solid rgba(20, 184, 166, 0.35); }

.prevention-body {
  flex: 1;
}

.prevention-body h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
}

.prevention-body p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* Mobile Responsive Refinements */
@media (max-width: 600px) {
  .protocol-step-card {
    padding: 1.15rem 1.1rem;
    border-radius: 14px;
  }

  .step-card-header {
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }

  .step-card-title {
    font-size: 1.1rem;
  }

  .step-main-rule {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .step-sub-note {
    margin-left: 0;
    margin-top: 0.35rem;
    font-size: 0.85rem;
  }

  .prevention-card {
    padding: 1.1rem 1.1rem;
    gap: 0.9rem;
    border-radius: 14px;
  }

  .prevention-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .prevention-body h4 {
    font-size: 1rem;
  }

  .prevention-body p {
    font-size: 0.88rem;
  }

  .article-mascot-wrap {
    padding: 1rem;
    border-radius: 16px;
  }

  .article-mascot {
    max-width: 180px;
  }
}


