/* =========================================================================
   ToolsHub v10 — "Deep Pine & Mint" design system
   Space Grotesk display + Hind Siliguri body · light/dark via [data-theme]
   ========================================================================= */

:root {
  /* brand */
  --mint: #2fbf8f;
  --mint-strong: #17a374;
  --pine: #0d3b34;
  --pine-2: #10514a;
  --amber: #f0a92e;
  --amber-deep: #9a6a00;
  --red: #e05563;

  /* light surfaces */
  --bg: #f3f6f4;
  --bg-soft: #e9efec;
  --card: #ffffff;
  --card-2: #f7faf8;
  --line: #dfe8e3;
  --line-strong: #c9d7d0;
  --ink: #17251f;
  --ink-2: #3c4f47;
  --muted: #6b7f76;

  --danger-soft: #fdeef0;
  --warn-soft: #fdf6e4;
  --mint-soft: #e5f6ef;

  --shadow-1: 0 1px 2px rgba(13, 40, 33, .06), 0 4px 16px rgba(13, 40, 33, .06);
  --shadow-2: 0 4px 10px rgba(13, 40, 33, .08), 0 16px 40px rgba(13, 40, 33, .10);
  --ring: 0 0 0 3px rgba(47, 191, 143, .28);

  --grad-brand: linear-gradient(135deg, #17a374, #0d5e50 55%, var(--pine));
  --grad-gold: linear-gradient(120deg, #7a5200, var(--amber));

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 9px;
  --font-display: "Space Grotesk", "Hind Siliguri", sans-serif;
  --font-body: "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #0c1310;
  --bg-soft: #101b16;
  --card: #14201b;
  --card-2: #182721;
  --line: #23342c;
  --line-strong: #31473d;
  --ink: #e7f0eb;
  --ink-2: #b9c9c1;
  --muted: #82958b;

  --mint: #3ed6a3;
  --mint-strong: #2fbf8f;
  --danger-soft: #33191d;
  --warn-soft: #2e2410;
  --mint-soft: #12302573;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
  --shadow-2: 0 8px 18px rgba(0, 0, 0, .5), 0 24px 60px rgba(0, 0, 0, .45);
  --ring: 0 0 0 3px rgba(62, 214, 163, .3);

  --grad-brand: linear-gradient(135deg, #128a68, #0c4a40 55%, #072a24);
  --grad-gold: linear-gradient(120deg, #513a00, #b8860b);
}

/* ---------------- base ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  transition: background .25s, color .25s;
}
img { max-width: 100%; }
.container { max-width: 900px; margin: 0 auto; padding: 0 18px; }
.hidden { display: none; }
[hidden] { display: none !important; }
dialog { margin: auto; }
::selection { background: rgba(47, 191, 143, .3); }

h1, h2, h3, .logo { font-family: var(--font-display); letter-spacing: -.015em; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 12px;
}
.logo {
  font-weight: 700; font-size: 1.28rem; color: var(--ink);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  color: var(--mint);
  filter: drop-shadow(0 0 8px rgba(47, 191, 143, .5));
}
.logo-img { height: 38px; width: auto; display: block; }
.logo-text-fallback { font-family: var(--font-display); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none; color: var(--ink-2);
  font-size: .92rem; font-weight: 600;
  padding: 8px 13px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-active { background: var(--mint-soft) !important; color: var(--mint-strong) !important; }
.nav-login {
  color: #fff !important;
  background: var(--grad-brand) !important;
  box-shadow: var(--shadow-1);
}
.nav-login:hover { filter: brightness(1.1); }
.hello { color: var(--mint-strong); font-weight: 700; font-size: .9rem; padding: 0 6px; }

.theme-toggle {
  background: var(--bg-soft); border: 1px solid var(--line);
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; line-height: 1;
  transition: transform .2s, box-shadow .2s;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.08); box-shadow: var(--shadow-1); }

/* hamburger */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  width: 42px; height: 40px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.verify-banner {
  background: var(--warn-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--amber) 35%, transparent);
  color: var(--amber-deep); font-size: .87rem; font-weight: 600;
  text-align: center; padding: 10px 16px;
}
[data-theme="dark"] .verify-banner { color: #e8c675; }
.verify-banner a { color: var(--mint-strong); }

/* ---------------- headings & intro ---------------- */
.page-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 34px 0 20px; text-align: center;
  background: linear-gradient(120deg, var(--ink), var(--mint-strong));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dir-sub { text-align: center; color: var(--muted); margin: -10px 0 24px; font-size: .95rem; }

/* ---------------- static block cards ---------------- */
.stack { display: grid; gap: 24px; }
.block-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.block-card .block-head {
  padding: 22px 26px 6px;
  font-size: 1.3rem; font-weight: 700; text-align: center;
  font-family: var(--font-display);
}
.block-card .block-body { padding: 12px 26px 24px; }
.block-body h4 { margin: 16px 0 6px; font-size: 1rem; }
.block-body ol, .block-body ul { padding-left: 22px; }
.block-body li { margin: 5px 0; }
.block-body a { color: var(--mint-strong); }

.theme-gradient { background: var(--grad-brand); color: #eafff7; border: none; box-shadow: var(--shadow-2); }
.theme-gradient .block-head { color: #fff; }
.theme-gradient .block-body {
  background: rgba(255, 255, 255, .09);
  margin: 4px 16px 16px; border-radius: var(--r-md);
  backdrop-filter: blur(2px);
}
.theme-warning { background: var(--warn-soft); border-color: color-mix(in srgb, var(--amber) 30%, transparent); }
.theme-warning .block-head { color: var(--amber-deep); }
[data-theme="dark"] .theme-warning .block-head { color: #e8c675; }
.theme-danger { background: var(--danger-soft); border-color: color-mix(in srgb, var(--red) 30%, transparent); }
.theme-danger .block-head { color: var(--red); }
.theme-dark { background: var(--pine); color: #cfe9e0; border: none; }
.theme-dark .block-head { color: #fff; }
[data-theme="dark"] .theme-dark { background: #061e19; }

/* ---------------- section bars ---------------- */
.section-bar {
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 15px 24px;
  margin-top: 38px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  box-shadow: var(--shadow-1);
}
.section-bar h2 { font-size: 1.2rem; font-weight: 700; }
.bar-sub { font-size: .82rem; opacity: .8; }
.sponsored-bar { background: var(--grad-gold); }

/* ---------------- provider grid & cards ---------------- */
.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--bg-soft);
  padding: 18px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  border: 1px solid var(--line); border-top: none;
}
.provider-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; flex-direction: column;
  overflow: hidden; position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}
.provider-card.sponsored {
  border: 1.5px solid var(--amber);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 14%, transparent), var(--shadow-1);
}
.ribbon {
  position: absolute; top: 14px; right: -34px;
  transform: rotate(45deg);
  background: var(--grad-gold); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .8px;
  padding: 4px 38px; z-index: 2;
}
.pc-head { padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.pc-head h3 { font-size: 1.08rem; }
.pc-link { color: inherit; text-decoration: none; }
.pc-link:hover { color: var(--mint-strong); }
.pc-badge {
  display: inline-block; margin-top: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .3px;
  background: var(--mint-soft); color: var(--mint-strong);
  padding: 3px 11px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--mint) 35%, transparent);
}
.pc-rating { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.sponsor-note { font-size: .8rem; color: var(--amber-deep); margin-top: 8px; font-weight: 600; }
[data-theme="dark"] .sponsor-note { color: #e8c675; }
.pc-body { padding: 15px 18px; flex: 1; }
.tool-group { margin-bottom: 12px; }
.tool-group .tg-label {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .8px; color: var(--muted); margin-bottom: 5px;
}
.tool-list { list-style: none; }
.tool-list li { padding: 3px 0; font-size: .92rem; color: var(--ink-2); }
.tool-list li::before { content: "✔"; color: var(--mint); margin-right: 9px; font-size: .78rem; }

.discount-note {
  margin: 0 18px 12px;
  background: var(--warn-soft);
  border: 1px dashed var(--amber);
  color: var(--amber-deep);
  font-size: .83rem; font-weight: 600;
  padding: 9px 13px; border-radius: var(--r-sm);
}
[data-theme="dark"] .discount-note { color: #e8c675; }

.lock-strip { margin: 0 18px 12px; }
.profile-hero .lock-strip, .tool-detail .lock-strip, .reviews-list .lock-strip { margin: 10px 0 0; }
.lock-cta {
  display: block; text-align: center;
  background: var(--bg-soft); border: 1.5px dashed var(--mint);
  color: var(--mint-strong); font-weight: 700; font-size: .82rem;
  padding: 11px 14px; border-radius: var(--r-sm); text-decoration: none;
  transition: background .15s;
}
.lock-cta:hover { background: var(--mint-soft); }

.btn-site {
  display: block; margin: 0 18px 12px; text-align: center;
  background: var(--pine-2); color: #eafff7; text-decoration: none;
  font-weight: 700; font-size: .86rem; padding: 10px; border-radius: var(--r-sm);
  transition: filter .15s;
}
.btn-site:hover { filter: brightness(1.2); }

.pc-foot {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}
.pc-foot-actions { display: flex; gap: 8px; align-items: center; }
.btn-outline {
  border: 1.5px solid var(--mint-strong); color: var(--mint-strong);
  text-decoration: none; font-weight: 700; font-size: .8rem;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  transition: all .15s;
}
.btn-outline:hover { background: var(--mint-strong); color: #fff; }
.btn-wa {
  background: #22b573; color: #fff;
  text-decoration: none; font-weight: 700; font-size: .8rem;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 3px 10px rgba(34, 181, 115, .35);
  transition: transform .15s, box-shadow .15s;
}
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(34, 181, 115, .45); }

.loading-card { grid-column: 1 / -1; text-align: center; padding: 34px; color: var(--muted); }

.view-all-card {
  grid-column: 1 / -1;
  display: block; text-align: center;
  background: var(--card); border: 2px dashed var(--mint);
  color: var(--mint-strong); font-weight: 800; font-size: .95rem;
  padding: 18px; border-radius: var(--r-md); text-decoration: none;
  transition: background .15s, transform .15s;
}
.view-all-card:hover { background: var(--mint-soft); transform: translateY(-2px); }

/* ---------------- ratings & chips ---------------- */
.stars { color: var(--amber); font-size: .85rem; letter-spacing: 1.5px; }
.stars b { color: var(--ink); margin-left: 4px; font-size: .8rem; letter-spacing: 0; }
.stars.muted, .muted { color: var(--muted); letter-spacing: 0; font-size: .8rem; }
.link-btn {
  background: none; border: none; color: var(--mint-strong);
  font-weight: 700; font-size: .78rem; cursor: pointer; padding: 0;
  text-decoration: underline; text-underline-offset: 3px; font-family: inherit;
}
.link-btn:hover { color: var(--mint); }
.price-chip {
  font-size: .76rem; font-weight: 800; color: var(--mint-strong);
  background: var(--mint-soft); padding: 3px 11px; border-radius: 999px;
  white-space: nowrap; border: 1px solid color-mix(in srgb, var(--mint) 30%, transparent);
}
.tool-coupon {
  background: var(--warn-soft); border: 1px dashed var(--amber);
  color: var(--amber-deep); font-size: .85rem; padding: 9px 13px;
  border-radius: var(--r-sm); margin-bottom: 10px;
}
[data-theme="dark"] .tool-coupon { color: #e8c675; }

/* ---------------- provider profile ---------------- */
.profile-hero {
  background:
    radial-gradient(1200px 300px at 8% -40%, color-mix(in srgb, var(--mint) 16%, transparent), transparent),
    var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 30px 26px; margin-top: 28px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-1);
}
.sponsored-hero { border: 1.5px solid var(--amber); box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 12%, transparent); }
.profile-hero h1 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); margin-bottom: 8px; }
.hero-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hero-actions .btn-wa, .hero-actions .btn-site { display: inline-block; }

.tool-detail-list {
  background: var(--bg-soft); padding: 18px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  border: 1px solid var(--line); border-top: none;
  display: grid; gap: 15px;
}
.tool-detail {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.tool-detail:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.td-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.td-head h3 { font-size: 1.05rem; }
.td-desc { font-size: .93rem; color: var(--ink-2); }
.td-desc ul, .td-desc ol { padding-left: 22px; margin: 6px 0; }
.td-desc h3, .td-desc h4 { margin: 12px 0 4px; font-size: .95rem; color: var(--ink); }
.td-desc a { color: var(--mint-strong); }

.cat-chip {
  font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  padding: 3px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--muted);
}
.cat-seo { background: #e0eefb; color: #1668a5; }
.cat-video { background: #fbe6e6; color: #b6403f; }
.cat-vpn { background: #e2f3e4; color: #2c7a33; }
.cat-ai { background: #eee7fb; color: #6a3fb6; }
.cat-design { background: #fbf1d4; color: #8a6a00; }
[data-theme="dark"] .cat-seo { background: #12293c; color: #7db8e8; }
[data-theme="dark"] .cat-video { background: #391b1c; color: #e89392; }
[data-theme="dark"] .cat-vpn { background: #16301a; color: #86cf8e; }
[data-theme="dark"] .cat-ai { background: #261a3d; color: #b79aec; }
[data-theme="dark"] .cat-design { background: #322608; color: #e0bd66; }

.faq-block { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.faq-block h4 {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .8px;
  color: var(--muted); margin-bottom: 8px;
}
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-bottom: 7px; background: var(--card-2); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 11px 14px; font-weight: 700; font-size: .87rem;
  transition: background .15s;
}
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item summary::marker { color: var(--mint); }
.faq-item[open] summary { border-bottom: 1px dashed var(--line); }
.faq-a { padding: 10px 14px; font-size: .87rem; color: var(--ink-2); }
.faq-a p { margin: 4px 0; }

/* ---------------- reviews ---------------- */
.reviews-wrap {
  background: var(--bg-soft); padding: 18px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  border: 1px solid var(--line); border-top: none;
}
.form-panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px; margin-top: 14px;
}
.reviews-list { display: grid; gap: 12px; margin-bottom: 8px; }
.review-item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; background: var(--card);
}
.ri-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; font-size: .9rem; }
.ri-tool {
  font-size: .7rem; color: var(--muted); background: var(--bg-soft);
  padding: 2px 9px; border-radius: 999px;
}
.review-item p { font-size: .89rem; color: var(--ink-2); }
.ri-reply {
  margin-top: 9px; font-size: .83rem; background: var(--mint-soft);
  border-left: 3px solid var(--mint); padding: 8px 11px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2);
}
.ri-date { font-size: .7rem; color: var(--muted); margin-top: 7px; }

.review-form { display: grid; gap: 12px; }
.review-form h3 { font-size: .98rem; color: var(--mint-strong); }
.review-form label { font-weight: 600; font-size: .82rem; display: grid; gap: 6px; }
.review-form select, .review-form textarea {
  padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: .93rem; font-family: inherit; width: 100%;
  background: var(--card); color: var(--ink);
}
.review-form select:focus, .review-form textarea:focus { outline: none; box-shadow: var(--ring); border-color: var(--mint); }
.grid-2r { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------------- tools directory ---------------- */
.dir-controls { display: flex; gap: 10px; margin-bottom: 22px; }
.dir-controls input[type=search], .dir-controls select {
  padding: 13px 17px; border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 1rem; background: var(--card); color: var(--ink); font-family: inherit;
}
.dir-controls input[type=search] { flex: 1; }
.dir-controls input:focus, .dir-controls select:focus { outline: none; box-shadow: var(--ring); border-color: var(--mint); }
.dir-results { display: grid; gap: 14px; }
.dir-tool {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 17px 19px;
  transition: border-color .2s, box-shadow .2s;
}
.dir-tool:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.dt-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 11px; }
.dt-head h3 { font-size: 1.04rem; }
.dt-providers { display: grid; gap: 7px; }
.dir-provider {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink); font-size: .88rem; background: var(--card-2);
  transition: border-color .15s, background .15s, transform .15s;
}
.dir-provider:hover { border-color: var(--mint); background: var(--mint-soft); transform: translateX(3px); }
.dp-sponsored { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 7%, var(--card-2)); }
.dp-name { font-weight: 700; flex: 1; }
.dp-star { color: var(--amber-deep); font-size: .7rem; font-style: normal; font-weight: 800; }
[data-theme="dark"] .dp-star { color: #e8c675; }
.dp-rating { font-size: .8rem; color: var(--muted); }
.dp-go { color: var(--mint-strong); font-weight: 700; font-size: .8rem; }

/* ---------------- auth pages ---------------- */
.auth-body {
  background:
    radial-gradient(900px 500px at 90% -10%, color-mix(in srgb, var(--mint) 12%, transparent), transparent),
    var(--bg);
}
.auth-main { display: grid; place-items: start center; padding: 46px 16px; }
.auth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; width: min(430px, 100%);
  box-shadow: var(--shadow-2);
  display: grid; gap: 15px;
}
.auth-card h1 { font-size: 1.35rem; color: var(--ink); }
.auth-sub { font-size: .87rem; color: var(--muted); margin-top: -8px; }
.auth-card label { font-weight: 600; font-size: .84rem; display: grid; gap: 6px; }
.auth-card input {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 1rem; width: 100%; background: var(--card-2); color: var(--ink);
  font-family: inherit; transition: box-shadow .15s, border-color .15s;
}
.auth-card input:focus { outline: none; box-shadow: var(--ring); border-color: var(--mint); }

.btn-solid {
  background: var(--grad-brand); color: #fff; border: none; border-radius: var(--r-sm);
  padding: 13px; font-weight: 800; font-size: .98rem; cursor: pointer;
  font-family: inherit; box-shadow: var(--shadow-1);
  transition: transform .15s, filter .15s;
}
.btn-solid:hover { transform: translateY(-1px); filter: brightness(1.12); }
.form-error {
  background: var(--danger-soft); color: var(--red);
  padding: 9px 13px; border-radius: var(--r-sm); font-size: .84rem;
  border: 1px solid color-mix(in srgb, var(--red) 25%, transparent);
}
.auth-hint { font-size: .78rem; color: var(--muted); text-align: center; }
.auth-hint a { color: var(--mint-strong); }
.verify-ok {
  background: var(--mint-soft); color: var(--mint-strong);
  padding: 10px 13px; border-radius: var(--r-sm); font-size: .86rem;
}
.btn-whatsapp-verify {
  display: block; text-align: center; text-decoration: none;
  background: #22b573; color: #fff; font-weight: 800; font-size: .93rem;
  padding: 13px; border-radius: var(--r-sm);
  box-shadow: 0 4px 14px rgba(34, 181, 115, .35);
  transition: transform .15s;
}
.btn-whatsapp-verify:hover { transform: translateY(-1px); }

/* ---------------- footer ---------------- */
.site-footer {
  background: var(--pine); color: #9dbbb1; margin-top: 56px;
  border-top: 3px solid var(--mint);
}
[data-theme="dark"] .site-footer { background: #081511; }
.footer-inner { padding: 30px 18px; text-align: center; font-size: .86rem; display: grid; gap: 6px; }
.footer-links a { color: #bcd6cd; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { opacity: .8; }

/* ---------------- toast ---------------- */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--pine); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; opacity: 0; transition: .3s cubic-bezier(.2,.9,.3,1.2);
  pointer-events: none; z-index: 60; box-shadow: var(--shadow-2);
}
[data-theme="dark"] .toast { background: var(--mint-strong); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--red); }

/* ---------------- responsive ---------------- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 14px 14px; box-shadow: var(--shadow-2);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 1rem; }
  .hello { padding: 10px 14px 2px; }
  .theme-toggle { align-self: flex-start; margin: 8px 8px 0; }
  .hide-sm { display: none; }

  .page-title { margin: 24px 0 16px; }
  .provider-grid { grid-template-columns: 1fr; padding: 12px; gap: 14px; }
  .tool-detail-list, .reviews-wrap { padding: 12px; }
  .block-card .block-head { font-size: 1.1rem; padding: 16px 18px 4px; }
  .block-card .block-body { padding: 10px 18px 18px; }
  .section-bar { padding: 13px 18px; }
  .profile-hero { padding: 22px 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-wa, .hero-actions .btn-site { text-align: center; }
  .pc-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .pc-foot-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pc-foot-actions .btn-outline, .pc-foot-actions .btn-wa { text-align: center; }
  .dir-controls { flex-direction: column; }
  .grid-2r { grid-template-columns: 1fr; }
  .btn-wa, .btn-outline, .btn-solid, .lock-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .faq-item summary { padding: 13px 15px; }
}
@media (max-width: 400px) {
  .container { padding: 0 12px; }
}

/* v12: public pricing table on tool cards */
.pricing-table { display: grid; gap: 5px; margin-bottom: 12px; }
.pt-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--mint-soft); border: 1px solid color-mix(in srgb, var(--mint) 22%, transparent);
  padding: 7px 13px; border-radius: var(--r-sm);
}
.pt-term { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.pt-amount { font-size: .9rem; font-weight: 800; color: var(--mint-strong); }

/* v13: Facebook Group button */
.btn-fb {
  display: block; margin: 0 18px 12px; text-align: center;
  background: #1877f2; color: #fff; text-decoration: none;
  font-weight: 700; font-size: .86rem; padding: 10px; border-radius: var(--r-sm);
  transition: filter .15s;
}
.btn-fb:hover { filter: brightness(1.12); }
.hero-actions .btn-fb { display: inline-block; margin: 0; }

/* v13: tool details page + directory buttons */
.crumb { margin: 20px 0 4px; font-size: .85rem; }
.crumb a { color: var(--mint-strong); text-decoration: none; }
.dt-detail-btn { margin-left: auto; }
.dir-provider { position: relative; }
.dp-btn { margin-left: auto; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.offer-actions .btn-outline, .offer-actions .btn-wa, .offer-actions .btn-site, .offer-actions .btn-fb { margin: 0; }
.tool-detail.sponsored { border: 1.5px solid var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 12%, transparent); }
@media (max-width: 640px) {
  .dt-detail-btn { margin-left: 0; width: 100%; text-align: center; }
  .dp-btn { margin-left: 0; }
}

/* v14: single-offer button */
.btn-solid-sm {
  background: var(--grad-brand); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .8rem; padding: 7px 14px; border-radius: 999px;
  white-space: nowrap; box-shadow: var(--shadow-1); transition: filter .15s;
}
.btn-solid-sm:hover { filter: brightness(1.1); }

/* v14.1: directory provider-row actions (Tool details + Profile) */
.dp-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.dp-actions .dp-btn { margin-left: 0; }
@media (max-width: 640px) {
  .dp-actions { margin-left: 0; width: 100%; }
  .dp-actions .btn-solid-sm, .dp-actions .dp-btn { flex: 1; text-align: center; }
}

/* v15: provider dashboard offering-type badge */
.type-badge {
  display: inline-flex; align-items: center; padding: 5px 11px;
  background: var(--mint-soft); color: var(--mint-strong);
  border-radius: 7px; font-size: .74rem; font-weight: 800; text-transform: capitalize;
}

/* v17.1: capped tool preview on home/providers cards */
.see-all-tools {
  display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 700;
  color: var(--mint-strong); text-decoration: none;
}
.see-all-tools:hover { text-decoration: underline; }

/* v17.2: separate tools/services sections on provider cards */
.pc-section + .pc-section { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pc-section-head { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 6px; }
