/* ===== HERO V3 - Matching Reference Design ===== */
.hero-v3{background:linear-gradient(135deg,#f0f5ff 0%,#e8f0fe 40%,#f0f9ff 100%);padding:5rem 0 3rem;position:relative;z-index:10;border-bottom:1px solid #e2e8f0}
.hero-v3 .hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.hero-v3 .hero-badge{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(255,255,255,0.8);border:1px solid #e2e8f0;padding:0.4rem 1rem;border-radius:100px;font-size:0.82rem;font-weight:600;color:#475569;margin-bottom:1.5rem;backdrop-filter:blur(8px)}
.hero-v3 .hero-badge .dot{width:8px;height:8px;background:#10b981;border-radius:50%;flex-shrink:0}
.hero-v3 h1{font-size:3.25rem;font-weight:800;line-height:1.12;letter-spacing:-0.03em;color:#0f172a;margin-bottom:1.25rem}
.hero-v3 .gradient-text{background:linear-gradient(135deg,#2563eb,#06b6d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-v3 .hero-desc{font-size:1.1rem;color:#64748b;line-height:1.7;margin-bottom:2rem;max-width:460px}
.hero-v3 .hero-search-bar{display:flex;align-items:center;background:#fff;border-radius:14px;padding:0.4rem;box-shadow:0 4px 24px rgba(0,0,0,0.08);border:1.5px solid #e2e8f0;max-width:500px;transition:all 0.3s;position:relative}
.hero-v3 .hero-search-bar:focus-within{border-color:#93c5fd;box-shadow:0 4px 24px rgba(37,99,235,0.12)}
.hero-v3 .hero-search-bar svg{margin-left:1rem;color:#94a3b8;flex-shrink:0}
.hero-v3 .hero-search-bar input{flex:1;border:none;padding:0.75rem 0.75rem;font-size:1rem;outline:none;background:transparent;color:#0f172a;font-family:inherit}
.hero-v3 .hero-search-bar input::placeholder{color:#94a3b8}
.hero-v3 .search-btn{background:#2563eb;color:#fff;border:none;padding:0.7rem 1.75rem;border-radius:10px;font-weight:700;cursor:pointer;font-size:0.95rem;font-family:inherit;transition:all 0.2s;display:flex;align-items:center;gap:0.5rem}
.hero-v3 .search-btn:hover{background:#1d4ed8;transform:scale(1.02)}
.hero-v3 .search-btn:active{transform:scale(0.98)}
.hero-v3 .search-suggestions{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,0.15);z-index:9999;max-height:400px;overflow-y:auto;display:none;margin-top:0.5rem}
.hero-v3 .search-suggestions.active{display:block}
.hero-v3 .suggest-item{display:flex;align-items:center;gap:1rem;padding:0.75rem 1rem;text-decoration:none;color:inherit;border-bottom:1px solid #f1f5f9;transition:background 0.2s}
.hero-v3 .suggest-item:hover{background:#f8fafc}
.hero-v3 .suggest-item:last-child{border-bottom:none}
.hero-v3 .suggest-item img, .hero-v3 .suggest-icon-fallback{width:36px;height:36px;border-radius:8px;flex-shrink:0;object-fit:contain}
.hero-v3 .suggest-name{font-weight:700;font-size:0.95rem;color:#0f172a}
.hero-v3 .suggest-meta{font-size:0.75rem;color:#64748b}

.hero-v3 .hero-visual{display:flex;align-items:center;justify-content:center}
.hero-v3 .hero-visual img{max-width:420px;width:100%;height:auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,0.08));animation:heroFloat 6s ease-in-out infinite}
@keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* ===== STATS BAR ===== */
.stats-bar-v3{display:flex;gap:2.5rem;margin-top:2.5rem;flex-wrap:wrap}
.stat-item{display:flex;align-items:center;gap:0.75rem}
.stat-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0}
.stat-icon.blue{background:#eff6ff;color:#2563eb}
.stat-icon.green{background:#ecfdf5;color:#059669}
.stat-icon.purple{background:#f5f3ff;color:#7c3aed}
.stat-icon.orange{background:#fff7ed;color:#ea580c}
.stat-num{font-size:1.25rem;font-weight:800;color:#0f172a;line-height:1.2}
.stat-label{font-size:0.78rem;color:#94a3b8;font-weight:500}

/* ===== POPULAR CATEGORIES ===== */
.categories-section{padding:4rem 0;background:#fff}
.section-header-v3{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}
.section-header-v3 h2{font-size:1.5rem;font-weight:800;color:#0f172a}
.section-header-v3 a{font-size:0.88rem;color:#2563eb;font-weight:600;display:flex;align-items:center;gap:0.25rem;transition:gap 0.2s}
.section-header-v3 a:hover{gap:0.5rem}
.categories-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:1rem}
.cat-card{background:#fff;border:1px solid #f1f5f9;border-radius:16px;padding:1.25rem 0.75rem;text-align:center;cursor:pointer;transition:all 0.25s;text-decoration:none;color:inherit}
.cat-card:hover{border-color:#bfdbfe;box-shadow:0 4px 16px rgba(37,99,235,0.08);transform:translateY(-3px)}
.cat-card .cat-icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin:0 auto 0.75rem;background:#f8fafc;border:1px solid #f1f5f9}
.cat-card .cat-name{font-size:0.82rem;font-weight:600;color:#334155}

/* ===== TOP AI TOOLS ===== */
.top-tools-section{padding:3rem 0 4rem;background:#f8fafc;border-top:1px solid #f1f5f9}
.tools-scroll{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.tool-card-v3{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.5rem;transition:all 0.3s;position:relative}
.tool-card-v3:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,0.08);border-color:transparent}
.tool-card-v3 .tc-header{display:flex;align-items:flex-start;gap:0.75rem;margin-bottom:0.75rem}
.tool-card-v3 .tc-logo{width:44px;height:44px;border-radius:12px;object-fit:contain;background:#f8fafc;border:1px solid #f1f5f9;padding:4px;flex-shrink:0}
.tool-card-v3 .tc-logo-fallback{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;color:#fff;flex-shrink:0}
.tool-card-v3 .tc-name{font-size:1rem;font-weight:700;color:#0f172a;margin-bottom:0.15rem}
.tool-card-v3 .tc-rating{display:flex;align-items:center;gap:0.35rem;font-size:0.78rem;color:#f59e0b}
.tool-card-v3 .tc-rating span{color:#64748b;font-weight:500}
.tool-card-v3 .tc-desc{font-size:0.85rem;color:#64748b;line-height:1.55;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tool-card-v3 .tc-tags{display:flex;flex-wrap:wrap;gap:0.4rem}
.tool-card-v3 .tc-tag{padding:0.2rem 0.6rem;border-radius:6px;font-size:0.72rem;font-weight:600}
.tc-tag.freemium{background:#eff6ff;color:#2563eb}
.tc-tag.paid{background:#fef2f2;color:#dc2626}
.tc-tag.free{background:#ecfdf5;color:#059669}
.tc-tag.popular{background:#faf5ff;color:#7c3aed}
.tc-tag.trending{background:#fff7ed;color:#ea580c}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
.hero-v3 h1{font-size:2.5rem}
.hero-v3 .hero-visual img{max-width:340px}
.categories-grid{grid-template-columns:repeat(4,1fr)}
.tools-scroll{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
.hero-v3{padding:2rem 0 2rem}
.hero-v3 .hero-inner{grid-template-columns:1fr;text-align:center;gap:1.5rem}
.hero-v3 h1{font-size:2rem;margin-bottom:0.75rem}
.hero-v3 h1 br{display:none}
.hero-v3 .hero-badge{margin-bottom:1rem}
.hero-v3 .hero-desc{margin:0 auto 1.5rem;text-align:center;font-size:0.95rem;max-width:100%}
.hero-v3 .hero-search-bar{max-width:100%;margin:0 auto;padding:0.3rem}
.hero-v3 .hero-search-bar svg{margin-left:0.75rem}
.hero-v3 .hero-search-bar input{padding:0.6rem 0.5rem;font-size:0.9rem}
.hero-v3 .search-btn{padding:0.55rem 1.1rem;font-size:0.85rem;white-space:nowrap}
.hero-v3 .hero-visual{order:-1;margin-bottom:0}
.hero-v3 .hero-visual img{max-width:200px}
.hero-v3 .search-suggestions{left:-5%;right:-5%;width:110%}
.stats-bar-v3{justify-content:center;gap:1rem 1.5rem;margin-top:1.5rem}
.stat-item{gap:0.5rem}
.stat-icon{width:38px;height:38px;border-radius:10px;font-size:1rem}
.stat-num{font-size:1.1rem}
.stat-label{font-size:0.72rem}
.categories-grid{grid-template-columns:repeat(3,1fr)}
.tools-scroll{grid-template-columns:1fr}
.section-header-v3{flex-direction:column;gap:0.5rem;text-align:center}
}
@media(max-width:480px){
.hero-v3{padding:1.5rem 0 1.5rem}
.hero-v3 h1{font-size:1.65rem;letter-spacing:-0.02em}
.hero-v3 .hero-desc{font-size:0.88rem;line-height:1.6;margin-bottom:1.25rem}
.hero-v3 .hero-badge{font-size:0.72rem;padding:0.3rem 0.75rem;margin-bottom:0.75rem}
.hero-v3 .hero-visual img{max-width:160px}
.hero-v3 .hero-search-bar{border-radius:12px}
.hero-v3 .hero-search-bar svg{width:16px;height:16px;margin-left:0.6rem}
.hero-v3 .hero-search-bar input{padding:0.5rem 0.4rem;font-size:0.85rem}
.hero-v3 .search-btn{padding:0.5rem 0.9rem;font-size:0.8rem;border-radius:8px}
.categories-grid{grid-template-columns:repeat(2,1fr)}
.stats-bar-v3{gap:0.75rem 1rem;margin-top:1.25rem}
.stat-item{flex-direction:column;text-align:center;gap:0.2rem;min-width:70px}
.stat-icon{width:32px;height:32px;font-size:0.9rem;border-radius:8px}
.stat-num{font-size:1rem}
.stat-label{font-size:0.65rem}
}
@media(max-width:360px){
.hero-v3 h1{font-size:1.4rem}
.hero-v3 .hero-desc{font-size:0.82rem}
.hero-v3 .hero-visual img{max-width:140px}
.hero-v3 .hero-search-bar svg{display:none}
.stats-bar-v3{gap:0.5rem 0.75rem}
.stat-icon{width:28px;height:28px;font-size:0.8rem}
.stat-num{font-size:0.9rem}
}
