/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --dark:         #0b1d35;
  --dark2:        #0f2647;
  --accent:       #22c55e;
  --accent-dark:  #16a34a;
  --accent-light: #dcfce7;
  --light:        #f8fafc;
  --light2:       #f1f5f9;
  --border:       #e2e8f0;
  --text:         #1e293b;
  --muted:        #64748b;
  --white:        #ffffff;
  --radius:       16px;
  --radius-sm:    10px;
  --max-article:  760px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.15;
  color: var(--dark);
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(11,29,53,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

nav {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 24px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--dark) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
  padding: 100px 0 0;
  background: var(--dark);
}
.breadcrumb-inner {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 16px 28px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb-inner a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb-inner .sep { opacity: 0.4; }
.breadcrumb-inner .current { color: rgba(255,255,255,0.8); }

/* ── ARTICLE HERO ──────────────────────────────────────────── */
.article-hero {
  background: var(--dark);
  padding: 32px 0 56px;
}
.article-hero-inner {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 28px;
}
.article-category {
  display: inline-block;
  background: rgba(34,197,94,0.15);
  color: var(--accent);
  border: 1px solid rgba(34,197,94,0.3);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.article-hero .article-intro {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 640px;
}
.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* ── ARTICLE BODY ──────────────────────────────────────────── */
.article-body {
  background: var(--white);
  padding: 56px 0 80px;
}
.article-content {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 28px;
}

.article-content p {
  margin-bottom: 1.5em;
  font-size: 1.025rem;
  line-height: 1.8;
  color: var(--text);
}
.article-content p:last-child { margin-bottom: 0; }

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5em 0 0.75em;
  color: var(--dark);
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2em 0 0.6em;
  color: var(--dark);
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5em 1.5em;
  line-height: 1.8;
}
.article-content li { margin-bottom: 0.5em; font-size: 1.025rem; }

.article-content strong { color: var(--dark); font-weight: 600; }

.article-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Callout box */
.callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 2em 0;
}
.callout p { margin: 0; font-size: 0.975rem; color: #14532d; }
.callout strong { color: #14532d; }

/* Stat callout */
.stat-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 2em 0;
  text-align: center;
}
.stat-box .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-box .stat-label {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ── FAQ SECTION ───────────────────────────────────────────── */
.faq-section {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.faq-inner {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 28px;
}
.faq-inner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 36px;
  color: var(--dark);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-question {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.faq-answer {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-answer a { color: var(--accent-dark); }

/* ── CTA SECTION ───────────────────────────────────────────── */
.article-cta {
  background: var(--dark);
  padding: 64px 0;
}
.article-cta-inner {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.article-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.article-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  margin-left: 12px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
.cta-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── RELATED ARTICLES ──────────────────────────────────────── */
.related {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.related-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
.related h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--dark);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none !important;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.related-card .tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-dark);
  margin-bottom: 10px;
  display: block;
}
.related-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 8px;
}
.related-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: #060e1c;
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; font-size: 1.3rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; max-width: 240px; }
footer h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 100;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── INDEX PAGE ────────────────────────────────────────────── */
.guides-hero {
  background: var(--dark);
  padding: 120px 0 64px;
  text-align: center;
}
.guides-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.guides-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.guides-filter {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 68px;
  z-index: 100;
}
.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.pill {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}
.pill:hover,
.pill.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.pill.active { background: var(--dark); color: var(--white); }

.guides-grid-section {
  padding: 56px 0 80px;
  background: var(--white);
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(34,197,94,0.1);
  transform: translateY(-3px);
}
.guide-card .card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-dark);
  margin-bottom: 12px;
  display: block;
}
.guide-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 10px;
}
.guide-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.guide-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.card-arrow {
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 700;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--dark);
    padding: 24px 28px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .btn-ghost { margin-left: 0; margin-top: 12px; display: block; text-align: center; }
  .article-hero h1 { font-size: 1.75rem; }
}

/* ── AUTHOR LINK (in article-meta) ────────────────────────── */
.article-meta .author-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.article-meta .author-link:hover { text-decoration: underline; }

/* ── FEATURE IMAGE (below hero, above article body) ─────────── */
.article-feature-img {
  background: var(--dark);
  padding: 0 28px 52px;
}
.article-feature-img img {
  max-width: var(--max-article);
  width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 420px;
}

/* ── AUTHOR PAGE ─────────────────────────────────────────────── */
.author-hero {
  background: var(--dark);
  padding: 120px 0 64px;
}
.author-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.author-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 2px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.author-hero-text .author-name {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.author-hero-text .author-title {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.author-hero-text .author-company {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}
.author-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}
.author-body p {
  font-size: 1.025rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5em;
}
.author-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2.5em 0 0.75em;
}
.author-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.author-article-link {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.author-article-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 640px) {
  .author-hero-inner { flex-direction: column; gap: 20px; }
  .author-articles-grid { grid-template-columns: 1fr; }
}

/* ── FADE UP ANIMATION ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
