:root{
  --bg:#07111f;
  --bg2:#0b1830;
  --text:#f8fafc;
  --muted:#cbd5e1;
  --gold:#ffd84d;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at top, rgba(35,77,180,.20), transparent 28%),
    linear-gradient(180deg,var(--bg),var(--bg2));
  color:var(--text);
}
a{text-decoration:none;color:inherit}
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(10,20,40,.55);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  max-width:1180px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:14px 18px;
}
.logo{
  font-size:30px;
  font-weight:900;
  color:var(--gold);
  text-shadow:0 0 10px rgba(255,215,0,.18);
}
.nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.nav-links a{
  padding:10px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  font-weight:700;
  font-size:14px;
  transition:.2s ease;
}
.nav-links a:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.12);
}
.wrap{
  max-width:1180px;
  margin:auto;
  padding:40px 20px 80px;
}
.hero,.hero-home{
  text-align:center;
  padding:40px 0 22px;
}
.hero h1,.hero-home h1{
  font-size:56px;
  line-height:1.05;
  margin:0 auto 14px;
  max-width:950px;
}
.hero p,.hero-home p{
  color:var(--muted);
  font-size:20px;
  max-width:900px;
  margin:auto;
  line-height:1.6;
}
.hero-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:16px;
  font-weight:800;
  font-size:16px;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:linear-gradient(135deg,#ffe27a,#ffd84d,#f3b400);
  color:#111827;
}
.btn-secondary{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
}
.search{
  margin:24px auto 0;
  max-width:760px;
}
.search input{
  width:100%;
  padding:17px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:16px;
  outline:none;
}
.section-title{
  font-size:32px;
  margin-top:60px;
  margin-bottom:8px;
}
.section-sub{
  color:#94a3b8;
  margin-bottom:18px;
}
.grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  margin-top:28px;
}
.panel{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  padding:22px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 40px rgba(0,0,0,.16);
}
.panel h3{
  margin:0 0 10px;
  font-size:32px;
}
.panel p{
  margin:0;
  color:#dbe4f0;
  line-height:1.6;
}
.tool-list{
  display:grid;
  gap:12px;
  margin-top:18px;
}
.tool-list a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  border-radius:16px;
  background:#fff;
  color:#111827;
  font-weight:800;
}
.category-grid,.ai-grid,.cards{
  display:grid;
  gap:18px;
}
.category-grid{grid-template-columns:repeat(4,1fr)}
.ai-grid{grid-template-columns:repeat(3,1fr)}
.cards{grid-template-columns:repeat(3,1fr);margin-top:28px}
.category-card,.ai-card,.card{
  display:block;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  padding:22px;
  border-radius:18px;
  border:1px solid rgba(255,215,0,.18);
  box-shadow:0 18px 40px rgba(0,0,0,.16);
}
.card-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.pf{
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-size:11px;
  font-weight:900;
  background:linear-gradient(135deg,#fff0a8,#ffd84d,#f3b400);
  color:#111827;
  min-width:24px;
}
.category-card h3,.ai-card h3,.card h3{
  margin:0;
  font-size:20px;
}
.category-card p,.ai-card p,.card p{
  margin:6px 0;
  color:#dbe4f0;
  line-height:1.6;
}
.meta{
  margin-top:8px;
  font-size:14px;
  font-weight:700;
  color:#ffe27a;
}
.footer{
  margin-top:50px;
  text-align:center;
  color:#94a3b8;
}
@media (max-width:1000px){
  .grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .ai-grid{grid-template-columns:repeat(2,1fr)}
  .cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  .nav{flex-direction:column;align-items:flex-start}
  .hero h1,.hero-home h1{font-size:40px}
  .hero p,.hero-home p{font-size:17px}
  .category-grid,.ai-grid,.cards{grid-template-columns:1fr}
}
