:root {
  --background: #fbfcff;
  --surface: #f3f7fb;
  --card: #ffffff;
  --border: #dce6ef;
  --text: #172033;
  --muted: #637186;
  --navy: #10233c;
  --navy-2: #07182d;
  --brand: #2f8ee5;
  --brand-2: #63b5ff;
  --brand-soft: #eaf4ff;
  --brand-foreground: #ffffff;
  --shadow-card: 0 14px 38px rgba(20, 43, 68, .09);
  --shadow-elegant: 0 25px 70px rgba(16, 35, 60, .18);
}

* { 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;
  color: var(--text);
  background: var(--background);
}

body.modal-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 230, 239, .86);
  background: rgba(251, 252, 255, .82);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  display: block;
  width: auto;
  height: 42px;
}

.hero h1 span,
.eyebrow {
  color: var(--brand);
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.signin:hover,
.site-footer a:hover {
  color: var(--brand);
}

.header-actions { gap: 14px; }

.signin {
  font-size: 14px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
}

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

button.button {
  cursor: pointer;
  font: inherit;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 14px;
}

.button-brand {
  color: var(--brand-foreground);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-card);
}

.button-light {
  color: var(--text);
  background: var(--card);
  border-color: var(--border);
}

.button-navy {
  width: 100%;
  color: #fff;
  background: var(--navy);
}

.button-ghost {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(47, 142, 229, .24), transparent 30%),
    linear-gradient(180deg, #f5fbff 0%, #fbfcff 88%);
}

.hero-grid {
  min-height: 690px;
  padding-block: 72px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .94fr);
  align-items: center;
  gap: 56px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.hero h1,
.section h2,
.cta-panel h2 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}

.lead,
.section-heading > p:last-child,
.section-lead,
.about-copy {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  font-size: 18px;
}

.button-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  padding: 24px;
  perspective: 1200px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  filter: blur(44px);
  opacity: .22;
}

.hero-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 239, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-elegant);
  transform: rotateY(-10deg) rotateX(4deg) rotateZ(-1deg);
  transform-origin: center right;
  transition: transform .3s ease;
}

.hero-visual:hover img {
  transform: rotateY(-6deg) rotateX(2deg) rotateZ(-.5deg) translateY(-4px);
}

.section {
  padding-block: 96px;
}

.section-muted {
  background: var(--surface);
}

.section-heading {
  max-width: 700px;
}

.centered {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.section h2,
.cta-panel h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.13;
}

.section-heading p:last-child,
.section-lead {
  margin: 16px 0 0;
  font-size: 18px;
}

.feature-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.price-card,
.about-grid article {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.feature-card {
  padding: 28px;
  border-radius: 20px;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}

.feature-card:hover {
  border-color: rgba(47, 142, 229, .45);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.icon,
.mini-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 23px;
  font-weight: 800;
}

.feature-card:hover .icon {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.feature-card h3,
.about-grid h3 {
  margin: 20px 0 0;
  color: var(--text);
  font-size: 18px;
}

.feature-card p,
.about-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.repair-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(47, 142, 229, .2), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f3f7fb 100%);
}

.repair-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1fr);
  align-items: center;
  gap: 64px;
}

.repair-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}

.repair-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}

.repair-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.repair-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(47, 142, 229, .2);
  font-size: 14px;
  font-weight: 900;
}

.repair-visual {
  position: relative;
}

.repair-visual::before {
  content: "";
  position: absolute;
  inset: 8% -5% -5% 8%;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(47, 142, 229, .18), rgba(16, 35, 60, .12));
  filter: blur(36px);
}

.repair-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(220, 230, 239, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-elegant);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.how-visual {
  position: relative;
}

.how-visual::before {
  content: "";
  position: absolute;
  inset: 10% -6% -7% 10%;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(47, 142, 229, .18), rgba(16, 35, 60, .12));
  filter: blur(36px);
}

.how-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(220, 230, 239, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-elegant);
}

.steps {
  display: grid;
  gap: 26px;
  margin-top: 38px;
}

.steps div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
}

.steps strong {
  color: var(--brand);
  font-size: 22px;
}

.steps b {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.stats-band {
  padding-block: 64px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.pricing-grid {
  width: min(100%, 890px);
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card {
  position: relative;
  padding: 32px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.price-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
}

.price-card > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price strong {
  font-size: 50px;
  color: var(--navy);
}

.price span { color: var(--muted); }

.price-card .button {
  margin-top: 24px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.price-card li {
  display: flex;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
}

.price-card li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
}

.price-card-featured {
  color: #fff;
  border-color: var(--navy);
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  box-shadow: var(--shadow-elegant);
}

.price-card-featured h3,
.price-card-featured .price strong,
.price-card-featured li {
  color: #fff;
}

.price-card-featured > p,
.price-card-featured .price span {
  color: rgba(255,255,255,.68);
}

.price-card-featured li::before {
  color: #fff;
  background: rgba(47,142,229,.3);
}

.popular {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 12px;
  font-weight: 800;
}

.pricing-note {
  margin: 28px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.narrow {
  width: min(100% - 48px, 1024px);
}

.about-copy {
  max-width: 920px;
  margin: 24px auto 0;
  font-size: 18px;
}

.about-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.about-grid article {
  padding: 24px;
  border-radius: 18px;
}

.faq-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.faq-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.faq-item h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 48px;
  padding: clamp(36px, 6vw, 64px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  box-shadow: var(--shadow-elegant);
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: rgba(47,142,229,.28);
  filter: blur(34px);
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.65;
}

address {
  display: grid;
  gap: 18px;
  font-style: normal;
}

address a,
address p {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(255,255,255,.9);
}

address span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}

address b {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

.flash-wrap {
  padding-top: 96px;
}

.flash-message {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.flash-success {
  color: #07563a;
  border: 1px solid rgba(34, 197, 94, .32);
  background: #dcfce7;
}

.flash-error {
  color: #8a1f11;
  border: 1px solid rgba(239, 68, 68, .28);
  background: #fee2e2;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 64px;
  align-items: center;
}

.lead-form {
  width: min(100%, 620px);
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.lead-form h3 {
  margin: 0;
  font-size: 28px;
  color: inherit;
}

.lead-form p {
  margin: -8px 0 4px;
  color: var(--muted);
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow-card);
}

.contact-card a,
.contact-card p {
  color: rgba(255,255,255,.9);
}

.contact-card b {
  color: rgba(255,255,255,.58);
}

.lead-form label,
.admin-card label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.admin-card input,
.admin-filters select,
.status-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  color: var(--text);
  background: #fff;
  font: inherit;
  outline: none;
}

.lead-form input:focus,
.admin-card input:focus,
.admin-filters select:focus,
.status-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 142, 229, .12);
}

.g-recaptcha {
  min-height: 78px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16, 35, 60, .58);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.trial-modal {
  position: relative;
  width: min(100%, 620px);
}

.trial-modal .lead-form {
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: var(--brand-soft);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.admin-body {
  min-height: 100vh;
  color: var(--text);
  background: #f4f7fb;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-card,
.admin-detail-card,
.admin-table-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.admin-card {
  width: min(100%, 420px);
  display: grid;
  gap: 18px;
  padding: 30px;
}

.admin-card img {
  height: 46px;
  width: fit-content;
}

.admin-card h1,
.admin-heading h1,
.admin-detail-card h1 {
  margin: 0;
  color: var(--text);
}

.admin-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.admin-topbar nav {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.admin-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 42px 0;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-filters,
.status-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-table-card {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.admin-table th,
.admin-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.lead-type,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.lead-type {
  color: var(--brand);
  background: var(--brand-soft);
}

.status-new {
  color: #075985;
  background: #e0f2fe;
}

.status-contacted {
  color: #07563a;
  background: #dcfce7;
}

.status-closed {
  color: #4b5563;
  background: #e5e7eb;
}

.status-form select {
  min-height: 36px;
  min-width: 122px;
}

.status-form button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  padding: 0 12px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.empty-state {
  color: var(--muted);
  text-align: center;
}

.admin-detail-card {
  display: grid;
  gap: 18px;
  padding: 32px;
}

.back-link {
  width: fit-content;
  font-weight: 800;
}

.lead-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.lead-detail-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.lead-detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.lead-detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.brand-small img {
  height: 34px;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
}

@media (max-width: 980px) {
  .container,
  .narrow {
    width: min(100% - 32px, 1280px);
  }

  .header-actions {
    display: none;
  }

  .brand img {
    height: 36px;
  }

  .main-nav {
    position: absolute;
    inset: 64px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-card);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .menu-button {
    display: block;
  }

  .hero-grid,
  .split-grid,
  .repair-grid,
  .cta-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding-block: 56px 72px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: 40px;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    gap: 12px;
  }

  .hero-visual {
    padding: 0;
  }

  .hero-visual img {
    transform: rotateY(-5deg) rotateX(2deg);
  }

  .pricing-grid,
  .about-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 72px;
  }

  .footer-inner {
    padding-block: 28px;
    flex-direction: column;
  }

  .lead-form {
    padding: 24px;
  }

  .admin-topbar {
    padding: 0 18px;
  }

  .admin-shell {
    width: min(100% - 28px, 1180px);
  }

  .admin-filters,
  .status-form {
    align-items: stretch;
    flex-direction: column;
  }

  .lead-detail-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
