:root {
  --bg: #050607;
  --panel: #101316;
  --panel-soft: #151a20;
  --line: #272d34;
  --text: #f5f7fa;
  --muted: #a4adb8;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.10), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 7, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.language-switch {
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 19, 22, 0.8);
}

.language-switch button {
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switch button:hover,
.language-switch button.is-active {
  background: rgba(249, 115, 22, 0.18);
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: calc(100vh - 58px);
  align-content: center;
  justify-items: center;
  gap: 42px;
  padding: 72px 0 86px;
  text-align: center;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-action {
  display: grid;
  min-width: 260px;
  max-width: 330px;
  min-height: 86px;
  align-content: center;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 27, 33, 0.86);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hero-action strong {
  color: var(--text);
  font-size: 1rem;
}

.hero-action span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-action-primary {
  border-color: rgba(249, 115, 22, 0.36);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(21, 27, 33, 0.92));
  box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.76);
}

.hero-action-primary:hover {
  border-color: rgba(249, 115, 22, 0.58);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.13), rgba(21, 27, 33, 0.96));
  transform: translateY(-1px);
}

.hero-action-disabled {
  position: relative;
  opacity: 0.62;
  cursor: not-allowed;
}

.hero-action-disabled em {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 700;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: #fb8c2e;
}

.button-muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
}

.app-preview {
  width: min(980px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.map-compare {
  position: relative;
  isolation: isolate;
  touch-action: pan-y;
}

.compare-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.compare-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}

.compare-overlay .compare-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.map-compare::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 68%, rgba(5, 6, 7, 0.2));
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  z-index: 3;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(249, 115, 22, 0.82);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.94);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.16), 0 10px 24px rgba(0, 0, 0, 0.45);
}

.compare-divider span::before,
.compare-divider span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.compare-divider span::before {
  transform: translateX(4px) rotate(-45deg);
}

.compare-divider span::after {
  transform: translateX(-4px) rotate(135deg);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-label {
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 10, 12, 0.78);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  pointer-events: none;
}

.compare-label-dark {
  left: 14px;
}

.compare-label-normal {
  right: 14px;
}

.hero-showcase-tabs {
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: -22px;
}

.hero-showcase-tabs button {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(16, 19, 22, 0.74);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hero-showcase-tabs button:hover,
.hero-showcase-tabs button.is-active {
  border-color: rgba(249, 115, 22, 0.56);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(16, 19, 22, 0.88));
}

.hero-showcase-tabs button.is-active {
  box-shadow: inset 3px 0 0 rgba(249, 115, 22, 0.84);
}

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

.hero-showcase-tabs strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.hero-showcase-tabs span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.section {
  padding: 82px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2,
.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.feature-grid article {
  min-height: 230px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(16, 19, 22, 0.78);
}

.feature-media {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  margin-bottom: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #050607;
}

.feature-grid span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.feature-grid p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.cta-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 40px 0 92px;
  padding: 46px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.10), rgba(16, 19, 22, 0.88));
  text-align: center;
}

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 880px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

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

  .hero-showcase-tabs {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  .language-switch {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 24px, 1120px);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .cta-panel {
    margin: 32px 0 42px;
    padding: 34px 18px;
  }

  .site-footer {
    min-height: auto;
    justify-content: center;
    gap: 8px;
    padding: 18px 22px 22px;
    text-align: center;
  }

  .hero-action {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .button {
    width: 100%;
  }

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

  .feature-grid article {
    min-height: 0;
  }
}
