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

:root {
  --bg: #0f1117;
  --bg-card: #1a1c25;
  --bg-card-hover: #22242e;
  --bg-highlight: #252836;
  --text: #e4e4e7;
  --text-muted: #9ca3af;
  --text-heading: #ffffff;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --danger: #ef4444;
  --danger-muted: #dc2626;
  --warning: #f59e0b;
  --success: #22c55e;
  --border: #2d2f3a;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --content-width: 800px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.3;
  font-weight: 700;
}

/* ===== HEADER & NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links { display: flex; gap: 8px; list-style: none; }

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-heading);
  background: var(--bg-highlight);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-accent {
  color: var(--danger);
}

/* ===== SECTION LAYOUT ===== */
.section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* ===== CONCERN CARDS (homepage) ===== */
.concern-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.concern-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.concern-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.concern-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--danger);
}

.concern-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CTA BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: var(--danger-muted);
  color: white;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-serif);
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-card .attribution {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonial-card .attribution a {
  color: var(--accent-light);
  font-weight: 500;
}

/* ===== ARTICLE / CONTENT PAGES ===== */
.page-hero {
  text-align: center;
  padding: 80px 24px 48px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  max-width: var(--content-width);
  margin: 0 auto;
}

.page-hero .page-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.1rem;
}

.content-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.content-section h2 {
  font-size: 1.75rem;
  margin: 48px 0 16px;
  padding-top: 16px;
  letter-spacing: -0.01em;
}

.content-section h2:first-child { margin-top: 0; }

.content-section h3 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
}

.content-section h4 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

.content-section p {
  margin-bottom: 18px;
  color: var(--text);
}

.content-section ul, .content-section ol {
  margin: 12px 0 24px 24px;
  color: var(--text);
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-section blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text);
}

.content-section blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===== CALLOUT BOX ===== */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}

.callout.callout-warning {
  border-left: 4px solid var(--warning);
}

.callout.callout-danger {
  border-left: 4px solid var(--danger);
}

.callout.callout-info {
  border-left: 4px solid var(--accent);
}

.callout h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.callout p { margin-bottom: 0; }

/* ===== DATA TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.92rem;
}

.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-highlight);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td { color: var(--text); }

.data-table tr:hover td { background: rgba(99, 102, 241, 0.04); }

/* ===== DID YOU KNOW ===== */
.did-you-know {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(239, 68, 68, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}

.did-you-know .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: 12px;
}

.did-you-know p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-heading);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== KEY POINTS ===== */
.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.key-point {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.key-point h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text-heading);
}

.key-point p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

/* ===== NEWS CARDS ===== */
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.news-card:hover { border-color: var(--accent); }

.news-card .source {
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== BLOG LIST ===== */
.blog-list { display: flex; flex-direction: column; gap: 20px; }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
  display: block;
}

.blog-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.blog-card .read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* ===== CONTACT FORM ===== */
.contact-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-box .email-link {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* ===== SCRIPT BOXES ===== */
.script-box {
  background: var(--bg-highlight);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 16px 0;
  font-style: italic;
  color: var(--text);
  position: relative;
}

.script-box .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  font-style: normal;
  margin-bottom: 8px;
}

/* ===== MANTRA LIST ===== */
.mantra-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mantra-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-heading);
  text-align: center;
}

/* ===== STEPS ===== */
.steps { counter-reset: step; margin: 32px 0; }

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 28px 80px;
  margin-bottom: 16px;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
  margin-top: 80px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-heading); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s;
  z-index: 50;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .mobile-menu-btn { display: block; }

  .hero { padding: 60px 20px 48px; }
  .section { padding: 48px 20px; }
  .content-section { padding: 40px 20px; }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .concern-cards {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step { padding-left: 72px; }

  .did-you-know { padding: 28px 20px; }
  .did-you-know p { font-size: 1.05rem; }

  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .concern-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-grid { grid-template-columns: 1fr; }
}
