@font-face { font-family: 'Urus'; src: url('/manrope.ttf') format('truetype'); font-style: normal; font-weight: 400 800; font-display: swap; }
:root {
  /* ТЁМНО-СИНЯЯ ТЕМА С ПЕРЕЛИВАЮЩИМИСЯ ГРАДИЕНТАМИ */
  --bg-color: #040711;
  
  /* Эффект матового стекла */
  --glass-bg: rgba(13, 22, 43, 0.58);
  --glass-border: rgba(148, 163, 184, 0.14);
  --glass-border-top: rgba(56, 189, 248, 0.28);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  
  /* Текст */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  /* Сине-голубые и индиго акценты */
  --accent: #38BDF8;
  --accent-secondary: #6366F1;
  --accent-hover: #7DD3FC;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --gradient-flow: linear-gradient(90deg, #38BDF8, #6366F1, #A855F7, #38BDF8);
  
  /* Разное */
  --danger: #F87171;
  --danger-bg: rgba(248, 113, 113, 0.12);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Urus', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* АНИМАЦИИ */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes orbitBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.15); }
  66% { transform: translate(-40px, 90px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbitBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-70px, -50px) scale(1.2); }
  66% { transform: translate(50px, -30px) scale(0.85); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ЖИВОЙ ФОН */
.mesh-background {
  position: fixed; inset: 0;
  z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #0b173d 0%, var(--bg-color) 70%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.45;
  will-change: transform;
}
.blob-1 {
  top: -12%; left: -8%;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.05));
  animation: orbitBlob1 22s ease-in-out infinite;
}
.blob-2 {
  bottom: -18%; right: -10%;
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), rgba(139, 92, 246, 0.05));
  animation: orbitBlob2 26s ease-in-out infinite;
}
.blob-3 {
  top: 40%; left: 50%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
  animation: orbitBlob1 30s ease-in-out infinite reverse;
}

.app-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); position: relative; z-index: 1; }

/* ТИПОГРАФИКА */
h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; color: var(--text-main); }
h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }
h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 12px; }
h3 { font-size: 19px; margin-bottom: 8px; }
p { color: var(--text-muted); font-size: 15px; }

.text-gradient {
  background: var(--gradient-flow);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}
.dot { color: var(--accent); }
.mt-section { margin-top: 56px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }

/* КНОПКИ */
button, a, summary, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, a { transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; text-decoration: none; font-family: inherit; }
button:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(1); }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px;
  border: none;
}
.btn-primary { 
  background: linear-gradient(135deg, #0EA5E9 0%, #3B82F6 50%, #6366F1 100%);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  color: #FFFFFF; 
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255,255,255,0.25); 
}
.btn-primary:hover:not(:disabled) { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255,255,255,0.4); 
}

.btn-secondary { 
  background: rgba(30, 41, 59, 0.65); color: var(--text-main); 
  border: 1px solid rgba(148, 163, 184, 0.22); backdrop-filter: blur(10px);
}
.btn-secondary:hover:not(:disabled) { 
  background: rgba(51, 65, 85, 0.8); border-color: rgba(56, 189, 248, 0.45); transform: translateY(-2px); 
}

.btn-text { background: none; border: none; color: var(--text-muted); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.btn-text:hover { color: var(--text-main); background: rgba(56, 189, 248, 0.12); }

.btn-icon { 
  background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(148, 163, 184, 0.2); 
  color: var(--text-main); padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-icon:hover { background: rgba(56, 189, 248, 0.15); border-color: var(--accent); transform: translateY(-2px); }

.text-link { color: var(--accent); font-weight: 700; background: none; border: none; padding: 0; display: inline-flex; align-items: center; gap: 4px; }
.text-link:hover { color: var(--accent-hover); transform: translateX(3px); }

.btn-block { width: 100%; }

/* НАВИГАЦИЯ */
.navbar { 
  display: flex; justify-content: space-between; align-items: center; 
  height: 76px; margin: 20px 0 36px; padding: 0 28px;
  border-radius: 100px;
  z-index: 50;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; color: var(--text-main); letter-spacing: -1px; }
.logo-icon { 
  width: 38px; height: 38px; 
  background: linear-gradient(135deg, #38BDF8, #6366F1); 
  color: #FFF; border-radius: 12px; display: grid; place-items: center; font-size: 20px; 
  box-shadow: 0 0 20px var(--accent-glow); 
}
.navbar nav { display: flex; gap: 8px; align-items: center; }
.nav-icon, .lbl-short { display: none; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav-link:hover { color: #fff; background: rgba(56, 189, 248, 0.1); }

/* МАТОВОЕ СТЕКЛО */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border-top);
  box-shadow: var(--glass-shadow);
}
.inner-glass {
  background: rgba(4, 7, 17, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* BENTO КАРТОЧКИ */
.bento-card {
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.bento-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}
.floating-anim:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.12);
}

.view-state > * { animation: fadeUp 0.55s ease-out forwards; opacity: 0; }
.float-delay-1 { animation-delay: 0.08s; }
.float-delay-2 { animation-delay: 0.16s; }

/* ИКОНКИ В СТЕКЛЯННЫХ КАПСУЛАХ */
.action-icon-box {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
  margin-bottom: 16px;
}
.cyan-glow {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.18);
}
.purple-glow {
  color: #C084FC;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.18);
}
.blue-glow {
  color: #818CF8;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.18);
}

/* HERO BENTO GRID */
.bento-grid-hero { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.hero-main { grid-row: span 2; padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.hero-badge { 
  display: inline-block; padding: 6px 14px; 
  background: rgba(56, 189, 248, 0.12); color: var(--accent); 
  border-radius: 100px; font-size: 13px; font-weight: 700; margin-bottom: 24px; width: max-content; 
  border: 1px solid rgba(56, 189, 248, 0.3); 
}
.hero-subtitle { font-size: 17px; max-width: 480px; margin-bottom: 32px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-card { padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; }

/* TRIAL SECTION */
.trial-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; border-radius: var(--radius-lg); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); display: block; margin-bottom: 8px; text-transform: uppercase; }
.trial-timer { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border-radius: var(--radius-md); }
.time-value { font-size: 72px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 8px; color: var(--text-main); }
.progress-track { width: 100%; height: 6px; background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; margin-top: 20px; }
.progress-fill { height: 100%; width: 100%; background: var(--gradient-flow); background-size: 200% 200%; animation: gradientShift 4s linear infinite; transition: width 1s linear; }

.trial-result-box { grid-column: 1 / -1; margin-top: 20px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; gap: 30px; }
.result-details { flex: 1; }
.input-group { display: flex; gap: 10px; margin-top: 10px; }
.input-group input { flex: 1; background: rgba(4, 7, 17, 0.7); border: 1px solid rgba(56, 189, 248, 0.25); border-radius: var(--radius-sm); padding: 12px 16px; color: var(--accent); font-family: monospace; font-size: 14px; }
.qr-box { background: #fff; padding: 12px; border-radius: 16px; width: 140px; height: 140px; box-shadow: 0 8px 25px rgba(0,0,0,0.5); }
.qr-box canvas, .qr-box img { width: 100%; height: auto; display: block; }

/* СЕТКИ */
.bento-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.step-card { padding: 36px 28px; }
.step-number { font-size: 52px; font-weight: 900; color: rgba(56, 189, 248, 0.12); position: absolute; top: -8px; right: 20px; }
.step-card h3 { position: relative; z-index: 2; color: var(--accent); }

/* =========================================================
   НОВАЯ ВЕРХНЯЯ ЧАСТЬ ДАШБОРДА (ШАПКА + ШИРОКАЯ ПОДПИСКА + 3 БЛОКА)
   ========================================================= */
.dashboard-header { 
  display: flex; justify-content: space-between; align-items: flex-end; 
  margin-bottom: 28px; gap: 20px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.dash-title { margin: 0; font-size: clamp(32px, 4vw, 44px); }
.dash-subtitle { margin-top: 4px; font-size: 15px; }
.dash-header-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.id-badge { 
  padding: 10px 18px; border-radius: 100px; font-family: monospace; font-size: 13px; font-weight: 700; 
  color: var(--text-main); border: 1px solid rgba(56, 189, 248, 0.28); 
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.id-badge:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}
.id-badge .copy-hint { color: var(--accent); display: inline-flex; align-items: center; }

/* ШИРОКАЯ ГОРИЗОНТАЛЬНАЯ КАРТОЧКА ПОДПИСКИ */
.subscriptions-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }

.subscription-card { 
  border-radius: var(--radius-lg); 
  padding: 32px 36px;
}
.subscription-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; 
  background: var(--gradient-flow); background-size: 200% 200%; animation: gradientShift 4s linear infinite;
  box-shadow: 0 0 18px var(--accent);
}

.sub-wide-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 36px;
  align-items: center;
}

.sub-info-side {
  display: flex;
  flex-direction: column;
}

.sub-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.badge { 
  padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 800; 
  background: rgba(56, 189, 248, 0.14); color: var(--accent); 
  text-transform: uppercase; letter-spacing: 0.6px; border: 1px solid rgba(56, 189, 248, 0.35); 
}
.badge.expired { background: var(--danger-bg); color: var(--danger); border-color: rgba(248,113,113,0.35); }
.sub-name { 
  font-family: monospace; color: var(--text-muted); background: rgba(4, 7, 17, 0.65); 
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; 
  border: 1px solid rgba(148, 163, 184, 0.15); 
}

.sub-days { 
  font-size: clamp(44px, 4.5vw, 60px); font-weight: 800; letter-spacing: -2px; line-height: 1.05; 
  color: var(--text-main); margin-bottom: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
}
.sub-days span { font-size: 19px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.sub-expiry { font-size: 14px; font-weight: 600; margin-bottom: 24px; color: var(--text-muted); }

.sub-stats { 
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; 
  background: rgba(4, 7, 17, 0.55); border-radius: 18px; padding: 18px 20px; 
  border: 1px solid rgba(148, 163, 184, 0.14); 
}
.sub-stats div { display: flex; flex-direction: column; gap: 4px; }
.sub-stats dt { font-size: 10px; font-weight: 800; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.sub-stats dd { font-size: 17px; font-weight: 800; color: var(--text-main); margin: 0; }

/* ПРАВАЯ ПАНЕЛЬ УПРАВЛЕНИЯ ССЫЛКОЙ ВНУТРИ ПОДПИСКИ */
.sub-control-side {
  background: rgba(4, 7, 17, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sub-control-header {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.sub-control-header label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.sub-control-hint {
  font-size: 12px; color: var(--text-muted);
}

.sub-url-input {
  width: 100%;
  background: rgba(2, 5, 14, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--accent);
  font-family: monospace;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sub-url-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.22);
}

.sub-control-buttons {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}

/* 3 РОВНЫЕ КАРТОЧКИ БЫСТРЫХ ДЕЙСТВИЙ ПОД ПОДПИСКОЙ */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.action-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 26px;
}
.action-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.15);
}
.action-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.action-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid; place-items: center;
  color: var(--text-muted); font-size: 14px;
  transition: all 0.25s ease;
}
.action-card:hover .action-arrow {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translate(2px, -2px);
}
.action-card h3 { font-size: 18px; margin-bottom: 8px; }
.action-card p { font-size: 14px; line-height: 1.55; margin-bottom: 18px; flex: 1; }
.action-cta { font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }

/* ШПАРГАЛКА HAPP / INCY */
.section-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-title-row h2 { margin: 0; font-size: 24px; }

.app-tip-card { padding: 26px; }
.app-tip-header { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.app-icon-mock {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center; flex-shrink: 0;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}
.ping-mock {
  color: #C084FC;
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
.tip-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); display: block; margin-bottom: 3px; }
.ping-good { color: #38BDF8; font-family: monospace; font-weight: 700; background: rgba(56, 189, 248, 0.12); padding: 2px 6px; border-radius: 6px; }
code { font-family: monospace; background: rgba(56, 189, 248, 0.12); color: var(--accent); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* HISTORY */
.history-list { padding: 0; }
.history-row { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 20px 28px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.history-row:last-child { border-bottom: none; }
.history-row:hover { background: rgba(56, 189, 248, 0.04); }
.history-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.history-status { font-size: 11px; padding: 6px 12px; border-radius: 100px; background: rgba(56, 189, 248, 0.12); color: var(--accent); font-weight: 700; border: 1px solid rgba(56, 189, 248, 0.25); }
.history-price { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.empty { padding: 36px; text-align: center; color: var(--text-muted); font-weight: 600; }

/* ALERTS */
.alert-box { padding: 16px 24px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.alert-success { border-left: 4px solid var(--accent); color: var(--accent); background: rgba(56, 189, 248, 0.08); }
.alert-error { border-left: 4px solid var(--danger); color: var(--danger); background: var(--danger-bg); }

/* FAQ */
.faq-card { padding: 0; }
.faq details { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 22px 28px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; outline: none; gap: 16px; }
.faq summary:hover { background: rgba(56, 189, 248, 0.04); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 26px; height: 26px; flex-shrink: 0; position: relative; background: rgba(56, 189, 248, 0.12); border-radius: 50%; display: grid; place-items: center; transition: background 0.3s; }
.faq .plus::before, .faq .plus::after { content: ''; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.3s; }
.faq .plus::before { width: 10px; height: 2px; }
.faq .plus::after { width: 2px; height: 10px; }
.faq details[open] .plus { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #000; }
.faq details[open] .plus::after { transform: rotate(90deg) scale(0); }
.faq p { padding: 0 28px 22px; font-size: 15px; line-height: 1.7; font-weight: 500; }

/* FOOTER */
.app-footer { margin-top: 72px; padding: 36px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-size: 24px; font-weight: 800; color: var(--text-main); }
.footer-text { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.footer-link { color: var(--text-main); font-size: 14px; font-weight: 700; }
.footer-link:hover { color: var(--accent); }

/* MODALS */
.glass-modal { 
  margin: auto;
  border: 1px solid rgba(148, 163, 184, 0.2); 
  border-top: 1px solid rgba(56, 189, 248, 0.35); 
  border-radius: var(--radius-lg); 
  background: rgba(10, 17, 34, 0.92); 
  color: var(--text-main); 
  padding: 0; max-width: 520px; width: calc(100% - 32px); 
  box-shadow: 0 40px 80px rgba(0,0,0,0.85), 0 0 40px rgba(56, 189, 248, 0.12); 
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}
.glass-modal::backdrop { background: rgba(2, 6, 23, 0.75); backdrop-filter: blur(8px); }
.modal-inner { padding: 36px; position: relative; max-height: 88dvh; overflow-y: auto; }
.btn-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); width: 36px; height: 36px; border-radius: 50%; color: var(--text-muted); font-size: 20px; display: grid; place-items: center; }
.btn-close:hover { background: rgba(255,255,255,0.15); color: var(--text-main); transform: rotate(90deg); }
.modal-icon { font-size: 44px; margin-bottom: 16px; filter: drop-shadow(0 4px 15px rgba(56,189,248,0.4)); }
.modal-inner h2 { font-size: 26px; margin-bottom: 12px; padding-right: 32px; }
.modal-desc { margin-bottom: 24px; font-size: 15px; font-weight: 500; }

.input-wrapper { display: flex; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: var(--radius-sm); overflow: hidden; background: rgba(4, 7, 17, 0.6); transition: border 0.3s; }
.input-wrapper:focus-within { border-color: var(--accent); box-shadow: 0 0 15px rgba(56,189,248,0.25); }
.input-wrapper input { flex: 1; background: none; border: none; padding: 16px 20px; color: var(--text-main); font-size: 16px; font-weight: 600; outline: none; }
.btn-toggle-pw { background: rgba(255,255,255,0.04); border: none; border-left: 1px solid rgba(255,255,255,0.1); padding: 0 20px; color: var(--accent); font-weight: 700; font-size: 14px; }
.btn-toggle-pw:hover { background: rgba(255,255,255,0.1); color: #fff; }

.modal-footer { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.error-msg { color: var(--danger); font-size: 14px; margin-top: 12px; font-weight: 600; }

.plan { background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.35); border-radius: 16px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.plan strong { font-size: 17px; display: block; color: var(--text-main); }
.plan .small { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.plan-price { font-size: 28px; font-weight: 900; color: var(--accent); }
.small-center { text-align: center; font-size: 13px; color: var(--text-muted); font-weight: 500; }

.toast-notification { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: rgba(13, 22, 43, 0.95); border: 1px solid rgba(56, 189, 248, 0.4); color: #fff; padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 600; box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(56, 189, 248, 0.25); z-index: 1000; backdrop-filter: blur(20px); }

.support-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.support-actions a { text-align: center; }

/* =========================================================
   АДАПТАЦИЯ: ПЛАНШЕТЫ И СМАРТФОНЫ
   ========================================================= */
body:has(dialog[open]) { overflow: hidden; }

@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Тач-устройства: без «залипающих» hover-эффектов, с откликом на нажатие */
@media (hover: none) {
  .floating-anim:hover, .action-card:hover { box-shadow: var(--glass-shadow); }
  .btn-primary:hover:not(:disabled), .btn-secondary:hover:not(:disabled),
  .btn-icon:hover, .id-badge:hover, .text-link:hover, .btn-close:hover { transform: none; }
  .btn-secondary:hover:not(:disabled) { background: rgba(30, 41, 59, 0.65); border-color: rgba(148, 163, 184, 0.22); }
  .btn-primary:active:not(:disabled), .btn-secondary:active:not(:disabled),
  .btn-icon:active, .id-badge:active, .btn-text:active { transform: scale(0.97); }
  .action-card:active { border-color: rgba(56, 189, 248, 0.5); background: rgba(20, 34, 66, 0.7); }
  .faq summary:active { background: rgba(56, 189, 248, 0.08); }
}

/* Планшеты */
@media (max-width: 960px) {
  .bento-grid-hero, .bento-grid-3, .bento-grid-2, .trial-section, .quick-actions-grid, .sub-wide-grid {
    grid-template-columns: 1fr;
  }
  .hero-main { grid-row: auto; padding: 36px; }
  .sub-wide-grid { gap: 24px; }
  .navbar { position: sticky; top: calc(10px + env(safe-area-inset-top)); }
}

/* Смартфоны */
@media (max-width: 600px) {
  :root { --radius-sm: 14px; --radius-md: 20px; --radius-lg: 24px; }
  .app-wrapper { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .mt-section { margin-top: 40px; }

  /* Производительность: лёгкий фон и меньше размытия */
  .blob { filter: blur(60px); opacity: 0.35; }
  .blob-1 { width: 380px; height: 380px; }
  .blob-2 { width: 420px; height: 420px; }
  .blob-3 { display: none; }
  .glass-panel { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
  .btn-primary { animation: none; }

  /* Типографика */
  h1 { font-size: clamp(32px, 9.5vw, 40px); }
  h2 { font-size: 22px; }
  h3 { font-size: 17px; }
  p { font-size: 14.5px; }

  /* Кнопки: комфортная зона нажатия */
  .btn-primary, .btn-secondary { min-height: 48px; padding: 13px 20px; }
  .btn-icon { min-height: 44px; padding: 10px 16px; }
  .btn-large { width: 100%; }

  /* Шапка: компактная, липкая, иконки вместо текста */
  .navbar { height: 60px; margin: 10px 0 20px; padding: 0 8px 0 14px; gap: 8px; background: rgba(9, 15, 32, 0.85); }
  .logo { font-size: 22px; }
  .logo-icon { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
  .navbar nav { gap: 2px; }
  .navbar nav a.public-nav { display: none; }
  .nav-link { width: 44px; height: 44px; padding: 0; border-radius: 12px; }
  .nav-icon { display: block; }
  .nav-text, .lbl-full { display: none; }
  .lbl-short { display: inline; }
  .navbar .btn-primary, .navbar .btn-secondary { min-height: 44px; padding: 10px 16px; }

  /* Карточки */
  .bento-card { padding: 20px; }

  /* Hero: большая карточка + две компактные рядом */
  .bento-grid-hero { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-main { grid-column: 1 / -1; padding: 26px 20px; }
  .hero-badge { margin-bottom: 16px; font-size: 12px; }
  .hero-subtitle { font-size: 15px; margin-bottom: 22px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn-primary, .hero-buttons .btn-secondary { width: 100%; }
  .stat-card { padding: 18px 16px; justify-content: flex-start; }
  .stat-card h3 { font-size: 16px; margin-bottom: 6px; }
  .stat-card p { font-size: 13px; line-height: 1.45; }
  .action-icon-box { width: 42px; height: 42px; margin-bottom: 12px; }

  /* Пробный доступ */
  .trial-section { gap: 20px; }
  .trial-timer { padding: 24px 20px; }
  .time-value { font-size: 56px; }
  .trial-result-box { flex-direction: column; gap: 20px; margin-top: 0; padding-top: 20px; }
  .input-group { flex-direction: column; }
  .input-group input { font-size: 16px; min-height: 48px; }
  .input-group .btn-primary { width: 100%; }
  .qr-box { align-self: center; width: 160px; height: 160px; }

  /* Шаги */
  .bento-grid-3, .bento-grid-2 { gap: 12px; }
  .step-card { padding: 22px 20px; }
  .step-number { font-size: 44px; top: -4px; }

  /* Дашборд: шапка */
  .dashboard-header { flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; }
  .dash-title { font-size: 30px; }
  .dash-header-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .id-badge { min-height: 44px; min-width: 0; justify-content: space-between; font-size: 12.5px; padding: 10px 14px; }
  .id-badge > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .alert-box { padding: 14px 16px; font-size: 14px; margin-bottom: 16px; }

  /* Дашборд: подписка */
  .subscriptions-list { gap: 14px; margin-bottom: 16px; }
  .subscription-card { padding: 24px 18px 20px; }
  .sub-wide-grid { gap: 20px; }
  .sub-top { margin-bottom: 12px; gap: 8px; }
  .sub-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sub-days { font-size: 40px; letter-spacing: -1.5px; gap: 8px; }
  .sub-days span { font-size: 16px; }
  .sub-expiry { margin-bottom: 16px; font-size: 13px; }
  .sub-stats { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .sub-stats div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
  .sub-stats dd { font-size: 15px; text-align: right; }
  .sub-control-side { padding: 16px; border-radius: 18px; gap: 12px; }
  .sub-url-input { font-size: 16px; padding: 14px; text-overflow: ellipsis; }
  .sub-control-buttons { display: flex; flex-direction: column; gap: 10px; }

  /* Дашборд: быстрые действия и шпаргалка */
  .quick-actions-grid { gap: 12px; }
  .action-card { padding: 18px; }
  .action-card h3 { font-size: 16px; }
  .action-card p { font-size: 13.5px; margin-bottom: 12px; }
  .action-arrow { width: 30px; height: 30px; }
  .section-title-row { margin-bottom: 14px; }
  .section-title-row h2 { font-size: 20px; }
  .app-tip-card { padding: 20px; }
  .app-tip-header { gap: 12px; }
  .app-icon-mock { width: 44px; height: 44px; border-radius: 13px; }

  /* История платежей */
  .history-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 16px; }
  .history-row > div { grid-column: 1; grid-row: 1; min-width: 0; font-weight: 600; font-size: 15px; }
  .history-price { grid-column: 2; grid-row: 1; font-size: 16px; }
  .history-status { grid-column: 1 / -1; grid-row: 2; width: fit-content; }
  .empty { padding: 28px 16px; }

  /* FAQ */
  .faq summary { padding: 16px 18px; font-size: 15px; min-height: 56px; }
  .faq p { padding: 0 18px 18px; font-size: 14px; line-height: 1.65; }

  /* Подвал */
  .app-footer { margin-top: 48px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); flex-direction: column; gap: 12px; text-align: center; }

  /* Уведомление */
  .toast-notification { bottom: calc(20px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 18px; font-size: 14px; text-align: center; }

  /* Модальные окна → нижние шторки */
  .glass-modal {
    margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92dvh;
    border-radius: 26px 26px 0 0; border-bottom: none;
  }
  .glass-modal[open] { animation: sheetUp 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
  .modal-inner { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 92dvh; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .modal-inner::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: rgba(148, 163, 184, 0.35); margin: -14px auto 18px; }
  .btn-close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .modal-inner h2 { font-size: 22px; }
  .modal-icon { font-size: 36px; margin-bottom: 12px; }
  .modal-desc { margin-bottom: 20px; }
  .input-wrapper input { padding: 15px 16px; }
  .btn-toggle-pw { padding: 0 16px; min-width: 92px; }
  .modal-footer { margin-top: 20px; padding-top: 20px; }
  .plan { padding: 16px; gap: 12px; }
  .plan-price { font-size: 24px; }
  .support-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
  .support-actions a { text-align: center; }
  .store-links { flex-direction: column; }
  .store-links a { flex: none !important; }
}

/* Очень узкие экраны */
@media (max-width: 359px) {
  .bento-grid-hero { grid-template-columns: 1fr; }
  .sub-days { font-size: 34px; }
  .time-value { font-size: 48px; }
}

/* Ландшафт на телефоне */
@media (max-height: 500px) and (orientation: landscape) {
  .glass-modal, .modal-inner { max-height: 96dvh; }
  .modal-inner::before { display: none; }
}

/* Уважаем системную настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


/* ТАРИФЫ И НАКОПИТЕЛЬНЫЙ ТРАФИК */
.tariff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tariff-card { padding: 25px; position: relative; overflow: hidden; }
.tariff-card.featured { border-color: rgba(56, 189, 248, 0.55); box-shadow: 0 15px 45px rgba(56, 189, 248, 0.12); }
.tariff-card h3 { margin: 14px 0 7px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.04em; }
.tariff-card p { color: var(--text-muted); margin: 0 0 22px; font-size: 14px; }
.tariff-card strong { font-size: 24px; color: var(--accent); }
.tariff-label { color: var(--accent); font-size: 10px; letter-spacing: 0.14em; font-weight: 800; }
.section-hint, .topup-heading p { color: var(--text-muted); margin: 8px 0 0; font-size: 14px; }
.tariff-option { width: 100%; color: var(--text-main); text-align: left; font: inherit; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.tariff-option:hover, .tariff-option:focus-visible { transform: translateY(-5px); border-color: var(--accent); background: rgba(56,189,248,.07); box-shadow: 0 18px 50px rgba(56,189,248,.16); outline: none; }
.tariff-select { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--glass-border); color: var(--accent); font-size: 13px; font-weight: 750; }
.tariff-select b { font-size: 20px; }
.topup-heading { margin-top: 30px; }
.topup-heading h3 { font-size: 23px; margin: 8px 0 0; }
.traffic-note { margin-top: 18px; padding: 18px 22px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.tariff-cta { margin-top: 18px; width: max-content; }
.traffic-packages { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.topup-option { min-height: 92px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; color: var(--text-main); border: 1px solid var(--glass-border); background: rgba(255,255,255,.035); border-radius: 16px; padding: 16px; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.topup-option span { font-size: 20px; font-weight: 800; }
.topup-option strong { color: var(--accent); font-size: 17px; }
.topup-option b { grid-column: 1/-1; color: var(--text-muted); font-size: 12px; }
.topup-option:hover, .topup-option:focus-visible { border-color: var(--accent); background: rgba(56,189,248,.09); transform: translateY(-3px); outline: none; }
.plan { cursor: pointer; }
.plan input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; }
@media (max-width: 760px) {
  .tariff-grid { grid-template-columns: 1fr; }
  .tariff-card { padding: 21px; }
  .tariff-card h3 { font-size: 36px; }
  .tariff-cta { width: 100%; justify-content: center; }
  .traffic-packages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 430px) { .traffic-packages { grid-template-columns: 1fr; } }

/* ПЛАВАЮЩИЕ КНОПКИ СВЯЗИ (Telegram / MAX) */
.float-contacts {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 14px;
}
.fc-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fc-tg { background: #229ED9; }
.fc-max { border-radius: 15px; background: none; }
.fc-max svg { display: block; }
.fc-btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(56, 189, 248, 0.3); }
.fc-btn:active { transform: scale(0.94); }
@media (max-width: 600px) {
  .fc-btn { width: 48px; height: 48px; }
  .fc-max svg { width: 48px; height: 48px; }
  .float-contacts { gap: 12px; right: max(12px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .app-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .toast-notification { bottom: calc(20px + env(safe-area-inset-bottom)); }
}


/* ЗАЩИТА ОТ МИГАНИЯ ГЛАВНОЙ ПРИ ОБНОВЛЕНИИ (класс ставится скриптом в <head>) */
.boot-state { display: none; }
html.has-session .boot-state { display: block; }
html.has-session #welcome { display: none !important; }
html.has-session .public-nav { display: none !important; }
html.has-session #logout { display: inline-flex !important; }
@keyframes skShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.sk { border-radius: 10px; background: linear-gradient(90deg, rgba(148,163,184,0.08) 25%, rgba(148,163,184,0.18) 50%, rgba(148,163,184,0.08) 75%); background-size: 200% 100%; animation: skShimmer 1.6s linear infinite; }
.sk-eyebrow { width: 120px; height: 12px; margin-bottom: 14px; }
.sk-title { width: min(320px, 70%); height: 40px; margin-bottom: 12px; }
.sk-sub { width: min(420px, 85%); height: 16px; margin-bottom: 28px; }
.sk-card { display: flex; flex-direction: column; gap: 18px; padding: 32px 36px; }
.sk-line { width: 45%; height: 18px; }
.sk-line.short { width: 30%; }
.sk-big { width: 60%; height: 56px; }
.sk-block { width: 100%; height: 120px; border-radius: 18px; }
@media (max-width: 600px) { .sk-card { padding: 24px 18px; } .sk-title { height: 32px; } }

/* Читаемость и доступность элементов управления */
:root { --text-muted: #b4c1d2; }
::selection { background: #2563a3; color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}
.faq summary:focus-visible { outline-offset: -4px; }
.tariff-option:focus-visible, .topup-option:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 3px; }
.text-gradient { background: none; -webkit-text-fill-color: currentColor; color: #a8a4ff; animation: none; }
input, textarea { caret-color: var(--accent); }
@media (max-width: 600px) {
  .float-contacts { gap: 8px; }
  .fc-btn, .fc-max svg { width: 44px; height: 44px; }
}
.btn-primary { background: #75cafa; color: #071729; animation: none; box-shadow: 0 6px 18px rgba(0,0,0,.24); }
.btn-primary:hover:not(:disabled) { background: #a4dfff; box-shadow: 0 10px 24px rgba(0,0,0,.3); }

/* Переработанная визуальная система: спокойная навигация и ясная типографика. */
:root {
  --bg-color: #101a1b; --glass-bg: #151f35; --glass-border: #35415a;
  --glass-border-top: #35415a; --glass-shadow: none;
  --text-main: #f3f3ea; --text-muted: #bbc2d0;
  --accent: #ff8c42; --accent-hover: #d4f3df; --accent-secondary: #ff8c42;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 12px;
}
body { background: var(--bg-color); }
.mesh-background { background: #101a1b; }
.blob { display: none; }
.app-wrapper { max-width: 1160px; }
.glass-panel, .inner-glass { background: #151f35; border: 1px solid #35415a; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.navbar { height: 78px; margin: 0 0 28px; padding: 0; border: 0; border-bottom: 1px solid #35415a; border-radius: 0; background: transparent; }
.logo { font-size: 23px; letter-spacing: -.03em; }
.logo-icon { width: 34px; height: 34px; border-radius: 8px; background: #ff8c42; color: #1c1720; box-shadow: none; font-size: 18px; }
.dot { color: #ff8c42; }
.nav-link:hover, .btn-text:hover { color: #fff; background: #26334d; }
.btn-primary { background: #ff8c42; color: #1c1720; box-shadow: none; animation: none; }
.btn-primary:hover:not(:disabled) { background: #c5edd5; box-shadow: none; transform: none; }
.btn-secondary { background: transparent; border: 1px solid #71847a; color: #f3f3ea; backdrop-filter: none; }
.btn-secondary:hover:not(:disabled) { background: #26334d; border-color: #ff8c42; transform: none; }
.bento-card { border-radius: 12px; }
.bento-card:hover { border-color: #52617b; }
.floating-anim:hover, .tariff-option:hover, .topup-option:hover { transform: none; box-shadow: none; }
.view-state > * { animation: none; opacity: 1; }
.bento-grid-hero { grid-template-columns: 2fr 1fr; gap: 0 56px; align-items: center; }
.hero-main { padding: 56px 0 66px; border: 0; background: transparent; }
.hero-badge, #welcome .eyebrow { display: none; }
.hero-title { max-width: 700px; font-size: clamp(44px, 6vw, 72px); line-height: 1.04; letter-spacing: -.04em; }
.text-gradient { color: #ff8c42; background: none; -webkit-text-fill-color: currentColor; animation: none; }
.hero-subtitle { max-width: 590px; font-size: 17px; line-height: 1.7; margin-top: 14px; }
.hero-buttons { gap: 12px; }
.stat-card { background: transparent; border: 0; border-bottom: 1px solid #35415a; border-radius: 0; padding: 24px 0; }
.stat-card .action-icon-box { display: none; }
.stat-card h3 { font-size: 17px; margin-bottom: 6px; }
.stat-card p { max-width: 30ch; }
.mt-section { margin-top: 80px; }
.section-title-row { margin-bottom: 24px; }
#welcomefake { display:none; }
.tariff-grid { gap: 0; }
.tariff-card { border-radius: 0; border-right: 0; padding: 28px; background: transparent; }
.tariff-card:first-child { border-radius: 12px 0 0 12px; }
.tariff-card:last-child { border-right: 1px solid #35415a; border-radius: 0 12px 12px 0; }
.tariff-card.featured { border-color: #35415a; box-shadow: none; background: #202f2d; }
.tariff-label { color: #bbc2d0; letter-spacing: .06em; font-size: 11px; }
.tariff-card h3 { margin: 20px 0 8px; font-size: 42px; }
.tariff-card strong { color: #f3f3ea; }
.traffic-note { background: transparent; border: 0; padding: 0; margin-top: 22px; max-width: 75ch; }
.trial-section { padding: 42px; background: #d3e6d8; border: 0; color: #14251c; }
.trial-section h2 { color: #14251c; }
.trial-section p { color: #3a5546; }
.trial-section .btn-primary { background: #173d2d; color: #fff; }
.trial-section .btn-primary:hover:not(:disabled) { background: #285b43; }
.trial-timer { background: transparent; border: 0; border-left: 1px solid #a8c1af; border-radius: 0; }
.time-value { color: #173d2d; font-variant-numeric: tabular-nums; }
.time-label { color: #3a5546; }
.progress-track { background: #b0cbb7; }
.progress-fill { background: #397c59; animation: none; }
.trial-result-box { border-color: #a8c1af; }
.step-card { background: transparent; border: 0; border-top: 1px solid #52617b; border-radius: 0; padding: 28px 0; }
.step-number { position: static; font-size: 13px; color: #ff8c42; margin-bottom: 18px; letter-spacing: .04em; }
.step-card h3 { color: #f3f3ea; }
.action-icon-box, .cyan-glow, .purple-glow, .blue-glow { background: #26334d; color: #ff8c42; border: 0; box-shadow: none; }
.subscription-card::before { display: none; }
.glass-modal { background: #151f35; border: 1px solid #52617b; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.glass-modal::backdrop { background: rgba(5,12,10,.75); backdrop-filter: none; }
.faq .plus { background: #26334d; }
.faq details[open] .plus { background: #ff8c42; box-shadow: none; }
.app-footer { border-color: #35415a; }
.fc-btn { box-shadow: 0 3px 12px rgba(0,0,0,.3); }
.fc-btn:hover { box-shadow: 0 5px 14px rgba(0,0,0,.35); transform: translateY(-2px); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [role="button"]:focus-visible { outline: 3px solid #ff8c42; outline-offset: 3px; }
.faq summary:focus-visible { outline-offset: -4px; }
::selection { background: #ff8c42; color: #1c1720; }
@media (max-width: 760px) {
  .tariff-grid { gap: 0; }
  .tariff-card, .tariff-card:first-child, .tariff-card:last-child { border: 1px solid #35415a; border-bottom: 0; border-radius: 0; padding: 20px; }
  .tariff-card:first-child { border-radius: 12px 12px 0 0; }
  .tariff-card:last-child { border-bottom: 1px solid #35415a; border-radius: 0 0 12px 12px; }
  .tariff-card h3 { margin: 8px 0 4px; font-size: 32px; }
  .tariff-card p { margin-bottom: 10px; }
}
@media (max-width: 600px) {
  .navbar { margin: 0 0 12px; padding: 0; background: transparent; }
  .bento-grid-hero { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .hero-main { grid-column: 1 / -1; padding: 38px 0 34px; }
  .hero-title { font-size: clamp(39px, 10vw, 52px); }
  .hero-subtitle { font-size: 15px; margin-top: 12px; }
  .stat-card { padding: 18px 0; }
  .stat-card h3 { font-size: 15px; }
  .stat-card p { font-size: 13px; }
  .mt-section { margin-top: 56px; }
  .trial-section { padding: 28px 22px; gap: 22px; }
  .trial-timer { border-left: 0; border-top: 1px solid #a8c1af; padding: 24px 0 0; }
  .step-card { padding: 22px 0; }
}
.modal-icon { display: none; }
.trial-section .text-link { color: #173d2d; text-decoration: underline; text-underline-offset: 3px; }

/* Readability and keyboard access refinements */
#welcome .hero-subtitle, #welcome .stat-card p, #welcome .tariff-card p,
#welcome .traffic-note, #welcome .step-card p, #welcome .faq p { font-size: 16px; }
.trial-section :is(a, button, input, summary):focus-visible {
  outline: 3px solid #173d2d;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .float-contacts { position: static; flex-direction: row; justify-content: center; margin: 0 auto 24px; }
  .app-footer { padding-bottom: 24px; }
}

/* Urus: night signal */
:root { --bg-color:#0a1022; --text-main:#f5f3ef; --text-muted:#bbc2d0; --accent:#ff8c42; --accent-secondary:#ffb477; --accent-hover:#ffb477; --accent-glow:rgba(255,140,66,.2); --glass-bg:#151f35; --glass-border:#35415a; }
body, .mesh-background { background:#0a1022; }
.blob { display:none; }
.navbar { border-color:#35415a; }
.logo-icon, .btn-primary { background:#ff8c42; color:#1c1720; }
.logo-icon { color:#1c1720; }
.btn-primary:hover:not(:disabled) { background:#ffb477; }
.btn-secondary { color:#f5f3ef; border-color:#6c7890; }
.btn-secondary:hover:not(:disabled) { background:#26334d; border-color:#ff8c42; }
.text-gradient, .step-number { color:#ff9b5c; }
.bento-grid-hero { grid-template-columns:1.15fr .85fr; column-gap:48px; }
.hero-main { grid-row:span 2; }
.orbit-stage { grid-column:2; grid-row:1 / span 2; min-height:390px; display:grid; place-items:center; perspective:900px; overflow:hidden; }
.orbit-object { position:relative; width:260px; height:260px; transform-style:preserve-3d; animation:orbit-rotate 18s linear infinite; }
.orbit-ring { position:absolute; inset:0; border:9px solid #ff8c42; border-radius:50%; backface-visibility:visible; }
.orbit-one { transform:rotateX(67deg); }
.orbit-two { transform:rotateY(67deg); border-color:#ffc18d; }
.orbit-three { transform:rotateX(67deg) rotateY(65deg); border-color:#d76c35; }
.orbit-core { position:absolute; inset:84px; display:grid; place-items:center; border-radius:50%; background:#ff8c42; color:#111a2d; font-size:44px; font-weight:800; }
@keyframes orbit-rotate { from { transform:rotateX(-15deg) rotateY(0deg); } to { transform:rotateX(-15deg) rotateY(360deg); } }
.stat-card { grid-row:3; border-color:#35415a; }
.stat-card:nth-of-type(2) { grid-column:1; }
.stat-card:nth-of-type(3) { grid-column:2; }
.tariff-card, .tariff-card:last-child, .step-card, .app-footer { border-color:#35415a; }
.tariff-card.featured { background:#202c43; border-color:#52617b; }
.tariff-card strong, .step-card h3 { color:#f5f3ef; }
.tariff-label { color:#ffb477; }
.trial-section { background:#ffb477; color:#211729; }
.trial-section h2, .trial-section p, .time-label, .time-value, .trial-section .text-link { color:#211729; }
.trial-section .btn-primary { background:#111a2d; color:#fff; }
.trial-section .btn-primary:hover:not(:disabled) { background:#283754; }
.trial-timer { border-color:#9c5d42; }
.progress-track { background:#d88b5d; }
.progress-fill { background:#273c5c; }
.glass-modal { background:#151f35; border-color:#52617b; }
.faq .plus { background:#29354b; }
.faq details[open] .plus { background:#ff8c42; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [role="button"]:focus-visible { outline:3px solid #ffb477; outline-offset:3px; }
.trial-section :is(a, button, input, summary):focus-visible { outline-color:#111a2d; }
::selection { background:#ffb477; color:#111a2d; }
@media (max-width:760px) { .tariff-card, .tariff-card:first-child, .tariff-card:last-child { border-color:#35415a; } }
@media (max-width:600px) { .bento-grid-hero { grid-template-columns:1fr 1fr; gap:0 18px; } .hero-main { grid-row:auto; } .orbit-stage { grid-column:1 / -1; grid-row:auto; min-height:220px; } .orbit-object { width:180px; height:180px; } .orbit-ring { border-width:6px; } .orbit-core { inset:58px; font-size:30px; } .stat-card { grid-row:auto; } .stat-card:nth-of-type(2), .stat-card:nth-of-type(3) { grid-column:auto; } }
@media (prefers-reduced-motion:reduce) { .orbit-object { animation:none; transform:rotateX(-15deg) rotateY(25deg); } }
.dot, .action-cta, .action-arrow, .tip-tag { color: #ff9b5c; }
.glass-panel, .inner-glass { background-color:#151f35; border-color:#35415a; }
.navbar, .hero-main, .stat-card, .step-card, .tariff-card { background-color:transparent; }
.tariff-card.featured { background-color:#202c43; }
.subscription-card, .faq-card, .action-card, .app-tip-card, .history-list { background-color:#151f35; }
.action-icon-box, .app-icon-mock { background:#26334d; color:#ffb477; }
.trial-section { background-color:#ffb477; }
@media (max-width:760px) { .float-contacts .fc-btn { box-shadow:none; } }
.sub-stats dt, .tip-tag, .sub-control-header label { font-size:12px; letter-spacing:0; }
.badge { font-size:12px; letter-spacing:0; }
.tariff-option:focus-visible, .topup-option:focus-visible { outline:3px solid #ffb477; outline-offset:3px; }
.tariff-option:hover, .topup-option:hover { border-color:#ff8c42; background:#26334d; box-shadow:none; }
@media (min-width:601px) { .stat-card:nth-of-type(3) { grid-column:1; } .stat-card:nth-of-type(4) { grid-column:2; } }
@media (max-width:900px) { .float-contacts { position:static; flex-direction:row; justify-content:center; margin:0 auto 24px; } }
.trial-section .error-msg { color:#701d20; }
.trial-section .result-details label { color:#211729; }
