
  :root{
    --brand:#E1442D;
    --brand-dark:#B8341F;
    --brand-light:#FDECE8;
    --ink:#12172B;
    --muted:#5B6478;
    --bg-soft:#FFF8F5;
    --border:#F1E2DC;
    --gold:#4CAF50;
    --green:#4CAF50;
  }
  *{ scroll-behavior:smooth; }
  html{ overflow-x:hidden; max-width:100%; }
  body{ font-family:'Plus Jakarta Sans', system-ui, sans-serif; color:var(--ink); background:#fff; overflow-x:hidden; max-width:100%; }
  h1,h2,h3,h4,h5{ font-family:'Plus Jakarta Sans', sans-serif; font-weight:800; letter-spacing:-0.02em; }
  a{ text-decoration:none; }
  .text-muted-2{ color:var(--muted); }
  section{ position:relative; }

  /* ---------- Navbar ----------
     Fixed (not sticky): html/body below both set overflow-x:hidden to stop
     the decorative blobs from causing horizontal scroll, but an
     overflow-x:hidden ancestor is exactly what breaks CSS position:sticky
     in most browsers (a well-known gotcha), which is why the navbar wasn't
     staying put on scroll. position:fixed is anchored to the viewport
     instead, so it isn't affected by that at all. #mainNavSpacer below
     reserves the equivalent space so page content doesn't jump up
     underneath it. */
  .navbar{ padding:14px 0; background:rgba(255,255,255,0.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--border); transition:box-shadow .2s; position:fixed; top:0; left:0; right:0; width:100%; z-index:1030; }
  .navbar.scrolled{ box-shadow:0 6px 24px rgba(18,23,43,0.06); }
  .navbar-brand{ font-weight:800; font-size:1.3rem; color:var(--ink); }
  .navbar-brand span{ color:var(--brand); }
  .nav-link{ font-weight:600; color:var(--ink) !important; font-size:.93rem; position:relative; }
  .nav-link::after{ content:""; position:absolute; left:0; bottom:-4px; width:0; height:2px; background:var(--brand); transition:width .2s; }
  .nav-link:hover::after{ width:100%; }
  .nav-link:hover{ color:var(--brand) !important; }
  .btn-brand{ background:var(--brand); color:#fff; font-weight:700; border-radius:8px; padding:10px 22px; border:none; transition:transform .15s, box-shadow .15s, background .15s; }
  .btn-brand:hover{ background:var(--brand-dark); color:#fff; transform:translateY(-2px); box-shadow:0 10px 24px rgba(47,93,255,0.3); }
  .btn-outline-brand{ border:1.5px solid var(--border); color:var(--ink); font-weight:600; border-radius:8px; padding:9px 20px; transition:.15s; }
  .btn-outline-brand:hover{ border-color:var(--brand); color:var(--brand); }

  /* ---------- Hero ---------- */
  .hero{ padding:110px 0 100px; background:linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); overflow:hidden; position:relative; }
  .blob{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.35; z-index:0; animation:float 8s ease-in-out infinite; }
  .blob1{ width:340px; height:340px; background:var(--brand); top:-100px; right:-80px; }
  .blob2{ width:260px; height:260px; background:var(--gold); bottom:-80px; left:-60px; animation-delay:2s; }
  @keyframes float{ 0%,100%{ transform:translateY(0) scale(1); } 50%{ transform:translateY(-24px) scale(1.05); } }

  .badge-soft{ background:var(--brand-light); color:var(--brand); font-weight:700; font-size:.8rem; padding:8px 16px; border-radius:50px; display:inline-block; }
  .hero h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); line-height:1.1; margin-top:22px; }
  .hero h1 .accent{ color:var(--brand); position:relative; }
  .hero p.lead{ color:var(--muted); font-size:1.15rem; max-width:560px; margin-top:18px; }
  .hero-search{ margin-top:34px; max-width:560px; display:flex; background:#fff; border:1.5px solid var(--border); border-radius:12px; box-shadow:0 12px 30px rgba(18,23,43,0.06); overflow:visible; position:relative; }
  .hero-search input{ border:none; flex:1; padding:16px 18px; font-size:.95rem; outline:none; border-radius:12px 0 0 12px; }
  .hero-search button{ background:var(--brand); color:#fff; border:none; padding:0 26px; font-weight:700; transition:.15s; border-radius:0 12px 12px 0; }
  .hero-search button:hover{ background:var(--brand-dark); }
  .hero-tags{ margin-top:20px; display:flex; flex-wrap:wrap; gap:22px; }
  .hero-tags .item{ display:flex; align-items:center; gap:8px; font-size:.88rem; color:var(--muted); font-weight:600; }
  .hero-tags .item i{ color:#16A34A; }

  .hero-visual{ background:#fff; border:1px solid var(--border); border-radius:16px; box-shadow:0 20px 50px rgba(18,23,43,0.08); padding:28px; position:relative; z-index:1; animation:floatCard 5s ease-in-out infinite; }
  @keyframes floatCard{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
  .hero-visual .row-card{ display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:10px; margin-bottom:8px; transition:background .15s; }
  .hero-visual .row-card:hover{ background:var(--bg-soft); }
  .hero-visual .icon-box{ width:38px; height:38px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; color:#fff; flex-shrink:0; }

  /* ---------- Stats ---------- */
  .stats-strip{ border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:36px 0; background:var(--bg-soft); }
  .stat-num{ font-size:2rem; font-weight:800; color:var(--ink); }
  .stat-label{ color:var(--muted); font-size:.85rem; font-weight:600; text-transform:uppercase; letter-spacing:.04em; }

  /* ---------- Section common ---------- */
  .section{ padding : 60px 0; }
  .section-eyebrow{ color:var(--brand); font-weight:700; font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; }
  .section-title{ font-size:clamp(1.8rem,3vw,2.5rem); margin-top:10px; }
  .section-sub{ color:var(--muted); max-width:600px; margin-top:14px; font-size:1.05rem; }
  .section-head-row{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:16px; }
  .view-all{ font-weight:700; color:var(--brand); font-size:.92rem; white-space:nowrap; }
  .view-all i{ transition:transform .15s; }
  .view-all:hover i{ transform:translateX(4px); }

  /* ---------- Category cards ---------- */
  .cat-card{ border:1px solid var(--border); border-radius:14px; padding:28px; height:100%; transition:transform .18s, box-shadow .18s, border-color .18s; background:#fff; }
  .cat-card:hover{ transform:translateY(-6px); box-shadow:0 16px 36px rgba(18,23,43,0.08); border-color:transparent; }
  .cat-card .icon-box{ width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; color:#fff; margin-bottom:18px; transition:transform .18s; }
  .cat-card:hover .icon-box{ transform:scale(1.1) rotate(-4deg); }
  .cat-card h3{ font-size:1.15rem; font-weight:700; }
  .cat-card p{ color:var(--muted); font-size:.9rem; margin-top:8px; min-height:44px; }
  .cat-card .count{ font-size:.82rem; font-weight:700; color:var(--brand); margin-top:14px; }

  /* ---------- Tool cards ---------- */
  .tool-card{ border:1px solid var(--border); border-radius:14px; padding:24px; height:100%; background:#fff; transition:box-shadow .18s, border-color .18s, transform .18s; display:flex; flex-direction:column; }
  .tool-card:hover{ box-shadow:0 14px 32px rgba(18,23,43,0.08); border-color:transparent; transform:translateY(-4px); }
  .badge-tag{ background:var(--bg-soft); color:var(--muted); font-weight:700; font-size:.72rem; padding:5px 10px; border-radius:6px; text-transform:uppercase; letter-spacing:.03em; align-self:flex-start; }
  .tool-card h4{ font-size:1.1rem; font-weight:700; margin-top:14px; }
  .tool-card p{ color:var(--muted); font-size:.9rem; margin-top:8px; }
  .tool-card .go{ color:var(--brand); font-weight:700; font-size:.88rem; margin-top:auto; padding-top:16px; display:inline-block; align-self:flex-start; }

  /* ---------- App review cards ---------- */
  .app-card{ border:1px solid var(--border); border-radius:16px; padding:26px; height:100%; background:#fff; transition:box-shadow .18s, transform .18s; display:flex; flex-direction:column; }
  .app-card:hover{ box-shadow:0 18px 40px rgba(18,23,43,0.09); transform:translateY(-4px); }
  .app-top{ display:flex; gap:16px; align-items:center; }
  .app-icon{ width:58px; height:58px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:#fff; flex-shrink:0; }
  .app-title{ font-size:1.1rem; font-weight:700; }
  .app-cat{ font-size:.8rem; color:var(--muted); font-weight:600; }
  .stars{ color:var(--gold); font-size:.85rem; margin-top:10px; }
  .stars span{ color:var(--muted); font-weight:600; margin-left:4px; }
  .app-desc{ color:var(--muted); font-size:.9rem; margin-top:12px; }
  .app-meta{ display:flex; gap:16px; margin: 10px 0; font-size:.78rem; color:var(--muted); font-weight:600; }
  .app-meta i{ margin-right:4px; }
  .btn-download{ margin-top:auto; width:100%; background:var(--ink); color:#fff; font-weight:700; border-radius:9px; padding:11px; border:none; transition:.15s; display:flex; align-items:center; justify-content:center; gap:8px; }
  .btn-download:hover{ background:var(--brand); color:#fff; transform:translateY(-2px); }

  /* ---------- Template cards ---------- */
  .tpl-card{ border:1px solid var(--border); border-radius:16px; overflow:hidden; background:#fff; transition:box-shadow .18s, transform .18s; height:100%; display:flex; flex-direction:column; }
  .tpl-card:hover{ box-shadow:0 18px 40px rgba(18,23,43,0.09); transform:translateY(-4px); }
  .tpl-thumb{ height:170px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; font-size:2.6rem; color:#fff; position:relative; overflow:hidden; }
  .tpl-thumb::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 60%); }
  .tpl-body{ padding:20px; flex:1 1 auto; display:flex; flex-direction:column; }
  .tpl-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; }
  .tpl-tag{ font-size:.72rem; font-weight:700; background:var(--bg-soft); color:var(--muted); padding:4px 9px; border-radius:6px; }
  .tpl-body h4{ font-size:1.05rem; font-weight:700; margin-top:12px; }
  .tpl-body p{ color:var(--muted); font-size:.87rem; margin-top:6px; }
  .tpl-foot{ display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:16px; }
  .tpl-price{ font-weight:800; color:#16A34A; font-size:.92rem; }
  .btn-tpl{ background:var(--brand-light); color:var(--brand); font-weight:700; border:none; border-radius:8px; padding:9px 16px; font-size:.85rem; transition:.15s; }
  .btn-tpl:hover{ background:var(--brand); color:#fff; }

  /* ---------- Article cards ---------- */
  .article-card{ border:1px solid var(--border); border-radius:16px; overflow:hidden; background:#fff; height:100%; transition:box-shadow .18s, transform .18s; display:flex; flex-direction:column; }
  .article-card:hover{ box-shadow:0 18px 40px rgba(18,23,43,0.09); transform:translateY(-4px); }
  .article-thumb{ height:150px; flex:0 0 auto; background:linear-gradient(135deg, var(--brand-light), #fff); display:flex; align-items:center; justify-content:center; font-size:2.2rem; color:var(--brand); }
  .article-body{ padding:20px; flex:1 1 auto; display:flex; flex-direction:column; }
  .article-cat{ font-size:.75rem; font-weight:700; color:var(--brand); text-transform:uppercase; letter-spacing:.04em; }
  .article-body h4{ font-size:1.05rem; font-weight:700; margin-top:10px; line-height:1.35; }
  .article-body p{ color:var(--muted); font-size:.87rem; margin-top:8px; }
  .article-meta{ display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:16px; font-size:.78rem; color:var(--muted); font-weight:600; }

  /* ---------- Newsletter ---------- */
  .newsletter{ background:var(--ink); border-radius:24px; padding:60px 40px; text-align:center; color:#fff; position:relative; overflow:hidden; }
  .newsletter h2{ font-size:clamp(1.6rem,3vw,2.2rem); }
  .newsletter p{ color:#B7BDD1; margin-top:10px; }
  .newsletter-form{ max-width:460px; margin:28px auto 0; display:flex; gap:10px; }
  .newsletter-form input{ flex:1; border-radius:9px; border:none; padding:14px 16px; font-size:.9rem; }
  .newsletter-form button{ background:var(--brand); color:#fff; border:none; border-radius:9px; padding:0 24px; font-weight:700; transition:.15s; }
  .newsletter-form button:hover{ background:#c8492f; }

  /* ---------- Trust ---------- */
  .trust-card{ text-align:center; padding:20px; }
  .trust-card .icon-circle{ width:60px; height:60px; border-radius:50%; background:var(--bg-soft); color:var(--brand); display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin:0 auto 18px; transition:transform .18s; }
  .trust-card:hover .icon-circle{ transform:scale(1.1); }
  .trust-card h4{ font-size:1.05rem; }
  .trust-card p{ color:var(--muted); font-size:.9rem; margin-top:8px; }

  /* ---------- CTA ---------- */
  .cta-band{ background:linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); border-radius:24px; padding:70px 40px; text-align:center; color:#fff; }
  .cta-band h2{ font-size:clamp(1.8rem,3.6vw,2.6rem); }
  .cta-band p{ opacity:.9; margin-top:12px; }
  .cta-band .btn-light{ font-weight:700; border-radius:8px; padding:12px 30px; margin-top:26px; transition:.15s; }
  .cta-band .btn-light:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,0,0,0.2); }

  /* ---------- Footer ---------- */
  footer{ background:var(--ink); color:#B7BDD1; padding:60px 0 24px; }
  footer h5{ color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
  footer a{ color:#B7BDD1; font-size:.92rem; display:block; margin-bottom:10px; transition:color .15s; }
  footer a:hover{ color:#fff; }
  footer .foot-bottom{ border-top:1px solid rgba(255,255,255,0.1); margin-top:40px; padding-top:22px; font-size:.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
  footer .brand{ color:#fff; font-weight:800; font-size:1.2rem; }
  footer .brand span{ color:var(--brand); }
  footer p.desc{ font-size:.9rem; margin-top:14px; max-width:280px; }
  .social-row{ display:flex; gap:10px; margin-top:16px; }
  .social-row a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; margin:0; }
  .social-row a:hover{ background:var(--brand); }

  #toTop{ position:fixed; bottom:26px; right:26px; width:46px; height:46px; border-radius:50%; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:.25s; z-index:99; box-shadow:0 10px 24px rgba(47,93,255,0.35); }
  #toTop.show{ opacity:1; pointer-events:auto; }

/* ============ Shared: inner-page additions ============ */

/* Page header banner (used on Tools/Apps/Templates/Articles/About/Contact) */
.page-header{
  padding:150px 0 60px;
  background:linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  position:relative;
  overflow:hidden;
  text-align:center;
}
.page-header .blob{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.3; z-index:0; }
.page-header .blob1{ width:300px; height:300px; background:var(--brand); top:-100px; left:-60px; }
.page-header .blob2{ width:240px; height:240px; background:var(--gold); bottom:-80px; right:-40px; }
.page-header .inner{ position:relative; z-index:1; max-width:680px; margin:0 auto; }
.page-header h1{ font-size:clamp(2rem,4vw,2.8rem); font-weight:800; }
.page-header p{ color:var(--muted); font-size:1.05rem; margin-top:14px; }
.breadcrumb-row{ display:flex; justify-content:center; gap:8px; font-size:.85rem; color:var(--muted); margin-bottom:18px; font-weight:600; }
.breadcrumb-row a{ color:var(--brand); }

/* Filter tabs (Tools/Apps/Templates listing) */
.filter-tabs{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:34px 0 46px; }
.filter-tab{ font-weight:700; font-size:.85rem; padding:9px 20px; border-radius:24px; border:1.5px solid var(--border); color:var(--muted); background:#fff; transition:.15s; cursor:pointer; }
.filter-tab.active, .filter-tab:hover{ background:var(--brand); border-color:var(--brand); color:#fff; }

/* Search box small variant (used at top of listing pages) */
.mini-search{ max-width:520px; margin:0 auto; display:flex; background:#fff; border:1.5px solid var(--border); border-radius:12px; box-shadow:0 12px 30px rgba(18,23,43,0.06); overflow:visible; position:relative; text-align:left; }
.mini-search input{ border:none; flex:1; padding:14px 16px; font-size:.92rem; outline:none; border-radius:12px 0 0 12px; }
.mini-search button{ background:var(--brand); color:#fff; border:none; padding:0 22px; font-weight:700; border-radius:0 12px 12px 0; }

/* Pagination */
.pagination-row{ display:flex; justify-content:center; gap:8px; margin-top:50px; }
.page-btn{ width:40px; height:40px; border-radius:9px; border:1.5px solid var(--border); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.88rem; color:var(--ink); transition:.15s; }
.page-btn.active, .page-btn:hover{ background:var(--brand); border-color:var(--brand); color:#fff; }

/* About page */
.about-hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center; }
@media(max-width:900px){ .about-hero-grid{ grid-template-columns:1fr; } }
.value-card{ border:1px solid var(--border); border-radius:14px; padding:26px; height:100%; background:#fff; }
.value-card .icon-circle{ width:52px; height:52px; border-radius:12px; background:var(--brand-light); color:var(--brand); display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:16px; }
.team-card{ text-align:center; }
.team-avatar{ width:96px; height:96px; border-radius:50%; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; font-weight:800; color:#fff; padding: 30px; overflow: hidden;}
.team-avatar img{
     width:96px; height:96px; border-radius:50%; 
    object-fit: cover;
}
.team-card h5{ font-weight:700; font-size:1rem; }
.team-card span{ color:var(--muted); font-size:.85rem; }
.timeline-row{ display:flex; gap:24px; margin-bottom:28px; }
.timeline-year{ font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; color:var(--brand); width:80px; flex-shrink:0; }
.timeline-text h5{ font-weight:700; font-size:.98rem; }
.timeline-text p{ color:var(--muted); font-size:.87rem; margin-top:4px; }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:50px; }
@media(max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-info-card{ background:var(--ink); color:#fff; border-radius:18px; padding:34px; }
.contact-info-card h4{ font-size:1.1rem; margin-bottom:20px; }
.contact-info-row{ display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.contact-info-row i{ color:var(--brand); font-size:1.1rem; margin-top:2px; }
.contact-info-row div span{ display:block; color:#B7BDD1; font-size:.85rem; }
.contact-form{ background:#fff; border:1px solid var(--border); border-radius:18px; padding:34px; box-shadow:0 20px 50px rgba(18,23,43,0.06); }
.form-label{ font-weight:700; font-size:.88rem; margin-bottom:6px; display:block; }
.form-control-custom{ width:100%; border:1.5px solid var(--border); border-radius:9px; padding:12px 14px; font-size:.92rem; margin-bottom:18px; font-family:inherit; }
.form-control-custom:focus{ outline:none; border-color:var(--brand); }
.btn-submit{ background:var(--brand); color:#fff; font-weight:700; border:none; border-radius:9px; padding:13px 30px; transition:.15s; }
.btn-submit:hover{ background:var(--brand-dark); transform:translateY(-2px); }

/* Active nav link */
.nav-link.active{ color:var(--brand) !important; }
.nav-link.active::after{ width:100%; }

/* ============ Tool workspace (individual tool pages) ============ */
.tool-workspace{ border:1px solid var(--border); border-radius:16px; padding:32px; background:#fff; box-shadow:0 20px 50px rgba(18,23,43,0.06); }
.tool-workspace textarea, .tool-workspace input[type="text"], .tool-workspace input[type="number"], .tool-workspace input[type="date"], .tool-workspace select{
  width:100%; border:1.5px solid var(--border); border-radius:9px; padding:12px 14px; font-size:.94rem; font-family:inherit;
}
.tool-workspace textarea{ min-height:180px; font-family:'JetBrains Mono', monospace; font-size:.88rem; resize:vertical; }
.tool-workspace textarea:focus, .tool-workspace input:focus, .tool-workspace select:focus{ outline:none; border-color:var(--brand); }
.tool-workspace label{ font-weight:700; font-size:.85rem; margin-bottom:8px; display:block; }
.tool-result-box{ background:var(--bg-soft); border:1px solid var(--border); border-radius:10px; padding:18px; margin-top:16px; font-family:'JetBrains Mono', monospace; font-size:.9rem; white-space:pre-wrap; word-break:break-word; min-height:60px; }
.tool-stat-row{ display:flex; gap:24px; flex-wrap:wrap; margin-top:16px; }
.tool-stat{ background:var(--bg-soft); border-radius:10px; padding:14px 20px; text-align:center; min-width:100px; }
.tool-stat b{ display:block; font-size:1.4rem; color:var(--brand); }
.tool-stat span{ font-size:.75rem; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }
.btn-tool{ background:var(--brand); color:#fff; font-weight:700; border:none; border-radius:9px; padding:12px 26px; transition:.15s; }
.btn-tool:hover{ background:var(--brand-dark); color:#fff; transform:translateY(-2px); }
.btn-tool-outline{ background:#fff; border:1.5px solid var(--border); color:var(--ink); font-weight:700; border-radius:9px; padding:12px 26px; transition:.15s; }
.btn-tool-outline:hover{ border-color:var(--brand); color:var(--brand); }
.related-tool-chip{ display:inline-flex; align-items:center; gap:8px; border:1px solid var(--border); border-radius:9px; padding:10px 16px; font-size:.85rem; font-weight:600; margin:4px; transition:.15s; }
.related-tool-chip:hover{ border-color:var(--brand); color:var(--brand); }

/* App / template / article detail pages */
.detail-hero{ display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.detail-icon{ width:74px; height:74px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:2rem; color:#fff; flex-shrink:0; }
.detail-rating{ color:var(--gold); font-size:1rem; }
.review-prose{ font-size:1rem; line-height:1.75; color:#3a332f; }
.review-prose p{ margin-bottom:16px; }
.article-prose{ font-size:1.05rem; line-height:1.85; color:#3a332f;}
.article-prose p{ margin-bottom:20px; }

/* Alert / flash messages */
.alert-flash{ border-radius:10px; padding:14px 18px; margin-bottom:20px; font-size:.9rem; font-weight:600; }
.alert-flash.success{ background:#EAF7EC; color:#1E7B2B; border:1px solid #BFE6C4; }
.alert-flash.error{ background:#FDECE8; color:var(--brand-dark); border:1px solid #F5C6BC; }

/* ============ Admin panel ============ */
.admin-body{ background:var(--bg-soft); min-height:100vh; }
.admin-sidebar{ width:240px; background:var(--ink); color:#B7BDD1; min-height:100vh; padding:24px 0; position:fixed; }
.admin-sidebar .brand{ color:#fff; font-weight:800; font-size:1.1rem; padding:0 24px 24px; display:block; }
.admin-sidebar .brand span{ color:var(--brand); }
.admin-sidebar a{ display:flex; align-items:center; gap:12px; padding:12px 24px; color:#B7BDD1; font-size:.9rem; font-weight:600; transition:.15s; }
.admin-sidebar a:hover, .admin-sidebar a.active{ background:rgba(225,68,45,0.15); color:#fff; border-right:3px solid var(--brand); }
.admin-main{ margin-left:240px; padding:32px; }
@media(max-width:800px){ .admin-sidebar{ position:static; width:100%; min-height:auto; } .admin-main{ margin-left:0; } }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:28px; flex-wrap:wrap; gap:12px; }
.admin-card{ background:#fff; border:1px solid var(--border); border-radius:14px; padding:24px; }
.admin-stat-card{ background:#fff; border:1px solid var(--border); border-radius:14px; padding:22px; }
.admin-stat-card b{ font-size:1.8rem; display:block; color:var(--ink); }
.admin-stat-card span{ color:var(--muted); font-size:.82rem; font-weight:600; text-transform:uppercase; }
.admin-table{ width:100%; border-collapse:collapse; }
.admin-table th{ text-align:left; font-size:.75rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); padding:12px; border-bottom:2px solid var(--border); }
.admin-table td{ padding:12px; border-bottom:1px solid var(--border); font-size:.9rem; vertical-align:middle; }
.admin-table tr:hover{ background:var(--bg-soft); }
.admin-form label{ font-weight:700; font-size:.85rem; margin-bottom:6px; display:block; margin-top:16px; }
.admin-form input, .admin-form select, .admin-form textarea{ width:100%; border:1.5px solid var(--border); border-radius:9px; padding:11px 14px; font-size:.9rem; font-family:inherit; }
.admin-form textarea{ min-height:120px; }
.badge-action{ display:inline-block; padding:5px 12px; border-radius:6px; font-size:.78rem; font-weight:700; }
.badge-edit{ background:#EAF0FF; color:#2F5DFF; }
.badge-delete{ background:#FDECE8; color:var(--brand-dark); }
.login-box{ max-width:380px; margin:100px auto; background:#fff; border:1px solid var(--border); border-radius:16px; padding:36px; box-shadow:0 20px 50px rgba(18,23,43,0.08); }

/* ============ CEO / profile page ============ */
.ceo-profile-card{ background:#fff; border:1px solid var(--border); border-radius:20px; padding:40px; box-shadow:0 20px 50px rgba(18,23,43,0.06); text-align:center; }
.ceo-avatar{ width:130px; height:130px; border-radius:50%; overflow: hidden; margin:0 auto 20px; display:flex; align-items:center; justify-content:center; font-size:2.2rem; font-weight:800; color:#fff; background:var(--brand); }
.ceo-avatar img{ width:130px; height:130px; border-radius:50%; object-fit: cover;}
.ceo-profile-card h1{ font-size:1.7rem; margin-bottom:4px; }
.ceo-title{ color:var(--brand); font-weight:700; font-size:.95rem; }
.ceo-social-row{ display:flex; gap:10px; justify-content:center; margin-top:20px; }
.ceo-social-row a{ width:40px; height:40px; border-radius:50%; background:var(--bg-soft); color:var(--ink); display:flex; align-items:center; justify-content:center; transition:.15s; }
.ceo-social-row a:hover{ background:var(--brand); color:#fff; }

/* ============ Admin: color picker field (swatch + hex text, kept in sync) ============ */
.color-field{ display:flex; align-items:center; gap:10px; }
.color-field-swatch{
  width:46px !important; height:44px; padding:3px !important; flex-shrink:0;
  border:1.5px solid var(--border); border-radius:9px; cursor:pointer; background:#fff;
}
.color-field-swatch::-webkit-color-swatch-wrapper{ padding:2px; }
.color-field-swatch::-webkit-color-swatch{ border:none; border-radius:6px; }
.color-field-hex{ flex:1; font-family:'JetBrains Mono', monospace; text-transform:uppercase; }

/* ============ Admin: SEO meta title/description fields + char counters ============ */
.seo-fields-box .seo-counter{ text-align:right; }
.seo-fields-box .seo-counter-over{ color:var(--brand); font-weight:700; }

/* ============ Scroll-reveal (safe: visible by default, JS only enhances) ============ */
[data-aos]{ opacity:1; transform:none; }
[data-aos].reveal-init{
  opacity:0;
  transition:opacity .6s ease, transform .6s ease;
}
[data-aos="fade-up"].reveal-init{ transform:translateY(24px); }
[data-aos="fade-right"].reveal-init{ transform:translateX(-24px); }
[data-aos="fade-left"].reveal-init{ transform:translateX(24px); }
[data-aos="zoom-in"].reveal-init{ transform:scale(.94); }
[data-aos].reveal-init.reveal-visible{ opacity:1; transform:none; }

/* ============ Monetization: sponsored badges, premium pricing, ad slots ============ */
.sponsored-badge{
  position:absolute; top:10px; right:10px; background:var(--gold); color:#fff;
  font-size:.68rem; font-weight:800; padding:4px 10px; border-radius: 30px; text-transform:uppercase; letter-spacing:.03em;
  z-index:2;
}
.tpl-thumb{ position:relative; }
.app-card{ position:relative; }
.app-card .sponsored-badge{ top: 10px; right: 10px; }

.ad-slot{ margin:24px 0; text-align:center; }
.ad-slot:empty{ display:none; }
.ad-slot-header_banner{ margin:0; padding:10px 0; background:var(--bg-soft); border-bottom:1px solid var(--border); }
.ad-slot-sidebar{ position:sticky; top:100px; }

/* Reserved ad-space placeholder — shown wherever a slot has no live embed
   pasted in yet, so the layout keeps a clearly-marked, professional-looking
   spot for future ads instead of blank/collapsed space. */
.ad-slot-placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-height:90px;
  padding:18px 16px;
  border:1.5px dashed var(--border);
  border-radius:12px;
  background:var(--bg-soft);
  color:var(--muted);
}
.ad-slot-placeholder-label{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}
.ad-slot-placeholder-sub{
  font-size:.72rem;
  color:var(--muted);
  opacity:.75;
}
.ad-slot-header_banner.ad-slot-placeholder{ border-radius:0; border-width:0 0 1.5px 0; min-height:56px; background:var(--bg-soft); }
.ad-slot-sidebar.ad-slot-placeholder{ min-height:250px; }

.premium-badge{ display:inline-flex; align-items:center; gap:6px; background:linear-gradient(135deg,#F59E0B,#FCD34D); color:#7C4A03; font-weight:800; font-size:.75rem; padding:5px 12px; border-radius:20px; }
.price-tag{ font-size:1.4rem; font-weight:800; color:var(--brand); }
.btn-buy{ background:var(--gold); color:#fff; font-weight:700; border:none; border-radius:9px; padding:14px 30px; transition:.15s; display:inline-flex; align-items:center; gap:8px; text-decoration:none; }
.btn-buy:hover{ background:#3C8C40; color:#fff; transform:translateY(-2px); }

/* ============ Live search suggestions dropdown ============
   Positioned `fixed` and appended straight to <body> by main.js (with its
   left/top/width set from the input's own bounding rect) instead of living
   as a normal child of the search form. That's deliberate: the hero and
   page-header sections use overflow:hidden to clip their decorative blobs,
   and a descendant dropdown would get silently clipped by that too once it
   grew past a couple of results. A high z-index keeps it above the fixed
   navbar (1030) and everything else on the page. */
.search-wrap{ position:relative; }
.search-suggest{
  position:fixed; left:0; top:0;
  background:#fff; border:1px solid var(--border); border-radius:12px;
  box-shadow:0 20px 45px rgba(18,23,43,0.12);
  overflow:hidden; z-index:5000; text-align:left;
  max-height:360px; overflow-y:auto;
}
.search-suggest .ss-item{
  display:flex; align-items:center; gap:12px; padding:12px 16px;
  cursor:pointer; transition:background .12s; border-bottom:1px solid var(--border);
}
.search-suggest .ss-item:last-child{ border-bottom:none; }
.search-suggest .ss-item:hover, .search-suggest .ss-item.active{ background:var(--bg-soft); }
.search-suggest .ss-icon{
  width:34px; height:34px; border-radius:8px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:var(--brand-light); color:var(--brand); font-size:.95rem;
}
.search-suggest .ss-text{ min-width:0; flex:1; }
.search-suggest .ss-name{ font-weight:700; font-size:.9rem; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.search-suggest .ss-meta{ font-size:.76rem; color:var(--muted); text-transform:uppercase; letter-spacing:.03em; font-weight:600; }
.search-suggest .ss-seeall{
  display:flex; align-items:center; justify-content:center; gap:6px;
  padding:12px 16px; font-weight:700; font-size:.85rem; color:var(--brand);
  background:var(--bg-soft); cursor:pointer;
}
.search-suggest .ss-seeall:hover{ background:var(--brand-light); }
.search-suggest .ss-empty{ padding:16px; text-align:center; color:var(--muted); font-size:.88rem; }

/* ============ Toast notifications ============ */
#toastStack{
  position:fixed; top:20px; right:20px; z-index:2000;
  display:flex; flex-direction:column; gap:10px;
  max-width:min(360px, calc(100vw - 32px));
}
@media(max-width:576px){ #toastStack{ left:16px; right:16px; top:16px; max-width:none; } }
.toast-msg{
  display:flex; align-items:flex-start; gap:12px;
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; box-shadow:0 16px 40px rgba(18,23,43,0.14);
  font-size:.88rem; font-weight:600; color:var(--ink);
  transform:translateX(120%); opacity:0; transition:transform .35s ease, opacity .35s ease;
}
.toast-msg.show{ transform:translateX(0); opacity:1; }
.toast-msg.hide{ transform:translateX(120%); opacity:0; }
.toast-msg .toast-icon{
  width:30px; height:30px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:.9rem; color:#fff;
}
.toast-msg.success .toast-icon{ background:#16A34A; }
.toast-msg.error .toast-icon{ background:var(--brand); }
.toast-msg .toast-close{ margin-left:auto; cursor:pointer; color:var(--muted); background:none; border:none; font-size:1rem; line-height:1; padding:2px; }
.toast-msg .toast-close:hover{ color:var(--ink); }

/* ============ Mobile responsiveness pass ============ */
@media (max-width:576px){
  /* Decorative blurred blobs: keep them small on phones so they read as a
     soft background accent instead of a big block of color. */
  .blob1{ width:160px; height:160px; }
  .blob2{ width:130px; height:130px; }
  .hero{ padding:90px 0 60px; }
  .page-header{ padding:120px 0 40px; }
  .hero-search input, .mini-search input{ padding:14px 16px;}
  .hero-search button, .mini-search button{ padding:14px; justify-content:center; display:flex; align-items:center; gap:6px; }
  .newsletter{ padding:40px 22px; border-radius:16px; }
  .cta-band{ padding:46px 22px; border-radius:16px; }
  .admin-main{ padding:18px; }
}

/* ============ Rate this tool / Share this tool ============ */
.rate-share-card{
  background:#fff; border:1px solid var(--border); border-radius:16px;
  padding:22px 24px; height:100%;
}
.rs-heading{ font-weight:800; font-size:1rem; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.rs-heading i{ color:var(--brand); }

.rs-summary-row{ display:flex; align-items:center; flex-wrap:wrap; gap:18px; }
.rs-avg-block{ flex-shrink:0; }
.rs-avg-num{ font-size:2rem; font-weight:800; line-height:1; color:var(--ink); }
.rs-avg-count{ font-size:.78rem; color:var(--muted); margin-top:4px; }

.rs-breakdown{
  display:flex; gap:4px; font-size:.8rem; color:var(--muted);
  border-left:1px solid var(--border); padding-left:18px; flex:1; min-width:180px;
}
.rs-breakdown b{ color:var(--ink); font-weight:700; }

.rs-stars-input{ text-align:right; flex-shrink:0; margin-left:auto; }
.rs-stars{ display:flex; gap:4px; font-size:1.3rem; color:#D8DCE6; cursor:pointer; }
.rs-star{ transition:color .12s, transform .12s; }
.rs-star:hover, .rs-star.rs-hover{ transform:scale(1.12); }
.rs-star.rs-filled{ color:#F5A623; } /* JS swaps the icon class (bi-star <-> bi-star-fill) to match */
.rs-stars.rs-disabled{ cursor:default; }
.rs-stars.rs-disabled .rs-star:hover{ transform:none; }
.rs-hint{ font-size:.78rem; color:var(--muted); margin-top:6px; }
.rs-hint.rs-success{ color:#16A34A; font-weight:600; }
.rs-hint.rs-error{ color:var(--brand); font-weight:600; }

.rs-share-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.rs-share-btn{
  display:flex; align-items:center; gap:8px; justify-content:center;
  padding:11px 12px; border:1px solid var(--border); border-radius:10px;
  background:#fff; color:var(--ink); font-weight:600; font-size:.85rem;
  cursor:pointer; transition:.15s; text-decoration:none;
}
.rs-share-btn:hover{ background:var(--bg-soft); border-color:var(--brand); color:var(--ink); }
.rs-share-btn.rs-tw{ color:#1DA1F2; }
.rs-share-btn.rs-fb{ color:#1877F2; }
.rs-share-btn.rs-li{ color:#0A66C2; }
.rs-share-btn.rs-copied{ background:#16A34A; border-color:#16A34A; color:#fff; }

@media (max-width:767px){
  .rs-summary-row{ flex-direction:column; align-items:flex-start; }
  .rs-breakdown{ border-left:none; padding-left:0; border-top:1px solid var(--border); padding-top:12px; width:100%; }
  .rs-stars-input{ margin-left:0; text-align:left; width:100%; }
  .rs-share-grid{ grid-template-columns:1fr 1fr;}
}
/* FAQ accordion — brand color instead of Bootstrap's default blue */
.accordion-button:not(.collapsed){
  background:#FDECE8;
  color:#E1442D;
  box-shadow:none;
}
.accordion-button:focus{
  box-shadow:none;
  border-color:#F1E2DC;
}
.accordion-button::after{
  filter: invert(29%) sepia(89%) saturate(1946%) hue-rotate(347deg) brightness(93%) contrast(92%);
}

/* Write for Us — custom FAQ cards (separated, rounded, brand-styled) */
.wfu-faq{ display:flex; flex-direction:column; gap:16px; }
.wfu-faq .accordion-item{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 4px 14px rgba(18,23,43,0.04);
  transition:box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.wfu-faq .accordion-item:hover{
  border-color:var(--brand);
  box-shadow:0 14px 32px rgba(18,23,43,0.08);
  transform:translateY(-2px);
}
.wfu-faq .accordion-header{ margin:0; }
.wfu-faq .accordion-button{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:700;
  font-size:1.04rem;
  color:var(--ink);
  padding:22px 26px;
  background:#fff;
  border-radius:16px;
}
.wfu-faq .accordion-button:not(.collapsed){
  background:var(--bg-soft);
  color:var(--brand);
  border-radius:16px 16px 0 0;
}
.wfu-faq .accordion-button:focus{
  box-shadow:none;
  border-color:var(--border);
}
.wfu-faq .accordion-button::after{
  margin-left:auto;
  flex:0 0 auto;
}
.wfu-faq .wfu-faq-icon{
  display:flex; align-items:center; justify-content:center;
  width:32px; height:32px; flex:0 0 auto;
  border-radius:50%;
  background:var(--brand-light);
  color:var(--brand);
  font-size:.95rem;
  transition:background .2s ease, color .2s ease;
}
.wfu-faq .accordion-button:not(.collapsed) .wfu-faq-icon{
  background:var(--brand);
  color:#fff;
}
.wfu-faq .accordion-body{
  padding:2px 26px 24px 72px;
  color:var(--muted);
  font-size:.98rem;
  line-height:1.7;
}
@media (max-width:575px){
  .wfu-faq .accordion-button{ padding:18px 18px; font-size:.97rem; }
  .wfu-faq .accordion-body{ padding:0 18px 20px 62px; }
  .wfu-faq .wfu-faq-icon{ width:28px; height:28px; font-size:.85rem; }
}

/* Write for Us — "Who can partner" tags: infinite right-to-left marquee.
   Fixes the tags wrapping/crowding on small screens by never wrapping —
   the row scrolls continuously instead. */
.wfu-marquee{
  overflow:hidden;
  width:100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.wfu-marquee-track{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  padding:2px 0;
  animation: wfu-marquee-scroll 32s linear infinite;
}
.wfu-marquee .tpl-tag{
  white-space:nowrap;
  flex:0 0 auto;
}
.wfu-marquee:hover .wfu-marquee-track{ animation-play-state:paused; }
@keyframes wfu-marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .wfu-marquee-track{ animation:none; }
  .wfu-marquee{ overflow-x:auto; }
}
@media (max-width:575px){
  .wfu-marquee-track{ animation-duration:20s; gap:8px; }
  .wfu-marquee .tpl-tag{ font-size:.82rem !important; padding:8px 14px !important; }
}

/* Write for Us — search-query chip grid (mobile-friendly wrapping cloud) */
.wfu-query-grid{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  justify-content:center;
}
.wfu-query-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.82rem;
  font-weight:600;
  color:var(--muted);
  background:#fff;
  border:1px solid var(--border);
  padding:8px 14px;
  border-radius:20px;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
}
.wfu-query-chip i{ color:var(--brand); font-size:.78rem; }
.wfu-query-chip:hover{
  border-color:var(--brand);
  color:var(--brand);
  background:var(--bg-soft);
}
@media (max-width:575px){
  .wfu-query-chip{ font-size:.78rem; padding:7px 12px; }
}