:root {
  --bg: #08111f;
  --bg-soft: #111c2f;
  --card: rgba(255, 255, 255, 0.095);
  --card-strong: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: #aebbd0;
  --gold: #f0c56a;
  --gold-dark: #b7872d;
  --line: rgba(255, 255, 255, 0.14);
  --error: #ff9b9b;
  --success: #88f0c3;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 197, 106, 0.18), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(93, 147, 255, 0.16), transparent 26%),
    linear-gradient(135deg, #07101f 0%, #10182a 45%, #07101f 100%);
  color: var(--text);
  min-height: 100vh;
}

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.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 75%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.hero-section {
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.hero-copy,
.lead-card,
.thankyou-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  padding: clamp(28px, 4vw, 56px);
  border-radius: 34px;
}

.hero-copy::after {
  content: "ROI";
  position: absolute;
  right: -18px;
  bottom: -42px;
  font-size: clamp(92px, 15vw, 190px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.12em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(240, 197, 106, 0.32);
  border-radius: 999px;
  background: rgba(240, 197, 106, 0.08);
  color: #ffdf92;
  font-size: 14px;
  font-weight: 700;
}

.brand-pill.centered {
  justify-content: center;
}

.top-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.home-link,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: #f7fbff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-link:hover,
.secondary-btn:hover {
  border-color: rgba(240, 197, 106, 0.54);
  background: rgba(240, 197, 106, 0.11);
  transform: translateY(-2px);
}

.star-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), #fff2b8);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin: 28px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0 22px;
}

.benefit-grid article {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.benefit-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.benefit-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.benefit-grid p,
.micro-note,
.form-heading p,
.privacy-line,
.helper-text {
  color: var(--muted);
}

.benefit-grid p {
  margin-bottom: 0;
  line-height: 1.45;
  font-size: 14px;
}

.micro-note {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.6;
}

.lead-card {
  border-radius: 30px;
  padding: clamp(24px, 3vw, 36px);
}

.lead-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #fff0ad, var(--gold-dark));
}

.form-heading {
  margin-bottom: 24px;
}

.form-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.form-heading p {
  margin-bottom: 0;
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  gap: 8px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.two-col > div {
  display: grid;
  gap: 8px;
}

label {
  color: #e8eefb;
  font-size: 14px;
  font-weight: 750;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font: inherit;
  outline: none;
  padding: 14px 15px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(174, 187, 208, 0.72);
}

input:focus,
textarea:focus {
  border-color: rgba(240, 197, 106, 0.72);
  background: rgba(255, 255, 255, 0.105);
  box-shadow: 0 0 0 4px rgba(240, 197, 106, 0.12);
}

.field-row.has-error input,
.field-row.has-error textarea,
.two-col > div.has-error input {
  border-color: rgba(255, 155, 155, 0.75);
}

.error-message {
  display: none;
  color: var(--error);
  font-size: 12px;
}

.field-row.has-error > .error-message,
.two-col > div.has-error .error-message {
  display: block;
}

.helper-text {
  font-size: 12px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), #fff0ad 52%, var(--gold-dark));
  color: #101114;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(240, 197, 106, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(240, 197, 106, 0.34);
}

.privacy-line {
  margin: -2px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.thankyou-page {
  width: min(760px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 44px 0;
}

.thankyou-card {
  width: 100%;
  border-radius: 34px;
  padding: clamp(30px, 5vw, 60px);
  text-align: center;
}

.thankyou-card h1 {
  margin-inline: auto;
  font-size: clamp(40px, 6vw, 68px);
}

.thankyou-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.link-btn {
  width: auto;
  padding: 0 28px;
  margin-top: 12px;
}

.thankyou-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.thankyou-actions .link-btn {
  margin-top: 0;
}

@media (max-width: 980px) {
  .page-shell {
    align-items: flex-start;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding: 24px 0;
  }

  .hero-copy,
  .lead-card,
  .thankyou-card {
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .top-actions {
    align-items: flex-start;
  }

  .home-link {
    width: 100%;
  }
}
