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

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #060a12;
  --bg-soft: #0d1522;
  --surface: rgba(14, 23, 36, 0.84);
  --surface-2: rgba(19, 31, 48, 0.92);
  --panel: rgba(245, 248, 255, 0.86);
  --panel-border: rgba(255, 255, 255, 0.28);
  --text: #eef4ff;
  --text-muted: #9fb0c8;
  --body: #1f2937;
  --body-soft: #516174;
  --accent: #7dd3fc;
  --accent-2: #cbd5e1;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(180deg, #09101a 0%, #060a12 34%, #0a111c 100%);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
}

/* ===== TOP BAR ===== */
.ad-disclosure {
  background: linear-gradient(90deg, rgba(226,232,240,0.7), rgba(125,211,252,0.25), rgba(226,232,240,0.7));
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.74rem;
  color: #dbe7f8;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(7, 12, 20, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 800;
  font-size: 1.34rem;
  color: #f8fbff;
  letter-spacing: -0.04em;
}

.logo-accent {
  color: var(--accent);
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brandmark img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 16px rgba(125,211,252,0.18));
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-nav a,
.header-nav button {
  font-size: 0.88rem;
  font-weight: 500;
  color: #c4d2e7;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header-nav a:hover,
.header-nav button:hover {
  color: #ffffff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 24px 80px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle at 78% 0%, rgba(125,211,252,0.18), transparent 22%),
    linear-gradient(145deg, rgba(20,28,42,0.98), rgba(8,13,21,0.98) 55%, rgba(16,28,44,0.98));
}

.hero::before,
.cta-section::before,
.about-hero::before {
  content: '';
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(125,211,252,0.08) 34%, transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}

.hero::before {
  top: -220px;
  left: calc(50% - 260px);
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ffffff 0%, #e6eefb 42%, #9ddfff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(233, 242, 255, 0.78);
  font-size: 1.08rem;
}

/* ===== FEATURE IMAGE ===== */
.featured-image {
  max-width: 920px;
  margin: -38px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.featured-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.18);
}

/* ===== MAIN ===== */
.main-content,
.policy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 52px 24px 72px;
}

/* ===== GLASS PANELS ===== */
.article-section,
.faq-section,
.policy-content,
.contact-card {
  background: linear-gradient(180deg, rgba(248,251,255,0.92), rgba(238,244,252,0.88));
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: var(--shadow);
  border-radius: 22px;
  color: var(--body);
}

.article-section,
.faq-section {
  padding: 38px 42px;
  margin-bottom: 28px;
}

.article-section h2,
.faq-section h2,
.policy-page h1,
.about-hero h1,
.cta-section h3 {
  font-family: 'Playfair Display', serif;
}

.article-section h2,
.faq-section h2 {
  font-size: 1.72rem;
  color: #08101b;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.article-section h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f1b2d;
  margin-bottom: 16px;
}

.article-section p,
.policy-content p,
.policy-content li,
.faq-item p,
.contact-card p {
  color: var(--body-soft);
  font-size: 1rem;
}

.article-section p {
  margin-bottom: 16px;
}

.article-section p:last-child,
.faq-item:last-child p:last-child {
  margin-bottom: 0;
}

/* ===== DISCLOSURE ===== */
.affiliate-notice {
  background: linear-gradient(135deg, rgba(125,211,252,0.16), rgba(255,255,255,0.12));
  border: 1px solid rgba(125,211,252,0.32);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: #dbeafe;
  line-height: 1.65;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.affiliate-notice strong {
  color: #f8fbff;
}

/* ===== TRANSCRIPT ===== */
.transcript-section .dialog-block {
  margin-bottom: 18px;
}

.transcript-section .speaker {
  font-weight: 800;
  color: #0f5481;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.transcript-section .statement {
  color: var(--body);
  line-height: 1.75;
  padding-left: 16px;
  border-left: 3px solid rgba(14,165,233,0.45);
}

.transcript-section .reaction {
  font-style: italic;
  color: #155e75;
  font-size: 0.9rem;
  margin: 14px 0 18px;
  padding: 10px 14px;
  background: rgba(224,242,254,0.52);
  border-radius: 12px;
  border: 1px solid rgba(125,211,252,0.34);
}

/* ===== HIGHLIGHT ===== */
.highlight-card {
  background:
    linear-gradient(145deg, rgba(243,248,255,0.18), rgba(125,211,252,0.12)),
    linear-gradient(145deg, rgba(17, 29, 45, 0.96), rgba(8, 14, 24, 0.96));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 38px 42px;
  margin-bottom: 28px;
  color: #f8fbff;
  position: relative;
  overflow: hidden;
}

.highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent 34%);
  pointer-events: none;
}

.highlight-card h3 {
  font-size: 1.34rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.benefits-list {
  display: grid;
  gap: 12px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #d4deed;
  line-height: 1.62;
}

.benefits-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  margin-top: 2px;
  background: linear-gradient(180deg, #f8fbff, #7dd3fc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 18px rgba(125,211,252,0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2308161f'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.step-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(238,244,252,0.74));
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow: 0 14px 36px rgba(6,10,18,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(6,10,18,0.18);
}

.step-number,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #f8fbff, #7dd3fc);
  color: #07111a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 10px 25px rgba(125,211,252,0.28);
  font-size: 1.08rem;
  font-weight: 800;
}

.step-card h4,
.faq-item h4,
.contact-card h3,
.policy-content h2,
.policy-content h3 {
  color: #08111d;
}

.step-card h4 {
  font-size: 0.97rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.9rem;
  color: #66778c;
  line-height: 1.55;
}

/* ===== FAQ ===== */
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(148,163,184,0.2);
}

.faq-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item:first-of-type {
  padding-top: 0;
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 48px 36px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255,255,255,0.18), transparent 45%),
    linear-gradient(145deg, rgba(20,32,49,0.96), rgba(8,14,24,0.98));
  border-radius: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.cta-section::before,
.about-hero::before {
  top: -240px;
  right: -80px;
}

.cta-section h3 {
  font-size: 1.62rem;
  color: #f8fbff;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
}

.cta-section p {
  color: rgba(232,240,252,0.72);
  margin-bottom: 24px;
  font-size: 0.98rem;
  position: relative;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #f8fbff 0%, #dbeafe 22%, #7dd3fc 100%);
  color: #07111a;
  padding: 14px 44px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 14px 30px rgba(125,211,252,0.32), inset 0 1px 0 rgba(255,255,255,0.98);
  position: relative;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(125,211,252,0.42), inset 0 1px 0 rgba(255,255,255,0.98);
  filter: brightness(1.02);
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(5, 8, 14, 0.92);
  color: #b6c6da;
  padding: 52px 24px 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  color: #f8fbff;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.72;
  max-width: 320px;
  color: #8fa2b8;
}

.footer-links h5 {
  color: #e7eef9;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 14px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-links button {
  font-size: 0.92rem;
  color: #95a7bb;
  transition: color 0.2s ease;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover,
.header-nav button:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #74859a;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== POLICY / ABOUT / CONTACT ===== */
.policy-page h1 {
  font-size: 2rem;
  color: #f8fbff;
  margin-bottom: 8px;
}

.policy-meta {
  color: #9eb0c5;
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.policy-content {
  padding: 44px;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(148,163,184,0.18);
}

.policy-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.policy-content ul,
.policy-content ol {
  margin: 12px 0 12px 22px;
  list-style: disc;
}

.policy-content ol {
  list-style: decimal;
}

.policy-content a,
.contact-card a {
  color: #0c6a99;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-content a:hover,
.contact-card a:hover {
  color: #075985;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.contact-card {
  padding: 28px;
}

.contact-icon {
  font-size: 1.3rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.16), transparent 18%),
    linear-gradient(145deg, rgba(17,29,45,0.98), rgba(8,14,24,0.98));
  color: #fff;
  padding: 54px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
}

.about-hero h1 {
  font-size: 2.3rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.about-hero p {
  color: rgba(233,242,255,0.74);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== MODALS ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 980px);
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(240,246,255,0.95), rgba(229,237,248,0.92));
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(145deg, rgba(20,32,49,0.98), rgba(8,14,24,0.98));
  color: #fff;
}

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.38rem;
  margin: 0;
}

.modal-close {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  max-height: calc(88vh - 76px);
  overflow: auto;
  padding: 24px;
}

.modal-link {
  cursor: pointer;
}

.contact-grid.modal-contact {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 58px 20px 60px;
  }

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

  .article-section,
  .faq-section,
  .policy-content,
  .highlight-card {
    padding: 24px;
    border-radius: 18px;
  }

  .steps-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top {
    gap: 28px;
  }

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

  .header-nav {
    display: none;
  }

  .cta-section {
    padding: 34px 20px;
  }

  .modal {
    padding: 12px;
  }

  .modal-body {
    padding: 16px;
  }

  .brandmark img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.66rem;
  }

  .hero p,
  .about-hero p {
    font-size: 0.96rem;
  }

  .article-section h2,
  .faq-section h2 {
    font-size: 1.34rem;
  }

  .policy-page h1,
  .about-hero h1 {
    font-size: 1.7rem;
  }
}
