:root {
    --background: #0d0f12;
    --card: #191d23;
    --card-light: #20252c;
    --text: #f5f7fa;
    --text-secondary: #aeb6c2;
    --accent: #ffbf00;
    --accent-hover: #ffd24d;
    --success: #55d187;
    --border: rgba(255, 255, 255, 0.09);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius-large: 28px;
    --radius-medium: 20px;
    --radius-small: 14px;
  }

  * {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: var(--background);
  }

  .vpn-page-container {
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
    padding: 48px 16px 60px;
    overflow-x: hidden;
    background:
      radial-gradient(
        circle at 20% 0%,
        rgba(255, 191, 0, 0.11),
        transparent 35%
      ),
      var(--background);
    color: var(--text);
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      Helvetica,
      Arial,
      sans-serif;
    line-height: 1.6;
  }

  .vpn-content {
    width: min(100%, 1050px);
    margin: 0 auto;
  }

  .hero {
    padding: 15px 0 45px;
    text-align: center;
  }

  .hero-title {
    max-width: 850px;
    margin: 0 auto 20px;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  .hero-title span {
    color: var(--accent);
  }

  .hero-text {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: clamp(17px, 2.6vw, 21px);
  }

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

  .nav-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease;
  }

  .nav-button:hover {
    transform: translateY(-2px);
  }

  .nav-button-primary {
    background: var(--accent);
    color: #161616;
  }

  .nav-button-primary:hover {
    background: var(--accent-hover);
  }

  .nav-button-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
  }

  .nav-button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
  }

  .notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    margin: 0 0 50px;
    padding: 20px;
    border: 1px solid rgba(255, 191, 0, 0.21);
    border-radius: var(--radius-medium);
    background: rgba(255, 191, 0, 0.07);
  }

  .notice-icon {
    font-size: 24px;
  }

  .notice-title {
    margin: 0 0 5px;
    font-size: 17px;
  }

  .notice-text {
    margin: 0;
    color: var(--text-secondary);
  }

  .instruction-section {
    padding: 20px 0 42px;
    scroll-margin-top: 20px;
  }

  .section-heading {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
    margin-bottom: 24px;
  }

  .section-number {
    display: flex;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--accent);
    color: #151515;
    font-size: 22px;
    font-weight: 900;
  }

  .section-title {
    margin: 0 0 7px;
    color: var(--text);
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .section-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 17px;
  }

  .section-card {
    overflow: hidden;
    padding: clamp(22px, 5vw, 38px);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.035),
        rgba(255, 255, 255, 0.012)
      );
    box-shadow: var(--shadow);
  }

  .steps {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: instruction-step;
  }

  .step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    align-items: start;
    counter-increment: instruction-step;
  }

  .step::before {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 191, 0, 0.24);
    border-radius: 13px;
    background: rgba(255, 191, 0, 0.09);
    color: var(--accent);
    content: counter(instruction-step);
    font-weight: 900;
  }

  .step-text {
    padding-top: 7px;
    color: var(--text-secondary);
    font-size: 17px;
  }

  .step-text strong,
  .step-text b {
    color: var(--text);
  }

  .download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
  }

  .btn-download {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border: 1px solid rgba(255, 191, 0, 0.28);
    border-radius: 15px;
    background: rgba(255, 191, 0, 0.07);
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease;
  }

  .btn-download:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent);
    color: #161616;
  }

  .btn-copy {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 14px 18px;
    border: 1px solid var(--accent);
    border-radius: 15px;
    background: var(--accent);
    color: #161616;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease;
  }

  .btn-copy:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
  }

  .btn-copy.copied {
    border-color: var(--success);
    background: var(--success);
  }

  .info-box {
    margin-top: 26px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--card-light);
  }

  .info-box-warning {
    border-color: rgba(255, 191, 0, 0.23);
    background: rgba(255, 191, 0, 0.07);
  }

  .info-box-success {
    border-color: rgba(85, 209, 135, 0.22);
    background: rgba(85, 209, 135, 0.07);
  }

  .info-box-title {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 18px;
  }

  .info-box-text {
    margin: 0;
    color: var(--text-secondary);
  }

  .finish {
    margin: 25px 0 15px;
    padding: clamp(28px, 6vw, 55px);
    border: 1px solid rgba(85, 209, 135, 0.19);
    border-radius: var(--radius-large);
    background:
      radial-gradient(
        circle at 50% 0%,
        rgba(85, 209, 135, 0.16),
        transparent 55%
      ),
      var(--card);
    text-align: center;
  }

  .finish-icon {
    margin-bottom: 12px;
    font-size: 46px;
  }

  .finish-title {
    margin: 0 0 10px;
    font-size: clamp(29px, 5vw, 44px);
  }

  .finish-text {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 17px;
  }

  .footer {
    margin-top: 55px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    text-align: center;
  }

  .footer strong {
    color: var(--text);
  }

  @media (max-width: 800px) {
    .vpn-page-container {
      padding-top: 34px;
    }

    .hero-actions {
      display: grid;
    }

    .nav-button {
      width: 100%;
    }

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

    .section-heading {
      grid-template-columns: 1fr;
    }

    .section-number {
      width: 46px;
      height: 46px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html,
    body {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      transition: none !important;
    }
  }

.steps-spaced {
  margin-top: 28px;
}

.steps-continued {
  counter-reset: instruction-step 1;
}
