/* EasyFix Agent — Premium Professional Theme v2.0 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --bg: #fafbfe;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --faint: #94a3b8;
  --accent: #4f46e5;
  --accent-dark: #3730a3;
  --accent-light: #eef2ff;
  --gold: #f59e0b;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(79,70,229,.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; letter-spacing: -0.02em; }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-dark); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1140px; margin: 0 auto; }
.brand { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 23px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.brand .logo-mark {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.brand span { color: var(--accent); }
nav.links a { margin-left: 26px; color: var(--muted); font-weight: 500; font-size: 15px; position: relative; }
nav.links a:hover { color: var(--accent); text-decoration: none; }
nav.links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px; transition: width .2s;
}
nav.links a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(124,58,237,.22), transparent 60%),
    radial-gradient(900px 480px at 90% 110%, rgba(79,70,229,.20), transparent 60%),
    linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);
  color: #fff; padding: 88px 24px 76px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.hero > * { position: relative; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px; color: #e0e7ff;
}
.hero h1 { font-size: 46px; line-height: 1.18; margin-bottom: 16px; font-weight: 800; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero h1 .grad {
  background: linear-gradient(90deg, #a5b4fc, #f0abfc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 19px; opacity: .88; max-width: 660px; margin: 0 auto 30px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; font-size: 16px; padding: 14px 30px; border-radius: 12px;
  transition: transform .15s, box-shadow .15s; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: #fff; color: var(--accent-dark); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.btn-primary:hover { color: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.2); }
.hero .stats { display: flex; gap: 36px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.hero .stat { text-align: center; }
.hero .stat b { display: block; font-size: 28px; font-family: 'Sora', sans-serif; }
.hero .stat span { font-size: 13px; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 18px 24px; }
.trustbar .inner { max-width: 1140px; margin: 0 auto; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; align-items: center; }
.trustbar .item { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trustbar .item .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; padding: 44px 0 12px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .thumb {
  height: 168px; display: flex; align-items: center; justify-content: center;
  font-size: 56px; position: relative; overflow: hidden;
}
.card .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,23,42,.14)); }
.thumb-1 { background: linear-gradient(135deg, #dbeafe, #c7d2fe); }
.thumb-2 { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.thumb-3 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.thumb-4 { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.thumb-5 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.thumb-6 { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.thumb-7 { background: linear-gradient(135deg, #fae8ff, #f5d0fe); }
.thumb-8 { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.card .tag {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); background: var(--accent-light);
  display: inline-block; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start;
}
.card h3 { font-size: 19px; line-height: 1.45; margin-bottom: 10px; font-weight: 700; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p { color: var(--muted); font-size: 15px; flex: 1; line-height: 1.65; }
.card .meta { margin-top: 16px; font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.card .readmore { margin-top: 12px; font-weight: 700; font-size: 14px; }

/* ---------- Article ---------- */
.article { padding: 48px 0 70px; }
.article .breadcrumb { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.article .breadcrumb a { color: var(--faint); }
.article h1 { font-size: 38px; line-height: 1.28; margin-bottom: 12px; font-weight: 800; }
.article .meta { color: var(--faint); font-size: 14px; margin-bottom: 10px; display: flex; gap: 16px; align-items: center; }
.article .author-box {
  display: flex; gap: 14px; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 26px 0 8px;
}
.article .author-box .avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}
.article .author-box b { display: block; font-size: 15px; }
.article .author-box span { font-size: 13px; color: var(--muted); }
.article h2 { font-size: 26px; margin: 40px 0 14px; font-weight: 700; }
.article h3 { font-size: 20px; margin: 30px 0 10px; font-weight: 700; }
.article p { margin-bottom: 18px; color: #1e293b; }
.article ul, .article ol { margin: 0 0 20px 26px; color: #1e293b; }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--accent); font-weight: 700; }
.article blockquote {
  border-left: 4px solid var(--accent); background: var(--accent-light);
  padding: 18px 22px; margin: 24px 0; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic;
}
.article img { max-width: 100%; border-radius: var(--radius); }
.lead { font-size: 20px; color: var(--muted); line-height: 1.7; }
.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; margin: 28px 0;
}
.toc b { display: block; margin-bottom: 10px; font-size: 15px; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin-bottom: 6px; font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0 8px; }
.section h2 { font-size: 30px; margin-bottom: 6px; font-weight: 800; }
.section .sub { color: var(--muted); margin-bottom: 6px; font-size: 17px; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; padding: 20px 0 44px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.feature .icon { font-size: 34px; margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, #312e81, #4c1d95); border-radius: 20px;
  padding: 52px 32px; text-align: center; color: #fff; margin: 48px 0;
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.newsletter > * { position: relative; }
.newsletter h2 { font-size: 28px; margin-bottom: 10px; }
.newsletter p { opacity: .85; margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }
.newsletter .form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter input {
  flex: 1; padding: 14px 18px; border-radius: 12px; border: none; font-size: 16px; outline: none;
}
.newsletter button {
  padding: 14px 26px; border-radius: 12px; border: none; font-weight: 700; font-size: 16px;
  background: var(--gold); color: #1e1b4b; cursor: pointer; transition: transform .15s;
}
.newsletter button:hover { transform: translateY(-2px); }
.newsletter small { display: block; margin-top: 14px; opacity: .65; font-size: 13px; }

/* ---------- Footer ---------- */
footer.site { background: #0b1120; color: #94a3b8; padding: 56px 24px 26px; margin-top: 56px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; max-width: 1140px; margin: 0 auto 36px; }
footer.site h4 { color: #fff; margin-bottom: 14px; font-size: 16px; font-weight: 700; }
footer.site a { color: #94a3b8; font-size: 14px; display: block; margin-bottom: 10px; transition: color .15s; }
footer.site a:hover { color: #fff; text-decoration: none; }
footer.site p { font-size: 14px; line-height: 1.7; }
footer.site .brand { color: #fff; margin-bottom: 12px; }
.copy { text-align: center; font-size: 13px; color: #475569; border-top: 1px solid #1e293b; padding-top: 22px; max-width: 1140px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero { padding: 64px 20px 56px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .article h1 { font-size: 29px; }
  nav.links a { margin-left: 14px; font-size: 14px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .newsletter .form { flex-direction: column; }
}
@media (max-width: 480px) {
  footer.site .cols { grid-template-columns: 1fr; }
  .hero .stats { gap: 22px; }
}
