/* AI помощник - светлый солнечный дизайн */
/* Палитра: золото + зелень с пастельными переходами, искры и шарики */

:root {
  /* Бренд: золото и зелень */
  --gold-50:  #FFF9E6;
  --gold-100: #FBEFB5;
  --gold-300: #F5D76E;
  --gold-500: #D4AF37;
  --gold-600: #B8902B;
  --gold-700: #9B7A1F;

  --green-100: #E8F5DC;
  --green-300: #A3D17C;
  --green-500: #7CB342;
  --green-600: #5E9226;
  --green-700: #4C7F0F;

  --pink-100: #FFE8EC;
  --peach-100: #FFE5C9;
  --mint-100: #DFF6E5;

  /* Поверхности (светлая тема) */
  --bg-page:  #FFFAEE;
  --bg-card:  rgba(255, 255, 255, 0.85);
  --bg-soft:  #FFF3D9;

  /* Текст */
  --text-1: #1A1810;
  --text-2: #4A4530;
  --text-3: #8a8166;
  --text-on-gold: #2a1f00;

  /* Эффекты */
  --glow-gold:   0 0 22px rgba(212, 175, 55, 0.55), 0 0 44px rgba(212, 175, 55, 0.20);
  --glow-green:  0 0 22px rgba(124, 179, 66, 0.55), 0 0 44px rgba(124, 179, 66, 0.20);
  --shadow-sm:   0 2px 6px rgba(155, 122, 31, 0.10), 0 1px 3px rgba(155, 122, 31, 0.06);
  --shadow-md:   0 4px 14px rgba(155, 122, 31, 0.14), 0 12px 32px rgba(94, 146, 38, 0.10);
  --shadow-lg:   0 10px 28px rgba(155, 122, 31, 0.20), 0 24px 60px rgba(94, 146, 38, 0.14);

  /* Градиенты */
  --grad-gold:    linear-gradient(135deg, #F5D76E 0%, #D4AF37 50%, #B8902B 100%);
  --grad-green:   linear-gradient(135deg, #A3D17C 0%, #7CB342 50%, #5E9226 100%);
  --grad-mix:     linear-gradient(135deg, #D4AF37 0%, #E5C04F 35%, #A3D17C 70%, #7CB342 100%);
  --grad-shimmer: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.65) 50%, transparent 80%);

  --radius:    16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --pad: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  background: linear-gradient(135deg,
    #FFF9E6 0%,
    #FFFBEB 20%,
    #FFF5DD 35%,
    #FFEBD6 55%,
    #F5F8E2 75%,
    #E8F5DC 100%);
  background-attachment: fixed;
  color: var(--text-1);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== СВЕТЛЫЙ СОЛНЕЧНЫЙ ФОН ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Большой солнечный градиент сверху */
.sun-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle,
    rgba(255, 235, 130, 0.55) 0%,
    rgba(255, 215, 90, 0.30) 25%,
    rgba(255, 200, 100, 0.10) 45%,
    transparent 65%);
  border-radius: 50%;
  filter: blur(20px);
  animation: sun-pulse 8s ease-in-out infinite;
}

@keyframes sun-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50%      { transform: translateX(-50%) scale(1.08); opacity: 0.85; }
}

/* ===== ВОЗДУШНЫЕ ШАРИКИ ===== */
.balloon {
  position: absolute;
  width: 70px;
  height: 88px;
  border-radius: 50% 50% 48% 48%;
  filter: drop-shadow(0 6px 14px rgba(155, 122, 31, 0.20));
  bottom: -150px;
  will-change: transform;
}

.balloon::after {
  content: "";
  position: absolute;
  bottom: -36px;
  left: 50%;
  width: 1.5px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(120, 90, 30, 0.55), transparent);
  transform: translateX(-50%);
}

.balloon::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 22%;
  width: 25%;
  height: 35%;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  filter: blur(4px);
}

.b1 {
  left: 8%;
  background: radial-gradient(circle at 30% 30%, #FFEBC4, #F5D76E 65%, #D4AF37 100%);
  animation: balloon-rise 28s linear infinite, balloon-sway 6s ease-in-out infinite alternate;
  animation-delay: 0s, 0s;
}
.b2 {
  left: 26%;
  width: 56px; height: 70px;
  background: radial-gradient(circle at 30% 30%, #EAF6D4, #A3D17C 65%, #7CB342 100%);
  animation: balloon-rise 34s linear infinite -10s, balloon-sway 7s ease-in-out infinite alternate -1s;
  opacity: 0.85;
}
.b3 {
  left: 50%;
  width: 80px; height: 100px;
  background: radial-gradient(circle at 30% 30%, #FFE8DD, #FFC890 65%, #E89D58 100%);
  animation: balloon-rise 40s linear infinite -20s, balloon-sway 8s ease-in-out infinite alternate;
}
.b4 {
  left: 72%;
  width: 62px; height: 78px;
  background: radial-gradient(circle at 30% 30%, #FFE0E8, #FFB3C4 65%, #E586A0 100%);
  animation: balloon-rise 32s linear infinite -5s, balloon-sway 6.5s ease-in-out infinite alternate -2s;
  opacity: 0.85;
}
.b5 {
  left: 88%;
  width: 50px; height: 62px;
  background: radial-gradient(circle at 30% 30%, #DDF5FF, #88D5F0 65%, #4FB0D3 100%);
  animation: balloon-rise 36s linear infinite -15s, balloon-sway 7.5s ease-in-out infinite alternate;
  opacity: 0.80;
}

@keyframes balloon-rise {
  0%   { bottom: -160px; }
  100% { bottom: 110%; }
}

@keyframes balloon-sway {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(20px); }
}

/* ===== ПАДАЮЩИЕ ИСКРЫ / ЗВЁЗДЫ ===== */
.sparks { position: absolute; inset: 0; }

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 130, 0.95), rgba(255, 215, 90, 0.4) 40%, transparent 70%);
  box-shadow: 0 0 8px rgba(255, 215, 90, 0.7), 0 0 18px rgba(255, 215, 90, 0.3);
  animation: spark-fall 8s linear infinite, spark-twinkle 1.6s ease-in-out infinite;
}

@keyframes spark-fall {
  0%   { transform: translateY(-20px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(110vh); opacity: 0; }
}

@keyframes spark-twinkle {
  0%, 100% { filter: brightness(1) blur(0); }
  50%      { filter: brightness(1.5) blur(0.5px); }
}

.spark.s1  { left:  5%; top: -10px; animation-duration: 9s,  1.5s; animation-delay: 0s,   0s; }
.spark.s2  { left: 12%; top: -10px; animation-duration: 11s, 1.8s; animation-delay: -2s, -0.3s; width: 4px; height: 4px; }
.spark.s3  { left: 18%; top: -10px; animation-duration: 8s,  1.3s; animation-delay: -4s, -0.5s; }
.spark.s4  { left: 25%; top: -10px; animation-duration: 12s, 1.7s; animation-delay: -1s, -0.7s; width: 8px; height: 8px; background: radial-gradient(circle, rgba(180, 230, 130, 0.95), transparent 65%); box-shadow: 0 0 10px rgba(140, 200, 80, 0.65); }
.spark.s5  { left: 32%; top: -10px; animation-duration: 10s, 1.4s; animation-delay: -3s, -0.2s; }
.spark.s6  { left: 40%; top: -10px; animation-duration: 13s, 2s;   animation-delay: -5s, -0.6s; width: 5px; height: 5px; }
.spark.s7  { left: 47%; top: -10px; animation-duration: 9s,  1.6s; animation-delay: -6s, -0.4s; }
.spark.s8  { left: 53%; top: -10px; animation-duration: 11s, 1.5s; animation-delay: -1.5s, 0s; width: 7px; height: 7px; background: radial-gradient(circle, rgba(255, 220, 100, 1), transparent 60%); box-shadow: 0 0 14px rgba(255, 200, 60, 0.8); }
.spark.s9  { left: 60%; top: -10px; animation-duration: 10s, 1.7s; animation-delay: -3.5s, -0.5s; }
.spark.s10 { left: 67%; top: -10px; animation-duration: 12s, 1.4s; animation-delay: -7s, -0.3s; }
.spark.s11 { left: 73%; top: -10px; animation-duration: 8s,  1.6s; animation-delay: -2.5s, -0.8s; width: 4px; height: 4px; }
.spark.s12 { left: 80%; top: -10px; animation-duration: 11s, 1.8s; animation-delay: -4.5s, 0s; }
.spark.s13 { left: 87%; top: -10px; animation-duration: 9s,  1.3s; animation-delay: -0.5s, -0.4s; width: 6px; height: 6px; background: radial-gradient(circle, rgba(180, 230, 130, 0.9), transparent 65%); }
.spark.s14 { left: 93%; top: -10px; animation-duration: 13s, 2s;   animation-delay: -8s, -0.6s; }
.spark.s15 { left: 15%; top: -10px; animation-duration: 14s, 1.5s; animation-delay: -9s, -0.1s; width: 5px; height: 5px; }
.spark.s16 { left: 35%; top: -10px; animation-duration: 9s,  1.4s; animation-delay: -10s, -0.5s; }
.spark.s17 { left: 56%; top: -10px; animation-duration: 11s, 1.6s; animation-delay: -2s, -0.7s; width: 6px; height: 6px; }
.spark.s18 { left: 78%; top: -10px; animation-duration: 10s, 1.5s; animation-delay: -6.5s, -0.2s; }
.spark.s19 { left: 9%;  top: -10px; animation-duration: 12s, 1.7s; animation-delay: -3s, -0.4s; }
.spark.s20 { left: 22%; top: -10px; animation-duration: 10s, 1.8s; animation-delay: -5.5s, -0.6s; width: 7px; height: 7px; background: radial-gradient(circle, rgba(255, 200, 100, 1), transparent 60%); box-shadow: 0 0 12px rgba(255, 180, 60, 0.7); }
.spark.s21 { left: 44%; top: -10px; animation-duration: 13s, 1.4s; animation-delay: -7.5s, 0s; }
.spark.s22 { left: 64%; top: -10px; animation-duration: 9s,  1.6s; animation-delay: -4s, -0.3s; width: 4px; height: 4px; }
.spark.s23 { left: 84%; top: -10px; animation-duration: 11s, 1.5s; animation-delay: -8.5s, -0.5s; }
.spark.s24 { left: 96%; top: -10px; animation-duration: 12s, 1.7s; animation-delay: -1s, -0.7s; width: 5px; height: 5px; background: radial-gradient(circle, rgba(180, 230, 130, 0.85), transparent 65%); }

.app {
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  padding: 14px var(--pad) 16px;
  background: rgba(255, 250, 230, 0.75);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 22px rgba(212, 175, 55, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.logo-icon {
  font-size: 22px;
  filter: drop-shadow(0 1px 2px rgba(212, 175, 55, 0.50));
  animation: sparkle-icon 3.5s ease-in-out infinite;
}

@keyframes sparkle-icon {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(10deg) scale(1.12); }
}

.logo-text {
  background: var(--grad-mix);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Кнопка "В Telegram" в шапке */
.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(2, 136, 209, 0.40), 0 0 18px rgba(41, 182, 246, 0.30);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.tg-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  animation: shimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}
.tg-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 136, 209, 0.55), 0 0 28px rgba(41, 182, 246, 0.50);
}
.tg-btn:active { transform: translateY(0); opacity: 0.92; }
.tg-btn.hidden { display: none; }
.tg-btn-icon { font-size: 14px; }

.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  background: var(--gold-100);
  color: var(--gold-700);
  border-radius: 20px;
  border: 1px solid var(--gold-300);
}
.badge.warn  { background: #FFF3CD; color: #856404; border-color: #FFE082; }
.badge.empty { background: #F8D7DA; color: #721C24; border-color: #F5A8B0; }

.header-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-3);
}

/* ===== CONTENT ===== */
.content {
  flex: 1;
  padding: var(--pad);
  position: relative;
}

.screen { display: none; }
.screen.active { display: block; animation: fadeIn 0.32s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== HELLO ===== */
.hello { margin-bottom: 22px; }
.hello-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #D4AF37 0%, #B8902B 30%, #7CB342 65%, #5E9226 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 16px rgba(212, 175, 55, 0.20);
}
.hello-text {
  margin: 0 0 8px;
  color: var(--text-2);
}
.hello-text strong {
  color: var(--text-1);
  font-weight: 600;
}

/* ===== FEATURE CARDS ===== */
.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--text-1);
  width: 100%;
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -100%; left: -50%;
  width: 50%; height: 300%;
  background: linear-gradient(45deg, transparent, rgba(255, 230, 130, 0.5), transparent);
  transform: rotate(35deg);
  transition: top 0.7s ease, left 0.7s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--glow-gold);
  border-color: var(--gold-500);
}

.feature-card:hover::before {
  top: 200%;
  left: 200%;
}

.feature-card:active { transform: scale(0.985); }

.feature-icon {
  font-size: 30px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-gold);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6),
              0 4px 14px rgba(212, 175, 55, 0.40),
              0 0 22px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7),
              0 8px 22px rgba(212, 175, 55, 0.55),
              0 0 32px rgba(124, 179, 66, 0.30);
}

.feature-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.feature-title {
  font-weight: 600;
  font-size: 15.5px;
  margin-bottom: 3px;
  color: var(--text-1);
}
.feature-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.45;
}

.feature-arrow {
  font-size: 22px;
  color: var(--gold-600);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-arrow {
  transform: translateX(5px);
}

/* ===== SOON PILL ===== */
.soon-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 9px;
  margin-left: 6px;
  background: linear-gradient(135deg, #A3D17C, #7CB342);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(124, 179, 66, 0.55), 0 2px 6px rgba(94, 146, 38, 0.30);
  vertical-align: middle;
  animation: pill-pulse 2.5s ease-in-out infinite;
}

@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(124, 179, 66, 0.55), 0 2px 6px rgba(94, 146, 38, 0.30); }
  50%      { box-shadow: 0 0 22px rgba(124, 179, 66, 0.85), 0 2px 8px rgba(94, 146, 38, 0.50); }
}

/* ===== SOON SCREEN ===== */
.soon-card {
  text-align: center;
  padding: 36px 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-lg);
}
.soon-icon {
  font-size: 56px;
  margin-bottom: 14px;
  animation: float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(212, 175, 55, 0.40));
}
.soon-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  background: var(--grad-mix);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.soon-text { color: var(--text-2); margin: 0 0 16px; font-size: 15px; line-height: 1.55; }
.soon-info {
  background: linear-gradient(135deg, rgba(245, 215, 110, 0.18), rgba(163, 209, 124, 0.18));
  border: 1px dashed rgba(124, 179, 66, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ===== TRIAL CARD ===== */
.trial-card {
  background: linear-gradient(135deg, rgba(245, 215, 110, 0.30) 0%, rgba(163, 209, 124, 0.30) 100%);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 175, 55, 0.30);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.15);
}

.trial-badge {
  display: inline-block;
  background: var(--grad-mix);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(184, 144, 43, 0.40), 0 0 18px rgba(124, 179, 66, 0.30);
}

.trial-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  background: var(--grad-mix);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trial-lead {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.trial-lead strong { color: var(--text-1); font-weight: 700; }

/* ===== FEATURES BLOCK (полотно описаний) ===== */
.features-block {
  margin-bottom: 16px;
}

.features-section {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 175, 55, 0.20);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.features-section-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-700);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.18);
}

.feature-item {
  margin-bottom: 14px;
}
.feature-item:last-child { margin-bottom: 0; }

.feature-item-head {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-1);
  margin-bottom: 4px;
}

.feature-item-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ===== TRIAL CTA ===== */
.trial-cta {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(124, 179, 66, 0.30);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(124, 179, 66, 0.18);
}

.trial-cta-text {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text-1);
}
.trial-cta-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ===== INFO CARD ===== */
.info-card {
  background: linear-gradient(135deg, rgba(245, 215, 110, 0.25) 0%, rgba(163, 209, 124, 0.25) 100%);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.12);
}

.info-card-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text-1);
}

.info-list {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.55;
}
.info-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  color: var(--text-2);
}
.info-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 700;
}

/* ===== CTA BUTTON (золото с подсветкой и анимацией) ===== */
.cta-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 18px;
  background: var(--grad-mix);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(184, 144, 43, 0.45),
              0 0 22px rgba(124, 179, 66, 0.30),
              0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 60%;
  height: 100%;
  background: var(--grad-shimmer);
  animation: shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%   { left: -150%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184, 144, 43, 0.60), var(--glow-green);
}

.cta-button:active { transform: translateY(0); opacity: 0.92; }

/* ===== BACK / TITLES ===== */
.back-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.30);
  color: var(--gold-700);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  margin-bottom: 16px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 18px;
  transition: all 0.22s;
  box-shadow: var(--shadow-sm);
}
.back-btn:hover {
  background: var(--gold-50);
  border-color: var(--gold-500);
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.30);
}

.screen-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  background: var(--grad-mix);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.screen-desc {
  color: var(--text-3);
  font-size: 14px;
  margin: 0 0 20px;
}

/* ===== PLATFORM TABS ===== */
.platform-tabs {
  display: flex;
  gap: 5px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  padding: 5px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.20);
  box-shadow: var(--shadow-sm);
}

.platform-tab {
  flex: 1;
  padding: 10px 6px;
  background: transparent;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.platform-tab:hover {
  color: var(--gold-700);
  background: var(--gold-50);
}

.platform-tab.active {
  background: var(--grad-mix);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 144, 43, 0.40), 0 0 18px rgba(124, 179, 66, 0.30);
  transform: translateY(-1px);
}

/* ===== TOPIC CHIPS ===== */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.topic-chip {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-sm);
  padding: 13px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text-1);
  line-height: 1.35;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-sm);
}

.topic-chip:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 18px rgba(212, 175, 55, 0.30);
}

.topic-chip.selected {
  background: var(--grad-mix);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(184, 144, 43, 0.45), var(--glow-green);
  transform: translateY(-2px);
}

/* ===== CUSTOM INPUT ===== */
.custom-input {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.custom-input input {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border: 1.5px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-1);
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.custom-input input::placeholder { color: #b5a786; }
.custom-input input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), 0 0 22px rgba(124, 179, 66, 0.25);
}

/* ===== MIC BUTTON ===== */
.mic-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(212, 175, 55, 0.30);
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s;
  box-shadow: var(--shadow-sm);
}
.mic-btn:hover {
  background: var(--gold-50);
  border-color: var(--gold-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.30);
}
.mic-btn.recording {
  background: linear-gradient(135deg, #FF5252, #D32F2F);
  border-color: transparent;
  color: white;
  animation: rec-pulse 1.2s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.55); }
  50%      { box-shadow: 0 0 0 14px rgba(255, 82, 82, 0); }
}

/* ===== CORRECT BAR ===== */
.correct-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}
.correct-btn {
  flex: 1 1 calc(50% - 3px);
  min-width: 90px;
  padding: 9px 8px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.90);
  color: var(--text-2);
  border: 1.5px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.20s;
}
.correct-btn:hover {
  background: var(--gold-50);
  border-color: var(--gold-500);
  color: var(--gold-700);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.22);
}
.correct-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.correct-btn.loading::after {
  content: " ...";
  animation: dots 1s infinite;
}
@keyframes dots {
  0%   { content: " ."; }
  33%  { content: " .."; }
  66%  { content: " ..."; }
}

/* ===== BUTTONS ===== */
.primary-btn {
  position: relative;
  padding: 13px 20px;
  background: var(--grad-mix);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(184, 144, 43, 0.40);
  transition: transform 0.18s, box-shadow 0.22s;
}

.primary-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 60%;
  height: 100%;
  background: var(--grad-shimmer);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(184, 144, 43, 0.55), var(--glow-green);
}
.primary-btn:active { transform: translateY(0); opacity: 0.92; }
.primary-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.primary-btn:disabled::after { display: none; }

.secondary-btn {
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--gold-700);
  border: 1.5px solid var(--gold-300);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s;
}
.secondary-btn:hover {
  background: var(--gold-50);
  border-color: var(--gold-500);
}

.ghost-btn {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
  padding: 8px;
  font-family: inherit;
  transition: color 0.18s;
}
.ghost-btn:hover { color: var(--text-1); }

.link-btn {
  color: var(--green-700);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.18s;
}
.link-btn:hover { color: var(--gold-700); }

/* ===== RESULT ===== */
.result {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md), 0 0 32px rgba(124, 179, 66, 0.10);
  margin-top: 10px;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  position: relative;
}

.result.hidden { display: none; }

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.result-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-1);
}

.copy-btn {
  background: var(--gold-50);
  border: 1.5px solid var(--gold-300);
  color: var(--gold-700);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s;
}
.copy-btn:hover {
  background: var(--gold-100);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.30);
}
.copy-btn:active { transform: translateY(0); }
.copy-btn.done {
  background: var(--green-100);
  border-color: var(--green-300);
  color: var(--green-700);
}

.result-body {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-1);
}

.result-body strong {
  font-weight: 700;
  color: var(--gold-700);
}

.result-body em {
  color: var(--text-3);
  font-style: italic;
  font-size: 13px;
}

.cursor {
  display: inline-block;
  color: var(--gold-500);
  animation: blink 0.9s infinite;
  font-weight: 400;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  gap: 10px;
}

/* ===== LIMIT SCREEN ===== */
.limit-card {
  text-align: center;
  padding: 36px 22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(212, 175, 55, 0.25);
}

.limit-icon {
  font-size: 56px;
  margin-bottom: 14px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(212, 175, 55, 0.40));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.limit-title { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.limit-text  { color: var(--text-3); margin: 0 0 22px; font-size: 15px; }
.limit-text strong { color: var(--text-1); }

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 250, 220, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.loader.hidden { display: none; }

.loader-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 26px 36px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg), var(--glow-gold);
  border: 1.5px solid rgba(212, 175, 55, 0.30);
}

.loader-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.loader-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-mix);
  animation: bounce 1.2s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.60);
}

.loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.loader-dots span:nth-child(3) { animation-delay: 0.30s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.4; }
  40%           { transform: scale(1.10); opacity: 1; }
}

.loader-text {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-mix);
  color: #fff;
  padding: 11px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  box-shadow: 0 6px 22px rgba(184, 144, 43, 0.45);
  animation: toastIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.hidden { display: none; }

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 14px) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, 0)    scale(1); }
}

.hidden { display: none; }

/* ===== SMALL SCREENS ===== */
@media (max-width: 360px) {
  .topic-grid { grid-template-columns: 1fr; }
  .hello-title { font-size: 23px; }
  .screen-title { font-size: 21px; }
  .feature-icon { width: 44px; height: 44px; font-size: 26px; }
  .balloon { width: 50px; height: 62px; }
}
