*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0e1a;
  --bg-2: #0f1424;
  --card: #151b2e;
  --border: #222a44;
  --text: #f5f7fb;
  --muted: #9aa3c0;
  --accent: #5b8cff;
  --accent-2: #7c5bff;
  --grad: linear-gradient(135deg, #5b8cff 0%, #7c5bff 100%);
  --radius: 14px;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

section {
  padding: 72px 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

p.lead {
  color: var(--muted);
  font-size: clamp(16px, 2.3vw, 19px);
  max-width: 640px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 16px;
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  min-width: 0;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--text);
}

.logo-byline {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.logo-metro {
  color: var(--text);
  font-weight: 700;
}

.logo-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-agent {
  background: linear-gradient(135deg, #7c5bff 0%, #5b8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hero {
  padding: 64px 0 40px;
  background: radial-gradient(1000px 500px at 80% -10%, rgba(124, 91, 255, 0.18), transparent 60%),
    radial-gradient(800px 400px at 10% 0%, rgba(91, 140, 255, 0.12), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  margin: 18px 0 28px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.secondary-link {
  color: var(--muted);
  font-size: 14px;
  margin-left: 4px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  max-width: 100%;
  filter: drop-shadow(0 30px 60px rgba(91, 140, 255, 0.25));
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card p {
  color: var(--muted);
  margin-top: 6px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem {
  background: var(--bg-2);
}

.problem .card {
  text-align: left;
}

.transition {
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feat .icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.feat h3 {
  font-size: 18px;
}

.personas {
  background: var(--bg-2);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.cta {
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.12), rgba(124, 91, 255, 0.12));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.cta p {
  color: var(--muted);
  margin: 14px 0 28px;
}

form {
  display: grid;
  gap: 12px;
  text-align: left;
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

input:focus,
select:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.foot a {
  color: var(--muted);
  margin-left: 14px;
}

.foot a:first-of-type {
  margin-left: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

/* Honeypot + form feedback (beta signup) */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-feedback {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.45;
}

.form-feedback.success {
  color: #c6f0d4;
  background: rgba(34, 120, 72, 0.2);
  border: 1px solid rgba(86, 200, 130, 0.45);
}

.form-feedback.error {
  color: #f0c6c6;
  background: rgba(120, 34, 34, 0.2);
  border: 1px solid rgba(200, 86, 86, 0.45);
}

/* Thank you page */
.logo-nav-link {
  color: inherit;
  text-decoration: none;
}

.logo-nav-link:hover .logo {
  opacity: 0.92;
}

.thank-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.thank-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(40px, 10vw, 88px) 0;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.12), rgba(124, 91, 255, 0.12));
  border-bottom: 1px solid var(--border);
}

.thank-panel {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 40px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.thank-panel h1 {
  margin-bottom: 14px;
}

.thank-panel .lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.thank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.thank-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

body.page-thank-you {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
