:root {
      --bg: #0b0d14;
      --surface: #141824;
      --text: #eef1f8;
      --muted: #9aa3b5;
      --accent: #8b7cff;
      --accent-2: #b7a8ff;
      --border: #2b3040;
      --radius: 22px;
      --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
    }

    html {
      scroll-behavior: smooth;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
      background:
        radial-gradient(circle at 12% 18%, rgba(108, 92, 231, 0.24), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(255, 120, 190, 0.14), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(90, 200, 250, 0.10), transparent 36%),
        #080a12;
      color: var(--text);
      line-height: 1.65;
    }

    body::before,
    body::after {
      content: "";
      position: fixed;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0.20;
      z-index: -1;
    }

    body::before {
      background: #6c5ce7;
      top: -120px;
      left: -120px;
    }

    body::after {
      background: #ff78be;
      bottom: -140px;
      right: -120px;
    }

    .wrap {
      max-width: 920px;
      margin: 0 auto;
      padding: 28px 20px 80px;
    }

    .hero {
      background: linear-gradient(135deg, rgba(108, 92, 231, 0.58), rgba(255, 120, 190, 0.16));
      border: 1px solid rgba(255, 255, 255, 0.16);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-radius: 30px;
      padding: 44px 34px;
      color: #fff;
      margin-bottom: 34px;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .hero h1 {
      position: relative;
      margin: 0 0 14px;
      padding-bottom: 14px;
      font-size: clamp(30px, 6vw, 52px);
      line-height: 1.15;
      letter-spacing: -0.03em;
    }

    .hero p {
      margin: 0;
      max-width: 700px;
      font-size: 17px;
      color: rgba(255,255,255,0.92);
    }

    .hero-meta {
      margin-top: 16px !important;
      color: rgba(255, 255, 255, 0.62) !important;
      font-size: 13px !important;
    }

    article {
      background: rgba(18, 22, 35, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.10);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 44px 42px 52px;
    }

    h2 {
      position: relative;
      padding-bottom: 12px;
      margin: 54px 0 18px;
      font-size: 30px;
      line-height: 1.25;
      letter-spacing: -0.025em;
      color: #fff;
      scroll-margin-top: 24px;
    }

    h2::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(139, 124, 255, 0.90), rgba(255, 120, 190, 0.90), transparent);
      box-shadow: 0 1px 10px rgba(139, 124, 255, 0.35);
    }

    h2 a {
      color: inherit;
      text-decoration: none;
    }

    h2 a:hover {
      color: #e9e2ff;
      text-decoration: underline;
      text-decoration-color: rgba(139, 124, 255, 0.85);
      text-underline-offset: 4px;
    }

    h1::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(139, 124, 255, 0.90), rgba(255, 120, 190, 0.90), transparent);
      box-shadow: 0 1px 10px rgba(139, 124, 255, 0.35);
    }

    h2:first-child {
      margin-top: 0;
    }

    h3 {
      font-size: 20px;
      margin: 28px 0 12px;
      color: #e8e2ff;
    }

    p {
      margin: 16px 0;
      color: rgba(238, 241, 248, 0.88);
      line-height: 1.85;
    }

    .lead {
      font-size: 18px;
      line-height: 1.75;
      color: rgba(255, 255, 255, 0.94);
    }

    .service-card {
      margin: 34px 0;
      padding: 30px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
      border: 1px solid rgba(255, 255, 255, 0.10);
      border-radius: 24px;
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    }

    .service-card h2 {
      margin-top: 0;
    }

    .service-card .article-img {
      margin-bottom: 0;
    }

    ul, ol {
      margin: 18px 0 24px;
      padding-left: 26px;
    }

    li {
      margin: 10px 0;
      padding-left: 4px;
      line-height: 1.75;
    }

    li::marker {
      color: #8b7cff;
      font-weight: 700;
    }

    a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
    }

    a:hover {
      text-decoration: underline;
    }

    .service-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 22px 0 30px;
    }

    .service-links a {
      display: inline-block;
      background: rgba(255, 255, 255, 0.06);
      color: #c6bcff;
      border: 1px solid rgba(255, 255, 255, 0.14);
      backdrop-filter: blur(12px);
      padding: 12px 18px;
      border-radius: 999px;
      font-weight: 700;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .service-links a:hover {
      background: rgba(139, 124, 255, 0.22);
      border-color: rgba(255, 255, 255, 0.28);
      color: #fff;
      transform: translateY(-1px);
    }

    .table-wrap {
      overflow-x: auto;
      margin: 28px 0;
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
    }

    .article-img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 20px;
      margin: 26px 0;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.10);
    }

    .carousel {
      position: relative;
      margin: 26px 0;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.10);
      border-radius: 20px;
      background: rgba(16, 21, 34, 0.70);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .carousel__viewport {
      overflow: hidden;
    }

    .carousel__track {
      display: flex;
      transition: transform 0.35s ease;
    }

    .carousel__slide {
      flex: 0 0 100%;
      min-width: 0;
      margin: 0;
    }

    .carousel__slide img {
      display: block;
      width: 100%;
      height: auto;
      border: 0;
    }

    .carousel__link {
      display: block;
    }

    .carousel__caption {
      margin: 0;
      padding: 12px 16px;
      font-size: 14px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.82);
      text-align: center;
      background: rgba(0, 0, 0, 0.25);
    }

    .carousel__btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      width: 42px;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 50%;
      background: rgba(8, 10, 18, 0.72);
      color: #fff;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease;
    }

    .carousel__btn:hover {
      background: rgba(139, 124, 255, 0.75);
      border-color: rgba(255, 255, 255, 0.34);
    }

    .carousel__btn--prev {
      left: 14px;
    }

    .carousel__btn--next {
      right: 14px;
    }

    .carousel__dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px 14px;
    }

    .carousel__dot {
      width: 9px;
      height: 9px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.32);
      cursor: pointer;
    }

    .carousel__dot.is-active {
      background: #8b7cff;
      transform: scale(1.25);
    }

    @media (prefers-reduced-motion: reduce) {
      .carousel__track {
        transition: none;
      }
    }

    .interactive {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(16px);
      border-radius: 20px;
      padding: 28px;
      margin: 32px 0;
    }

    .interactive p {
      margin-top: 0;
      font-weight: 700;
    }

    .choice-btn {
      display: inline-block;
      margin: 6px 8px 6px 0;
      padding: 11px 16px;
      border-radius: 999px;
      border: 1px solid #4b5370;
      background: #141a28;
      color: #dfe4f0;
      font-weight: 700;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .choice-btn:hover {
      border-color: var(--accent);
      color: #fff;
      transform: translateY(-1px);
    }

    .choice-result {
      margin-top: 18px;
      min-height: 30px;
      color: #c6bcff;
      font-weight: 600;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      background: rgba(16, 21, 34, 0.70);
      border: 1px solid rgba(255, 255, 255, 0.10);
      backdrop-filter: blur(14px);
      border-radius: 16px;
      overflow: hidden;
    }

    th, td {
      padding: 16px 18px;
      text-align: left;
      vertical-align: top;
      border-bottom: 1px solid var(--border);
      font-size: 15px;
      line-height: 1.6;
    }

    th {
      background: #6b5be8;
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    tr:last-child td {
      border-bottom: 0;
    }

    tbody tr {
      transition: background 0.2s ease;
    }

    tbody tr:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    details {
      border: 1px solid rgba(255, 255, 255, 0.10);
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(12px);
      border-radius: 16px;
      padding: 18px 20px;
      margin: 12px 0;
      transition: background 0.2s ease, border-color 0.2s ease;
    }

    details:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.18);
    }

    details[open] {
      border-color: rgba(139, 124, 255, 0.42);
    }

    details p {
      margin: 12px 0 0;
      color: rgba(238, 241, 248, 0.82);
    }

    summary {
      cursor: pointer;
      font-weight: 700;
      color: var(--text);
      line-height: 1.5;
    }

    summary::marker {
      color: #8b7cff;
    }

    .note {
      background: #251f12;
      border-left: 5px solid #ffc857;
      padding: 20px 22px;
      border-radius: 12px;
      margin: 28px 0;
      color: #ffe2a1;
      font-size: 16px;
      line-height: 1.75;
    }

    footer {
      text-align: center;
      color: var(--muted);
      font-size: 14px;
      margin-top: 36px;
    }

    .site-counter {
      max-width: 920px;
      margin: 24px auto 0;
      padding: 18px 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
      color: rgba(238, 241, 248, 0.82);
      font-size: 15px;
    }

    .site-counter strong {
      color: #fff;
      font-size: 20px;
      margin-left: 2px;
    }

    @media (max-width: 640px) {
      .hero {
        padding: 32px 22px;
      }

      article {
        padding: 30px 22px;
      }

      h2 {
        font-size: 23px;
      }

      .service-card {
        padding: 22px 18px;
        margin: 26px 0;
      }

      .carousel__btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
      }
    }

    .breadcrumbs {
      margin: 0 0 16px;
      color: rgba(255, 255, 255, 0.58);
      font-size: 13px;
    }

    .breadcrumbs a {
      color: rgba(255, 255, 255, 0.78);
      text-decoration: none;
    }

    .breadcrumbs a:hover {
      color: #fff;
      text-decoration: underline;
    }

    .related-links,
    .content-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 22px 0 26px;
    }

    .related-links a,
    .content-nav a {
      display: inline-block;
      padding: 10px 14px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      color: #c6bcff;
      font-weight: 700;
      text-decoration: none;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .related-links a:hover,
    .content-nav a:hover {
      background: rgba(139, 124, 255, 0.22);
      border-color: rgba(255, 255, 255, 0.28);
      color: #fff;
      transform: translateY(-1px);
    }
