/* ==============================================
   DADUNATION.CSS — Global Stylesheet
   https://agendadunation.com
   ============================================== */

:root {
  --gold: #f0c040;
  --dark: #0a0a1a;
  --darker: #050510;
  --card-bg: #111128;
  --text: #e8e8f0;
  --muted: #9090a8;
  --accent: #7c3aed;
  --accent2: #db2777;
  --green: #22c55e;
  --red: #ef4444;
  --orange: #ff9a3c;
  --radius: 12px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--darker); color: var(--text); line-height: 1.75; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); font-weight: 700; }
ul, ol { padding-left: 20px; }

/* ── HEADER ── */
header { background: linear-gradient(135deg, #0d0d2b 0%, #1a0533 100%); border-bottom: 2px solid var(--gold); position: sticky; top: 0; z-index: 999; }
.nav-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.75rem; font-weight: 900; background: linear-gradient(90deg, var(--gold), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 1px; text-decoration: none !important; }
nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
nav ul li a { color: var(--text); padding: 8px 14px; border-radius: 8px; font-size: .875rem; font-weight: 500; transition: background .2s, color .2s; display: block; }
nav ul li a:hover, nav ul li a.active { background: rgba(240,192,64,.14); color: var(--gold); text-decoration: none; }
.nav-cta { background: linear-gradient(135deg, var(--accent), var(--accent2)) !important; color: #fff !important; padding: 9px 20px !important; border-radius: 25px !important; font-weight: 700 !important; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--card-bg); padding: 11px 20px; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.breadcrumb-wrap { max-width: 1200px; margin: 0 auto; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); text-decoration: none; }
.breadcrumb .sep { color: var(--gold); margin: 0 8px; }
.breadcrumb .current { color: var(--text); }

/* ── BUTTONS ── */
.btn-primary { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--orange)); color: #000 !important; padding: 14px 36px; border-radius: 30px; font-size: 1rem; font-weight: 800; transition: transform .2s, box-shadow .2s; box-shadow: 0 0 28px rgba(240,192,64,.35); text-decoration: none !important; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(240,192,64,.6); }
.btn-secondary { display: inline-block; background: transparent; border: 2px solid var(--gold); color: var(--gold) !important; padding: 12px 32px; border-radius: 30px; font-size: 1rem; font-weight: 700; transition: background .2s; text-decoration: none !important; }
.btn-secondary:hover { background: rgba(240,192,64,.1); }
.btn-sm { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--orange)); color: #000 !important; padding: 8px 20px; border-radius: 8px; font-size: .82rem; font-weight: 700; text-decoration: none !important; transition: transform .15s; }
.btn-sm:hover { transform: translateY(-1px); }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.25; }
.section-title h2 span { color: var(--gold); }
.section-title p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: .95rem; }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.card { background: var(--card-bg); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, #0d0d2b 0%, #1a0533 50%, #0a1a0a 100%); padding: 60px 20px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; background: linear-gradient(90deg, #fff 30%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; line-height: 1.2; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto 24px; }

/* ── ARTICLE HERO ── */
.article-hero { background: linear-gradient(135deg, #0d0d2b 0%, #1a0533 50%, #0a1a0a 100%); padding: 50px 20px; border-bottom: 1px solid rgba(240,192,64,.12); }
.article-hero .container { max-width: 940px; }
.category-badge { display: inline-block; background: rgba(240,192,64,.14); border: 1px solid rgba(240,192,64,.5); color: var(--gold); padding: 4px 14px; border-radius: 14px; font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.article-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 14px; }
.article-hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: .82rem; color: var(--muted); margin-top: 16px; flex-wrap: wrap; }
.article-meta .tag { background: rgba(124,58,237,.2); border: 1px solid rgba(124,58,237,.4); color: #c4b5fd; padding: 3px 10px; border-radius: 10px; font-size: .72rem; }

/* ── ARTICLE LAYOUT ── */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; padding: 52px 0; }
.article-content { min-width: 0; }

/* ── ARTICLE BODY ── */
.article-body { font-size: .96rem; line-height: 1.85; }
.article-body h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.article-body h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 28px 0 12px; }
.article-body h4 { font-size: 1.02rem; font-weight: 700; color: var(--gold); margin: 22px 0 8px; }
.article-body h5 { font-size: .9rem; font-weight: 600; color: var(--muted); margin: 16px 0 6px; text-transform: uppercase; letter-spacing: .5px; }
.article-body p { color: var(--muted); margin-bottom: 14px; }
.article-body ul, .article-body ol { margin-bottom: 16px; padding-left: 22px; }
.article-body ul li, .article-body ol li { color: var(--muted); margin-bottom: 7px; }
.article-body a { color: var(--gold); font-weight: 500; }
.article-body strong { color: var(--text); }
.article-body .info-box { background: rgba(240,192,64,.06); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 22px 0; }
.article-body .info-box p { margin: 0; color: var(--text); font-size: .9rem; }
.article-body .warn-box { background: rgba(239,68,68,.06); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 22px 0; }
.article-body .warn-box p { margin: 0; color: #fca5a5; font-size: .9rem; }
.article-body .tip-box { background: rgba(34,197,94,.06); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 22px 0; }
.article-body .tip-box p { margin: 0; color: #86efac; font-size: .9rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-body table th { background: rgba(240,192,64,.12); color: var(--gold); padding: 12px 14px; text-align: left; font-size: .82rem; border-bottom: 2px solid rgba(240,192,64,.25); }
.article-body table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--muted); font-size: .875rem; }
.article-body table tr:hover td { background: rgba(255,255,255,.02); }

/* ── STEPS ── */
.steps { list-style: none; padding: 0; counter-reset: step; margin: 20px 0; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 28px 58px; border-left: 2px solid rgba(124,58,237,.25); margin-left: 18px; }
.steps li:last-child { border-left: 2px solid transparent; padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: -20px; top: 0; width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: #fff; }
.steps li h4 { color: #fff; font-size: .98rem; margin: 0 0 6px; font-weight: 700; }
.steps li p { color: var(--muted); font-size: .875rem; margin: 0; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: var(--card-bg); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.sidebar-widget h3 { font-size: .82rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li { border-bottom: 1px solid rgba(255,255,255,.05); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links li a { display: block; padding: 9px 0; font-size: .855rem; color: var(--muted); transition: color .2s; line-height: 1.4; }
.sidebar-links li a:hover { color: var(--gold); text-decoration: none; }
.sidebar-cta { background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(219,39,119,.28)); border: 1px solid rgba(124,58,237,.4); border-radius: var(--radius); padding: 22px; text-align: center; margin-bottom: 18px; }
.sidebar-cta h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.sidebar-cta p { color: var(--muted); font-size: .82rem; margin-bottom: 14px; }

/* ── FAQ ── */
.faq-item { background: var(--card-bg); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 18px 22px; font-weight: 600; color: #fff; cursor: default; display: flex; justify-content: space-between; align-items: center; font-size: .93rem; }
.faq-q::after { content: '›'; color: var(--gold); font-size: 1.3rem; margin-left: 10px; flex-shrink: 0; }
.faq-a { padding: 0 22px 16px; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.faq-a a { color: var(--gold); }

/* ── RELATED ARTICLES ── */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 18px; }
.related-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; display: block; text-decoration: none !important; }
.related-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.related-thumb { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.related-card-body { padding: 16px; }
.related-card h4 { font-size: .875rem; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.related-card p { font-size: .78rem; color: var(--muted); }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(219,39,119,.25)); border: 1px solid rgba(124,58,237,.35); border-radius: 20px; padding: 50px 30px; text-align: center; }
.cta-banner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner h2 span { color: var(--gold); }
.cta-banner p { color: var(--muted); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── TAGS ── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { background: rgba(124,58,237,.14); border: 1px solid rgba(124,58,237,.28); color: #c4b5fd; padding: 4px 12px; border-radius: 16px; font-size: .72rem; }

/* ── STATS BAR ── */
.stats-bar { background: var(--card-bg); border-top: 1px solid rgba(240,192,64,.12); border-bottom: 1px solid rgba(240,192,64,.12); }
.stats-wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 22px 0; text-align: center; }
.stat-item .num { font-size: 1.9rem; font-weight: 900; color: var(--gold); }
.stat-item p { font-size: .78rem; color: var(--muted); }

/* ── TABLE COMPARISON ── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: rgba(240,192,64,.12); color: var(--gold); padding: 14px 16px; text-align: left; font-size: .82rem; border-bottom: 2px solid rgba(240,192,64,.25); }
.compare-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--muted); font-size: .875rem; }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--red); font-weight: 700; }
.compare-table .highlight td { background: rgba(240,192,64,.04); }
.compare-table .highlight td:first-child { color: #fff; font-weight: 700; }

/* ── ARTIKEL INDEX CARD ── */
.artikel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.artikel-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.artikel-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.artikel-thumb { width: 100%; aspect-ratio: 16/8; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.artikel-card-body { padding: 20px; }
.artikel-card .cat-tag { display: inline-block; background: rgba(124,58,237,.2); border: 1px solid rgba(124,58,237,.4); color: #c4b5fd; padding: 2px 10px; border-radius: 10px; font-size: .7rem; font-weight: 700; margin-bottom: 10px; }
.artikel-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.artikel-card h3 a { color: #fff; }
.artikel-card h3 a:hover { color: var(--gold); text-decoration: none; }
.artikel-card p { font-size: .84rem; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.artikel-card .read-more { font-size: .82rem; color: var(--gold); font-weight: 600; }

/* ── FOOTER ── */
footer { background: var(--dark); border-top: 2px solid rgba(240,192,64,.22); padding: 58px 20px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: .855rem; margin-top: 12px; line-height: 1.65; }
.footer-brand .ext-link { color: var(--gold); font-size: .84rem; display: inline-block; margin-top: 12px; }
.footer-col h4 { color: var(--gold); font-size: .82rem; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--muted); font-size: .855rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--muted); font-size: .78rem; }
.age-badge { background: rgba(220,38,38,.18); border: 1px solid #dc2626; color: #fca5a5; padding: 3px 11px; border-radius: 6px; font-size: .75rem; font-weight: 700; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }
@media (max-width: 768px) { nav ul { display: none; } .stats-wrap { grid-template-columns: repeat(2,1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { justify-content: center; text-align: center; } }
@media (max-width: 480px) { .stats-wrap { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } .cta-banner { padding: 28px 18px; } }
