:root {
  --blue: #1976d2;
  --blue-hover: #1c85ee;
  --blue-active: #145ea8;
  --blue-bright: #75ade4;
  --blue-bright-hover: #4791db;
  --blue-soft: #d1e4f6;
  --blue-soft-hover: #b8dcff;
  --blue-soft-active: #bfd4e9;
  --bg: #ffffff;
  --surface: #eef1f8;
  --surface-hover: #f6faff;
  --card: #ffffff;
  --text: #191c1f;
  --muted: #5c6066;
  --line: #d1e4f6;
  --urgent: #ff6635;
  --warning: #ffd05e;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 64px;
  --shadow: 0 4px 24px rgb(25 118 210 / 16%);
  --shadow-strong: 8px 12px 32px 0 rgb(25 118 210 / 32%);
  --font: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.icon {
  flex-shrink: 0;
  display: block;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 20px 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.logo-link {
  display: flex;
  align-items: center;
  border-radius: 8px;
}

.logo {
  width: 108px;
  height: 24px;
  flex-shrink: 0;
  transform: translateY(-5px);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons — как на trip77.co */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
  user-select: none;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.button--primary {
  color: #fff;
  background: var(--blue-bright);
}

.button--primary:hover {
  background: var(--blue-bright-hover);
}

.button--primary:active {
  background: var(--blue);
}

.button--secondary {
  color: var(--blue);
  background: var(--blue-soft);
}

.button--secondary:hover {
  background: var(--blue-soft-hover);
}

.button--secondary:active {
  background: var(--blue-soft-active);
}

.header .button,
.mobile-cta .button {
  height: 36px;
  min-height: 36px;
  padding: 8px 24px;
  font-size: 14px;
  line-height: 20px;
}

/* Layout */
.page {
  width: 100%;
  max-width: 1088px;
  margin: 0 auto;
  padding: 16px 16px 32px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.card--pad {
  padding: 20px 24px 24px;
}

/* Intro */
.intro {
  padding: 8px 8px 4px;
}

.intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.intro h1 {
  margin-bottom: 12px;
  max-width: 18em;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.intro__lead {
  max-width: 46em;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Banner slider */
.banner-wrap {
  position: relative;
  padding: 16px 18px 26px;
}

.banner-slider {
  width: 100%;
  max-width: 1088px;
  position: relative;
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1088px;
  touch-action: pan-y;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 16px;
  margin: 0 8px;
}

.slide {
  flex: 0 0 812px;
  position: relative;
}

.desktop-banner {
  display: block;
  width: 100%;
  height: 258px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgb(25 118 210 / 24%);
}

.desktop-banner img {
  width: 100%;
  height: 258px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #fff;
}

.mobile-banner {
  display: none;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgb(25 118 210 / 24%);
}

.mobile-banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  background: #fff;
}

.nav-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.nav-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background-color: #e3e3e5;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.nav-dot:hover {
  background-color: #b1b1b1;
}

.nav-dot.active {
  background-color: var(--blue);
}

.nav-controls {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 258px;
  z-index: 20;
  pointer-events: none;
}

.nav-btn {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  box-shadow: 0 4px 24px rgb(25 118 210 / 16%);
  pointer-events: auto;
  transform: translateY(-50%);
  cursor: pointer;
}

.nav-btn--prev {
  left: 2px;
}

.nav-btn--next {
  right: 2px;
}

.nav-btn:hover:not(.disabled) {
  background: #eef1f8;
}

.nav-btn.disabled {
  opacity: 0.8;
  cursor: default;
}

@media (max-width: 600px) {
  .slider-container {
    -webkit-user-select: none;
    user-select: none;
  }

  .slider-track {
    gap: 0;
    margin: 0;
  }

  .slide {
    flex: 0 0 100%;
  }

  .slide:not(.active) {
    opacity: 0;
  }

  .slide.active {
    opacity: 1;
  }

  .desktop-banner {
    display: none;
  }

  .mobile-banner {
    display: block;
  }

  .nav-controls {
    display: none;
  }

  .nav-dots {
    margin-top: 12px;
    gap: 6px;
  }
}

/* Domains */
.domains {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.domains__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.domains__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  color: var(--blue);
}

.domains__note {
  margin-top: -4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 52em;
}

.copy-button {
  position: relative;
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  border-radius: 6px;
  background: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.copy-button:hover {
  background: var(--blue-hover);
}

.copy-button img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: 0;
  transform: translate(-50%, -50%);
}

.domains__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.domain {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.domain__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.domain__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.domain:hover .domain__name {
  color: var(--blue);
}

.domain__go {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--blue-bright);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.domain:hover .domain__go {
  background: var(--blue-bright-hover);
}

.domain__timer {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  height: 22px;
  min-height: 22px;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 15.6px;
  cursor: pointer;
  white-space: nowrap;
  background: var(--surface);
}

.domain__timer--urgent {
  color: #fff;
  background: var(--urgent);
}

.domain__timer--warning {
  background: var(--warning);
}

.domain__timer img {
  width: 14px;
  height: 14px;
}

/* Hint */
.hint {
  position: fixed;
  z-index: 1100;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.hint__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-align: right;
}

.hint__label {
  margin: 4px 0;
  font-size: 14px;
  color: #b1b1b1;
  text-align: right;
}

.hint__time {
  font-size: 16px;
  text-align: right;
}

/* Sections */
.section-title {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.section-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: var(--blue);
}

.section-lead {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.feature {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

@media (hover: hover) {
  .feature:hover {
    background: var(--surface-hover);
  }

  .step:hover {
    background: var(--surface-hover);
  }

  .domain:hover {
    border-color: var(--blue-bright);
    background: #fff;
  }
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.feature__icon .icon {
  display: block;
}

.feature h3 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
}

.feature p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
  counter-reset: step;
}

.step {
  padding: 18px 16px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.step__num {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 12px;
  border-radius: 0;
  background: none;
  color: var(--blue);
  font-size: 28px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.step__num::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--blue);
}

.step h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Security list */
.secure-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.secure-list li {
  display: flex;
  gap: 10px;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.secure-list .icon {
  margin-top: 2px;
  color: var(--blue);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.faq details {
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

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

.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 6px;
}

.faq details p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.footer {
  padding: 8px 8px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer p + p {
  margin-top: 8px;
}

/* Mobile CTA — плавающая панель как на trip77.co */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 999;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: calc(100% - 32px);
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  transform: translateX(-50%);
}

.mobile-cta .button {
  flex: 1;
  width: auto;
}

/* Notifications */
.notifications {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(304px, calc(100vw - 32px));
}

.notification {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #e8f5e9;
  border-radius: 12px;
  animation: slide-in 0.25s ease;
  cursor: pointer;
}

.notification--error {
  background: #ffebee;
}

.notification img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.notification span {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Desktop / tablet */
@media (min-width: 801px) {
  .header {
    padding: 20px 48px;
  }

  .page {
    padding: 20px 24px 48px;
  }

  .content {
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .header {
    padding: 20px 96px;
  }
}

/* Mobile */
@media (max-width: 800px) {
  .header {
    padding: 20px 16px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-cta {
    display: flex;
  }

  .page {
    padding: 16px 16px 120px;
  }

  .intro h1 {
    font-size: 24px;
  }

  .domains__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .domain {
    width: 100%;
  }

  .domain__name {
    font-size: 16px;
  }

  .features,
  .steps,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .card--pad {
    padding: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .copy-button {
    width: 26px;
    height: 26px;
  }
}

