/*
Theme Name: AbstractorAI
Theme URI: https://taitleplant.com
Author: TitlePlant
Author URI: https://taitleplant.com
Description: Single-page marketing theme for AbstractorAI — automated county records abstraction. Standalone one-pager; the "Test AbstractorAI live" CTA points to the trial app subdomain (try.taitleplant.com).
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abstractorai
*/

:root {
  --bg: #0b1416;
  --bg-2: #0f1d20;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(45, 212, 191, 0.16);
  --teal: #2dd4bf;
  --teal-deep: #14b8a6;
  --teal-glow: rgba(45, 212, 191, 0.45);
  --text: #e7f2f1;
  --muted: #93a7a6;
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 78% -10%, #103035 0%, var(--bg) 55%) no-repeat,
              var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand { font-family: "Space Grotesk", "Inter", sans-serif; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Ambient blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.blob.a { width: 460px; height: 460px; background: rgba(20, 184, 166, 0.18); top: -120px; right: -80px; }
.blob.b { width: 380px; height: 380px; background: rgba(45, 212, 191, 0.12); bottom: -140px; left: -100px; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 20, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand .ai { color: var(--teal); text-shadow: 0 0 18px var(--teal-glow); }
.brand small { display: block; font-family: "Inter"; font-weight: 500; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a.link:hover { color: var(--text); }

.logo-mark { width: 34px; height: 34px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 0.98rem;
  padding: 13px 22px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #042220; box-shadow: 0 0 0 0 var(--teal-glow), 0 10px 30px -10px var(--teal-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 32px -4px var(--teal-glow), 0 16px 40px -12px var(--teal-glow); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: rgba(255,255,255,0.1); }
.btn-ghost:hover { border-color: var(--surface-border); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }

/* Hero */
.hero { position: relative; z-index: 1; padding: clamp(64px, 11vw, 140px) 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal); background: rgba(45, 212, 191, 0.08);
  border: 1px solid var(--surface-border); padding: 7px 14px; border-radius: 999px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal-glow); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }

h1.headline {
  font-size: clamp(2.3rem, 5.2vw, 3.85rem); line-height: 1.08; letter-spacing: -0.03em;
  margin: 26px 0 0; font-weight: 700;
}
h1.headline .accent { color: var(--teal); text-shadow: 0 0 28px var(--teal-glow); }
.subhead { color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.2rem); margin: 22px 0 0; max-width: 36ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.reassure { margin-top: 18px; font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }

/* Hero visual: document -> data */
.visual { position: relative; }
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--surface-border); border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8);
  padding: 18px; backdrop-filter: blur(8px);
}
.panel-head { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.panel-title { margin-left: 8px; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.scan-line { height: 9px; border-radius: 6px; background: rgba(255,255,255,0.08); margin: 9px 0; }
.scan-line.short { width: 58%; }
.scan-line.mid { width: 80%; }
.data-rows { margin-top: 14px; border-top: 1px dashed rgba(45,212,191,0.25); padding-top: 14px; }
.data-row { display: flex; justify-content: space-between; gap: 14px; font-size: 0.82rem; padding: 6px 0; }
.data-row .k { color: var(--muted); }
.data-row .v { color: var(--teal); font-weight: 600; font-family: "Space Grotesk"; }
.float-badge {
  position: absolute; right: -14px; top: -18px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #042220;
  font-family: "Space Grotesk"; font-weight: 700; font-size: 0.8rem;
  padding: 9px 14px; border-radius: 12px; box-shadow: 0 12px 30px -10px var(--teal-glow);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Section shell */
section { position: relative; z-index: 1; padding: clamp(56px, 9vw, 100px) 0; }
.section-eyebrow { color: var(--teal); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
h2.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 12px 0 0; max-width: 22ch; }
.section-sub { color: var(--muted); margin-top: 16px; max-width: 56ch; font-size: 1.05rem; }

/* Provocation band */
.provoke {
  text-align: center;
  background: linear-gradient(180deg, rgba(45,212,191,0.05), rgba(45,212,191,0.0));
  border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.provoke h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 20ch; margin: 0 auto; line-height: 1.15; }
.provoke .verdict { color: var(--teal); text-shadow: 0 0 24px var(--teal-glow); }
.provoke p { color: var(--muted); margin: 22px auto 0; max-width: 52ch; font-size: 1.1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.step {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.25s, border-color 0.25s;
}
.step:hover { transform: translateY(-6px); border-color: var(--surface-border); }
.step-num { font-family: "Space Grotesk"; font-weight: 700; color: var(--teal); font-size: 0.9rem; opacity: 0.7; }
.step-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(45,212,191,0.1); border: 1px solid var(--surface-border); margin: 14px 0 18px; color: var(--teal); }
.step h3 { margin: 0 0 8px; font-size: 1.22rem; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.benefit { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255,255,255,0.06); }
.benefit .check { flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(45,212,191,0.12); color: var(--teal); display: grid; place-items: center; }
.benefit h3 { margin: 0 0 4px; font-size: 1.06rem; }
.benefit p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Final CTA */
.final {
  text-align: center;
  background: linear-gradient(135deg, rgba(20,184,166,0.12), rgba(45,212,191,0.04));
  border: 1px solid var(--surface-border); border-radius: 28px; padding: clamp(40px, 7vw, 72px) 28px;
  box-shadow: 0 40px 120px -60px var(--teal-glow);
}
.final h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin: 0; max-width: 22ch; margin-inline: auto; }
.final p { color: var(--muted); margin: 18px auto 32px; max-width: 46ch; font-size: 1.08rem; }

footer.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; margin-top: 40px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 0.9rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .visual { order: -1; }
  .nav-links .link { display: none; }
  .steps, .benefits { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot, .float-badge { animation: none; }
}
