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

    :root {
      --bg:        #0a0c0f;
      --bg2:       #0e1117;
      --surface:   #14181f;
      --surface-2: #1a1f28;
      /* акцент (h/s/l): только в html[data-segment="ru|fin|one"] ниже */
      --border:    hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.12);
      --border-h:  hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.45);
      --text:      #eceff4;
      --text-2:    #8b99a8;
      --accent:    hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%));
      --accent-2:  hsl(var(--accent-h) calc(var(--accent-s) * 0.86 * 1%) calc(var(--accent-l) * 0.879 * 1%));
      --accent-dim: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.1);
      --glow:      hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.08);
      --glow-strong: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.2);
      --success:   hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1.069 * 1%));
      --card-shadow: 0 2px 24px rgba(0,0,0,0.50);
      --card-shadow-h: 0 8px 40px hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.12);
    }

    html[data-segment="ru"] { --accent-h: 28; --accent-s: 90; --accent-l: 58; }
    html[data-segment="one"] { --accent-h: 190; --accent-s: 60; --accent-l: 58; }
    html[data-segment="fin"] { --accent-h: 90; --accent-s: 85; --accent-l: 48; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      overflow-x: hidden;
      position: relative;
    }

    .theme-hue-shell {
      position: relative;
      z-index: 0;
      width: 100%;
      min-height: 100vh;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      overflow-x: hidden;
    }

    /* сетка с оранжевым акцентом */
    .grid-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image:
        linear-gradient(hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.035) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.035) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
    }

    /* оранжевые орбы вместо зелёных */
    .glow-orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(90px);
      pointer-events: none;
      z-index: 0;
    }
    .glow-orb-1 {
      width: 520px; height: 520px;
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.09);
      top: -20%; left: -15%;
      animation: orbFloat1 24s ease-in-out infinite;
    }
    .glow-orb-2 {
      width: 450px; height: 450px;
      background: hsl(var(--accent-h) calc(var(--accent-s) * 0.95 * 1%) calc(var(--accent-l) * 0.897 * 1%) / 0.07);
      top: 45%; right: -20%;
      animation: orbFloat2 28s ease-in-out infinite;
    }
    .glow-orb-3 {
      width: 380px; height: 380px;
      background: hsl(var(--accent-h) calc(var(--accent-s) * 0.9 * 1%) calc(var(--accent-l) * 0.828 * 1%) / 0.06);
      bottom: -12%; left: 15%;
      animation: orbFloat3 26s ease-in-out infinite;
    }

    @keyframes orbFloat1 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      40% { transform: translate(45px, 55px) scale(1.12); }
      70% { transform: translate(-35px, 30px) scale(0.92); }
    }
    @keyframes orbFloat2 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      35% { transform: translate(-70px, -50px) scale(1.08); }
      65% { transform: translate(-20px, 60px) scale(0.96); }
    }
    @keyframes orbFloat3 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(50px, -60px) scale(1.1); }
    }

    .particles {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: var(--accent);
      border-radius: 50%;
      opacity: 0;
      animation: particleUp linear infinite;
    }
    @keyframes particleUp {
      0% { opacity: 0; transform: translateY(100vh) scale(0.3); }
      12% { opacity: 0.5; }
      88% { opacity: 0.6; }
      100% { opacity: 0; transform: translateY(-8vh) scale(1); }
    }

    .page {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 640px;
      padding: 44px 24px 80px;
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    /* хедер */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .logo-icon {
      width: 44px; height: 44px;
      border-radius: 14px;
      background: var(--surface);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 20px;
      flex-shrink: 0;
    }
    .logo-text {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.3px;
      color: var(--text);
    }
    .logo-text span {
      color: var(--accent);
      font-weight: 800;
    }
    .header-badge {
      padding: 6px 14px;
      border-radius: 80px;
      background: var(--accent-dim);
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.2);
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.4px;
      text-transform: uppercase;
    }

    /* hero секция */
    .hero {
      text-align: center;
      padding: 18px 0 4px;
    }
    .hero-shield {
      width: 74px; height: 74px;
      margin: 0 auto 24px;
      position: relative;
    }
    .shield-pulse {
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.3);
      animation: shieldRing 3s infinite ease-out;
    }
    @keyframes shieldRing {
      0% { transform: scale(0.9); opacity: 0.8; }
      100% { transform: scale(1.35); opacity: 0; }
    }
    .hero h1 {
      font-size: clamp(30px, 8vw, 48px);
      font-weight: 800;
      letter-spacing: -1.8px;
      line-height: 1.1;
      margin-bottom: 16px;
    }
    .hero h1 .accent {
      color: var(--accent);
      text-shadow: 0 0 18px hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.35);
    }
    .hero p {
      font-size: 15px;
      color: var(--text-2);
      line-height: 1.6;
      max-width: 440px;
      margin: 0 auto;
    }
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 32px;
      margin-top: 28px;
    }
    .hero-stat {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
    }
    .hero-stat-val {
      font-size: 14px;
      font-weight: 700;
      color: var(--accent);
      font-family: 'JetBrains Mono', monospace;
    }
    .hero-stat-label {
      font-size: 11px;
      color: var(--text-2);
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .hero-stat-divider {
      width: 1px;
      height: 36px;
      background: var(--border);
      align-self: center;
    }

    /* карточки общие */
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 28px;
      box-shadow: var(--card-shadow);
      transition: border-color 0.25s, box-shadow 0.3s;
      position: relative;
    }
    .card::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .card:hover {
      border-color: var(--border-h);
      box-shadow: var(--card-shadow-h);
    }
    .card:hover::after {
      opacity: 0.45;
    }
    .card-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.8px;
      color: var(--accent);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .card-label::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 6px var(--accent);
    }

    /* прокси-блок */
    .proxy-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }
    .proxy-icon {
      width: 54px; height: 54px;
      border-radius: 18px;
      background: linear-gradient(145deg, hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.18), hsl(var(--accent-h) calc(var(--accent-s) * 0.82 * 1%) calc(var(--accent-l) * 0.793 * 1%) / 0.08));
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
    }
    .proxy-info { flex: 1; }
    .proxy-name {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.4px;
      margin-bottom: 6px;
    }
    .proxy-status {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .status-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #62c07a;
      box-shadow: 0 0 8px rgba(98, 192, 122, 0.45);
      animation: pulseGreen 2.2s infinite;
    }
    @keyframes pulseGreen {
      0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(98, 192, 122, 0.45); }
      50% { opacity: 0.55; box-shadow: 0 0 10px rgba(98, 192, 122, 0.3); }
    }
    .status-text {
      font-size: 12px;
      color: #79c892;
      font-weight: 600;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.4px;
    }
    .telegram-update-note {
      margin-bottom: 14px;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.24);
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.08);
      color: var(--text-2);
      font-size: 13px;
      line-height: 1.5;
    }
    .telegram-update-note a {
      color: var(--accent);
      font-weight: 600;
      text-decoration: none;
    }
    .telegram-update-note a:hover {
      text-decoration: underline;
    }

    /* кнопка подключения */
    .connect-btn {
      width: 100%;
      padding: 16px;
      border-radius: 20px;
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.35);
      background: linear-gradient(95deg, hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.14), hsl(var(--accent-h) calc(var(--accent-s) * 0.82 * 1%) calc(var(--accent-l) * 0.793 * 1%) / 0.07));
      color: var(--accent);
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: all 0.25s;
      position: relative;
      overflow: hidden;
      animation: pulseConnect 2.6s infinite;
    }
    @keyframes pulseConnect {
      0%, 100% {
        box-shadow: 0 0 0 hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0);
        border-color: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.35);
      }
      50% {
        box-shadow: 0 0 26px hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.22);
        border-color: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.65);
      }
    }
    .connect-btn.copied { animation: none; }
    .connect-btn::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, var(--accent), var(--accent-2));
      opacity: 0;
      transition: opacity 0.25s;
    }
    .connect-btn:hover {
      border-color: var(--accent);
      box-shadow: 0 0 28px hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.25);
      transform: translateY(-1px);
      animation-play-state: paused;
    }
    .connect-btn:hover .connect-content {
      color: #0a0c0f;
    }
    .connect-content {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: color 0.2s;
    }

    /* детали */
    .details-toggle {
      width: 100%;
      background: none;
      border: none;
      border-top: 1px solid var(--border);
      padding: 16px 0 0;
      margin-top: 22px;
      color: var(--text-2);
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      transition: color 0.2s;
    }
    .details-toggle:hover { color: var(--text); }
    .details-arrow { transition: transform 0.3s; font-size: 10px; }
    .details-toggle.open .details-arrow { transform: rotate(180deg); }
    .details-body {
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }
    .details-body.open { max-height: 280px; }
    .details-inner {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding-top: 18px;
    }
    .proxy-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 14px;
      position: relative;
      gap: 10px;
    }

    .proxy-row .clip-btn {
      width: auto;
      padding: 6px 10px;
      flex-shrink: 0;
      transition: all 0.2s;
    }

    .proxy-row-val {
      font-size: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 500;
      color: var(--accent);
      flex: 1;
      word-break: break-all;
      min-width: 0; /* чтобы текст обрезался при необходимости */
    }
    .proxy-row-key {
      font-size: 11px;
      color: var(--text-2);
      font-family: 'JetBrains Mono', monospace;
      text-transform: uppercase;
    }

    /* резервная точка входа */
    .fallback-top {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      margin-bottom: 20px;
    }
    .fallback-icons {
      display: flex;
      gap: 10px;
      flex-shrink: 0;
    }
    .fallback-ic {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: linear-gradient(145deg, hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.14), hsl(var(--accent-h) calc(var(--accent-s) * 0.82 * 1%) calc(var(--accent-l) * 0.793 * 1%) / 0.06));
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
    }
    .fallback-copy { flex: 1; min-width: 0; }
    .fallback-title {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.35px;
      margin-bottom: 10px;
      line-height: 1.25;
    }
    .fallback-text {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.55;
    }
    .fallback-switch-btn {
      width: 100%;
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.28);
      background: var(--surface-2);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
      text-decoration: none;
    }
    a.fallback-switch-btn:visited {
      color: var(--text);
    }
    .fallback-switch-btn:hover {
      border-color: var(--accent);
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.08);
      box-shadow: 0 0 20px hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.12);
      transform: translateY(-1px);
    }
    .fallback-switch-btn .fsw-icon {
      color: var(--accent);
      flex-shrink: 0;
    }

    /* шаги инструкции */
    .steps {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .step {
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }
    .step-num {
      flex-shrink: 0;
      width: 28px; height: 28px;
      border-radius: 10px;
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.12);
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 800;
      color: var(--accent);
      font-family: 'JetBrains Mono', monospace;
    }
    .step-text {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.55;
    }
    .step-text b { color: var(--text); font-weight: 600; }

    /* блок безопасности */
    .security-faq-title {
      font-size: 24px;
      font-weight: 800;
      letter-spacing: -0.5px;
      line-height: 1.25;
      margin-bottom: 14px;
    }
    .security-faq-title .accent { color: var(--accent); }
    .security-faq-lead {
      color: var(--text-2);
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 18px;
    }
    .security-points {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 18px;
    }
    .security-point {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 12px 14px;
      border-radius: 14px;
      background: var(--bg2);
      border: 1px solid var(--border);
    }
    .security-point-icon {
      width: 30px;
      height: 30px;
      border-radius: 10px;
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.1);
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.18);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .security-point-title {
      font-size: 13px;
      color: var(--text);
      font-weight: 700;
      margin-bottom: 3px;
    }
    .security-point-desc {
      font-size: 12.5px;
      color: var(--text-2);
      line-height: 1.5;
    }
    .security-analogy {
      margin-top: 2px;
      padding: 14px;
      border-radius: 14px;
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.2);
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.06);
      margin-bottom: 14px;
    }
    .security-analogy-title {
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.9px;
      margin-bottom: 8px;
    }
    .security-analogy-text {
      font-size: 13px;
      color: var(--text-2);
      line-height: 1.55;
    }
    .security-final {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 12px 14px;
      border-radius: 14px;
      background: var(--surface-2);
      border: 1px solid var(--border);
    }
    .security-final strong {
      color: var(--text);
      font-weight: 700;
      display: block;
      margin-bottom: 2px;
    }

    /* фичи */
    .features-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .feature {
      padding: 18px 16px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 20px;
      transition: all 0.2s;
    }
    .feature:hover { border-color: var(--border-h); transform: translateY(-2px); }
    .feature-icon {
      width: 38px; height: 38px;
      border-radius: 12px;
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
      color: var(--accent);
    }
    .feature-title {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 5px;
    }
    .feature-desc {
      font-size: 12px;
      color: var(--text-2);
      line-height: 1.45;
    }

    /* ссылка шеринг */
    .share-url-wrap {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 20px 0 16px;
    }
    .share-url {
      padding: 12px 14px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 14px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10.5px;
      color: var(--text-2);
      white-space: nowrap;
      overflow-x: auto;
      user-select: all;
    }
    .clip-btn {
      width: 100%;
      padding: 12px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      font-weight: 600;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: 0.2s;
    }
    .clip-btn:hover { border-color: var(--border-h); transform: translateY(-1px); }
    .clip-btn.copied { border-color: var(--accent); color: var(--accent); }

    .feedback-cta-wrap {
      margin-top: 18px;
      display: flex;
      justify-content: center;
    }
    .feedback-open-btn {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-2);
      background: transparent;
      border: 1px dashed hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.35);
      border-radius: 14px;
      padding: 11px 20px;
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
    }
    .feedback-open-btn:hover {
      color: var(--accent);
      border-color: var(--border-h);
      background: var(--accent-dim);
      transform: translateY(-1px);
    }

    .feedback-modal.qr-modal { max-width: 440px; }
    .feedback-modal .qr-modal-inner {
      max-height: min(88vh, 720px);
      overflow-y: auto;
    }
    .feedback-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 6px;
    }
    .fb-field { display: flex; flex-direction: column; gap: 7px; }
    .fb-field > label,
    .fb-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.45px;
      color: var(--text-2);
    }
    .fb-input,
    .fb-textarea {
      width: 100%;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: var(--bg2);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .fb-input::placeholder,
    .fb-textarea::placeholder { color: rgba(139, 153, 168, 0.65); }
    .fb-input:focus,
    .fb-textarea:focus {
      border-color: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.5);
      box-shadow: 0 0 0 3px var(--glow);
    }
    .fb-textarea {
      min-height: 100px;
      resize: vertical;
      line-height: 1.5;
    }

    .fb-choice-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .fb-choice {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 12px;
      border-radius: 16px;
      border: 1px solid var(--border);
      background: var(--bg2);
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s, transform 0.15s;
      user-select: none;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-2);
    }
    .fb-choice:hover {
      border-color: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.35);
      color: var(--text);
    }
    .fb-choice input {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
      pointer-events: none;
    }
    .fb-choice-indicator {
      width: 18px;
      height: 18px;
      border-radius: 6px;
      border: 2px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.35);
      background: var(--surface);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: border-color 0.2s, background 0.2s;
    }
    .fb-choice-indicator::after {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 3px;
      background: var(--accent);
      opacity: 0;
      transform: scale(0.6);
      transition: opacity 0.15s, transform 0.15s;
    }
    .fb-choice:has(input:checked) {
      border-color: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.55);
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.08);
      color: var(--text);
      box-shadow: 0 0 20px var(--glow);
    }
    .fb-choice:has(input:checked) .fb-choice-indicator {
      border-color: var(--accent);
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.15);
    }
    .fb-choice:has(input:checked) .fb-choice-indicator::after {
      opacity: 1;
      transform: scale(1);
    }

    .fb-extra {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding-top: 4px;
      animation: fbFadeIn 0.22s ease;
    }
    .fb-extra[hidden] { display: none !important; }
    @keyframes fbFadeIn {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .fb-submit {
      margin-top: 6px;
      width: 100%;
      padding: 14px 18px;
      border-radius: 16px;
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.45);
      background: linear-gradient(95deg, hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.18), hsl(var(--accent-h) calc(var(--accent-s) * 0.82 * 1%) calc(var(--accent-l) * 0.793 * 1%) / 0.1));
      color: var(--accent);
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    .fb-submit:hover {
      border-color: var(--accent);
      box-shadow: 0 0 24px hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.2);
      transform: translateY(-1px);
    }
    .fb-submit:active { transform: translateY(0); }
    .fb-submit:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    @media (max-width: 600px) {
      .fb-choice-row { grid-template-columns: 1fr; }
    }

    /* bot ссылки */
    .bot-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .bot-link {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 18px 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 24px;
      text-decoration: none;
      color: var(--text);
      transition: border 0.2s, transform 0.15s;
    }
    .bot-link:hover {
      border-color: var(--border-h);
      transform: translateY(-2px);
    }
    .bot-link-icon {
      width: 48px; height: 48px;
      border-radius: 18px;
      background: hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.1);
      border: 1px solid hsl(var(--accent-h) calc(var(--accent-s) * 1%) calc(var(--accent-l) * 1%) / 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
    }
    .bot-link-name {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 3px;
    }
    .bot-link-desc {
      font-size: 12px;
      color: var(--text-2);
    }
    .bot-link-arrow {
      color: var(--text-2);
      transition: transform 0.2s, color 0.2s;
    }
    .bot-link:hover .bot-link-arrow {
      color: var(--accent);
      transform: translateX(4px);
    }

    /* terminal (стиль) */
    .terminal {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
    }
    .terminal-bar {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 10px 16px;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
    }
    .terminal-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      background: #ff5f57;
    }
    .terminal-dot:nth-child(2) { background: #ffbd2e; }
    .terminal-dot:nth-child(3) { background: #28c840; }
    .terminal-title {
      flex: 1;
      text-align: center;
      font-size: 11px;
      color: var(--text-2);
      font-family: monospace;
    }
    .terminal-body {
      padding: 18px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
    }
    .terminal-line {
      display: flex;
      gap: 10px;
      margin-bottom: 6px;
    }
    .terminal-prompt { color: var(--accent); }
    .terminal-cmd { color: var(--text); }
    .terminal-output { color: var(--text-2); padding-left: 20px; margin-bottom: 8px; }
    .terminal-output-status {
      color: #79c892;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .terminal-cursor {
      display: inline-block;
      width: 8px;
      height: 14px;
      background: var(--accent);
      animation: blinkStep 1s infinite;
      vertical-align: middle;
    }
    @keyframes blinkStep { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

    footer {
      text-align: center;
      font-size: 12px;
      color: var(--text-2);
      font-family: monospace;
      padding-top: 8px;
    }
    footer a {
      color: var(--accent);
      text-decoration: none;
    }
    .toast {
      position: fixed;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--surface);
      border: 1px solid var(--accent);
      color: var(--accent);
      font-size: 12px;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: 60px;
      opacity: 0;
      transition: 0.25s;
      pointer-events: none;
      z-index: 200;
      white-space: nowrap;
      font-family: monospace;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* modal QR */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10, 12, 15, 0.72);
      backdrop-filter: blur(6px);
      z-index: 300;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
    }
    .modal-overlay.open { display: flex; }

    .qr-modal {
      width: 100%;
      max-width: 520px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 24px;
      box-shadow: var(--card-shadow);
      position: relative;
      overflow: hidden;
    }
    .qr-modal-inner { padding: 22px 18px 18px; }
    .qr-modal-close {
      position: absolute;
      top: 12px;
      left: 12px;
      width: 38px;
      height: 38px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.15s, border-color 0.2s;
      z-index: 2;
    }
    .qr-modal-close:hover {
      border-color: var(--border-h);
      transform: translateY(-1px);
    }
    .qr-modal-content { padding-top: 34px; }

    .qr-modal-title {
      font-size: 22px;
      font-weight: 900;
      letter-spacing: -0.7px;
      line-height: 1.2;
      margin-bottom: 8px;
    }
    .qr-modal-lead {
      color: var(--text-2);
      font-size: 13.5px;
      line-height: 1.6;
      margin-bottom: 14px;
    }
    .qr-modal-qr-wrap {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 320px;
    }
    .qr-modal-qr {
      width: 280px;
      height: 280px;
      object-fit: contain;
      user-select: none;
    }
    .qr-modal-status {
      margin-top: 12px;
      color: var(--accent);
      font-size: 12px;
      font-family: 'JetBrains Mono', monospace;
      text-align: center;
      min-height: 18px;
    }

    .qr-btn {
      animation: none !important;
      margin-top: 12px;
    }

    @media (max-width: 600px) {
      .page { padding: 24px 16px 56px; gap: 24px; }
      .card { padding: 20px 16px; }
      .features-grid { grid-template-columns: 1fr; }
      .hero-stats { gap: 20px; }
      .hero-stat-val { font-size: 12px; }
      .proxy-row-val { font-size: 10px; }
      .share-url { font-size: 9px; }
      .fallback-top { flex-direction: column; align-items: center; text-align: center; }
      .fallback-copy { text-align: center; }
    }
