/* ================================================================
   ANXIETYMANAGEMENTTEST.COM — Landing Page & Footer Styles
   ================================================================ */

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

body {
  font-family: 'Inter', sans-serif;
  background: #BCC6B5;
  color: #0f172a;
  line-height: 1.6;
}

a { color: #4f46e5; text-decoration: none; }
a:hover { opacity: 0.85; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(172, 186, 164, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(80,100,72,0.20);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-inner img { height: 34px; width: auto; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #a855f7 100%);
  padding: 72px 24px 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero h1 span {
  color: #a5f3fc;
}
.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #4f46e5;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.24);
  opacity: 1;
  color: #4338ca;
}
.cta-btn:active { transform: translateY(0); }

/* ── Page container ── */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Content card ── */
.content-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 44px;
  margin-top: 48px;
  box-shadow: 0 1px 3px rgba(50,70,44,0.07), 0 4px 18px rgba(50,70,44,0.10);
  border: 1px solid rgba(80,100,72,0.10);
}
@media (max-width: 640px) {
  .content-card { padding: 28px 20px; }
}

.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  margin-top: 32px;
}
.content-card h2:first-child { margin-top: 0; }
.content-card p {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.content-card ul li {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.content-card ul li::before {
  content: '•';
  color: #4f46e5;
  font-weight: 700;
  position: absolute;
  left: 0;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.related-links a {
  display: inline-block;
  background: #f1f5f9;
  color: #4f46e5;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.15s;
}
.related-links a:hover { background: #e0e7ff; opacity: 1; }

/* ── CTA section inside page ── */
.cta-section {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  margin-top: 48px;
  color: #fff;
}
.cta-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff !important;
}
.cta-section p {
  color: rgba(255,255,255,0.88) !important;
  margin-bottom: 24px;
}

/* ── FAQ ── */
.faq-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  margin-top: 32px;
  box-shadow: 0 1px 3px rgba(50,70,44,0.07), 0 4px 18px rgba(50,70,44,0.10);
  border: 1px solid rgba(80,100,72,0.10);
}
@media (max-width: 640px) {
  .faq-card { padding: 24px 20px; }
}
.faq-card h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: 0 2px 8px rgba(79,70,229,0.10); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s, background 0.2s;
  user-select: none;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #7c3aed;
}
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.75;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.faq-item.open .faq-answer { display: block; }

/* ── Medical disclaimer ── */
.disclaimer-box {
  background: #fefce8;
  border-left: 4px solid #eab308;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-top: 32px;
  font-size: 0.875rem;
  color: #713f12;
  line-height: 1.7;
}
.disclaimer-box strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a16207;
  margin-bottom: 4px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #eef0eb;
  border-top: 1px solid #d4d8ce;
  padding: 48px 24px 0;
  margin-top: 0;
}

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

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 36px;
}
@media (max-width: 900px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}
@media (max-width: 767px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-col { text-align: center; }
  .footer-col h3 { text-align: center; }
  .footer-col ul li { text-align: center; }
}

.footer-col h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
  color: #374151;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover {
  color: #1f2937;
  text-decoration: underline;
  opacity: 1;
}

.footer-disclaimer {
  border-top: 1px solid #c8ccbf;
  border-bottom: 1px solid #c8ccbf;
  padding: 20px 0;
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.footer-bottom-links a {
  font-size: 0.875rem;
  color: #374151;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
  padding: 0 14px;
}
.footer-bottom-links a:hover { color: #1f2937; opacity: 1; }
.footer-bottom-links .sep {
  color: #9ca3af;
  font-size: 0.875rem;
  pointer-events: none;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: center;
}

/* ── Related Tests ── */
.related-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.related-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  border-radius: 10px;
  color: #4f46e5;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.related-link:hover {
  background: #ede9fe;
  transform: translateY(-1px);
}
.related-link span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #7c3aed;
  white-space: nowrap;
  margin-left: 8px;
}
@media (max-width: 767px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { padding: 24px 20px; }
}
