:root {
  --black: #050505;
  --black-soft: #0d0d0e;
  --graphite: #161719;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --green: #39e27d;
  --green-soft: rgba(57, 226, 125, 0.18);
  --green-line: rgba(57, 226, 125, 0.44);
  --titanium: #b8bec6;
  --titanium-bright: #f2f4f7;
  --steel: #7f8790;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--titanium-bright);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 36px;
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: linear-gradient(145deg, #f4f4f4, #6d737a 46%, #151515 47%, #34373a);
  color: #050505;
  font-weight: 900;
  font-size: 1.22rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--steel);
  font-size: 0.78rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d7dbe0;
  font-size: 0.95rem;
}

.desktop-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
}

.desktop-nav a:hover,
.header-call:hover,
.button:hover,
.toast-actions a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.header-call svg,
.button svg,
.feature-card svg,
.floating-contact svg,
.toast-actions svg,
.toast-close svg,
.flow-item svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 74svh;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/fuel-station-hero.jpg") center right / cover no-repeat;
  filter: saturate(0.76) contrast(1.08) brightness(0.74);
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.99) 0%, rgba(5, 5, 5, 0.92) 36%, rgba(5, 5, 5, 0.48) 74%, rgba(5, 5, 5, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.15) 0%, rgba(5, 5, 5, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 72px));
  padding: 60px 0 34px 36px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--titanium);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.9rem, 5.1vw, 4.35rem);
  line-height: 0.98;
  font-weight: 900;
  max-width: 760px;
}

h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.07;
}

h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.14rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 24px;
  color: #d4d7dc;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
}

.hero-actions,
.contact-actions,
.toast-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button.primary {
  color: #050505;
  background: linear-gradient(135deg, #ffffff, #aab1ba 52%, #ffffff);
  border-color: rgba(255, 255, 255, 0.72);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(680px, 100%);
  margin: 24px 0 0;
}

.hero-metrics div {
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.hero-metrics dt {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: #c8cdd3;
  font-size: 0.94rem;
}

section {
  padding: 86px 36px;
}

.intro,
.advantages,
.launch {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.intro-grid p,
.section-heading p,
.split-copy p,
.script-copy p,
.result p,
.contact-section p,
.launch p {
  color: #c7ccd3;
  font-size: 1.04rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.05fr);
  gap: 36px;
  align-items: center;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.split-copy p:last-child {
  margin-bottom: 0;
}

.system-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    #101112;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--steel);
  font-weight: 800;
}

.panel-head strong {
  color: var(--green);
  font-size: 0.88rem;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 28px 22px;
}

.flow-item {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 142px;
  padding: 18px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #d7dce1;
  text-align: center;
  font-weight: 800;
}

.flow-item.active {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--white);
}

.flow-item svg {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.panel-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}

.panel-list div {
  min-height: 82px;
  padding: 18px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.panel-list span,
.panel-list strong {
  display: block;
}

.panel-list span {
  color: var(--steel);
  font-size: 0.86rem;
}

.panel-list strong {
  margin-top: 6px;
  color: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-heading > p {
  max-width: 430px;
  margin-top: 28px;
}

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

.feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--green);
}

.feature-card p,
.steps p {
  margin-bottom: 0;
  color: #c5cad1;
}

.script-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.script-section h2 {
  max-width: 540px;
}

.script-copy {
  display: grid;
  gap: 18px;
}

.script-copy p {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
}

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

.steps article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--panel);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid var(--green-line);
  border-radius: 8px;
  color: var(--green);
  font-weight: 900;
}

.result {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.result p {
  margin: 30px 0 0;
  font-size: 1.14rem;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto 28px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(57, 226, 125, 0.14), transparent 42%),
    var(--panel-strong);
}

.contact-section h2 {
  max-width: 620px;
}

.contact-section p {
  max-width: 670px;
  margin-bottom: 0;
}

.plain-phone {
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #050505;
  background: var(--green);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  cursor: pointer;
}

.contact-toast {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 31;
  width: min(340px, calc(100vw - 44px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 15, 16, 0.96);
  box-shadow: var(--shadow);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-toast.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.contact-toast p {
  margin-bottom: 8px;
  color: var(--steel);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.toast-phone {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.24rem;
  font-weight: 900;
}

.toast-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 36px;
  color: var(--steel);
  border-top: 1px solid var(--line-dark);
}

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

  .intro-grid,
  .split-section,
  .script-section,
  .result {
    grid-template-columns: 1fr;
  }

  .split-section,
  .script-section,
  .result {
    width: min(100% - 48px, 760px);
  }

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

  .section-heading,
  .contact-section {
    display: block;
  }

  .section-heading > p {
    max-width: 720px;
    margin-top: 0;
  }

  .contact-actions {
    margin-top: 26px;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .hero-metrics {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .header-call {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0;
  }

  .hero {
    min-height: 76svh;
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.86) 48%, rgba(5, 5, 5, 0.44) 100%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.16) 0%, rgba(5, 5, 5, 0.95) 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 42px 0 28px 18px;
  }

  h1 {
    font-size: clamp(2.18rem, 11vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.34rem);
  }

  .feature-grid,
  .steps,
  .panel-list {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: none;
  }

  section {
    padding: 64px 18px;
  }

  .intro,
  .advantages,
  .launch {
    width: 100%;
  }

  .split-section,
  .script-section,
  .result,
  .contact-section {
    width: calc(100% - 36px);
  }

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

  .flow-line {
    width: 2px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, var(--green), transparent);
  }

  .feature-card,
  .steps article {
    min-height: auto;
  }

  .contact-section {
    padding: 26px;
  }

  .button {
    width: 100%;
  }

  .plain-phone {
    display: block;
    width: 100%;
    text-align: center;
  }

  .site-footer {
    display: block;
    padding: 24px 18px;
  }

  .site-footer span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
