/* refresh.css — 2026 visual upgrade for Smart AI Tools Review.
 * Loaded AFTER style.css; overrides palette/typography.
 * Brand: indigo + teal, sans headlines (techy-editorial).
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:wght@400;600;700&display=swap");

:root {
  --satr-ink: #0f172a;
  --satr-body: #334155;
  --satr-muted: #64748b;
  --satr-line: #e2e8f0;
  --satr-bg: #ffffff;
  --satr-bg-alt: #f8fafc;
  --satr-accent: #4f46e5;       /* indigo */
  --satr-accent-dark: #3730a3;
  --satr-teal: #0891b2;
  --satr-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--satr-body);
  background: var(--satr-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Source Serif 4', 'Georgia', serif;
  color: var(--satr-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; margin-top: 2.5rem; }
h3 { font-size: 1.35rem; font-weight: 600; margin-top: 2rem; }
a { color: var(--satr-accent); text-underline-offset: 3px; }
a:hover { color: var(--satr-accent-dark); }

.container { max-width: 1200px; padding-left: 1.25rem; padding-right: 1.25rem; margin: 0 auto; }

header {
  background: var(--satr-bg);
  border-bottom: 1px solid var(--satr-line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.header-content { padding: 1rem 1.25rem; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Source Serif 4', serif; font-size: 1.2rem; font-weight: 700; color: var(--satr-ink); letter-spacing: -0.01em; }
nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
nav a {
  color: var(--satr-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
nav a:hover, nav a.active { color: var(--satr-accent); }

.hero {
  background: linear-gradient(180deg, #eef2ff 0%, #f0f9ff 100%);
  padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--satr-line);
}
.hero h1 { color: var(--satr-ink); }

.featured-section, section { padding: 3.5rem 1.25rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
  border: 0;
  cursor: pointer;
}
.btn-primary, .btn.btn-primary {
  background: var(--satr-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--satr-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25); }
.btn-outline {
  background: transparent;
  color: var(--satr-accent);
  border: 2px solid var(--satr-accent);
}
.btn-outline:hover { background: var(--satr-accent); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.btn-muted { background: var(--satr-bg-alt); color: var(--satr-muted); border: 1px solid var(--satr-line); }

.card, .tool-card {
  background: var(--satr-bg);
  border: 1px solid var(--satr-line);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover, .tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--satr-shadow);
}

.category-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #eef2ff;
  color: var(--satr-accent-dark);
}
.category-tag.writing { background: #f0fdf4; color: #166534; }
.category-tag.image { background: #fdf4ff; color: #86198f; }
.category-tag.code { background: #eff6ff; color: #1e40af; }
.category-tag.video { background: #fef2f2; color: #991b1b; }
.category-tag.business { background: #fff7ed; color: #9a3412; }
.category-tag.marketing { background: #fefce8; color: #854d0e; }
.category-tag.creative { background: #f5f3ff; color: #5b21b6; }

.newsletter-form {
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 100%);
  color: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
  margin: 0 auto;
  max-width: 560px;
}
.newsletter-form input[type="email"] {
  width: 100%; padding: 0.85rem 1rem;
  border-radius: 8px; border: 0;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}
.newsletter-form button {
  width: 100%;
  background: var(--satr-teal);
  color: #fff;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.newsletter-form button:hover { background: #0e7490; }
.newsletter-success {
  background: rgba(255,255,255,0.12);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  color: #fff;
}
.cta-section {
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 100%);
  color: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 3rem auto;
}
.cta-section h3 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.9); }

footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; padding: 0 1.25rem; max-width: 1200px; margin: 0 auto 2rem; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 1.25rem 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  max-width: 1200px;
  margin: 0 auto;
}

.grid, .grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.5rem;
}
.grid-2, .grid.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3, .grid.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4, .grid.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.ad-slot, ins.adsbygoogle {
  display: block !important;
  margin: 2.5rem auto;
  max-width: 100%;
}
.ad-slot {
  background: var(--satr-bg-alt);
  border: 1px solid var(--satr-line);
  border-radius: 8px;
  padding: 0.5rem;
  min-height: 100px;
  text-align: center;
}

@media (max-width: 768px) {
  nav ul { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .hero { padding: 3rem 0; }
  .header-content { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
