/* ===== FREEAITOOLSUSA — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg: #08080f;
  --s1: #0e0e1a;
  --s2: #141422;
  --card: #12121e;
  --card2: #1a1a2a;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #ededff;
  --body: #b0b0cc;
  --muted: #6868a0;
  --dim: #303055;
  --lime: #c8ff00;
  --cyan: #00e5ff;
  --pink: #ff3d9a;
  --orange: #ff6600;
  --green: #00e676;
  --violet: #7c3aed;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(124,58,237,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(0,229,255,0.04) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--dim); border-radius: 3px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,8,15,0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 62px;
  display: flex; align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 900; font-size: 1.2rem;
  letter-spacing: -0.5px;
  text-decoration: none; color: var(--text);
}
.site-logo .s-free { color: var(--lime); }
.site-logo .s-ai { color: var(--cyan); }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.83rem; font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--lime); }
.site-nav a.active { color: var(--text); }

.nav-cta {
  background: var(--lime); color: #08080f !important;
  padding: 0.4rem 1.1rem; border-radius: 100px;
  font-weight: 700 !important; font-size: 0.78rem !important;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85 !important; }

/* ===== PAGE WRAPPER ===== */
.page-wrap {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.page-wrap-wide {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

/* ===== TAGS / BADGES ===== */
.page-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(200,255,0,0.07);
  border: 1px solid rgba(200,255,0,0.2);
  color: var(--lime); padding: 0.3rem 1rem;
  border-radius: 100px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 1.5rem;
}

/* ===== HEADINGS ===== */
.page-h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 900; font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 1rem;
}

.page-h1 .hl {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2.sh {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.25rem; letter-spacing: -0.3px;
  margin: 2.5rem 0 0.8rem; color: var(--lime);
}

h3.sh3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.05rem; margin: 1.8rem 0 0.5rem;
}

/* ===== PROSE ===== */
.prose p { color: var(--body); margin-bottom: 1.2rem; line-height: 1.8; }
.prose ul, .prose ol { color: var(--body); padding-left: 1.5rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose a { color: var(--cyan); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }

/* ===== INFO CARD ===== */
.info-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 18px; padding: 1.8rem;
  margin: 1.5rem 0;
}

/* ===== CTA BOX ===== */
.cta-box {
  background: linear-gradient(135deg, rgba(255,102,0,0.1), rgba(124,58,237,0.1));
  border: 1px solid rgba(255,102,0,0.3);
  border-radius: 18px; padding: 2rem;
  margin: 3rem 0; text-align: center;
}
.cta-box h3 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.15rem; margin-bottom: 0.5rem;
}
.cta-box p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.3rem; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), #cc2200);
  color: white; padding: 0.75rem 2rem; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 0.9rem; text-decoration: none;
  transition: all 0.2s;
}
.cta-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ===== AD SLOT ===== */
.ad-slot {
  background: var(--card); border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 12px; padding: 1.2rem;
  text-align: center; color: var(--dim); font-size: 0.73rem;
  margin: 2rem 0;
}

/* ===== META ===== */
.post-meta {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; color: var(--muted);
  font-size: 0.82rem; margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.meta-dot { width: 3px; height: 3px; background: var(--dim); border-radius: 50%; }

/* ===== STATS ROW ===== */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 2rem 0;
}
.stat-box {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 14px; padding: 1.2rem; text-align: center;
}
.stat-n {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: 1.8rem; color: var(--lime);
}
.stat-l { font-size: 0.73rem; color: var(--muted); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== TOOL HIGHLIGHT BOX ===== */
.tool-hbox {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 16px; padding: 1.5rem;
  margin: 1.5rem 0;
}
.tool-hbox-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.05rem; margin-bottom: 0.4rem;
}
.free-pill {
  display: inline-block;
  background: rgba(0,230,118,0.12); color: var(--green);
  border: 1px solid rgba(0,230,118,0.25);
  font-size: 0.68rem; padding: 0.15rem 0.6rem;
  border-radius: 100px; font-weight: 700; margin-bottom: 0.7rem;
}
.tool-hbox a { color: var(--cyan); text-decoration: none; font-weight: 600; font-size: 0.85rem; }
.tool-hbox a:hover { text-decoration: underline; }
.tool-hbox p { color: var(--body); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.5rem; }

/* ===== COMPARE TABLE ===== */
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.85rem; }
.compare-table th { background: var(--card); color: var(--lime); padding: 0.8rem 1rem; text-align: left; border: 1px solid var(--border); font-family: 'Syne', sans-serif; }
.compare-table td { padding: 0.7rem 1rem; border: 1px solid var(--border); color: var(--body); }
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.win { color: var(--green); font-weight: 700; }

/* ===== CALLOUT ===== */
.callout {
  background: rgba(200,255,0,0.05); border: 1px solid rgba(200,255,0,0.15);
  border-left: 3px solid var(--lime); border-radius: 0 12px 12px 0;
  padding: 1rem 1.4rem; margin: 1.5rem 0;
}
.callout p { color: var(--text); margin: 0; font-size: 0.9rem; }

/* ===== FOOTER ===== */
.site-footer {
  position: relative; z-index: 1;
  background: var(--s1); border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem; text-align: center;
  margin-bottom: 0;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 900;
  font-size: 1.2rem; margin-bottom: 1rem; display: block;
}
.footer-logo .s-free { color: var(--lime); }
.footer-logo .s-ai { color: var(--cyan); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }
.footer-copy { color: var(--dim); font-size: 0.75rem; line-height: 1.6; }
.footer-copy a { color: var(--cyan); text-decoration: none; }

/* ===== BLOG GRID ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; text-decoration: none; display: block; transition: all 0.2s; }
.blog-card:hover { border-color: rgba(200,255,0,0.25); transform: translateY(-3px); }
.bc-cat { display: inline-block; background: rgba(200,255,0,0.07); border: 1px solid rgba(200,255,0,0.18); color: var(--lime); padding: 0.18rem 0.7rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; margin-bottom: 0.8rem; }
.bc-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.95rem; color: var(--text); margin-bottom: 0.5rem; line-height: 1.3; }
.bc-desc { color: var(--muted); font-size: 0.8rem; line-height: 1.5; margin-bottom: 0.8rem; }
.bc-meta { font-size: 0.72rem; color: var(--dim); }

/* ===== FORM ===== */
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--card2);
  border: 1.5px solid var(--border2); color: var(--text);
  padding: 0.75rem 1rem; border-radius: 12px;
  font-size: 0.9rem; font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none; transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--lime); }
.form-field textarea { resize: vertical; min-height: 110px; }
.submit-btn {
  width: 100%; background: linear-gradient(135deg, var(--lime), #a0cc00);
  color: #08080f; border: none; padding: 0.9rem;
  border-radius: 12px; font-family: 'Syne', sans-serif;
  font-weight: 900; font-size: 1rem; cursor: pointer;
  transition: all 0.2s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,255,0,0.2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .site-header { padding: 0 1.2rem; }
  .site-nav .hide-mob { display: none; }
  .page-wrap, .page-wrap-wide { padding: 2.5rem 1.2rem 5rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
