/*
Theme Name: DeepCombo
Theme URI: https://example.com
Author: Generated by ChatGPT
Description: Modern, fast WP theme for an AI text-tools "combo" site (tools catalog + SEO hubs + app-style pages).
Version: 1.0.0
License: GPLv2 or later
Text Domain: deepcombo
*/

:root{
  --bg:#0b1020;
  --card:#111833;
  --muted:#94a3b8;
  --text:#e5e7eb;
  --brand:#7c3aed;
  --brand2:#22c55e;
  --line:rgba(148,163,184,.18);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(124,58,237,.35), transparent 55%),
    radial-gradient(900px 500px at 85% 20%, rgba(34,197,94,.25), transparent 60%),
    linear-gradient(180deg, #060815, #0b1020 35%, #070a16);
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%;height:auto}
.container{max-width:1160px;margin:0 auto;padding:0 18px}
.hr{border-top:1px solid var(--line);margin:28px 0}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(160%) blur(12px);
  background:rgba(6,8,21,.6);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px}
.brand-badge{
  width:34px;height:34px;border-radius:12px;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  display:grid;place-items:center;box-shadow:var(--shadow)
}
.nav{display:flex;gap:14px;align-items:center}
.nav a{padding:10px 12px;border-radius:12px;color:rgba(229,231,235,.9)}
.nav a:hover{background:rgba(148,163,184,.08)}
.header-cta{display:flex;gap:10px;align-items:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px; padding:10px 14px;border-radius:14px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(17,24,51,.55);
  color:var(--text);
}
.btn.primary{background:linear-gradient(135deg, var(--brand), #4f46e5); border-color:transparent}
.btn.green{background:linear-gradient(135deg, var(--brand2), #16a34a); border-color:transparent}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;color:rgba(229,231,235,.85);background:rgba(17,24,51,.45)}

.hero{padding:54px 0 18px}
.hero-grid{display:grid;grid-template-columns: 1.2fr .8fr; gap:18px; align-items:stretch}
.hero-card{
  border:1px solid var(--line); border-radius: var(--radius);
  background:rgba(17,24,51,.55); box-shadow: var(--shadow);
  padding:22px;
}
h1{margin:0 0 10px;font-size:40px;line-height:1.08}
.lead{color:rgba(148,163,184,.95);font-size:16px;line-height:1.6;margin:0 0 18px}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.kpi{padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(11,16,32,.45)}
.kpi .num{font-weight:800;font-size:18px}
.kpi .txt{color:rgba(148,163,184,.9);font-size:13px;margin-top:6px}

.cards{display:grid;grid-template-columns:repeat(3, 1fr);gap:14px}
.card{
  border:1px solid var(--line); border-radius: var(--radius);
  background:rgba(17,24,51,.55); box-shadow: var(--shadow);
  padding:18px;
}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:rgba(148,163,184,.92);line-height:1.55;font-size:14px}
.card .meta{margin-top:12px;display:flex;justify-content:space-between;align-items:center;color:rgba(148,163,184,.9);font-size:12px}
.grid-2{display:grid;grid-template-columns: 1fr 1fr;gap:14px}

.section{padding:26px 0}
.section h2{margin:0 0 12px;font-size:26px}
.section .sub{margin:0 0 18px;color:rgba(148,163,184,.92);line-height:1.6}

.tool-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.panel{border:1px solid var(--line);border-radius:var(--radius);background:rgba(17,24,51,.55);box-shadow:var(--shadow);padding:16px}
.panel h2,.panel h3{margin:0 0 10px}
textarea,input[type="text"],select{
  width:100%;padding:12px 12px;border-radius:14px;
  border:1px solid rgba(148,163,184,.2);
  background:rgba(11,16,32,.55); color:var(--text);
  outline:none;
}
textarea{min-height:220px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.small{font-size:12px;color:rgba(148,163,184,.92)}
.notice{padding:12px;border-radius:14px;border:1px dashed rgba(148,163,184,.35);background:rgba(11,16,32,.45);color:rgba(229,231,235,.9)}
pre.output{
  white-space:pre-wrap; word-wrap:break-word;
  padding:12px;border-radius:14px;border:1px solid rgba(148,163,184,.2);
  background:rgba(11,16,32,.55); margin:0; min-height:220px;
}

.site-footer{padding:32px 0;border-top:1px solid var(--line);color:rgba(148,163,184,.95)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}
.footer-grid a{color:rgba(148,163,184,.95)}
.footer-grid a:hover{color:var(--text)}
.breadcrumbs{margin:10px 0 0;color:rgba(148,163,184,.9);font-size:12px}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .tool-layout{grid-template-columns:1fr}
  h1{font-size:34px}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .cards{grid-template-columns:1fr}
  .nav{display:none}
}


/* --- Typography & WP content defaults --- */
main{display:block}
p{margin:0 0 12px}
h1,h2,h3,h4{letter-spacing:-.2px}
h2{line-height:1.2}
h3{line-height:1.25}
ul,ol{margin:0 0 12px 18px;color:rgba(229,231,235,.92)}
li{margin:6px 0}
blockquote{
  margin:14px 0; padding:12px 14px;
  border-left:3px solid rgba(124,58,237,.6);
  background:rgba(11,16,32,.45);
  border-radius:14px;
  color:rgba(229,231,235,.92);
}
.entry-content, .card :where(p,ul,ol,li,blockquote){color:rgba(229,231,235,.92)}
.card .small, .panel .small{color:rgba(148,163,184,.92)}
.card a{color:rgba(229,231,235,.98)}
.card a:hover{opacity:.95}

/* Gutenberg blocks */
.wp-block-image{margin:0 0 14px}
.wp-block-table{overflow-x:auto}
.wp-block-table table{
  width:100%; border-collapse:collapse;
  border:1px solid var(--line);
  background:rgba(11,16,32,.35);
  border-radius:14px; overflow:hidden;
}
.wp-block-table th, .wp-block-table td{
  border-bottom:1px solid var(--line);
  padding:10px 12px; text-align:left;
}
.wp-block-separator{border-color:var(--line)}
.wp-block-heading{margin-top:0}
.alignwide{max-width:1160px;margin-left:auto;margin-right:auto}

/* Buttons: smoother and less jumpy */
.btn{transition:transform .12s ease, opacity .12s ease, background .12s ease}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

/* Sticky header + WP admin bar */
body.admin-bar .site-header{top:32px}
@media (max-width: 782px){
  body.admin-bar .site-header{top:46px}
}

/* Card spacing consistency */
.section .card{height:100%}
.cards a.card{display:block}
