@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --yellow: #FFD60A;
  --yellow-hover: #FFCA00;
  --yellow-light: #FFF9CC;
  --orange: #F86A00;
  --orange-hover: #E05F00;
  --dark: #1A1A1A;
  --text: #333333;
  --muted: #666666;
  --gray-bg: #F2F2F0;
  --white: #FFFFFF;
  --border: #E0E0DC;
  --r-xl: 20px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TOPBAR ── */
.topbar {
  background: #111;
  height: 4px;
}

/* ── STICKY HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yellow);
  box-shadow: 0 1px 0 var(--yellow-hover);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
}
.brand-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  white-space: nowrap;
  transition: background 0.18s;
}
.nav a:hover { background: rgba(0,0,0,0.08); }
.nav a.active { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  padding: 10px 6px 6px;
  display: none;
  z-index: 200;
}
.has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}
.nav-dropdown a:hover { background: var(--gray-bg); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
}

/* ── ANNOUNCE BAR ── */
.announce-bar {
  background: var(--yellow-light);
  border-bottom: 1px solid #EDE8A0;
  text-align: center;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}
.announce-bar a { text-decoration: underline; color: inherit; }

/* ── HERO ── */
.hero-section {
  background: linear-gradient(160deg, #FFF6B0 0%, #FFE84D 45%, #FFD200 100%);
  text-align: center;
  padding: 44px 24px 36px;
}
.hero-section h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 8px;
}
.text-orange { color: var(--orange); }
.hero-sub {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(26,26,26,0.7);
  margin-bottom: 22px;
}

/* Search bar */
.hero-search-wrap { max-width: 560px; margin: 0 auto 24px; }
.hero-search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: 0 3px 14px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 46px;
  margin-bottom: 10px;
}
.search-input-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  min-width: 0;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--muted);
  background: transparent;
  min-width: 0;
}
.marketplace-badges { display: flex; gap: 4px; flex-shrink: 0; }
.mkt-badge {
  padding: 2px 5px;
  border-radius: 4px;
  background: #EFEFED;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
}
.camera-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 3px;
  flex-shrink: 0;
}
.camera-btn svg { width: 16px; height: 16px; }
.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 18px;
  height: 100%;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s;
}
.search-btn:hover { background: #333; }
.search-btn svg { width: 14px; height: 14px; }

/* Hero pills */
.hero-pills { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dark);
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.85);
  transition: background 0.18s;
}
.hero-pill:hover { background: rgba(255,255,255,0.9); }
.hero-pill.active { background: var(--dark); color: var(--white); border-color: var(--dark); }
.pill-icon { width: 12px; height: 12px; }

/* Hero steps */
.hero-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.step-ico {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B07030;
}
.step-ico svg { width: 26px; height: 26px; }
.hero-step strong {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7A4800;
}
.hero-step span {
  font-size: 0.68rem;
  color: rgba(26,26,26,0.55);
}
.hero-btn-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-btn-row .btn {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.step-line {
  color: #C49A3A;
  font-size: 0.7rem;
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-bottom: 20px;
}

/* ── BUTTONS ── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-yellow { background: var(--yellow); color: var(--dark); border-color: #111; }
.btn-yellow:hover { background: var(--yellow-hover); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.btn-gray { background: #E8E8E5; color: var(--dark); border-color: #ccc; }
.btn-gray:hover { background: #ddd; }

.btn-orange { background: var(--orange); color: white; border-color: transparent; }
.btn-orange:hover { background: var(--orange-hover); box-shadow: 0 4px 12px rgba(248,106,0,0.3); }

.btn-white { background: var(--white); color: var(--dark); border-color: var(--dark); }
.btn-white:hover { background: #f5f5f5; }

/* ── CATEGORY SECTION ── */
.cat-section {
  background: var(--white);
  padding: 72px 24px 80px;
  text-align: center;
}
.cat-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.section-sub {
  font-size: 0.97rem;
  color: rgba(26,26,26,0.75);
  margin-bottom: 48px;
}
.cat-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 16px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 132px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.14); }
.cat-icon {
  width: 66px;
  height: 66px;
  background: #f5f6f8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.cat-icon img {
  width: 44px;
  height: 44px;
  display: block;
}
.cat-card span { font-weight: 700; font-size: 0.88rem; color: var(--dark); text-align: center; line-height: 1.2; }

/* ── ABOUT SECTION ── */
.about-section {
  background: var(--yellow);
  padding: 48px 24px 72px;
  text-align: center;
}
.about-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 32px;
}
.about-card {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFBE0;
  border-radius: var(--r-xl);
  padding: 36px 40px;
  text-align: left;
}
.about-card p { color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.about-card ul { list-style: disc; padding-left: 22px; margin: 14px 0; }
.about-card ul li { color: #1a5fc7; font-weight: 500; margin-bottom: 5px; line-height: 1.5; }
.about-cta { text-align: center; margin-top: 28px; }

/* ── WHY SECTION ── */
.why-section { background: var(--gray-bg); padding: 72px 24px 80px; }
.why-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
}
.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card { background: var(--white); border-radius: var(--r-xl); padding: 32px 28px; }
.why-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; line-height: 1.3; }
.why-card > p { font-size: 0.92rem; color: var(--text); margin-bottom: 16px; line-height: 1.65; }
.why-card ul { list-style: disc; padding-left: 20px; }
.why-card ul li { font-size: 0.9rem; color: var(--text); margin-bottom: 5px; }

/* ── HOW TO USE ── */
.how-section { background: var(--white); padding: 72px 24px 80px; }
.how-inner { max-width: 760px; margin: 0 auto; }
.how-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.how-intro { color: var(--text); margin-bottom: 8px; line-height: 1.7; }
.how-sub { color: var(--muted); font-size: 0.93rem; margin-bottom: 36px; }
.step { margin-bottom: 28px; }
.step-title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.step-num { font-size: 1.25rem; }
.step p { color: var(--text); line-height: 1.7; margin-bottom: 8px; }
.step ul { list-style: disc; padding-left: 22px; margin-bottom: 8px; }
.step ul li { color: var(--text); margin-bottom: 4px; line-height: 1.6; }
.step strong, .step b { color: var(--dark); }

.note-box { background: var(--gray-bg); border-radius: var(--r-lg); padding: 18px 22px; margin-top: 16px; }
.note-box p { font-size: 0.9rem; color: var(--text); line-height: 1.7; }
.note-box strong { color: var(--dark); }
.note-box a { color: var(--orange); font-weight: 600; }

.popular-guides { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.88rem; }
.popular-guides-label { font-weight: 700; color: var(--dark); flex-shrink: 0; }
.popular-guides a { color: var(--text); display: inline-flex; align-items: center; gap: 3px; font-weight: 500; transition: color 0.18s; }
.popular-guides a:hover { color: var(--orange); }
.popular-guides a::before { content: "↗"; font-size: 0.82rem; color: var(--orange); }

/* ── CTA BAND ── */
.cta-yellow { background: var(--yellow); padding: 80px 24px; text-align: center; }
.cta-yellow h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.cta-yellow p { color: var(--dark); font-size: 1rem; max-width: 500px; margin: 0 auto 32px; opacity: 0.85; line-height: 1.65; }

/* ── FOOTER ── */
.site-footer { background: var(--white); border-top: 1px solid var(--border); }
.footer-main { max-width: 1140px; margin: 0 auto; padding: 48px 24px 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.footer-logo-img { height: 48px; width: auto; display: block; }
.footer-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-text p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.social-row { display: flex; gap: 10px; }
.social-link { width: 40px; height: 40px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: transform 0.18s, opacity 0.18s; }
.social-link:hover { opacity: 0.85; transform: translateY(-2px); }
.social-link svg { width: 40px; height: 40px; }
.social-reddit { background: #FF4500; border-color: #FF4500; }
.social-telegram { background: #2AABEE; border-color: #2AABEE; }
.social-whatsapp { background: #25D366; border-color: #25D366; }
.footer-bottom { background: #1A1A1A; padding: 14px 24px; text-align: center; color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ── INNER PAGE SHARED ── */
.page-wrap { max-width: 900px; margin: 0 auto; padding: 56px 24px 80px; }
.page-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.page-wrap h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 700; color: var(--dark); margin: 32px 0 10px; }
.page-wrap h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 24px 0 8px; }
.page-wrap p { color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.page-wrap ul, .page-wrap ol { padding-left: 22px; margin-bottom: 14px; }
.page-wrap li { color: var(--text); margin-bottom: 6px; line-height: 1.65; }
.page-wrap ul { list-style: disc; }
.page-wrap ol { list-style: decimal; }
.page-kicker { display: inline-block; background: var(--yellow); color: var(--dark); font-weight: 700; font-size: 0.82rem; padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.page-lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; line-height: 1.75; margin-bottom: 36px; }
.prose-card { background: var(--gray-bg); border-radius: var(--r-xl); padding: 28px 32px; margin: 24px 0; }
.cta-inline { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--orange); font-weight: 700; }
.cta-inline:hover { text-decoration: underline; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.link-card {
  display: block;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px 20px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: #d5d5cf;
}
.link-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 8px;
}
.link-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}
.page-faq { margin-top: 24px; display: grid; gap: 14px; }
.page-faq-item {
  background: var(--gray-bg);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.page-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}
.page-faq-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
}
.page-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.page-meta-box {
  background: var(--gray-bg);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.page-meta-box h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
}
.page-meta-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 18px 0 6px;
}
.page-links a {
  color: var(--orange);
  font-weight: 700;
}
.page-links a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-right { align-items: flex-start; }
  .footer-text { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--yellow);
    padding: 12px 16px 16px;
    border-top: 1px solid var(--yellow-hover);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 100;
  }
  .nav.open .has-dropdown { position: static; }
  .nav.open .nav-dropdown { position: static; display: block; box-shadow: none; border: 1px solid var(--border); margin-top: 4px; }
  .marketplace-badges { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .why-grid { grid-template-columns: 1fr; }
  .about-card { padding: 24px 20px; }
  .hero-section { padding: 60px 20px 68px; }
  .page-meta-list { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { min-height: 124px; padding: 14px 10px 16px; }
  .cat-icon { width: 60px; height: 60px; }
  .cat-icon img { width: 40px; height: 40px; }
  .link-grid { grid-template-columns: 1fr; }
  .prose-card { padding: 22px 20px; }
}
