@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

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

:root {
  --navy: #1a1a2e;
  --gold: #FFD166;
  --gold-dark: #e6b800;
  --bg: #f5f3ef;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

h1,h2,h3,h4 { font-family: 'Sora', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── NAVBAR ── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 2rem;
}
.nav-logo { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; color: #fff; white-space: nowrap; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; flex: 1; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 600; padding: 7px 18px; border-radius: var(--radius-full); border: none; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--gold-dark); }
.hamburger { display: none; background: none; border: none; padding: 4px; }
.hamburger svg { display: block; }
.mobile-menu { display: none; background: var(--navy); padding: 0.5rem 1.5rem 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: rgba(255,255,255,0.7); font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-cta-wrap { margin-top: 12px; }
.mobile-cta-wrap a { display: block; text-align: center; background: var(--gold); color: var(--navy); font-weight: 600; font-size: 14px; padding: 10px; border-radius: var(--radius-full); border-bottom: none !important; }

/* ── HERO ── */
.hero { background: var(--navy); padding: 3rem 1.5rem 0; overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: flex-end; gap: 2rem; }
.hero-left { flex: 1; padding-bottom: 3rem; }
.hero-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,209,102,0.12); border: 1px solid rgba(255,209,102,0.3); color: var(--gold); font-size: 11px; font-weight: 500; padding: 5px 12px; border-radius: var(--radius-full); margin-bottom: 1.2rem; }
.hero-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(26px, 5vw, 40px); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.5px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.5rem; max-width: 420px; }
.hero-search { display: flex; background: #fff; border-radius: 12px; overflow: hidden; max-width: 440px; }
.hero-search input { flex: 1; border: none; padding: 12px 16px; font-size: 14px; outline: none; color: var(--text); }
.hero-search input::placeholder { color: #aaa; }
.hero-search button { background: var(--gold); border: none; padding: 0 20px; font-size: 13px; font-weight: 700; color: var(--navy); transition: background .2s; white-space: nowrap; }
.hero-search button:hover { background: var(--gold-dark); }
.search-hint { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 8px; margin-left: 2px; min-height: 18px; }
.hero-right { width: 220px; flex-shrink: 0; }

/* ── STATS BAR ── */
.stats-bar { background: var(--gold); }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); padding: 0.9rem 1.5rem; gap: 0.5rem; }
.stat { text-align: center; }
.stat-n { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); }
.stat-l { font-size: 11px; color: rgba(26,26,46,0.6); margin-top: 2px; }

/* ── MAIN CONTENT ── */
.main-wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── SEARCH RESULTS ── */
.search-results { padding: 2rem 0 1rem; }
.search-results.hidden { display: none; }
.no-results { text-align: center; padding: 3rem 0; color: var(--text-muted); }
.no-results p:first-child { font-size: 16px; margin-bottom: 6px; color: var(--text); }

/* ── CATEGORIES ── */
.cat-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 1.5rem 0 1rem; }
.cat-btn { padding: 6px 16px; border-radius: var(--radius-full); font-size: 12px; font-weight: 500; border: 1.5px solid var(--border); background: var(--white); color: var(--text-muted); transition: all .15s; }
.cat-btn:hover { border-color: #9ca3af; color: var(--text); }
.cat-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── SECTION HEADERS ── */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.sec-title { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.sec-bar { width: 4px; height: 18px; border-radius: 2px; display: inline-block; }
.see-all { font-size: 12px; color: #2563eb; }
.see-all:hover { text-decoration: underline; }

/* ── TOOL GRID ── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.tool-section { padding: 1.5rem 0 0.5rem; }
.tool-section.hidden { display: none; }

/* ── TOOL CARD ── */
.tool-card { background: var(--white); border-radius: var(--radius); padding: 1rem; border: 1.5px solid transparent; transition: border-color .15s, transform .15s; display: block; cursor: pointer; }
.tool-card:hover { border-color: #bfdbfe; transform: translateY(-1px); }
.tool-icon { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; }
.tool-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.tool-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.badge { display: inline-block; margin-top: 8px; font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-full); }
.badge-popular { background: #FEF3C7; color: #92400E; }
.badge-free { background: #D1FAE5; color: #065F46; }
.badge-new { background: #EDE9FE; color: #4C1D95; }
.badge-hot { background: #FEE2E2; color: #991B1B; }

/* ── HOW IT WORKS ── */
.how-section { padding: 2.5rem 0; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 1.2rem; }
.how-card { background: var(--white); border-radius: var(--radius); padding: 1.2rem; }
.how-num { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.how-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.how-desc { font-size: 11px; color: var(--text-muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 0.5rem 0 2rem; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 1.2rem; }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 1.2rem; }
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.testi-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.testi-name { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 11px; color: var(--text-muted); }

/* ── BANNER ── */
.request-banner { background: var(--navy); border-radius: 20px; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 1rem 0 2rem; }
.request-banner h3 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.request-banner p { font-size: 13px; color: rgba(255,255,255,0.5); }
.banner-btn { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px; padding: 11px 24px; border-radius: var(--radius-full); border: none; white-space: nowrap; transition: background .2s; }
.banner-btn:hover { background: var(--gold-dark); }

/* ── FAQ ── */
.faq-section { padding: 0.5rem 0 3rem; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: none; border: none; text-align: left; font-size: 14px; font-weight: 500; color: var(--text); gap: 1rem; }
.faq-icon { font-size: 20px; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 13px; color: var(--text-muted); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 14px; }
.faq-item.open .faq-a { display: block; }

/* ── FOOTER ── */
.footer { background: var(--navy); color: #fff; margin-top: 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 2rem; margin-bottom: 2.5rem; }
.footer-logo { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 1rem; }
.footer-socials { display: flex; gap: 8px; }
.social-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); transition: all .2s; }
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-newsletter { background: rgba(255,255,255,0.05); border-radius: 14px; padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.footer-newsletter p { font-size: 13px; font-weight: 600; }
.footer-newsletter span { font-size: 11px; color: rgba(255,255,255,0.4); display: block; margin-top: 2px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 13px; padding: 9px 14px; border-radius: 10px; outline: none; width: 220px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 10px; border: none; transition: background .2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.3); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── AD SLOT ── */
.ad-slot { background: #f9f9f9; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); height: 90px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #ccc; margin: 1.5rem 0; }

/* ── TOOL PAGE ── */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 1.5rem; font-size: 12px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 6px; }
.tool-page-wrap { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem; }
.tool-page-title { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.tool-page-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 1.5rem; }
.tool-box { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); }
.tool-input-label { font-size: 12px; font-weight: 500; color: #555; display: block; margin-bottom: 6px; }
.tool-input { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14px; outline: none; transition: border-color .2s; }
.tool-input:focus { border-color: #93c5fd; }
.tool-btn { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 24px; border-radius: 10px; border: none; transition: background .2s; }
.tool-btn:hover { background: #2d2d4a; }
.result-box { background: #f8faff; border: 1.5px solid #dbeafe; border-radius: var(--radius-sm); padding: 1.2rem; margin-top: 1rem; }
.result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; text-align: center; }
.result-num { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 700; }
.result-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .hero-right { display: none; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .hero { padding: 2rem 1rem 0; }
  .hero-left { padding-bottom: 2rem; }
  .hero h1 { font-size: 26px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); padding: 0.8rem 1rem; }
  .how-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .request-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-newsletter { flex-direction: column; gap: 1rem; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; width: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .main-wrap { padding: 0 1rem; }
}

@media (max-width: 400px) {
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-card { padding: 0.8rem; }
}
