/*
Theme Name: Focusa Mission Child
Theme URI: https://focusa.dev
Description: Mobile-first custom child theme for the Focusa software landing page.
Author: Philoveracity Development
Template: twentytwentyfive
Version: 0.2.0
Text Domain: focusa-mission-child
*/

:root {
  --bg: #060914;
  --bg-2: #0b1020;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #a7b0c2;
  --soft: #dbeafe;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --green: #34d399;
  --amber: #f59e0b;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius: clamp(18px, 2vw, 30px);
  --wrap: min(100% - clamp(32px, 6vw, 96px), 1180px);
  --h1: clamp(3rem, 13vw, 8.5rem);
  --h2: clamp(2rem, 7vw, 5rem);
  --h3: clamp(1.25rem, 2.2vw, 1.75rem);
  --body: clamp(1rem, 1.4vw, 1.18rem);
  --small: clamp(0.82rem, 1vw, 0.95rem);
  --space: clamp(4.5rem, 10vw, 9rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 8%, rgba(139, 92, 246, 0.32), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(34, 211, 238, 0.24), transparent 26rem),
    linear-gradient(180deg, var(--bg), #080b16 38%, #050712 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}
a { color: inherit; }
.wp-site-blocks { min-height: 100vh; }
.focusa-page { position: relative; isolation: isolate; }
.focusa-wrap { width: var(--wrap); margin-inline: auto; }
.focusa-nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.focusa-nav__inner { width: var(--wrap); margin: 0 auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: 34px; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 0 35px rgba(34,211,238,.35); display: grid; place-items: center; color: #04111c; }
.nav-links { display: none; gap: 1rem; align-items: center; color: var(--muted); font-size: var(--small); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .85rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); font-weight: 800; text-decoration: none; box-shadow: 0 10px 34px rgba(0,0,0,.22); transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.btn:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.7); box-shadow: 0 18px 50px rgba(34,211,238,.16); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #06111d; border: 0; }
.btn-secondary { background: rgba(139, 92, 246, .13); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); background: rgba(255,255,255,.055); font-size: var(--small); font-weight: 750; }
.pulse-dot { width: .55rem; aspect-ratio: 1; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
.hero { padding: clamp(4.5rem, 12vw, 9rem) 0 var(--space); }
.hero-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: var(--h1); line-height: .86; letter-spacing: -.085em; margin-bottom: 1.4rem; max-width: 10ch; }
h2 { font-size: var(--h2); line-height: .92; letter-spacing: -.07em; margin-bottom: 1.2rem; }
h3 { font-size: var(--h3); line-height: 1.05; letter-spacing: -.035em; }
.lede { color: var(--muted); font-size: clamp(1.08rem, 2.4vw, 1.4rem); line-height: 1.65; max-width: 68ch; }
.gradient-text { background: linear-gradient(135deg, #fff, #c7d2fe 38%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-direction: column; gap: .8rem; margin: 2rem 0 1rem; }
.microcopy { color: var(--muted); font-size: var(--small); max-width: 58ch; }
.demo-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.35rem); background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.68)); box-shadow: var(--shadow); overflow: hidden; transform: translateZ(0); }
.demo-card::before { content: ""; position: absolute; inset: -1px; background: linear-gradient(135deg, rgba(34,211,238,.38), transparent 36%, rgba(139,92,246,.35)); opacity: .75; z-index: -1; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; color: var(--muted); font-size: var(--small); text-transform: uppercase; letter-spacing: .16em; }
.traffic { display: flex; gap: .4rem; }
.traffic span { width: .7rem; aspect-ratio: 1; border-radius: 999px; background: var(--line); }
.traffic span:nth-child(1){ background:#fb7185; } .traffic span:nth-child(2){ background:#f59e0b; } .traffic span:nth-child(3){ background:#34d399; }
.state-list { display: grid; gap: .75rem; }
.state-row { display: grid; grid-template-columns: 112px 1fr; gap: .85rem; align-items: center; padding: .8rem; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06); }
.state-label { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.state-value { color: #fff; font-weight: 800; font-size: .92rem; }
.glow-line { height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent); margin: 1.1rem 0; }
.section { padding: var(--space) 0; }
.section-head { max-width: 820px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.kicker { color: var(--cyan); font-size: var(--small); font-weight: 850; text-transform: uppercase; letter-spacing: .18em; }
.grid { display: grid; gap: 1rem; }
.cards { grid-template-columns: 1fr; }
.card { position: relative; padding: clamp(1.1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 18px 60px rgba(0,0,0,.18); overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.5); background: rgba(15,23,42,.88); }
.icon { width: 44px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px; margin-bottom: 1rem; background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.2)); border: 1px solid rgba(255,255,255,.08); font-size: 1.35rem; }
.card p, .feature p { color: var(--muted); line-height: 1.65; font-size: var(--body); }
.split { display: grid; gap: 1rem; }
.feature { padding: clamp(1.2rem, 3vw, 1.8rem); border-left: 1px solid var(--line); }
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; }
td { color: var(--muted); }
td strong { color: var(--text); }
.cta-panel { text-align: center; padding: clamp(2rem, 7vw, 5rem); border: 1px solid rgba(34,211,238,.35); border-radius: calc(var(--radius) + 10px); background: radial-gradient(circle at 50% 0%, rgba(34,211,238,.18), transparent 40%), rgba(15,23,42,.82); box-shadow: var(--shadow); }
.sticky-cta { position: sticky; bottom: .75rem; z-index: 25; width: var(--wrap); margin: 0 auto .75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(6,9,20,.84); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.sticky-cta span { display: none; color: var(--muted); font-size: var(--small); }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 6s ease-in-out infinite; }
  .card:nth-child(2n) { animation: breathe 7s ease-in-out infinite; }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes breathe { 0%,100% { box-shadow: 0 18px 60px rgba(0,0,0,.18); } 50% { box-shadow: 0 22px 80px rgba(139,92,246,.12); } }
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-cta span { display: inline; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
  .hero { min-height: calc(100vh - 68px); display: grid; align-items: center; }
}
@media (min-width: 1440px) {
  :root { --wrap: 1240px; }
  .cards { gap: 1.15rem; }
  .demo-card { transform: scale(1.02); }
}
