/*
Theme Name: Kakobuy Finds
Description: SEO content site for Kakobuy — pure content, no product DB
Version: 1.0
*/

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

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --bg: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-nav: #111;
  --text: #f1f1f1;
  --text-muted: #888;
  --border: #2a2a2a;
  --radius: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; margin: 2.5rem 0 1rem; color: var(--text); }
h3 { font-size: 1.15rem; font-weight: 600; margin: 1.8rem 0 0.5rem; color: var(--text); }
p  { margin-bottom: 1.1rem; color: #ccc; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
li { margin-bottom: 0.5rem; color: #ccc; }
strong { color: var(--text); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 64px 0; }

/* ===== NAV ===== */
.site-header {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  max-width: 1100px; margin: 0 auto;
  padding: 14px 24px; gap: 12px;
}
.nav-logo { font-size: 1.25rem; font-weight: 800; color: var(--text); white-space: nowrap; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a {
  color: #bbb; font-size: 0.88rem; padding: 6px 11px;
  border-radius: 6px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--border); color: var(--text); text-decoration: none; }
.nav-cta { background: var(--primary) !important; color: #fff !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  padding: 90px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #2a0808 0%, #0d0d0d 70%);
  border-bottom: 1px solid var(--border);
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero .lead { font-size: 1.15rem; color: #aaa; max-width: 580px; margin: 0 auto 2rem; }
.hero-stats {
  display: flex; justify-content: center; gap: 32px;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--primary); display: block; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 700; font-size: 1rem;
  transition: all .2s; text-decoration: none !important; border: none; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(230,57,70,.4); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-card); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ===== CATEGORY CARDS ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px; margin-top: 1.5rem;
}
.cat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 16px;
  text-align: center; text-decoration: none !important;
  color: var(--text); transition: all .2s; display: block;
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(230,57,70,.15); }
.cat-icon { font-size: 2.2rem; margin-bottom: 10px; }
.cat-name { font-weight: 600; font-size: .92rem; }

/* ===== CONTENT SECTIONS ===== */
.content-wrap { max-width: 820px; }
.content-wrap h2:first-child { margin-top: 0; }

.info-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px; margin: 2rem 0;
}
.info-box h2:first-child, .info-box h3:first-child { margin-top: 0; }

/* ===== STEPS ===== */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 16px; margin: 1.5rem 0; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.step::before {
  counter-increment: step; content: counter(step);
  background: var(--primary); color: #fff;
  font-weight: 800; font-size: 1rem;
  min-width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step h3 { margin: 0 0 4px; font-size: .98rem; }
.step p  { margin: 0; font-size: .9rem; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 10px; margin: 1.5rem 0; }
details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
details[open] { border-color: var(--primary); }
summary {
  padding: 17px 20px; cursor: pointer; font-weight: 600;
  font-size: .93rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.3rem; color: var(--primary); }
details[open] summary::after { content: '−'; }
details > p, details > div { padding: 0 20px 18px; font-size: .9rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #1c0606, #2e0c0c);
  border: 1px solid #3d1515; border-radius: 14px;
  padding: 52px 32px; text-align: center; margin: 3rem 0;
}
.cta-banner h2 { margin-top: 0; color: #fff; }
.cta-banner p  { color: #aaa; margin-bottom: 1.5rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 0; font-size: .83rem; color: var(--text-muted);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.page-header .container h1 { margin-bottom: .6rem; }
.page-header .container p  { color: #aaa; margin: 0; font-size: 1.05rem; }

/* ===== INTERNAL LINKS GRID ===== */
.links-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin: 1.5rem 0;
}
.link-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  text-decoration: none !important; color: var(--text);
  font-size: .9rem; font-weight: 600; transition: all .2s;
  display: flex; align-items: center; gap: 10px;
}
.link-card:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-nav); border-top: 1px solid var(--border);
  padding: 52px 24px 32px; margin-top: 80px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-logo  { font-size: 1.2rem; font-weight: 800; color: var(--text); display: block; margin-bottom: 10px; }
.footer-logo span { color: var(--primary); }
.footer-brand p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; }
.footer-col h4 { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #999; font-size: .88rem; }
.footer-col ul li a:hover { color: var(--text); text-decoration: none; }
.footer-disclaimer {
  background: #0a0a0a; border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 18px; font-size: .78rem; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 24px;
}
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: .78rem; color: var(--text-muted); margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; width: 100%; padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 20px; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 20px; }
}
