/* ═══════════════════════════════════════════════════════════
   All Innovativ LLC — global.css
   Centralizovani stilovi za allinnovativ.com (public_html)
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --black:   #080a0f;
  --surface: #0f1117;
  --panel:   #161b26;
  --border:  #1e2535;
  --accent:  #00e5a0;
  --accent2: #4f8fff;
  --accent3: #ff6b35;
  --gold:    #ffd700;
  --danger:  #ff4757;
  --text:    #e8eaf0;
  --muted:   #98a3bd;
  --white:   #ffffff;
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px; line-height: 1.6; overflow-x: hidden;
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: .7; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(8,10,15,.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: 18px; color: var(--white); letter-spacing: -.5px; text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: var(--black); border: none; padding: 8px 20px; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }
@media (max-width: 768px) { .nav-links { display: none; } nav { padding: 0 20px; } }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary { background: var(--accent); color: var(--black); border: none; padding: 14px 28px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,229,160,.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); padding: 14px 28px; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px; cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ───────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 120px 40px 80px; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,229,160,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(0,229,160,.04) 1px,transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 70% at 50% 50%,black 30%,transparent 100%); }
.hero-orb  { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle,rgba(0,229,160,.12) 0%,transparent 70%); top: -100px; right: -100px; animation: pulse 6s ease-in-out infinite; }
.hero-orb2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle,rgba(79,143,255,.10) 0%,transparent 70%); bottom: -50px; left: 200px; animation: pulse 8s ease-in-out infinite reverse; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,229,160,.1); border: 1px solid rgba(0,229,160,.3); padding: 6px 14px; border-radius: 100px; font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 32px; position: relative; }
.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.5s ease-in-out infinite; }
.hero h1 { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: clamp(44px,7vw,88px); line-height: 1.0; letter-spacing: -3px; color: var(--white); margin-bottom: 24px; position: relative; max-width: 900px; }
.hero h1 .line2 { color: var(--accent); }
.hero p { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 48px; position: relative; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; position: relative; flex-wrap: wrap; }
@media (max-width: 600px) { .hero { padding: 100px 20px 60px; } }

/* ── STATS ──────────────────────────────────────────────── */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 40px; display: grid; grid-template-columns: repeat(4,1fr); }
.stat { text-align: center; padding: 16px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: 36px; color: var(--accent); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 600px) { .stats-bar { grid-template-columns: repeat(2,1fr); padding: 20px; } }

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding: 80px 40px; }
@media (max-width: 600px) { .section { padding: 60px 20px; } }
.section-header { margin-bottom: 48px; }
.section-tag { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: clamp(28px,4vw,52px); letter-spacing: -2px; color: var(--white); line-height: 1.1; }
.section-sub { color: var(--muted); margin-top: 12px; max-width: 500px; font-size: 15px; }

/* ── TOOL CATEGORY TABS ─────────────────────────────────── */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-tab { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 8px 18px; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s; }
.cat-tab.active, .cat-tab:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,229,160,.08); }

/* ── APP GRID & CARDS ───────────────────────────────────── */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 20px; }
.app-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .3s; cursor: pointer; position: relative; }
.app-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,229,160,.1); }
.app-card-top { padding: 24px 24px 20px; display: flex; align-items: flex-start; gap: 16px; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.app-info h3 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 16px; color: var(--white); margin-bottom: 5px; }
.app-info p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.app-badge { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-family: 'DM Mono', monospace; }
.badge-free { background: rgba(0,229,160,.12); border: 1px solid rgba(0,229,160,.2); color: var(--accent); }
.badge-ai   { background: rgba(79,143,255,.12); border: 1px solid rgba(79,143,255,.2); color: var(--accent2); }
.badge-pro  { background: rgba(255,180,0,.18); border: 1px solid rgba(255,180,0,.35); color: var(--gold); font-weight: 700; }
.app-card-bottom { padding: 14px 24px 20px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); }
.app-meta { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--muted); }
.app-launch { background: var(--accent); color: var(--black); border: none; padding: 7px 16px; border-radius: 6px; font-weight: 700; font-size: 12px; cursor: pointer; transition: opacity .2s; font-family: 'DM Sans', sans-serif; }
.app-launch:hover { opacity: .85; }
.app-launch.blue { background: var(--accent2); color: white; }
.app-launch.pro  { background: linear-gradient(135deg, var(--gold), #ff8c00); color: #000; }

/* ── FORM ELEMENTS ──────────────────────────────────────── */
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .5px; }
.fi, .fta, .fsel { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px; padding: 11px 14px; transition: border-color .2s; }
.fi:focus, .fta:focus, .fsel:focus { border-color: var(--accent); }
.fta { resize: vertical; min-height: 90px; line-height: 1.6; }
.fsel { appearance: none; cursor: pointer; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .two-col { grid-template-columns: 1fr; } }
.run-btn { width: 100%; padding: 13px; background: var(--accent); color: var(--black); border: none; border-radius: 10px; font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; margin-bottom: 18px; }
.run-btn:hover { opacity: .85; }
.run-btn:disabled { opacity: .5; cursor: not-allowed; }
.run-btn.blue { background: var(--accent2); color: white; }
.result-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; font-size: 14px; line-height: 1.75; color: var(--text); white-space: pre-wrap; word-wrap: break-word; display: none; }
.result-box.show { display: block; }
.result-label { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.copy-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 5px 12px; border-radius: 6px; font-size: 11px; cursor: pointer; transition: all .2s; margin-top: 10px; font-family: 'DM Mono', monospace; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; width: 100%; max-width: 700px; max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; transform: scale(.95); transition: transform .3s; }
.modal-overlay.active .modal { transform: scale(1); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.modal-header h2 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 17px; color: var(--white); }
.modal-close { width: 34px; height: 34px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }

/* ── TABS ───────────────────────────────────────────────── */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.tab { padding: 9px 18px; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s; }
.tab.active { border-bottom-color: var(--accent); color: var(--accent); }

/* ── PROJECT CARDS ──────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.project-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all .3s; position: relative; overflow: hidden; }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: 0; transition: opacity .3s; }
.project-card.green::before { background: var(--accent); }
.project-card.blue::before  { background: var(--accent2); }
.project-card:hover::before { opacity: 1; }
.project-card:hover { transform: translateY(-4px); }
.project-icon { font-size: 30px; margin-bottom: 14px; }
.project-card h3 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 17px; color: var(--white); margin-bottom: 8px; }
.project-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: 10px; padding: 3px 8px; border-radius: 4px; font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .5px; }
.project-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.project-link:hover { text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 48px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: 20px; }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 12px; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 600px) { footer { padding: 40px 20px; flex-direction: column; } }

/* ── TOOL LANDING PAGES ─────────────────────────────────── */

/* Nav CTA as link */
a.nav-cta { text-decoration: none; display: inline-block; }

/* Breadcrumb */
.breadcrumb { padding: 88px 40px 0; max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .4; }

/* Tool hero — overrides main .hero for tool pages */
body.tool-page .hero { min-height: unset; display: block; padding: 40px 40px 80px; max-width: 900px; margin: 0 auto; text-align: center; position: static; overflow: visible; }
body.tool-page .hero h1 { font-size: clamp(36px,6vw,72px); letter-spacing: -2px; margin-bottom: 20px; max-width: unset; }
body.tool-page .hero p { max-width: none; margin-bottom: 0; font-size: 15px; line-height: 1.6; position: static; }
h1 .accent { color: var(--accent); }

/* Tool badge (color set per-page via $pageStyle) */
.tool-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }

/* Hero emoji & desc */
.hero-emoji { font-size: 64px; display: block; margin-bottom: 20px; line-height: 1; }
.hero-desc { font-size: 17px; color: var(--muted); max-width: 580px; margin: 0 auto 36px; line-height: 1.75; }

/* Hero actions & meta */
body.tool-page .hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-meta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.meta-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; font-size: 12px; color: var(--muted); }
.meta-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Launch button (color set per-page) */
.btn-launch { border: none; padding: 14px 32px; border-radius: 8px; font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-launch:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }

/* Section tags & titles */
.sec-tag { font-size: 11px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
h2.sec-title { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: clamp(26px,4vw,44px); letter-spacing: -1.5px; color: #fff; margin-bottom: 48px; }

/* Features section */
section.features { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.feat-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all .3s; }
.feat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feat-icon { font-size: 28px; margin-bottom: 14px; }
.feat-title { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 8px; }
.feat-desc { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* How it works */
section.how-it-works { padding: 80px 40px; background: var(--surface); }
.hiw-inner { max-width: 900px; margin: 0 auto; }
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(to bottom, var(--accent), transparent); opacity: .3; }
.step { display: flex; gap: 24px; padding: 24px 0; align-items: flex-start; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: rgba(0,229,160,.1); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: 16px; color: var(--accent); flex-shrink: 0; }
.step-title { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 6px; }
.step-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* FAQ */
section.faq-sec { padding: 80px 40px; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; text-align: left; gap: 16px; transition: color .2s; }
.faq-q:hover, .faq-q.open { color: var(--accent); }
.faq-arrow { font-size: 20px; color: var(--muted); flex-shrink: 0; transition: transform .3s; }
.faq-q.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a.open { max-height: 400px; }
.faq-a p { color: var(--muted); font-size: 14px; line-height: 1.7; padding-bottom: 18px; }

/* CTA section */
section.cta-sec { padding: 80px 40px; text-align: center; background: var(--surface); }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-family: 'Syne', system-ui, sans-serif; font-weight: 800; font-size: clamp(20px,2.5vw,32px); letter-spacing: -1.5px; color: #fff; margin-bottom: 16px; }
.cta-inner p { color: var(--muted); margin-bottom: 32px; }

/* Tool page responsive */
@media (max-width: 600px) {
  .breadcrumb { padding: 80px 20px 0; }
  body.tool-page .hero { padding: 30px 20px 60px; }
  section.features { padding: 60px 20px; }
  section.how-it-works { padding: 60px 20px; }
  section.faq-sec { padding: 60px 20px; }
  section.cta-sec { padding: 60px 20px; }
}

/* LP-LANDING */
.lp-main{max-width:880px;margin:0 auto;padding:96px 20px 64px;}
.lp-breadcrumb{font-size:13px;color:var(--muted,#8a94a6);margin:8px 0 24px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.lp-breadcrumb a{color:var(--muted,#8a94a6);text-decoration:none;}
.lp-breadcrumb a:hover{color:var(--accent,#19e68c);}
.lp-breadcrumb span{color:#4a5363;}
.lp-hero{text-align:left;margin:8px 0 28px;}
.lp-hero h1{font-size:clamp(28px,4vw,44px);line-height:1.08;margin:0 0 14px;}
.lp-lead{font-size:18px;line-height:1.6;color:var(--muted,#aab3c2);max-width:680px;margin:0 0 22px;}
.lp-cta{display:inline-block;background:var(--accent,#19e68c);color:#04140c;font-weight:700;padding:13px 22px;border-radius:10px;text-decoration:none;transition:transform .15s,box-shadow .15s;}
.lp-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(25,230,140,.25);}
/* CTA levels; must stay after .lp-cta and .lp-cta:hover - equal specificity, order decides */
/* secondary padding is 13/22 minus the 1px border, so all three keep one box height */
.lp-cta-secondary{background:transparent;color:var(--accent);border:1px solid var(--accent);padding:12px 21px}
.lp-cta-tertiary{background:transparent;color:var(--muted);border:none;padding-left:6px;padding-right:6px;font-weight:600;text-decoration:underline}
.lp-cta-tertiary:hover{box-shadow:none;transform:none}
.lp-intro{margin:8px 0 28px;}
.lp-intro p{font-size:16px;line-height:1.7;color:var(--muted,#b9c2d0);margin:0 0 14px;}
.lp-usecases{margin:34px 0;}
.lp-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:14px;}
.lp-feature{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:18px;}
.lp-feature h3{font-size:16px;margin:0 0 8px;color:#eef2f7;}
.lp-feature p{font-size:14px;line-height:1.6;color:var(--muted,#9aa4b3);margin:0;}
.lp-related{margin:34px 0;}
.tool-shot{margin:28px 0;border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden;background:rgba(255,255,255,.02);}
.tool-shot img{display:block;width:100%;height:auto;}
.tool-shot figcaption{font-size:13px;color:var(--muted,#8a94a6);padding:12px 16px;line-height:1.5;}
.faq-list{margin-top:14px;}
/* end LP-LANDING */


/* AI overview ("AI-bait") block — matches site cards */
.ai-overview {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin: 24px 0 !important;
}
.ai-overview .ai-tldr {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
  color: var(--text) !important;
  margin: 0 0 12px !important;
}
.ai-overview .ai-body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

/* Visible keyboard focus. This selector fires on keyboard navigation only, so a
   mouse click still gets no ring. outline-offset is load-bearing, not cosmetic:
   white on --accent measures 1.65:1, but the 2px offset lifts the ring off a
   filled button onto the page background, where it measures ~19.6:1. Never
   switch the outline off to defeat this - fix the rule that needs it instead. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible{outline:2px solid var(--white);outline-offset:2px}

/* ── Fallbacks for selectors the per-page $pageStyle is expected to fill ──
   global.css is linked BEFORE the per-page <style> in tools/_header.php, so any
   page that already sets one of these properties wins on equal specificity. These
   fill only what a page leaves unset: .btn-launch colour on the 17 landings that
   set none, and .rt-* on the 264 tool sub-pages that style them not at all.
   Nothing above this line is modified. */
.btn-launch{background:var(--accent);color:var(--black)}

.rt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:14px}
.rt-card{display:block;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:22px;text-decoration:none;color:var(--text);transition:all .3s}
.rt-card:hover{border-color:var(--accent);transform:translateY(-3px)}
.rt-card h4,.rt-card strong{display:block;color:var(--text);margin:0 0 6px}
.rt-card p,.rt-card span{color:var(--muted);margin:0}
.rt-emoji{display:block;font-size:28px;line-height:1;margin-bottom:10px}

/* ── Use-case link cards ──────────────────────────────────────────────────
   22 tool pages carry <section class="lp-uselinks-injected"> with
   <a class="lp-uselink"><strong>..</strong><span>..</span></a> inside. The
   anchors have never had a rule anywhere, on any page, so they render as
   default-blue links at 2.11:1. These mirror the .rt-card idiom.
   The section and its inner div carry INLINE layout styles on 21 of the 22
   pages, and inline wins over any stylesheet: the two layout rules below are
   a fallback for markup written without them, nothing more. Their values
   reproduce the inline geometry those 21 pages already use. */
.lp-uselinks-injected{max-width:1080px;margin:48px auto;padding:0 20px}
.lp-uselinks-injected > div{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.lp-uselink{display:block;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:22px;text-decoration:none;transition:all .3s}
.lp-uselink:hover{border-color:var(--accent);transform:translateY(-3px)}
.lp-uselink strong{display:block;color:var(--text);margin:0 0 6px}
.lp-uselink span{display:block;color:var(--muted)}

/* ── Prose links ──────────────────────────────────────────────────────────
   Every button, card and nav link on this site carries a class, so
   :not([class]) excludes all of them by construction; the container list
   keeps the rule out of chrome entirely. Verified across 61 pages: 86
   matches, none carrying a button/card/nav class, none inside nav, footer,
   .breadcrumb or .lp-breadcrumb. */
.lp-intro a:not([class]),
.lp-usecases a:not([class]),
.lp-feature a:not([class]),
.feat-card a:not([class]),
.faq-a a:not([class]),
.faq-q a:not([class]),
.faq-xlink a:not([class]),
.ai-body a:not([class]),
.gd-body a:not([class]),
.step-body a:not([class]),
.step-desc a:not([class]),
section.hero > div:not([class]) a:not([class]){color:var(--accent);text-decoration:underline;text-underline-offset:2px}

/* ── Breadcrumb label and separators ──────────────────────────────────────
   OVERRIDE, not a fallback. This restates `.lp-breadcrumb span` which is
   already declared earlier in this file as color:#4a5363 - a hardcoded value
   measuring 2.55:1 on --black, below the 4.5:1 floor. Same specificity
   (0,1,1), so source order decides and this must stay after it. The earlier
   declaration is left in place deliberately; do not delete it without
   checking what else reads it. Separators and the current-page label share
   that one rule, so both move together - splitting them would leave two
   different dim levels in one breadcrumb, which reads as a bug. */
.lp-breadcrumb span{color:var(--muted)}

/* 2026-09-12: .lp-uselink sets text-decoration but no color of its own; only
   its strong and span children are colored. Any bare text node inside the
   anchor therefore fell through to the UA link default #0000EE - measured
   1.80:1 on --panel. Gap fill, not an override: no other rule in this file
   or in any page style block declares color on .lp-uselink. All 108 anchors
   across the 22 pages are strong+span only today, so this changes nothing
   visible; it removes the trap for the first bare text node added later. */
.lp-uselink{color:var(--text)}
