:root {
  --bg: #080b18;
  --surface: rgba(12, 16, 34, 0.72);
  --surface-strong: rgba(15, 20, 42, 0.92);
  --text: #f8fbff;
  --muted: #b8c4d9;
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #20e7ff;
  --blue: #4c7dff;
  --magenta: #ff3dd8;
  --violet: #8e4dff;
  --danger: #ff5c7a;
  --hero-image: url("/images/background-index-default.png");
  --decorative-image: none;
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(5, 8, 20, 0.86), rgba(8, 4, 25, 0.94)),
    radial-gradient(circle at top left, rgba(32, 231, 255, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 61, 216, 0.14), transparent 32%),
    var(--decorative-image);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 11, 24, 0.02), rgba(8, 11, 24, 0.46) 46%, rgba(8, 11, 24, 0.72));
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.landing-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  width: min(1180px, calc(100% - 28px));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 10, 24, 0.58);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-logo span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta));
  color: #fff;
  font-size: 0.78rem;
  box-shadow: 0 10px 30px rgba(32, 231, 255, 0.28);
}

.brand-logo strong {
  letter-spacing: 0;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(32, 231, 255, 0.18);
}

.button:hover::before {
  transform: translateX(120%);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.button:focus-visible,
.modal-close:focus-visible,
.modal-helper:focus-visible,
.terms-link:focus-visible,
.faq-list summary:focus-visible,
.site-footer-column a:focus-visible,
.brand-logo:focus-visible {
  outline: 3px solid rgba(32, 231, 255, 0.34);
  outline-offset: 3px;
}

.button-primary,
.button-hero {
  border-color: rgba(32, 231, 255, 0.38);
  background: linear-gradient(135deg, rgba(32, 231, 255, 0.92), rgba(76, 125, 255, 0.94), rgba(255, 61, 216, 0.9));
  color: #fff;
  box-shadow: 0 16px 38px rgba(76, 125, 255, 0.26);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.1);
}

.button-affiliate {
  background: linear-gradient(135deg, rgba(255, 61, 216, 0.42), rgba(142, 77, 255, 0.36));
  border-color: rgba(255, 61, 216, 0.38);
}

.home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) 0 clamp(36px, 7vw, 86px);
  isolation: isolate;
}

.home::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 0;
  z-index: -1;
  width: min(520px, 46vw);
  height: min(520px, 46vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 231, 255, 0.18), rgba(255, 61, 216, 0.1) 44%, transparent 70%);
  filter: blur(10px);
}

.hero-content {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(10, 17, 38, 0.62), rgba(10, 17, 38, 0.26));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-content > * {
  max-width: 660px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5.6vw, 5.05rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-extra {
  margin-bottom: 18px;
  color: #e2ebfa;
  line-height: 1.55;
}

.trial-chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(32, 231, 255, 0.44);
  border-radius: 999px;
  background: rgba(32, 231, 255, 0.12);
  color: #e9fcff;
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-note {
  margin-bottom: 26px;
  color: #dce7f8;
}

.hero-visual {
  min-width: 0;
}

.hero-visual-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(10, 17, 38, 0.62);
  box-shadow: 0 24px 88px rgba(0, 0, 0, 0.36), 0 0 54px rgba(76, 125, 255, 0.16);
  padding: clamp(10px, 1.7vw, 18px);
  backdrop-filter: blur(16px);
}

.hero-visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(32, 231, 255, 0.18), transparent 34%, rgba(255, 61, 216, 0.16));
}

.hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(620px, 72vh);
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}

.landing-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 98px) 0;
}

.landing-section.compact {
  padding-top: 38px;
}

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

.section-heading p:not(.section-kicker),
.split-section p,
.trial-section p,
.final-cta p {
  color: var(--muted);
  line-height: 1.7;
}

.benefit-grid,
.comparison-grid,
.landing-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.feature-card,
.comparison-card,
.plan-card,
.trial-panel,
.testimonials-ready,
.faq-list details,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 17, 38, 0.68), rgba(10, 17, 38, 0.38));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.feature-card,
.comparison-card,
.plan-card {
  min-width: 0;
  padding: 24px;
}

.feature-card p,
.comparison-card li,
.plan-card p,
.plan-card li {
  color: var(--muted);
  line-height: 1.58;
}

.feature-card,
.comparison-card,
.plan-card {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover,
.comparison-card:hover,
.plan-card:hover {
  border-color: rgba(32, 231, 255, 0.3);
  background: linear-gradient(180deg, rgba(15, 27, 58, 0.78), rgba(15, 27, 58, 0.48));
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(32, 231, 255, 0.12);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.steps-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-weight: 900;
}

.split-section,
.trial-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 74px);
}

.highlight-list,
.comparison-card ul,
.trial-panel ul,
.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-list {
  display: grid;
  gap: 12px;
}

.highlight-list li,
.comparison-card li,
.trial-panel li,
.plan-card li {
  position: relative;
  padding-left: 24px;
}

.highlight-list li::before,
.comparison-card li::before,
.trial-panel li::before,
.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(32, 231, 255, 0.7);
}

.comparison-card.positive {
  border-color: rgba(32, 231, 255, 0.34);
}

.trial-panel {
  padding: 28px;
}

.trial-panel ul {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.trial-panel small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.plans-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px;
  text-align: center;
  color: var(--muted);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 61, 216, 0.16);
  color: #ffd8f7;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.old-price {
  margin: 0;
  color: #92a1bd;
  font-weight: 700;
  text-decoration: line-through;
}

.plan-price {
  margin: 0;
  color: #ff5577;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
}

.save-note {
  margin: 0;
  color: #a9ffeb;
  font-weight: 900;
}

.plan-card .button {
  margin-top: auto;
}

.testimonials-ready {
  padding: 48px 22px;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  margin-bottom: 70px;
  padding: clamp(34px, 7vw, 62px);
  text-align: center;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 18, 0.94);
}

.site-footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) 2fr;
  gap: 28px;
  padding: 34px 0;
}

.site-footer-brand {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.site-footer-brand strong:first-child {
  color: var(--text);
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.site-footer-column {
  display: grid;
  gap: 8px;
}

.site-footer-column h2 {
  margin: 0;
  font-size: 0.94rem;
}

.site-footer-column a {
  color: var(--muted);
  font-size: 0.93rem;
}

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

.modal,
.document-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

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

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 16, 0.78);
  backdrop-filter: blur(8px);
}

.modal-box,
.document-box {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.document-box {
  width: min(760px, 100%);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.modal-box h1,
.document-box h1 {
  margin: 0 42px 20px 0;
  font-size: 1.7rem;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-form label:not(.terms-acceptance) {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.modal-form input,
.modal-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 13px;
  outline: none;
}

.modal-form select option {
  background: #10152d;
  color: #fff;
}

.modal-form input:focus,
.modal-form select:focus {
  border-color: rgba(32, 231, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(32, 231, 255, 0.14);
}

.modal-submit {
  width: 100%;
  margin-top: 8px;
}

.modal-helper,
.terms-link {
  border: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font-weight: 900;
}

.modal-helper {
  justify-self: center;
}

.terms-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.terms-acceptance input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.terms-link {
  padding: 0;
  font-size: inherit;
}

.form-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(32, 231, 255, 0.12);
  color: #cbfbff;
  line-height: 1.45;
}

.form-message.error {
  background: rgba(255, 92, 122, 0.14);
  color: #ffd2dc;
}

.document-version {
  margin: 0 0 6px;
  color: var(--cyan);
  font-weight: 900;
}

.document-content {
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.72;
}

@media (max-width: 980px) {
  .landing-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .benefit-grid,
  .comparison-grid,
  .landing-plans,
  .split-section,
  .trial-section {
    grid-template-columns: 1fr;
  }

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

  .site-footer-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    order: 2;
  }
}

@media (max-width: 640px) {
  .landing-header {
    align-items: center;
    top: 6px;
    width: calc(100% - 16px);
    margin-top: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .brand-logo strong {
    display: none;
  }

  .brand-logo span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .actions {
    flex: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .actions::-webkit-scrollbar {
    display: none;
  }

  .actions .button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.7rem;
  }

  .home {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    height: auto;
    padding: 18px 0 28px;
    gap: 18px;
  }

  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .hero-content {
    padding: 18px;
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  .hero-copy,
  .hero-extra,
  .hero-note {
    font-size: 0.95rem;
  }

  .trial-chip {
    margin-bottom: 10px;
    padding: 8px 11px;
  }

  .hero-visual-frame {
    border-radius: 22px;
    padding: 8px;
  }

  .hero-image {
    max-height: none;
    border-radius: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .landing-section {
    width: min(100% - 24px, 1180px);
  }

  .feature-card,
  .comparison-card,
  .plan-card,
  .trial-panel,
  .faq-list details {
    border-radius: 18px;
    padding: 18px;
  }

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

  .modal,
  .document-modal {
    padding: 12px;
  }

  .modal-box,
  .document-box {
    padding: 22px;
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  .actions .button {
    padding: 0 8px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: 2.05rem;
  }
}
