/* ============================================================
   Approach Coach — Shared Article CSS
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.12) 0%, transparent 28%),
    radial-gradient(circle at top right, rgba(63, 81, 181, 0.18) 0%, transparent 34%),
    linear-gradient(180deg, #eef2ff 0%, #f7f9ff 34%, #ffffff 100%);
  color: #20304a;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Header Bar
   ============================================================ */

.article-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(26, 35, 126, 0.08);
  box-shadow: 0 8px 32px rgba(26, 35, 126, 0.06);
}

.article-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a237e;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.article-logo img { width: 32px; height: 32px; }
.article-logo:hover { opacity: 0.85; }

/* ============================================================
   Hamburger Menu
   ============================================================ */

.hamburger-menu { position: relative; z-index: 2000; }

.hamburger-toggle {
  background: rgba(26, 35, 126, 0.05);
  border: 1px solid rgba(26, 35, 126, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.hamburger-toggle:hover { background: rgba(26, 35, 126, 0.1); }

.hamburger-line {
  width: 16px;
  height: 2px;
  background: rgba(26, 35, 126, 0.88);
  border-radius: 1px;
}

.hamburger-nav {
  position: absolute;
  top: 46px;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(26, 35, 126, 0.1);
  box-shadow: 0 18px 44px rgba(26, 35, 126, 0.16);
  border-radius: 12px;
  min-width: 170px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.hamburger-nav[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hamburger-nav ul { list-style: none; }

.hamburger-nav a {
  display: block;
  color: #24324b;
  text-decoration: none;
  padding: 10px 16px;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}

.hamburger-nav a:hover {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
}

/* ============================================================
   Article Hero — full-width dark gradient with white text
   ============================================================ */

.article-hero-banner {
  background: transparent;
  padding: 40px 24px 18px;
  position: relative;
  overflow: hidden;
}

.article-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 107, 53, 0.16) 0%, transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(63, 81, 181, 0.2) 0%, transparent 30%);
  pointer-events: none;
}

.article-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(145deg, rgba(26, 35, 126, 0.96) 0%, rgba(40, 53, 147, 0.94) 60%, rgba(63, 81, 181, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 30px 30px 28px;
  box-shadow: 0 26px 80px rgba(26, 35, 126, 0.28);
  overflow: hidden;
}

.article-hero-inner::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.article-crumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  margin-bottom: 18px;
}

.article-crumbs a {
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  transition: color 0.15s;
}

.article-crumbs a:hover { color: #ff6b35; }
.article-crumbs .sep { margin: 0 6px; }

.article-eyebrow {
  display: inline-block;
  background: rgba(255,107,53,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffb18f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.article-hero-banner h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.article-hero-banner .subheadline {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.76);
  line-height: 1.68;
  margin-bottom: 20px;
  max-width: 620px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.52);
}

.article-meta .dot { color: rgba(255,255,255,0.24); }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

/* ============================================================
   Article Body — white card on tinted background
   ============================================================ */

.article-body {
  background: transparent;
  padding: 10px 24px 88px;
}

.article-container {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 34px 34px 40px;
  box-shadow: 0 24px 80px rgba(26, 35, 126, 0.12);
  border: 1px solid rgba(109, 125, 255, 0.12);
}

/* ============================================================
   Article Content Typography
   ============================================================ */

.article-content > p:first-child {
  font-size: 1.12rem;
  color: #24324b;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.4rem;
  color: #42526b;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a237e;
  margin-top: 2.6rem;
  margin-bottom: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding-bottom: 0;
}

.article-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #172554;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-content ul, .article-content ol {
  margin: 0 0 1.4rem 0;
  padding: 0;
  list-style: none;
}

.article-content ul li {
  padding: 10px 14px 10px 40px;
  position: relative;
  color: #42526b;
  margin-bottom: 8px;
  background: rgba(244, 247, 255, 0.76);
  border-radius: 14px;
  border: 1px solid rgba(109, 125, 255, 0.1);
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a50 100%);
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.12);
}

.article-content ol {
  counter-reset: steps;
  margin: 0 0 1.4rem 0;
}

.article-content ol li {
  counter-increment: steps;
  padding: 12px 14px 12px 52px;
  position: relative;
  color: #42526b;
  margin-bottom: 8px;
  background: rgba(244, 247, 255, 0.82);
  border-radius: 14px;
  border: 1px solid rgba(109, 125, 255, 0.1);
}

.article-content ol li::before {
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-content li strong {
  color: #1a237e;
}

.article-content a {
  color: #ff6b35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}

.article-content a:hover { opacity: 0.75; }

/* Pull Quote */
.pull-quote {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  padding: 28px 30px;
  margin: 2.5rem 0;
  border-radius: 24px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(26, 35, 126, 0.2);
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 22px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255,107,53,0.26);
}

.pull-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0 !important;
  line-height: 1.7;
  position: relative;
}

/* Feature items — proper cards */
.feature-item {
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.9) 0%, rgba(240, 244, 255, 0.82) 100%);
  border: 1px solid rgba(109, 125, 255, 0.12);
  border-left: 4px solid #ff6b35;
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 14px;
  transition: transform 0.2s, border-left-color 0.2s, box-shadow 0.2s;
}

.feature-item:hover {
  border-left-color: #1a237e;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(26, 35, 126, 0.1);
}

/* ============================================================
   Inline CTA Block
   ============================================================ */

.article-cta {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: #fff;
  border-radius: 26px;
  padding: 36px 34px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 35, 126, 0.22);
}

.article-cta::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.article-cta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
  font-size: 1rem;
}

.article-cta .cta-button {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  text-decoration: none;
  padding: 14px 38px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
  position: relative;
}

.article-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.55);
}

/* ============================================================
   FAQ Section
   ============================================================ */

.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(109, 125, 255, 0.14);
}

.faq-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 1.5rem;
  border-bottom: none;
  margin-top: 0;
  padding-bottom: 0;
}

.faq-item {
  background: rgba(247, 249, 255, 0.84);
  border: 1px solid rgba(109, 125, 255, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 10px;
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #172554;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.9rem;
  color: #4a596f;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   Related Articles Strip
   ============================================================ */

.related-articles {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  border-radius: 24px;
  padding: 28px;
  margin-top: 3rem;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 20px 48px rgba(26, 35, 126, 0.2);
}

.related-articles h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
  margin-bottom: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.related-articles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.related-articles li a {
  display: block;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.related-articles li a:hover {
  background: rgba(255,107,53,0.18);
  color: #fff;
  border-color: rgba(255,107,53,0.4);
}

/* ============================================================
   Article Footer
   ============================================================ */

.article-footer {
  background: #1a237e;
  border-top: none;
  padding: 32px 24px;
  text-align: center;
  margin-top: 0;
}

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

.article-footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}

.article-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
}

.article-footer .footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.article-footer .footer-links a:hover { color: #ff6b35; }

.article-content,
.faq-section {
  max-width: 100%;
}

/* ============================================================
   Hub Page Styles
   ============================================================ */

.hub-hero {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  padding: 64px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hub-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hub-hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
}

.hub-hero h1 .highlight { color: #ff6b35; }

.hub-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}

.hub-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.hub-card {
  background: #fff;
  border: 1px solid #dde0f0;
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(26,35,126,0.06);
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 35, 126, 0.14);
}

.hub-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff6b35;
  margin-bottom: 10px;
}

.hub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.hub-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 35, 126, 0.06);
  border: 1px solid rgba(26, 35, 126, 0.08);
  color: #4d5b7a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.hub-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 10px;
  line-height: 1.35;
}

.hub-card p {
  font-size: 0.87rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 0;
}

.hub-card .hub-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #ff6b35;
  margin-top: 14px;
  margin-bottom: 0;
}

.hub-cta {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.hub-cta::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hub-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.hub-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.hub-cta .cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a50 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
  position: relative;
}

.hub-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.55);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  html { font-size: 17px; }
  .article-container { padding: 26px 22px 34px; border-radius: 24px; }
  .article-hero-banner { padding: 30px 20px 14px; }
  .article-hero-inner { padding: 24px 22px 22px; border-radius: 22px; }
  .article-content h2 { font-size: 1.3rem; }
  .pull-quote { padding: 22px 24px; }
  .article-cta { padding: 28px 22px; }
  .related-articles ul { grid-template-columns: 1fr 1fr; }
  .hub-body { padding: 36px 18px 60px; }
}

@media (max-width: 560px) {
  .article-header { height: 56px; padding: 0 16px; }
  .article-logo { font-size: 1rem; }
  .article-logo img { width: 26px; height: 26px; }
  .article-body { padding: 20px 14px 60px; }
  .article-container { padding: 22px 16px 30px; border-radius: 20px; }
  .article-hero-inner { padding: 22px 18px 20px; border-radius: 20px; }
  .article-meta { flex-wrap: wrap; }
  .article-tags { gap: 8px; }
  .article-tag { font-size: 11px; padding: 6px 10px; }
  .article-cta h3 { font-size: 1.2rem; }
  .related-articles ul { grid-template-columns: 1fr; }
  .hub-cta { padding: 28px 18px; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card-tags { gap: 6px; }
  .hub-card-tag { font-size: 10px; }
}
