/*
Theme Name: Work Tool Guide
Theme URI: https://worktoolguide.com
Author: Work Tool Guide
Author URI: https://worktoolguide.com
Description: Custom theme for Work Tool Guide - AI Tools Reviews for Small Business & Freelancers
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: worktoolguide
*/

:root {
  --black: #0a0a0a;
  --white: #fafaf8;
  --accent: #00c896;
  --gray: #6b6b6b;
  --lightgray: #f0efe9;
  --border: #e2e0d8;
  --card: #ffffff;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* NAV */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 20px;
  color: var(--black);
  display: flex; align-items: center; gap: 8px;
}
.logo-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; }
.main-nav { display: flex; gap: 32px; list-style: none; }
.main-nav a { color: var(--gray); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: var(--black); }
.nav-cta {
  background: var(--black); color: var(--white) !important;
  padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: #222 !important; }

/* HERO */
.hero {
  padding: 100px 5% 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; max-width: 1280px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e8fff8; color: #007a5a;
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500; margin-bottom: 24px;
  border: 1px solid #b3f0da;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -1.5px; margin-bottom: 24px;
}
h1 span { color: var(--accent); }
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700; letter-spacing: -0.5px; margin-bottom: 14px;
}
h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 22px; margin-bottom: 12px;
}

.hero-sub {
  font-size: 18px; color: var(--gray);
  max-width: 480px; margin-bottom: 40px;
  font-weight: 300; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--black); color: var(--white);
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); color: var(--white); }
.btn-secondary {
  color: var(--black); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.btn-secondary:hover { gap: 10px; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700; }
.stat-label { font-size: 13px; color: var(--gray); }

/* HERO VISUAL */
.hero-visual {
  position: relative; background: var(--lightgray);
  border-radius: 20px; padding: 28px; border: 1px solid var(--border); overflow: hidden;
}
.tool-card {
  background: white; border-radius: 12px; padding: 16px 20px;
  margin-bottom: 12px; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  animation: slideIn 0.5s ease both;
}
.tool-card:nth-child(1){animation-delay:0.1s}
.tool-card:nth-child(2){animation-delay:0.2s}
.tool-card:nth-child(3){animation-delay:0.3s}
.tool-card:nth-child(4){animation-delay:0.4s}
@keyframes slideIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.tool-icon { width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0; }
.tool-info { flex: 1; }
.tool-name { font-weight: 600; font-size: 14px; }
.tool-desc { font-size: 12px; color: var(--gray); }
.tool-score { font-family:'Syne',sans-serif;font-weight:700;font-size:16px;color:var(--accent); }
.stars { font-size: 11px; color: #f5a623; }

/* SECTIONS */
.section { padding: 80px 5%; max-width: 1280px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.section-sub { font-size: 17px; color: var(--gray); max-width: 560px; margin-bottom: 48px; }

/* TRUSTED */
.trusted {
  background: var(--lightgray); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 24px 5%; text-align: center;
}
.trusted p { font-size: 13px; color: var(--gray); margin-bottom: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.trusted-logos { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trusted-logo { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: #bbb; }

/* CATEGORIES */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; display: block; color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: var(--accent); }
.cat-icon { width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:18px; }
.cat-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.cat-desc { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.cat-count { font-size: 12px; font-weight: 600; color: var(--accent); }

/* REVIEWS GRID */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.review-card.featured { border-color: var(--accent); }
.featured-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.review-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.review-logo { width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;border:1px solid var(--border);flex-shrink:0;background:var(--lightgray); }
.review-tool-name { font-family:'Syne',sans-serif;font-weight:700;font-size:18px; }
.review-category { font-size:13px;color:var(--gray); }
.review-score-row { display:flex;align-items:center;gap:10px;margin-top:4px; }
.score-big { font-family:'Syne',sans-serif;font-weight:800;font-size:24px; }
.stars-big { font-size:14px;color:#f5a623; }
.review-summary { font-size:14px;color:var(--gray);margin-bottom:20px;line-height:1.7; }
.review-pros-cons { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px; }
.pros,.cons { font-size:13px; }
.pros-title,.cons-title { font-weight:600;margin-bottom:6px;font-size:12px;text-transform:uppercase;letter-spacing:0.05em; }
.pros-title { color:var(--accent); }
.cons-title { color:#ff5252; }
.pros li,.cons li { list-style:none;padding:3px 0;color:var(--gray); }
.pros li::before { content:'✓ ';color:var(--accent);font-weight:700; }
.cons li::before { content:'✗ ';color:#ff5252; }
.review-commission { background:#e8fff8;border:1px solid #b3f0da;border-radius:8px;padding:10px 14px;font-size:13px;color:#007a5a;font-weight:500;margin-bottom:20px; }
.btn-review { display:inline-flex;align-items:center;gap:6px;background:var(--black);color:white;padding:12px 22px;border-radius:8px;font-size:14px;font-weight:500;transition:background 0.2s; }
.btn-review:hover { background:#222;color:white; }
.btn-outline { display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--border);color:var(--black);padding:12px 22px;border-radius:8px;font-size:14px;font-weight:500;transition:border-color 0.2s;margin-left:10px; }
.btn-outline:hover { border-color:var(--black); }

/* HOW IT WORKS */
.how-section { background:var(--black);color:var(--white);padding:80px 5%; }
.how-inner { max-width:1280px;margin:0 auto; }
.how-section .section-label { color:var(--accent); }
.how-section h2 { color:var(--white); }
.how-section .section-sub { color:#999; }
.steps { display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-top:48px; }
.step-num { font-family:'Syne',sans-serif;font-size:48px;font-weight:800;color:#1e1e1e;margin-bottom:16px;line-height:1; }
.step-title { font-family:'Syne',sans-serif;font-weight:700;font-size:17px;color:white;margin-bottom:10px; }
.step-desc { font-size:14px;color:#888;line-height:1.7; }

/* NEWSLETTER */
.newsletter { background:var(--lightgray);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:64px 5%;text-align:center; }
.newsletter h2 { margin-bottom:12px; }
.newsletter p { color:var(--gray);margin-bottom:32px; }
.email-form { display:flex;gap:12px;max-width:460px;margin:0 auto; }
.email-input { flex:1;padding:14px 18px;border:1.5px solid var(--border);border-radius:10px;font-size:15px;background:white;outline:none;font-family:'DM Sans',sans-serif;transition:border-color 0.2s; }
.email-input:focus { border-color:var(--accent); }
.email-btn { background:var(--black);color:white;padding:14px 24px;border-radius:10px;font-size:15px;font-weight:500;border:none;cursor:pointer;font-family:'DM Sans',sans-serif;transition:background 0.2s;white-space:nowrap; }
.email-btn:hover { background:#222; }

/* BLOG */
.blog-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:28px; }
.blog-card { background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:transform 0.2s,box-shadow 0.2s; }
.blog-card:hover { transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,0.08); }
.blog-card-img { height:180px;background:var(--lightgray);display:flex;align-items:center;justify-content:center;font-size:48px; }
.blog-card-body { padding:24px; }
.blog-tag { display:inline-block;background:#e8fff8;color:#007a5a;font-size:11px;font-weight:600;padding:3px 10px;border-radius:20px;margin-bottom:12px;text-transform:uppercase;letter-spacing:0.05em; }
.blog-title { font-family:'Syne',sans-serif;font-weight:700;font-size:17px;margin-bottom:10px;line-height:1.3; }
.blog-title a { color:var(--black); }
.blog-title a:hover { color:var(--accent); }
.blog-excerpt { font-size:14px;color:var(--gray);line-height:1.6;margin-bottom:16px; }
.blog-meta { font-size:12px;color:#aaa; }

/* SINGLE POST */
.post-container { max-width:800px;margin:0 auto;padding:60px 5%; }
.post-header { margin-bottom:48px; }
.post-tag { display:inline-block;background:#e8fff8;color:#007a5a;font-size:12px;font-weight:600;padding:4px 12px;border-radius:20px;margin-bottom:16px;text-transform:uppercase;letter-spacing:0.05em; }
.post-title { font-family:'Syne',sans-serif;font-size:clamp(28px,4vw,48px);font-weight:800;letter-spacing:-1px;line-height:1.1;margin-bottom:20px; }
.post-meta { font-size:14px;color:var(--gray);margin-bottom:32px; }
.post-intro { font-size:19px;color:var(--gray);line-height:1.7;margin-bottom:40px;font-weight:300; }
.post-content h2 { font-family:'Syne',sans-serif;font-size:26px;font-weight:700;margin:48px 0 16px;letter-spacing:-0.5px; }
.post-content h3 { font-family:'Syne',sans-serif;font-size:20px;font-weight:700;margin:32px 0 12px; }
.post-content p { font-size:16px;line-height:1.8;margin-bottom:24px;color:#333; }
.post-content ul,.post-content ol { margin:0 0 24px 24px; }
.post-content li { font-size:16px;line-height:1.8;margin-bottom:8px;color:#333; }
.post-content strong { font-weight:600;color:var(--black); }
.post-content a { color:var(--accent);text-decoration:underline; }

/* TOOL REVIEW BOX */
.tool-review-box { background:var(--lightgray);border:1px solid var(--border);border-radius:16px;padding:32px;margin:40px 0; }
.tool-review-box h3 { margin-bottom:16px; }
.rating-row { display:flex;align-items:center;gap:16px;margin-bottom:20px; }
.rating-score { font-family:'Syne',sans-serif;font-size:48px;font-weight:800;color:var(--black); }
.rating-stars { font-size:24px;color:#f5a623; }
.pros-cons-grid { display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0; }
.pros-box,.cons-box { background:white;border-radius:12px;padding:20px; }
.pros-box h4 { color:var(--accent);margin-bottom:12px;font-size:14px;text-transform:uppercase;letter-spacing:0.05em; }
.cons-box h4 { color:#ff5252;margin-bottom:12px;font-size:14px;text-transform:uppercase;letter-spacing:0.05em; }
.commission-box { background:#e8fff8;border:1px solid #b3f0da;border-radius:10px;padding:16px 20px;margin:20px 0;font-size:14px;color:#007a5a;font-weight:500; }
.cta-box { background:var(--black);color:white;border-radius:14px;padding:32px;text-align:center;margin:40px 0; }
.cta-box h3 { color:white;margin-bottom:12px; }
.cta-box p { color:#999;margin-bottom:24px; }

/* FOOTER */
footer { background:var(--black);color:var(--white);padding:60px 5% 32px; }
.footer-inner { max-width:1280px;margin:0 auto; }
.footer-top { display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px; }
.footer-logo { font-family:'Syne',sans-serif;font-weight:800;font-size:20px;color:white;margin-bottom:14px; }
.footer-tagline { font-size:14px;color:#888;line-height:1.7; }
.footer-col h4 { font-family:'Syne',sans-serif;font-weight:700;font-size:14px;color:white;margin-bottom:16px; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { font-size:14px;color:#888;transition:color 0.2s; }
.footer-col ul li a:hover { color:white; }
.footer-bottom { border-top:1px solid #1e1e1e;padding-top:24px;display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px; }
.footer-bottom p { font-size:13px;color:#666; }
.footer-disclaimer { font-size:12px;color:#555;max-width:600px;line-height:1.6; }

/* PAGE HERO */
.page-hero { background:var(--lightgray);padding:60px 5%;border-bottom:1px solid var(--border); }
.page-hero-inner { max-width:1280px;margin:0 auto; }
.page-hero h1 { font-size:clamp(32px,4vw,52px); }
.page-hero p { font-size:18px;color:var(--gray);max-width:600px;margin-top:16px; }

/* RESPONSIVE */
@media (max-width:900px) {
  .hero { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .categories-grid { grid-template-columns:1fr 1fr; }
  .reviews-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr 1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .blog-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:600px) {
  .main-nav { display:none; }
  .categories-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .email-form { flex-direction:column; }
  .footer-top { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr; }
  .pros-cons-grid { grid-template-columns:1fr; }
}
