:root{
  --bg:#0b1220;
  --panel:#0f1b32;
  --text:#eaf0ff;
  --muted:#9db0d1;
  --line:rgba(255,255,255,.12);
  --accent:#38bdf8;
  --accent2:#34d399;
  --warn:#fbbf24;
  --radius:18px;
  --shadow:0 16px 40px rgba(0,0,0,.35);
  --max:1100px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(52,211,153,.18), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit}
img{max-width:100%; height:auto}
.wrap{max-width:var(--max); margin:0 auto; padding:24px}
.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:24px; top:18px; width:auto; height:auto; padding:10px 12px; background:rgba(255,255,255,.08); border:1px solid var(--line); border-radius:12px; z-index:9999}

/* ===== HEADER & NAV ===== */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.78);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; gap:12px;
  align-items:center; justify-content:space-between;
  padding-top:12px; padding-bottom:12px;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; font-weight:800; letter-spacing:.2px}
.brand img{width:110px; height:auto}
.links{display:flex; flex-wrap:wrap; gap:10px; align-items:center; font-size:14px; color:var(--muted)}
.links a{padding:8px 10px; border-radius:12px; text-decoration:none; transition: background .15s, color .15s}
.links a:hover, .links a:focus{background:rgba(255,255,255,.06); color:var(--text); outline:none}

/* Mobile menu toggle */
.menu-toggle{
  display:none;
  flex-direction:column; gap:5px;
  padding:10px; margin-right:-10px;
  background:transparent; border:none; cursor:pointer;
}
.menu-toggle span{
  display:block; width:24px; height:2px;
  background:var(--text); border-radius:2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform: rotate(45deg) translate(5px, 5px)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform: rotate(-45deg) translate(5px, -5px)}

@media (max-width: 768px){
  .menu-toggle{display:flex}
  .links{
    position:fixed; top:60px; left:0; right:0; bottom:0;
    flex-direction:column; gap:0;
    background:rgba(11,18,32,.98);
    padding:20px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y:auto;
  }
  .links.open{transform: translateX(0)}
  .links a{
    width:100%; padding:16px 20px;
    font-size:18px; border-bottom:1px solid var(--line);
  }
  .links .btn.primary{
    width:100%; margin-top:20px;
    padding:18px; text-align:center;
    font-size:18px;
  }
}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 18px; border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  text-decoration:none; font-weight:700; font-size:14px;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor:pointer;
}
.btn:hover, .btn:focus{
  transform:translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
  outline:none;
}
.btn:active{
  transform:translateY(0px);
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.btn.primary{
  border:1px solid rgba(56,189,248,.55);
  background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(52,211,153,.18));
}
.btn.primary:hover, .btn.primary:focus{
  background: linear-gradient(135deg, rgba(56,189,248,.34), rgba(52,211,153,.28));
}
.btn.large{
  padding:16px 28px;
  font-size:16px;
}

/* ===== BADGES & PILLS ===== */
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
  color:var(--muted); font-size:13px;
}
.badge strong{color:var(--text)}
.pillRow{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}
.pill{border:1px solid var(--line); background:rgba(255,255,255,.03); padding:7px 10px; border-radius:999px; font-size:12px; color:var(--muted)}

/* ===== TYPOGRAPHY ===== */
h1{margin:14px 0 10px; font-size:clamp(28px, 4vw, 46px); line-height:1.1; letter-spacing:-.6px}
h2{margin:0; font-size:22px; letter-spacing:-.2px}
h3{margin:0 0 8px; font-size:16px}
.lead{color:var(--muted); font-size:16px; max-width:68ch}
.kicker{color:var(--muted); font-size:13px; margin-top:10px}
.muted{color:var(--muted)}

/* ===== HERO ===== */
.hero{
  padding:36px 0 10px;
  display:grid; grid-template-columns: 1.2fr .8fr;
  gap:18px; align-items:start;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr; padding-top:20px}
}

/* ===== CARDS & PANELS ===== */
.panel, .card, .step, .faq details{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.panel{padding:18px; box-shadow:var(--shadow)}
.card{padding:18px}

/* ===== GRID ===== */
.grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px}
@media (max-width: 900px){.grid{grid-template-columns:1fr}}

/* ===== SECTION ===== */
.sectionTitle{display:flex; gap:12px; align-items:baseline; justify-content:space-between; margin-bottom:14px; flex-wrap:wrap}
.sectionTitle p{margin:0; color:var(--muted); font-size:14px}
section{padding:30px 0}

/* ===== LISTS ===== */
ul.clean{margin:10px 0 0; padding-left:18px; color:var(--muted); font-size:14px}
ul.clean li{margin:6px 0}

/* ===== STEPS ===== */
.steps{display:grid; grid-template-columns:repeat(4, 1fr); gap:14px}
@media (max-width: 900px){.steps{grid-template-columns:repeat(2, 1fr)}}
@media (max-width: 500px){.steps{grid-template-columns:1fr}}
.step{padding:16px}
.num{
  display:inline-flex; width:30px; height:30px; border-radius:10px;
  align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  font-weight:800; margin-bottom:10px;
}

/* ===== FAQ ===== */
.faq details{padding:14px 16px}
.faq details + details{margin-top:10px}
.faq summary{cursor:pointer; font-weight:800; list-style:none; padding-right:30px; position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:'+'; position:absolute; right:0; top:0;
  font-size:20px; color:var(--muted);
  transition: transform .2s;
}
.faq details[open] summary::after{transform: rotate(45deg)}
.faq p{margin:10px 0 0; color:var(--muted); font-size:14px}

/* ===== FORMS ===== */
.contact{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media (max-width: 900px){.contact{grid-template-columns:1fr}}

label{display:block; font-size:14px; color:var(--muted); margin:12px 0 6px}
label.required::after{content:' *'; color: var(--warn)}

input, textarea, select{
  width:100%; padding:14px 14px; border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-size:16px;
  outline:none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56,189,248,.15);
}
input.error, textarea.error{
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}
input::placeholder, textarea::placeholder{color: var(--muted); opacity:.6}
textarea{min-height:120px; resize:vertical}
select{cursor:pointer}

/* ===== FORM SUCCESS/ERROR ===== */
.form-feedback{
  padding:14px 16px; border-radius:14px;
  margin-top:16px; font-size:14px;
  display:none;
}
.form-feedback.success{
  display:block;
  background:rgba(52,211,153,.12);
  border:1px solid rgba(52,211,153,.4);
  color:var(--accent2);
}
.form-feedback.error{
  display:block;
  background:rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.4);
  color:#fca5a5;
}

/* ===== UTILITIES ===== */
.small{font-size:12px; color:var(--muted)}
.footer{padding:28px 0 100px; border-top:1px solid var(--line); color:var(--muted); font-size:13px}
hr.sep{border:none; border-top:1px solid var(--line); margin:18px 0}
.notice{
  padding:12px 14px; border-radius:14px;
  border:1px solid rgba(251,191,36,.35);
  background:rgba(251,191,36,.08);
  color:var(--text);
  font-size:14px;
}
.notice-ok{
  border-color:rgba(52,211,153,.4);
  background:rgba(52,211,153,.12);
  color:var(--accent2);
}
.notice-error{
  border-color:rgba(239,68,68,.4);
  background:rgba(239,68,68,.12);
  color:#fca5a5;
}
.highlight{
  padding:12px 14px; border-radius:14px;
  border:1px solid rgba(56,189,248,.35);
  background:rgba(56,189,248,.08);
  color:var(--text);
  font-size:14px;
}

/* ===== TRUST BADGES ===== */
.trust-row{
  display:flex; gap:16px; flex-wrap:wrap;
  margin-top:20px; padding-top:16px;
  border-top:1px solid var(--line);
}
.trust-item{
  display:flex; align-items:center; gap:8px;
  font-size:13px; color:var(--muted);
}
.trust-item svg{width:18px; height:18px; color:var(--accent2)}

/* ===== QUICK CONTACT FORM (INLINE HERO) ===== */
.quick-form{
  margin-top:24px; padding:20px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.quick-form h3{margin-bottom:4px}
.quick-form .row{display:flex; gap:10px; flex-wrap:wrap}
.quick-form input{flex:1; min-width:140px}
.quick-form .btn{margin-top:12px}

/* ===== FLOATING CTA ===== */
.float-cta{
  position:fixed; bottom:20px; right:20px;
  z-index:100;
  display:flex; flex-direction:column; gap:10px;
  align-items:flex-end;
}
.float-btn{
  display:flex; align-items:center; justify-content:center;
  width:56px; height:56px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  text-decoration:none;
  box-shadow: 0 4px 20px rgba(56,189,248,.4);
  transition: transform .2s, box-shadow .2s;
}
.float-btn:hover{
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(56,189,248,.5);
}
.float-btn svg{width:24px; height:24px}

@media (max-width: 768px){
  .float-cta{bottom:80px; right:16px}
}

/* ===== STICKY MOBILE CTA BAR ===== */
.sticky-cta{
  display:none;
  position:fixed; bottom:0; left:0; right:0;
  z-index:90;
  padding:12px 16px;
  background:rgba(11,18,32,.95);
  backdrop-filter:blur(10px);
  border-top:1px solid var(--line);
}
.sticky-cta .inner{
  display:flex; gap:10px;
  max-width:var(--max);
  margin:0 auto;
}
.sticky-cta .btn{flex:1; text-align:center}
.sticky-cta .btn-secondary{
  display:flex; align-items:center; justify-content:center; gap:6px;
  background:rgba(52,211,153,.15);
  border-color:rgba(52,211,153,.4);
}
.sticky-cta .btn-secondary svg{width:18px; height:18px}

@media (max-width: 768px){
  .sticky-cta{display:block}
}

/* ===== SOCIAL PROOF ===== */
.social-proof{
  margin-top:24px;
  padding:16px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.social-proof-quote{
  font-style:italic;
  color:var(--text);
  margin:0 0 8px;
  font-size:15px;
}
.social-proof-author{
  font-size:13px;
  color:var(--muted);
}

/* ===== URGENCY ===== */
.urgency{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px;
  background:rgba(251,191,36,.1);
  border:1px solid rgba(251,191,36,.3);
  border-radius:999px;
  font-size:13px;
  color:var(--warn);
  margin-bottom:16px;
}
.urgency-dot{
  width:8px; height:8px;
  background:var(--warn);
  border-radius:50%;
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%, 100%{opacity:1}
  50%{opacity:.4}
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important}
  .btn, .float-btn, .card, .step, .panel{transition:none!important}
  .btn:hover, .btn:focus{transform:none!important}
  .float-btn:hover{transform:none!important}
}

/* Content links */
.prose a, .panel a, .card a{
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.prose a:hover, .panel a:hover, .card a:hover{
  color: var(--accent2);
}

/* Prose content */
.prose h2{
  margin-top:24px;
  margin-bottom:8px;
  font-size:18px;
}
.prose p{
  color:var(--muted);
  margin:0 0 12px;
}
