/* =================================================
   CLEVERTOOLAI CORE STYLES (SAFE GLOBAL CSS)
   Only Header + Homepage + Footer
================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* base */
*{
box-sizing:border-box;
}

body{
font-family:'Inter',sans-serif;
background:#f6f8fb;
color:#111827;
}

/* =================================================
   NAVBAR
================================================= */

.navbar{
position:sticky;
top:0;
z-index:1000;
background:#ffffffcc;
backdrop-filter:blur(8px);
border-bottom:1px solid #eef2f7;
}

.nav-inner{
max-width:1300px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
padding:16px 24px;
}

.logo-wrap{
display:flex;
align-items:center;
}

.ai-logo{
height:34px;
transition:.3s;
}

.nav-cta{
background:#2563eb;
color:#fff;
padding:10px 18px;
border-radius:10px;
font-weight:700;
text-decoration:none;
transition:.2s;
}

.nav-cta:hover{
background:#1d4ed8;
transform:translateY(-2px);
}

/* =================================================
   HERO
================================================= */

.clean-hero{
background:#f3f5f9;
padding:120px 20px 90px;
text-align:center;
}

.clean-hero-inner{
max-width:850px;
margin:auto;
}

.badge{
display:inline-block;
background:#eef2ff;
color:#4338ca;
padding:8px 18px;
border-radius:999px;
font-weight:600;
font-size:14px;
margin-bottom:20px;
}

.clean-title{
font-size:64px;
font-weight:800;
color:#2d4ac8;
margin-bottom:12px;
}

.clean-sub{
font-size:22px;
color:#4b5563;
line-height:1.6;
}

.clean-buttons{
margin-top:28px;
display:flex;
gap:18px;
justify-content:center;
flex-wrap:wrap;
}

.cta-primary{
background:linear-gradient(135deg,#2563eb,#7c3aed);
color:#fff;
padding:14px 30px;
border-radius:12px;
text-decoration:none;
font-weight:700;
box-shadow:0 10px 25px rgba(37,99,235,.35);
}

.cta-secondary{
background:#fff;
color:#111;
padding:14px 26px;
border-radius:12px;
text-decoration:none;
font-weight:600;
border:1px solid #e5e7eb;
}

/* =================================================
   POPULAR TOOLS
================================================= */

.popular-tools{
padding:90px 20px;
background:#fff;
text-align:center;
}

.popular-grid{
max-width:1100px;
margin:40px auto 0;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:24px;
}

.popular-card{
background:#f8fafc;
border-radius:18px;
padding:28px;
text-decoration:none;
color:#111;
box-shadow:0 10px 30px rgba(0,0,0,.06);
transition:.25s;
}

.popular-card:hover{
transform:translateY(-6px);
box-shadow:0 18px 45px rgba(37,99,235,.18);
border:1px solid #2563eb;
}

/* =================================================
   WHY US
================================================= */

.why-us{
padding:90px 20px;
background:#f8fafc;
text-align:center;
}

.why-grid{
max-width:1100px;
margin:40px auto 0;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:22px;
}

.why-box{
background:#fff;
padding:28px;
border-radius:16px;
box-shadow:0 8px 22px rgba(0,0,0,.05);
}

/* =================================================
   TDL HIGHLIGHT
================================================= */

.tdl-highlight{
padding:90px 20px;
background:linear-gradient(135deg,#1e3a8a,#2563eb);
color:#fff;
text-align:center;
}

/* =================================================
   ALL TOOLS GRID (homepage only)
================================================= */

.tools-section{
max-width:1200px;
margin:90px auto;
padding:0 20px;
text-align:center;
}

.tools-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:18px;
margin-top:30px;
}

.tool-card{
background:#fff;
padding:22px;
border-radius:14px;
text-decoration:none;
color:#111;
text-align:center;
box-shadow:0 6px 18px rgba(0,0,0,.06);
border:1px solid #eef2f7;
transition:.25s;
}

.tool-card:hover{
transform:translateY(-5px);
box-shadow:0 12px 30px rgba(0,0,0,.12);
border-color:#2563eb;
}

/* =================================================
   COMING TOOLS
================================================= */

.planned-tools{
padding:90px 20px;
background:#fff;
text-align:center;
}

.planned-grid{
max-width:1200px;
margin:40px auto 0;
display:grid;
grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
gap:14px;
}

.planned-card{
background:#f8fafc;
padding:16px;
border-radius:10px;
text-decoration:none;
color:#111;
border:1px solid #e5e7eb;
}

/* =================================================
   TESTIMONIALS
================================================= */

.testimonials{
background:#f9fafb;
padding:80px 20px;
text-align:center;
}

.testimonial-grid{
max-width:1000px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:20px;
}

.testimonial{
background:#fff;
padding:25px;
border-radius:14px;
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

/* =================================================
   TRUST + FOOTER
================================================= */

.trust-canva{
text-align:center;
padding:40px;
background:#eef2ff;
font-weight:700;
}

.footer{
text-align:center;
padding:25px;
color:#666;
background:#fff;
border-top:1px solid #e5e7eb;
}



/* =========================
   TOOLS PAGE BUTTON FIX
========================= */

.tool-card{
display:block;
}

.tool-card-inner{
display:flex;
flex-direction:column;
align-items:center;
gap:12px;
}

.tool-card h3{
font-size:16px;
font-weight:700;
margin-top:6px;
}

/* THE IMPORTANT PART */
.tool-open{
display:inline-block;
background:#2563eb;
color:#ffffff;
padding:10px 18px;
border-radius:10px;
font-weight:600;
text-decoration:none;
line-height:1;
}

.tool-card:hover .tool-open{
background:#1d4ed8;
}