/* ==========================================================================
   AI SHPORA (@aishpora_bot) — MODERN CYBERPUNK / HIGH-TECH DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #070814;
  --bg-surface: #0e1124;
  --bg-card: rgba(18, 22, 44, 0.72);
  --bg-card-hover: rgba(26, 32, 62, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 240, 255, 0.35);
  
  /* Vibrant Neon Accents */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.4);
  --neon-purple: #a855f7;
  --neon-purple-glow: rgba(168, 85, 247, 0.45);
  --neon-pink: #ec4899;
  --neon-pink-glow: rgba(236, 72, 153, 0.45);
  --neon-amber: #fbbf24;
  --neon-amber-glow: rgba(251, 191, 36, 0.4);
  --neon-emerald: #10b981;
  --neon-emerald-glow: rgba(16, 185, 129, 0.4);
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ec4899 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.22) 0%, transparent 70%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-telegram: linear-gradient(135deg, #229ed9 0%, #1789c4 100%);
  
  /* Typography & Layout */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-neon: 0 0 25px var(--neon-cyan-glow);
  --shadow-pink: 0 0 25px var(--neon-pink-glow);
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 20% 15%, rgba(168, 85, 247, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(0, 240, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Grid & Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Floating Math Background Particles */
.math-bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.28;
}

.math-symbol {
  position: absolute;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  font-weight: 700;
  filter: blur(0.5px);
  animation: floatMath 20s infinite linear;
  user-select: none;
}

@keyframes floatMath {
  0% { transform: translateY(105vh) rotate(0deg); opacity: 0; }
  15% { opacity: 0.4; }
  85% { opacity: 0.4; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(7, 8, 20, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-badge-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
  transition: var(--transition);
}

.brand-logo:hover .brand-badge-img {
  transform: scale(1.08) rotate(5deg);
  border-color: var(--neon-pink);
  box-shadow: 0 0 20px var(--neon-pink-glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--neon-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-menu-extra {
  display: none;
}

.header-tg-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px #10b981; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #070814;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
  color: #000;
}

.btn-telegram {
  background: var(--grad-telegram);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.4);
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 158, 217, 0.65);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.15rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-full);
  color: #d8b4fe;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero-title .glow-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 25px var(--neon-cyan-glow);
}

.hero-title .glow-pink {
  background: linear-gradient(135deg, #f43f5e, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-lbl {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Hero Media & Interactive Device Mockup */
.hero-media-wrapper {
  position: relative;
}

.hero-banner-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 50px rgba(168, 85, 247, 0.2);
  transition: var(--transition);
}

.hero-banner-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 60px rgba(0, 240, 255, 0.3);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  object-fit: cover;
}

.hero-card-meta {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 17, 36, 0.85);
  border-top: 1px solid var(--border-subtle);
}

.user-count-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img, .avatar-stack .av-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
  margin-left: -8px;
  background: #252a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.avatar-stack .av-placeholder:first-child {
  margin-left: 0;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR SECTION ("ПОПРОБУЙ ПРЯМО СЕЙЧАС")
   ========================================================================== */
.section {
  position: relative;
  padding: 90px 0;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Simulator Box */
.simulator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  position: relative;
}

.simulator-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sim-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.sim-tab-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan-glow);
}

/* Custom Input inside Simulator */
.sim-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.sim-input {
  flex: 1;
  background: rgba(10, 12, 26, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  outline: none;
  transition: var(--transition);
}

.sim-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px var(--neon-cyan-glow);
}

/* Style Selectors (Bro / GOST / Shpora) */
.style-switch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px 20px;
  background: rgba(10, 12, 26, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.style-switch-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.style-buttons-group {
  display: flex;
  gap: 10px;
}

.style-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.style-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
}

.style-btn.active[data-mode="bro"] {
  background: rgba(251, 191, 36, 0.18);
  border-color: var(--neon-amber);
  color: var(--neon-amber);
  box-shadow: 0 0 16px var(--neon-amber-glow);
}

.style-btn.active[data-mode="gost"] {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan-glow);
}

.style-btn.active[data-mode="shpora"] {
  background: rgba(236, 72, 153, 0.18);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 16px var(--neon-pink-glow);
}

/* Solution Display Card */
.sim-output-card {
  background: #090a18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  min-height: 200px;
}

.sim-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-output-title {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-badge-mode {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sim-badge-mode.bro { background: rgba(251, 191, 36, 0.15); color: var(--neon-amber); border: 1px solid rgba(251, 191, 36, 0.3); }
.sim-badge-mode.gost { background: rgba(0, 240, 255, 0.15); color: var(--neon-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.sim-badge-mode.shpora { background: rgba(236, 72, 153, 0.15); color: var(--neon-pink); border: 1px solid rgba(236, 72, 153, 0.3); }

.sim-content-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}

.sim-content-body pre {
  background: rgba(0, 0, 0, 0.4);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  overflow-x: auto;
  margin: 12px 0;
  border-left: 3px solid var(--neon-cyan);
}

.sim-content-body .answer-highlight {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  font-size: 1.1rem;
}

/* ==========================================================================
   FEATURES & VALUE PROPOSITION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 16px 36px rgba(0, 240, 255, 0.15);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
  transform: scale(1.08);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.feature-badge {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
  font-weight: 600;
}

/* ==========================================================================
   INLINE TELEGRAM CHAT SIMULATOR (HIT IN CLASSROOMS)
   ========================================================================== */
.inline-showcase {
  background: linear-gradient(180deg, rgba(14, 17, 36, 0.8) 0%, rgba(9, 11, 24, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.inline-text-side {
  padding: 50px;
}

.inline-chat-side {
  background: #111428;
  padding: 40px;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
}

/* Telegram Chat Mockup */
.tg-mockup {
  width: 100%;
  max-width: 420px;
  background: #181d33;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tg-header {
  background: #202642;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.tg-header-info {
  flex: 1;
}

.tg-chat-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.tg-chat-sub {
  font-size: 0.75rem;
  color: #8da0c4;
}

.tg-messages-area {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #0f1324 url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.02" fill-rule="evenodd"><circle cx="20" cy="20" r="1"/></g></svg>');
}

.tg-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
  position: relative;
}

.tg-msg.incoming {
  align-self: flex-start;
  background: #252c48;
  color: #fff;
  border-bottom-left-radius: 4px;
}

.tg-msg.outgoing {
  align-self: flex-end;
  background: #2b5278;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.tg-msg-sender {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 4px;
}

.tg-msg.solution-card {
  align-self: flex-end;
  background: #1e284a;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  width: 92%;
}

.tg-inline-suggestion {
  background: #171d36;
  border: 1px dashed var(--neon-cyan);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #8da0c4;
}

.tg-inline-suggestion strong {
  color: var(--neon-cyan);
}

.tg-input-bar {
  background: #202642;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-input-fake {
  flex: 1;
  background: #151a30;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: #8da0c4;
  font-family: var(--font-mono);
}

.tg-input-fake span {
  color: var(--neon-cyan);
  font-weight: 700;
}

/* ==========================================================================
   TIME & STRESS SAVER CALCULATOR (GAMIFIED PSYCHOLOGY)
   ========================================================================== */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.calc-control-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
}

.calc-value-badge {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1c2244;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
  cursor: pointer;
  transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-box {
  background: #0b0d1e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-results-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.calc-res-big {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-res-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.calc-perks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-size: 0.92rem;
}

.calc-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-perk-item span.icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   TARIFFS SECTION
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.price-card.popular {
  background: linear-gradient(180deg, rgba(26, 32, 68, 0.9) 0%, rgba(14, 17, 36, 0.95) 100%);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
  transform: scale(1.04);
}

.price-card.popular:hover {
  transform: scale(1.04) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #070814;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-header {
  margin-bottom: 20px;
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.3rem;
  color: var(--neon-cyan);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.price-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-feature-item.active {
  color: var(--text-main);
}

.price-feature-item .check {
  color: #10b981;
  font-weight: 700;
}

/* ==========================================================================
   REVIEWS & SOCIAL PROOF
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #00f0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.98rem;
}

.review-author-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.review-tag {
  margin-top: 14px;
  display: inline-block;
  font-size: 0.78rem;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-active);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

.faq-trigger {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.faq-trigger:hover {
  color: var(--neon-cyan);
}

.faq-icon {
  font-size: 1.3rem;
  transition: var(--transition);
  color: var(--text-dim);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--neon-cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 26px;
}

.faq-item.active .faq-content {
  padding-bottom: 22px;
}

.faq-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.final-cta-section {
  position: relative;
  padding: 80px 0 100px;
}

.final-cta-card {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(0, 240, 255, 0.15) 100%), #0c0e22;
  border: 1px solid var(--neon-cyan);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.final-cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Floating Sticky CTA Button (Mobile & Desktop) */
.sticky-tg-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--grad-telegram);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(34, 158, 217, 0.5), 0 0 15px rgba(0, 240, 255, 0.4);
  transition: var(--transition);
  animation: pulseButton 3s infinite ease-in-out;
}

@keyframes pulseButton {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 14px 36px rgba(34, 158, 217, 0.7), 0 0 25px rgba(0, 240, 255, 0.6); }
}

.sticky-tg-btn:hover {
  transform: translateY(-3px) scale(1.06);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #05060e;
  padding: 60px 0 30px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST POLISH)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 34px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card.popular {
    transform: none;
  }
  .price-card.popular:hover {
    transform: translateY(-8px);
  }
  .calc-card {
    grid-template-columns: 1fr;
  }
  .inline-grid {
    grid-template-columns: 1fr;
  }
  .inline-chat-side {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {
  .header-live-pill {
    display: none;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }
  .header-inner {
    height: 64px;
  }
  .brand-logo {
    gap: 10px;
    flex-shrink: 0;
  }
  .brand-badge-img {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.25rem;
    white-space: nowrap;
  }
  .header-actions {
    gap: 10px;
    flex-shrink: 0;
  }
  .header-tg-btn {
    padding: 7px 14px;
    font-size: 0.84rem;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(9, 10, 24, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-menu-extra {
    display: block;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }
  .mobile-live-pill {
    display: inline-flex;
    margin-bottom: 8px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .simulator-box {
    padding: 20px;
  }
  .style-switch-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .style-buttons-group {
    width: 100%;
    justify-content: space-between;
  }
  .style-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .inline-text-side {
    padding: 24px;
  }
  .inline-chat-side {
    padding: 20px 14px;
  }
  .final-cta-title {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sticky-tg-btn span.label {
    display: none;
  }
  .sticky-tg-btn {
    padding: 14px;
    border-radius: 50%;
  }
}

@media (max-width: 440px) {
  .container {
    padding: 0 12px;
  }
  .header-inner {
    height: 58px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-badge-img {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .header-actions {
    gap: 6px;
  }
  .header-tg-btn {
    padding: 6px 11px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .nav-menu {
    top: 58px;
  }
}
