/*
Theme Name: AIToolsGuide Light Blue
Theme URI: https://aitoolsguide.live
Author: AIToolsGuide
Description: A clean white and blue theme for AI tools blogs. Perfect for AdSense monetization.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: aitoolsguide
Tags: light, white, blue, technology, blog, adsense, ai, tech
*/

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== ROOT VARIABLES ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8faff;
  --bg-card: #ffffff;
  --bg-card2: #f1f5ff;
  --accent-blue: #2563eb;
  --accent-blue-deep: #1d4ed8;
  --accent-blue-light: #3b82f6;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --border-blue: rgba(37,99,235,0.15);
  --border-card: rgba(37,99,235,0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 12px rgba(37,99,235,0.1);
  --font-body: 'Space Grotesk', sans-serif;
  --font-heading: 'Orbitron', sans-serif;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body { background:#ffffff; color:var(--text-primary); font-family:var(--font-body); font-size:16px; line-height:1.7; }
a { color:var(--accent-blue); text-decoration:none; }
a:hover { color:var(--accent-blue-deep); }
img { max-width:100%; height:auto; display:block; }
h1,h2,h3,h4,h5,h6 { font-family:var(--font-heading); color:var(--text-primary); line-height:1.3; margin-bottom:16px; }
p { margin-bottom:16px; color:var(--text-muted); }
ul,ol { padding-left:24px; margin-bottom:16px; color:var(--text-muted); }

/* ===== LAYOUT ===== */
.container { max-width:1100px; margin:0 auto; padding:0 24px; }
.site-wrapper { min-height:100vh; display:flex; flex-direction:column; }
.site-content { flex:1; }

/* ===== NAVIGATION ===== */
.site-header { position:sticky; top:0; z-index:999; background:rgba(255,255,255,0.97); border-bottom:1px solid rgba(37,99,235,0.1); backdrop-filter:blur(10px); box-shadow:0 1px 8px rgba(37,99,235,0.06); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; padding:16px 24px; max-width:1100px; margin:0 auto; }
.site-logo { font-family:var(--font-heading); font-size:16px; color:var(--accent-blue); letter-spacing:2px; text-decoration:none; font-weight:700; }
.site-logo span { color:var(--accent-blue-light); }
.main-nav ul { list-style:none; display:flex; gap:28px; padding:0; margin:0; }
.main-nav ul li a { font-size:13px; color:var(--text-muted); letter-spacing:0.5px; transition:color 0.2s; text-decoration:none; font-weight:500; }
.main-nav ul li a:hover, .main-nav ul li.current-menu-item a { color:var(--accent-blue); }
.nav-cta { background:linear-gradient(135deg,var(--accent-blue),var(--accent-blue-light)); border:none; color:#fff !important; padding:9px 22px; border-radius:8px; font-size:12px; font-family:var(--font-body); letter-spacing:1px; cursor:pointer; text-decoration:none; display:inline-block; font-weight:600; box-shadow:0 2px 8px rgba(37,99,235,0.25); }

/* ===== HERO ===== */
.hero-section { padding:80px 24px 60px; text-align:center; position:relative; overflow:hidden; background:linear-gradient(180deg,#f0f5ff 0%,#ffffff 100%); }
.hero-section::before { content:''; position:absolute; top:-60px; left:50%; transform:translateX(-50%); width:600px; height:300px; background:radial-gradient(ellipse,rgba(37,99,235,0.08) 0%,transparent 70%); pointer-events:none; }
.hero-badge { display:inline-flex; align-items:center; gap:6px; background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.2); color:var(--accent-blue); font-size:11px; padding:5px 14px; border-radius:20px; margin-bottom:24px; letter-spacing:1px; font-weight:600; }
.hero-badge-dot { width:6px; height:6px; border-radius:50%; background:var(--accent-blue-light); animation:pulse 2s infinite; display:inline-block; }
@keyframes pulse { 0%,100%{opacity:1;}50%{opacity:0.4;} }
.hero-title { font-family:var(--font-heading); font-size:40px; font-weight:700; line-height:1.2; margin-bottom:20px; background:linear-gradient(135deg,#0f172a 0%,#2563eb 50%,#3b82f6 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-desc { font-size:15px; color:var(--text-muted); max-width:500px; margin:0 auto 32px; }
.hero-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-primary { background:linear-gradient(135deg,var(--accent-blue),var(--accent-blue-light)); border:none; color:#fff; padding:12px 28px; border-radius:8px; font-size:13px; font-family:var(--font-body); cursor:pointer; letter-spacing:0.5px; display:inline-block; text-decoration:none; font-weight:600; box-shadow:0 3px 10px rgba(37,99,235,0.3); }
.btn-secondary { background:#ffffff; border:1.5px solid var(--accent-blue); color:var(--accent-blue); padding:12px 28px; border-radius:8px; font-size:13px; font-family:var(--font-body); cursor:pointer; display:inline-block; text-decoration:none; font-weight:600; }
.btn-primary:hover { opacity:0.9; color:#fff; }
.btn-secondary:hover { background:rgba(37,99,235,0.05); color:var(--accent-blue); }

/* ===== STATS ===== */
.stats-bar { display:flex; justify-content:center; gap:48px; padding:28px 24px; border-top:1px solid rgba(37,99,235,0.08); border-bottom:1px solid rgba(37,99,235,0.08); flex-wrap:wrap; background:#f8faff; }
.stat-item { text-align:center; }
.stat-num { font-family:var(--font-heading); font-size:22px; color:var(--accent-blue); font-weight:700; }
.stat-num span { color:var(--accent-blue-light); }
.stat-label { font-size:11px; color:var(--text-dim); margin-top:4px; letter-spacing:1px; }

/* ===== SECTIONS ===== */
.section { padding:56px 0; }
.section-tag { font-family:var(--font-heading); font-size:11px; color:var(--accent-blue); letter-spacing:3px; margin-bottom:8px; }
.section-title { font-size:24px; font-weight:600; color:var(--text-primary); margin-bottom:32px; font-family:var(--font-heading); }

/* ===== TOOL CARDS ===== */
.tools-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; }
.tool-card { background:#ffffff; border:1px solid rgba(37,99,235,0.1); border-radius:12px; padding:22px; transition:border-color 0.3s,transform 0.2s,box-shadow 0.2s; box-shadow:var(--shadow-sm); }
.tool-card:hover { border-color:rgba(37,99,235,0.35); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.tool-icon { width:40px; height:40px; border-radius:8px; background:rgba(37,99,235,0.08); display:flex; align-items:center; justify-content:center; margin-bottom:14px; font-size:18px; }
.tool-card h3 { font-size:15px; font-weight:600; color:var(--text-primary); margin-bottom:6px; font-family:var(--font-body); }
.tool-card p { font-size:12px; color:var(--text-dim); line-height:1.6; margin:0; }
.tool-tag { display:inline-block; margin-top:12px; font-size:10px; padding:3px 10px; border-radius:20px; background:rgba(37,99,235,0.08); color:var(--accent-blue); border:1px solid rgba(37,99,235,0.15); letter-spacing:0.5px; font-weight:600; }

/* ===== POSTS ===== */
.posts-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:20px; }
.post-card { background:#ffffff; border:1px solid rgba(37,99,235,0.1); border-radius:14px; padding:24px; transition:border-color 0.3s,box-shadow 0.2s; box-shadow:var(--shadow-sm); }
.post-card:hover { border-color:rgba(37,99,235,0.3); box-shadow:var(--shadow-md); }
.post-meta { display:flex; align-items:center; gap:10px; font-size:11px; color:var(--text-dim); margin-bottom:10px; }
.post-cat { background:rgba(37,99,235,0.08); color:var(--accent-blue); padding:3px 10px; border-radius:20px; font-size:10px; font-weight:600; }
.post-card h2,.post-card h3 { font-size:16px; font-weight:600; color:var(--text-primary); margin-bottom:8px; font-family:var(--font-body); line-height:1.4; }
.post-card h2 a,.post-card h3 a { color:var(--text-primary); text-decoration:none; }
.post-card h2 a:hover,.post-card h3 a:hover { color:var(--accent-blue); }
.post-card p { font-size:13px; color:var(--text-dim); margin:0; }
.read-more { display:inline-block; margin-top:14px; font-size:12px; color:var(--accent-blue); letter-spacing:0.5px; font-weight:600; }

/* ===== SINGLE POST ===== */
.single-post { padding:48px 0; }
.single-post .post-title { font-family:var(--font-heading); font-size:28px; background:linear-gradient(135deg,#0f172a,#2563eb); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; margin-bottom:16px; }
.single-post .post-content h2 { font-size:20px; margin:28px 0 12px; color:var(--accent-blue); }
.single-post .post-content h3 { font-size:17px; margin:20px 0 10px; color:var(--accent-blue-deep); }
.single-post .post-content p { color:var(--text-muted); font-size:15px; line-height:1.8; }
.single-post .post-content ul li,.single-post .post-content ol li { color:var(--text-muted); margin-bottom:8px; }
.single-post .post-content a { color:var(--accent-blue); }
.single-post .post-content strong { color:var(--text-primary); }
.single-post .post-content blockquote { border-left:3px solid var(--accent-blue); padding:12px 20px; background:rgba(37,99,235,0.04); border-radius:0 8px 8px 0; margin:20px 0; font-style:italic; color:var(--text-muted); }
.single-post .post-content table { width:100%; border-collapse:collapse; margin:20px 0; }
.single-post .post-content table th { background:rgba(37,99,235,0.08); color:var(--accent-blue); padding:10px 14px; font-size:13px; text-align:left; border:1px solid rgba(37,99,235,0.12); }
.single-post .post-content table td { padding:10px 14px; font-size:13px; border:1px solid rgba(37,99,235,0.08); color:var(--text-muted); }

/* ===== ADSENSE ===== */
.ad-area { margin:32px 0; padding:16px; background:#f8faff; border:1px dashed rgba(37,99,235,0.2); border-radius:8px; text-align:center; min-height:100px; }
.ad-label { font-size:10px; color:var(--text-dim); letter-spacing:1px; margin-bottom:8px; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background:linear-gradient(135deg,rgba(37,99,235,0.05),rgba(59,130,246,0.03)); border:1px solid rgba(37,99,235,0.15); border-radius:16px; padding:40px 24px; text-align:center; margin:48px 0; }
.newsletter-section h2 { font-family:var(--font-heading); font-size:18px; color:var(--text-primary); margin-bottom:8px; }
.newsletter-section p { font-size:13px; color:var(--text-dim); margin-bottom:24px; }
.newsletter-form { display:flex; gap:10px; max-width:420px; margin:0 auto; flex-wrap:wrap; justify-content:center; }
.newsletter-form input[type="email"] { flex:1; min-width:200px; background:#ffffff; border:1.5px solid rgba(37,99,235,0.25); color:var(--text-primary); padding:10px 16px; border-radius:8px; font-family:var(--font-body); font-size:13px; outline:none; }

/* ===== FOOTER ===== */
.site-footer { background:#f0f5ff; border-top:1px solid rgba(37,99,235,0.12); padding:40px 0 20px; margin-top:auto; }
.footer-inner { max-width:1100px; margin:0 auto; padding:0 24px; }
.footer-top { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:32px; margin-bottom:32px; }
.footer-logo { font-family:var(--font-heading); font-size:14px; color:var(--accent-blue); letter-spacing:2px; margin-bottom:10px; font-weight:700; }
.footer-logo span { color:var(--accent-blue-light); }
.footer-desc { font-size:12px; color:var(--text-dim); line-height:1.6; }
.footer-heading { font-family:var(--font-heading); font-size:11px; color:var(--accent-blue); letter-spacing:2px; margin-bottom:14px; font-weight:700; }
.footer-links ul { list-style:none; padding:0; margin:0; }
.footer-links ul li { margin-bottom:8px; }
.footer-links ul li a { font-size:13px; color:var(--text-dim); text-decoration:none; transition:color 0.2s; }
.footer-links ul li a:hover { color:var(--accent-blue); }
.footer-bottom { border-top:1px solid rgba(37,99,235,0.1); padding-top:20px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.footer-copy { font-size:12px; color:var(--text-dim); }
.footer-bottom-links { display:flex; gap:20px; }
.footer-bottom-links a { font-size:12px; color:var(--text-dim); text-decoration:none; }
.footer-bottom-links a:hover { color:var(--accent-blue); }

/* ===== SIDEBAR ===== */
.content-sidebar-wrap { display:grid; grid-template-columns:1fr 300px; gap:32px; padding:48px 0; }
.widget { margin-bottom:28px; }
.widget-title { font-family:var(--font-heading); font-size:12px; color:var(--accent-blue); letter-spacing:2px; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid rgba(37,99,235,0.12); }
.widget ul { list-style:none; padding:0; margin:0; }
.widget ul li { padding:8px 0; border-bottom:1px solid rgba(37,99,235,0.06); font-size:13px; }
.widget ul li a { color:var(--text-muted); text-decoration:none; }
.widget ul li a:hover { color:var(--accent-blue); }

/* ===== PAGINATION ===== */
.pagination { display:flex; justify-content:center; gap:8px; padding:32px 0; }
.pagination a,.pagination span { padding:8px 14px; border-radius:6px; font-size:13px; border:1px solid rgba(37,99,235,0.15); color:var(--text-muted); text-decoration:none; background:#ffffff; }
.pagination a:hover { border-color:var(--accent-blue); color:var(--accent-blue); }
.pagination .current { background:var(--accent-blue); color:#fff; border-color:var(--accent-blue); }

/* ===== SEARCH ===== */
.search-form { display:flex; gap:8px; }
.search-form input[type="search"] { flex:1; background:#ffffff; border:1.5px solid rgba(37,99,235,0.2); color:var(--text-primary); padding:9px 14px; border-radius:6px; font-family:var(--font-body); font-size:13px; outline:none; }
.search-form button { background:var(--accent-blue); border:none; color:#fff; padding:9px 16px; border-radius:6px; cursor:pointer; font-size:13px; }

/* ===== RESPONSIVE ===== */
@media(max-width:768px) { .hero-title{font-size:26px;} .main-nav ul{display:none;} .stats-bar{gap:24px;} .content-sidebar-wrap{grid-template-columns:1fr;} .site-sidebar{display:none;} }
@media(max-width:480px) { .hero-section{padding:48px 16px 40px;} .hero-title{font-size:22px;} .nav-inner{padding:14px 16px;} }
