:root {
  --brand-primary: #0f172a;
  --brand-accent: #2563eb;
  --brand-accent-dark: #1d4ed8;
  --brand-muted: #64748b;
  --brand-bg: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --success: #10b981;
  --danger: #b42318;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brand-primary);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--brand-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  line-height: 1.65;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.landing-shell,
.auth-shell,
.dashboard-shell {
  min-height: 100vh;
}

.glass-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.74);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.section-container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-pin {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-accent);
}

.brand-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 43%;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 62%;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid #fff;
  transform: translateX(-50%);
}

.marketing-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
}

.marketing-nav a,
.text-link {
  text-decoration: none;
}

.marketing-nav a:hover,
.text-link:hover {
  color: var(--brand-accent);
}

.marketing-actions,
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.text-link {
  color: #475569;
  font-weight: 700;
}

.cta-button,
.primary-button,
.secondary-button,
.mini-button,
.inline-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-button:hover,
.primary-button:hover,
.secondary-button:hover,
.mini-button:hover,
.inline-button:hover {
  transform: translateY(-1px);
}

.cta-primary,
.primary-button,
.inline-button {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.20);
}

.cta-primary:hover,
.primary-button:hover,
.inline-button:hover {
  background: var(--brand-accent-dark);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
}

.cta-secondary,
.secondary-button,
.mini-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-primary);
}

.cta-secondary:hover,
.secondary-button:hover,
.mini-button:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.cta-large {
  min-height: 52px;
  padding-inline: 30px;
  font-size: 1.04rem;
}

.button-play {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.section-container {
  padding: 80px 0;
}

.hero {
  position: relative;
  width: min(calc(100% - 32px), clamp(1500px, 78vw, 2000px));
  min-height: calc(100vh - 64px);
  padding-top: clamp(64px, 8vh, 86px);
  padding-bottom: 104px;
  text-align: left;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(700px, 1.3fr);
  align-items: center;
  gap: 42px;
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-media {
  align-self: start;
  width: 100%;
  max-width: 960px;
  margin-top: 50px;
  justify-self: end;
}

.pill {
  display: inline-flex;
  margin-bottom: 24px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--brand-accent);
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.title-xl {
  max-width: 980px;
  margin: 0 auto 24px;
  color: #0f172a;
  font-size: clamp(2.55rem, 5.5vw, 4.35rem);
  font-weight: 800;
  letter-spacing: 0;
}

.hero .title-xl {
  max-width: 650px;
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 3vw, 3.05rem);
  line-height: 1.08;
}

.title-xl span,
.price-line strong,
.value-stats strong {
  color: var(--brand-accent);
}

.subtitle {
  max-width: 780px;
  margin: 0 auto;
  color: var(--brand-muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero .subtitle {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero-actions {
  margin: 38px 0 64px;
  flex-wrap: wrap;
}

.hero .hero-actions {
  justify-content: flex-start;
  margin: 30px 0 0;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-accent);
  padding: 9px 14px 9px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.08);
  transform: translateX(-50%);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  background: rgba(239, 246, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.14);
  transform: translateX(-50%) translateY(2px);
}

.scroll-cue:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.35);
  outline-offset: 3px;
}

.scroll-cue i {
  display: block;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  animation: scroll-cue-bounce 1.4s ease-in-out infinite;
  transform: translateY(-2px) rotate(45deg);
}

@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: translateY(-2px) rotate(45deg);
  }

  50% {
    transform: translateY(4px) rotate(45deg);
  }
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: clamp(8px, 0.8vw, 12px);
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}

.demo-video {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  object-fit: contain;
}

.demo-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.36);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.demo-play-button:hover,
.demo-play-button:focus-visible {
  background: rgba(37, 99, 235, 0.86);
  transform: translate(-50%, -50%) scale(1.04);
}

.demo-play-button:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.62);
  outline-offset: 4px;
}

.demo-play-button span {
  display: block;
  margin-left: 7px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 26px solid #fff;
}

.video-container.is-playing .demo-play-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.value-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.value-stats article {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.value-stats .stat-highlight {
  background: var(--brand-accent);
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.value-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
}

.value-stats .stat-highlight strong,
.value-stats .stat-highlight p {
  color: #fff;
}

.value-stats h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.value-stats p {
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.white-band {
  margin: 0 0 80px;
  background: #fff;
}

.white-band .section-container {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading.center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.benefit-layout h2,
.checkout-layout h2,
.final-cta h2 {
  margin-bottom: 16px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 2.45rem);
  font-weight: 800;
}

.section-heading p {
  color: var(--brand-muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.card-soft {
  min-height: 230px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card-soft:hover {
  border-color: #dbe3ec;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-soft h3 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 1rem;
}

.card-soft p,
.steps-grid p,
.pricing-card li,
.checkout-subtitle,
.helper,
.order-summary p,
.faq-list p,
.site-footer p,
.footer-bottom,
.table-sub {
  color: var(--brand-muted);
}

.card-soft p {
  font-size: 0.92rem;
}

.icon-box {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--brand-accent);
}

.icon-box::before,
.icon-box::after {
  content: "";
  position: absolute;
}

.icon-box.map::before {
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-box.filter::before {
  width: 20px;
  height: 16px;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.icon-box.target::before {
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-box.target::after {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.icon-box.users::before {
  width: 20px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 10px 10px 4px 4px;
}

.icon-box.list::before,
.icon-box.export::before,
.icon-box.history::before,
.icon-box.pointer::before {
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  right: 8%;
  left: 8%;
  z-index: -1;
  height: 1px;
  background: var(--line);
}

.steps-grid article {
  text-align: center;
}

.steps-grid span {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--brand-bg);
  color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
  font-size: 1.16rem;
  font-weight: 800;
}

.steps-grid h3 {
  margin-bottom: 12px;
  font-size: 1.04rem;
}

.dark-band {
  margin: 0 0 80px;
  background: #0f172a;
  color: #fff;
}

.benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.benefit-layout h2 {
  color: #fff;
}

.dark-copy {
  margin-bottom: 38px;
  color: #94a3b8;
  font-size: 1.08rem;
}

.benefit-list {
  display: grid;
  gap: 24px;
}

.benefit-list article {
  display: flex;
  gap: 16px;
}

.benefit-list article > span {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--success);
}

.benefit-list article > span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.benefit-list h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.benefit-list p {
  color: #94a3b8;
  font-size: 0.93rem;
}

.dashboard-mock {
  position: relative;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #1e293b;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.mock-browser {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.mock-browser span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mock-browser span:nth-child(1) {
  background: #ef4444;
}

.mock-browser span:nth-child(2) {
  background: #f59e0b;
}

.mock-browser span:nth-child(3) {
  background: #22c55e;
}

.mock-browser small {
  margin-left: auto;
  border-radius: 6px;
  background: #0f172a;
  color: #94a3b8;
  padding: 6px 12px;
  font-size: 0.68rem;
}

.mock-body {
  display: grid;
  min-height: 360px;
  grid-template-columns: 94px 1fr;
  gap: 16px;
}

.mock-body aside {
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.54);
  padding: 12px;
}

.mock-body aside span {
  height: 9px;
  border-radius: 999px;
  background: #334155;
}

.mock-body aside span:nth-child(3) {
  margin-top: 20px;
  background: rgba(37, 99, 235, 0.55);
}

.mock-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    #172033;
  background-size: 36px 36px;
}

.mock-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 16px #2563eb;
}

.pin-a {
  top: 24%;
  left: 30%;
}

.pin-b {
  top: 48%;
  left: 66%;
}

.pin-c {
  top: 68%;
  left: 26%;
}

.mock-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.88);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.mock-card strong,
.mock-card span {
  display: block;
}

.mock-card span {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 0.78rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: grid;
  align-content: start;
  border: 2px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.pricing-card.popular {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #fff;
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pricing-card h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.price-line small {
  color: var(--brand-muted);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.price-line strong {
  font-size: 2.65rem;
  line-height: 1;
}

.price-line span {
  color: var(--brand-muted);
  font-style: italic;
}

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

.pricing-card li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
}

.pricing-card li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.pricing-card .cta-button {
  width: 100%;
  margin-top: auto;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  border: 0;
  background: transparent;
  color: var(--brand-muted);
  font-weight: 700;
}

.back-link:hover {
  color: var(--brand-accent);
}

.checkout-subtitle {
  max-width: 680px;
  margin: 0 0 30px;
  font-size: 1rem;
}

.checkout-form {
  display: grid;
  gap: 20px;
}

label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-primary);
  padding: 14px 15px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
  outline: none;
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.security-note span {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--brand-accent);
}

.security-note span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.security-note p {
  color: var(--brand-muted);
  font-size: 0.84rem;
}

.checkout-submit {
  width: 100%;
  min-height: 56px;
  font-size: 1.04rem;
}

.order-summary {
  position: sticky;
  top: 90px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.order-summary h3 {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 24px;
  font-size: 1.2rem;
}

.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.summary-line {
  margin-bottom: 14px;
  color: #475569;
}

.summary-line strong,
.summary-total strong {
  font-family: "JetBrains Mono", monospace;
}

.summary-line.muted {
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.summary-total {
  margin: 28px 0;
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 800;
}

.summary-total strong {
  color: var(--brand-accent);
}

.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 20px 52px 20px 20px;
  color: #0f172a;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translateY(-70%) rotate(45deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list p {
  border-top: 1px solid var(--line-soft);
  padding: 18px 20px 20px;
  font-size: 0.96rem;
}

.final-cta {
  padding-top: 0;
}

.final-cta > div {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-accent);
  color: #fff;
  padding: 64px 40px;
  text-align: center;
}

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

.final-cta p {
  max-width: 680px;
  margin: 0 auto 34px;
  color: #dbeafe;
  font-size: 1.08rem;
}

.cta-light {
  background: #fff;
  color: var(--brand-accent);
}

.cta-light:hover {
  background: #eff6ff;
}

.cta-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.cta-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 56px;
}

.footer-brand {
  margin-bottom: 20px;
  color: #fff;
}

.site-footer h3 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 13px;
  color: #94a3b8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #1e293b;
  padding: 26px 0;
  font-size: 0.8rem;
}

.auth-shell {
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.auth-card,
.panel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.auth-card {
  width: min(520px, 100%);
  padding: 32px;
}

.auth-card h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.auth-card p {
  margin-bottom: 18px;
  color: var(--brand-muted);
}

.login-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 24px 32px;
  background: #f6f8fc;
}

.login-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.72) 44%, rgba(248, 250, 252, 0.96) 100%),
    url("videos/mapcontact-demo-thumb.jpg") center / cover no-repeat;
  filter: saturate(0.85);
}

.login-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent 36%, rgba(16, 185, 129, 0.08));
  background-size: 72px 72px, 72px 72px, auto;
  opacity: 0.72;
}

.login-topbar {
  position: fixed;
  top: 24px;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.login-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  padding: 0 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.login-back::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.login-back:hover,
.login-back:focus-visible {
  border-color: rgba(37, 99, 235, 0.36);
  color: var(--brand-accent);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.login-back:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.32);
  outline-offset: 3px;
}

.login-brand {
  border: 1px solid rgba(203, 213, 225, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 8px 12px 8px 10px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.login-card {
  position: relative;
  width: min(500px, 100%);
  border-color: rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.9);
  padding: 34px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.login-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(37, 99, 235, 0.2) 49%, rgba(37, 99, 235, 0.2) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(37, 99, 235, 0.2) 49%, rgba(37, 99, 235, 0.2) 51%, transparent 52%);
  opacity: 0.5;
  pointer-events: none;
}

.login-card-header {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.login-card .pill {
  margin-bottom: 0;
}

.login-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.login-card p {
  max-width: 390px;
  margin: 0;
  color: #52627a;
  font-size: 0.98rem;
}

.login-card input {
  min-height: 48px;
  border-color: #cbd5e1;
  background: rgba(255, 255, 255, 0.9);
}

.login-card input:focus {
  border-color: rgba(37, 99, 235, 0.62);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.login-card .primary-button {
  min-height: 48px;
  margin-top: 4px;
}

.stack {
  display: grid;
  gap: 14px;
}

.flash {
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 12px 14px;
}

.flash.error {
  background: #fef3f2;
  color: var(--danger);
}

.flash.success {
  background: #ecfdf3;
  color: #027a48;
}

.status-panel,
.job-box {
  margin-top: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.dashboard-shell {
  padding: 24px;
  background: #f8fafc;
}

.dashboard-header {
  max-width: 1280px;
  margin: 0 auto 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-header h1 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--brand-accent);
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.dashboard-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
}

.panel {
  padding: 24px;
}

.admin-switcher {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-table {
  grid-column: 1 / -1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stats-grid article {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
}

.stats-grid strong {
  display: block;
  color: var(--brand-accent);
  font-size: 2rem;
  font-weight: 800;
}

.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.table-wrapper {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--brand-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.table-sub {
  margin-top: 4px;
  font-size: 0.9rem;
}

.actions-cell {
    display: grid;
    gap: 8px;
  }

.whatsapp-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.whatsapp-open-button,
.whatsapp-direct-button {
  min-height: 38px;
}

.whatsapp-open-button.is-disabled {
  pointer-events: none;
  opacity: 0.52;
}

.whatsapp-direct-button {
  border-color: rgba(22, 163, 74, 0.35);
  background: #f0fdf4;
  color: #166534;
}

.whatsapp-direct-button:hover {
  border-color: #16a34a;
  color: #15803d;
}

.whatsapp-direct-button:disabled {
  border-color: var(--line);
  background: #f8fafc;
  color: var(--brand-muted);
  transform: none;
}

.whatsapp-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.whatsapp-direct-button:disabled .whatsapp-icon {
  background: #94a3b8;
}

.send-feedback {
  min-height: 18px;
  color: var(--brand-muted);
  font-size: 0.82rem;
}

@media (max-width: 1060px) {
  .marketing-nav {
    display: none;
  }

  .hero {
    width: min(1280px, calc(100% - 32px));
    min-height: auto;
    padding-bottom: 78px;
    text-align: center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 820px;
    justify-self: center;
  }

  .hero-media {
    max-width: 920px;
    margin-top: 0;
    justify-self: center;
  }

  .hero .title-xl,
  .hero .subtitle {
    margin-right: auto;
    margin-left: auto;
  }

  .hero .hero-actions {
    justify-content: center;
  }

  .scroll-cue {
    display: none;
  }

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

  .benefit-layout,
  .checkout-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (min-width: 1061px) and (max-width: 1400px) {
  .hero {
    width: min(1500px, calc(100% - clamp(64px, 10vw, 140px)));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.74fr) minmax(620px, 1.26fr);
    gap: 38px;
  }

  .hero-media {
    max-width: 900px;
    margin-top: 44px;
  }
}

@media (min-width: 1900px) {
  .hero-layout {
    grid-template-columns: minmax(480px, 0.68fr) minmax(900px, 1.32fr);
    gap: 56px;
  }

  .hero-media {
    max-width: 1180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i {
    animation: none;
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .section-container,
  .footer-bottom {
    width: min(100% - 28px, 1280px);
  }

  .glass-header {
    position: static;
  }

  .nav-wrap {
    align-items: flex-start;
    padding: 14px 0;
  }

  .marketing-actions .text-link {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions,
  .marketing-actions,
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-actions .cta-button,
  .marketing-actions .cta-button,
  .header-actions button,
  .header-actions form {
    width: 100%;
  }

  .value-stats,
  .feature-grid,
  .steps-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .value-stats .stat-highlight,
  .pricing-card.popular {
    transform: none;
  }

  .steps-grid::before {
    display: none;
  }

  .benefit-layout {
    gap: 34px;
  }

  .mock-body {
    min-height: 280px;
    grid-template-columns: 70px 1fr;
  }

  .footer-bottom,
  .dashboard-header {
    flex-direction: column;
  }

  .title-xl {
    font-size: 2.5rem;
  }
}

@media (max-width: 520px) {
  .login-shell {
    padding: 88px 16px 24px;
  }

  .login-topbar {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .login-brand span:last-child {
    display: none;
  }

  .login-card::before {
    width: 64px;
    height: 64px;
  }

  .demo-play-button {
    width: 68px;
    height: 68px;
  }

  .demo-play-button span {
    margin-left: 5px;
    border-top-width: 13px;
    border-bottom-width: 13px;
    border-left-width: 19px;
  }

  .checkout-layout,
  .white-band .section-container,
  .benefit-layout,
  .section-container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .auth-card,
  .panel,
  .pricing-card,
  .order-summary {
    padding: 22px;
  }
}
