/* ================= CSS VARIABLES & DESIGN SYSTEM ================= */
:root {
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

  /* teens-x Brand Colors â€” Ultra Premium Dark Palette */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --bg-card: rgba(15, 15, 15, 0.6);

  --accent-purple: #8b5cf6;
  --accent-purple-hover: #a78bfa;
  --accent-pink: #f43f5e;
  --accent-pink-hover: #fb7185;

  --accent-color: #f43f5e;
  --accent-hover: #fb7185;
  --accent-glow: rgba(244, 63, 94, 0.25);
  --pink-glow: rgba(244, 63, 94, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;

  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.15);
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --info: #3b82f6;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(244, 63, 94, 0.5);

  /* Glassmorphism */
  --glass-bg: rgba(15, 15, 15, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(24px);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);

  --border-radius-xl: 24px;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ================= BASE RESET ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Accessible focus ring for keyboard users */
*:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}

/* Prevent widows on headings */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= AMBIENT GLOW ================= */
.glow-bg {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: glowFloat 8s ease-in-out infinite;
}

.glow-bg-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.glow-bg-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.14) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
  animation-delay: -3s;
}

.glow-bg-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -6s;
}

@keyframes glowFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* ================= SCROLLBAR ================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.6); }

/* ================= UTILITIES ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.font-weight-bold { font-weight: 600; }
.text-center { text-align: center; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.w-full { width: 100%; }

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-lg);
  padding: 24px;
}

.glass-card-nested {
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: var(--border-radius-md);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 20px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-hover) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(42, 171, 238, 0.3);
  padding: 8px 18px;
  font-size: 13px;
}
.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.45);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 14px var(--success-glow);
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--success-glow);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
  border-radius: var(--border-radius-sm);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: var(--border-radius-md);
}

.btn-block {
  width: 100%;
  display: flex;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ================= NAVBAR ================= */
.navbar {
  height: auto;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: sticky;
  top: 20px;
  z-index: 1000;
  transition: var(--transition-bounce);
  padding: 0 20px;
}

.navbar.scrolled {
  top: 10px;
}

.navbar.scrolled .nav-container {
  background: rgba(10, 10, 10, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-bounce);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-wrapper {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.logo-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.logo-icon {
  font-size: 18px;
  color: #fff;
  text-shadow: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-accent {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Lang Switcher */
.lang-selector {
  display: flex;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 2px;
  border-radius: var(--border-radius-sm);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-display);
}

.lang-btn.active {
  background: var(--accent-color);
  color: #fff;
}

/* Auth Controls */
.auth-controls { display: flex; gap: 8px; }

/* User Controls */
.user-controls { position: relative; }

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.user-badge:hover { border-color: var(--accent-color); }

.avatar-icon { font-size: 20px; color: var(--accent-color); }
.arrow-icon { font-size: 14px; color: var(--text-secondary); transition: transform 0.3s; }
.user-controls.active .arrow-icon { transform: rotate(180deg); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  min-width: 160px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1100;
}
.user-dropdown.show { display: flex; }

.dropdown-item {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 13px;
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}
.dropdown-item:hover { background: rgba(139, 92, 246, 0.06); }
.dropdown-item.text-danger:hover { background: var(--danger-glow); }

/* Burger Button */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1200;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 999;
  padding: 24px;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateY(0); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}
.mobile-nav-link:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.06);
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(244, 63, 94, 0.12) 0%, rgba(139, 92, 246, 0.08) 30%, var(--bg-primary) 70%);
  margin-top: -100px;
  padding-top: 100px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(244, 63, 94, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
  z-index: 1;
}

.hero-content {
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Hero Top Badge */
.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
}

.badge-icon {
  color: var(--accent-pink);
  background: rgba(244, 63, 94, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-text {
  color: var(--text-secondary);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-item i {
  font-size: 24px;
  color: var(--accent-purple);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-info strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.stat-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Media */
.hero-media-container {
  position: relative;
  z-index: 1;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-xl);
  overflow: visible;
}

.hero-model-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
  transition: opacity 0.45s ease, transform 0.45s ease;
  opacity: 1;
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-badge-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

.floating-badge-header i {
  color: var(--accent-pink);
}

.floating-badge-avatars {
  display: flex;
  align-items: center;
}

.floating-badge-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  margin-left: -10px;
  object-fit: cover;
}

.floating-badge-avatars img:first-child {
  margin-left: 0;
}

.watching-count {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ================= DASHBOARD ================= */
.dashboard-panel {
  margin: 40px 0;
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title i { color: var(--accent-color); }

.section-title-big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}
#sub-status-badge.active {
  background: var(--success-glow);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}
#sub-status-badge.expired {
  background: var(--danger-glow);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.3);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 20px;
}

.sub-info-card, .orders-history-card {
  background: rgba(139, 92, 246, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 20px;
}

.sub-info-card h4, .orders-history-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.sub-plan-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.sub-expiry-date { color: var(--text-secondary); font-size: 13px; margin-bottom: 20px; }

.progress-container { margin-top: 20px; }
.progress-bar-wrapper {
  background: var(--bg-tertiary);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.progress-bar-fill {
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  width: 0%;
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease-out;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.table-wrapper { overflow-x: auto; max-height: 175px; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.orders-table th {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 500;
}
.orders-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.04);
  color: var(--text-primary);
}

.status-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.status-badge.completed { background: var(--success-glow); color: var(--success); }
.status-badge.pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-badge.rejected { background: var(--danger-glow); color: var(--danger); }

/* ================= CATALOG SECTION ================= */
.catalog-section {
  padding: 80px 0;
}

.section-header-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px auto;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Duration Tabs */
.duration-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.duration-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 22px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
}
.duration-tab:hover { color: var(--text-primary); }
.duration-tab.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-hover));
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.category-tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.category-tab-btn:hover { border-color: rgba(139, 92, 246, 0.4); color: var(--text-primary); }
.category-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-hover));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* Tariffs Grid */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.tariff-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.tariff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.15);
}

.tariff-media {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}
.tariff-media img, .tariff-media video { width: 100%; height: 100%; object-fit: cover; }

.tariff-media-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(236, 72, 153, 0.06) 100%);
}

.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.tariff-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tariff-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tariff-duration {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tariff-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.tariff-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.tariff-footer .btn-primary {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.original-price {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.effective-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================= FEATURES SECTION ================= */
.features-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.04), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.icon-pink {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-pink);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.feature-link {
  font-size: 13px;
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.feature-link:hover {
  color: var(--accent-pink);
}

/* ================= REVIEWS SECTION ================= */
.reviews-section {
  padding: 80px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  transition: var(--transition-smooth);
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.25);
}

.review-stars {
  font-size: 18px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

.review-avatar {
  font-size: 28px;
  color: var(--accent-purple);
}

/* ================= FAQ SECTION ================= */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.03), transparent);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* Accordion */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.open {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
}

.faq-question {
  width: 100%;
  background: var(--bg-secondary);
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
  font-family: var(--font-family);
}
.faq-question:hover { background: rgba(139, 92, 246, 0.04); }

.faq-arrow {
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent-purple); }

.faq-answer {
  background: var(--bg-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* FAQ Telegram Card */
.faq-tg-card {
  position: sticky;
  top: 90px;
  text-align: center;
}

.faq-tg-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
}

.faq-tg-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-tg-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 28px 0;
  background: var(--bg-secondary);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 12px;
}

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: var(--transition-smooth);
}
.footer-link:hover { color: var(--text-secondary); }

/* ================= MODALS ================= */
.modal-wrapper {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-wrapper.show { display: flex; opacity: 1; }

.modal-card {
  max-width: 480px;
  width: 100%;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-wrapper.show .modal-card { transform: translateY(0); }

.modal-lg { max-width: 680px; }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.btn-close-modal {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.btn-close-modal:hover { color: var(--text-primary); border-color: var(--text-muted); }

/* Form Controls */
.input-group { margin-bottom: 16px; }
.input-group label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrapper i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 16px;
}
.input-wrapper input {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 10px 14px 10px 40px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition-smooth);
  font-family: var(--font-family);
}
.input-wrapper input:focus-visible {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.35);
  outline: none;
}

.error-message {
  color: var(--danger);
  font-size: 12px;
  margin-bottom: 12px;
  min-height: 18px;
}

.auth-toggle {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
}
.auth-toggle button {
  background: transparent;
  border: none;
  color: var(--accent-purple);
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
  transition: var(--transition-smooth);
}
.auth-toggle button:hover { color: var(--accent-pink); text-decoration: underline; }

/* Input Hints */
.input-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  padding-left: 2px;
  line-height: 1.4;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}
.auth-divider span {
  flex-shrink: 0;
}

/* ================= CHECKOUT ================= */
.checkout-summary {
  padding: 16px;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}
.summary-row:last-child {
  margin-bottom: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}
.summary-row .label { color: var(--text-secondary); }
.summary-row .price-tag {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-purple);
}

.payment-methods-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.payment-method-item:hover { border-color: rgba(139, 92, 246, 0.3); }
.payment-method-item.selected {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.06);
}

.method-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
}
.payment-method-item.selected .method-icon-box {
  background: var(--accent-purple);
  color: #fff;
}

.method-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}

.btn-back-step {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}
.btn-back-step:hover { color: var(--text-primary); }

.payment-instruction-card {
  padding: 20px;
  border-radius: var(--border-radius-md);
}
.payment-instruction-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.payment-media {
  max-width: 150px;
  margin: 15px auto;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}
.payment-media img { width: 100%; display: block; }

.payment-details-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-line;
}

/* Upload Box */
.receipt-upload-box {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.receipt-upload-box:hover, .receipt-upload-box.dragover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.04);
}

.upload-icon {
  font-size: 40px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.receipt-upload-box:hover .upload-icon { color: var(--accent-purple); }

.upload-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.upload-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.selected-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-tertiary);
  padding: 10px 16px;
  border-radius: var(--border-radius-md);
  margin-top: 12px;
  font-size: 13px;
  border: 1px solid var(--border-color);
}
.selected-file-info i { color: var(--accent-purple); font-size: 16px; }
.selected-file-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-remove-file {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition-smooth);
}
.btn-remove-file:hover { color: var(--danger); }

.info-message {
  padding: 10px 14px;
  border-radius: var(--border-radius-md);
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.info-message.success { background: var(--success-glow); color: var(--success); border-color: rgba(16, 185, 129, 0.2); }
.info-message.error { background: var(--danger-glow); color: var(--danger); border-color: rgba(239, 68, 68, 0.2); }
.info-message.warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border-color: rgba(245, 158, 11, 0.2); }

/* ================= TOAST NOTIFICATIONS ================= */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--border-radius-md);
  font-size: 13px;
  font-family: var(--font-family);
  min-width: 280px;
  max-width: 360px;
  backdrop-filter: blur(16px);
  border: 1px solid transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: auto;
  cursor: pointer;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  position: relative;
  overflow: hidden;
}

.toast::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  animation: toastProgress 3.5s linear forwards;
}

.toast.success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: #d1fae5;
}
.toast.success::after { background: var(--success); }

.toast.error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color: #fee2e2;
}
.toast.error::after { background: var(--danger); }

.toast.info {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.25);
  color: #ede9fe;
}
.toast.info::after { background: var(--accent-purple); }

.toast.warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fef3c7;
}
.toast.warning::after { background: var(--warning); }

.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-text { flex: 1; line-height: 1.4; }
.toast-close {
  font-size: 16px;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.toast:hover .toast-close { opacity: 1; }

.toast.hiding {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; max-height: 80px; margin-bottom: 0; }
  to { transform: translateX(120%); opacity: 0; max-height: 0; margin-bottom: -10px; }
}
@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* ================= PARTICLES CANVAS ================= */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ================= POPULAR BADGE ON TARIFF ================= */
.tariff-card.popular {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 12px 40px rgba(139, 92, 246, 0.15);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 5px 16px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  white-space: nowrap;
  z-index: 2;
}

/* ================= ANIMATIONS ================= */
@keyframes slideInUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

@keyframes floatIn {
  from { transform: translateY(20px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ===== Scroll Animations ===== */
.anim-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Floating CTA Button ===== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: floatIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.floating-cta .btn {
  padding: 14px 24px;
  font-size: 14px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5), 0 2px 8px rgba(0,0,0,0.3);
  gap: 10px;
}

.floating-cta .btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.6);
}

@media (max-width: 480px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
  }
  .floating-cta .btn { padding: 12px 18px; font-size: 13px; }
}

/* ===== Password Eye Toggle ===== */
.btn-eye {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  z-index: 1;
}
.btn-eye:hover { color: var(--accent-purple); }

/* Adjust password input padding for eye button */
.input-wrapper:has(.btn-eye) input {
  padding-right: 42px;
}

/* ===== Skeleton Loader ===== */
.skeleton-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: linear-gradient(
    135deg,
    var(--bg-tertiary) 0%,
    rgba(139, 92, 246, 0.06) 50%,
    var(--bg-tertiary) 100%
  );
  animation: skeletonPulse 1.6s ease-in-out infinite;
}

.skeleton-body {
  padding: 20px;
}

.skeleton-line {
  height: 14px;
  border-radius: 7px;
  background: var(--bg-tertiary);
  margin-bottom: 10px;
  animation: skeletonPulse 1.6s ease-in-out infinite;
}
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-50 { width: 50%; animation-delay: 0.2s; }
.skeleton-line.w-90 { width: 90%; animation-delay: 0.1s; }

.skeleton-btn {
  height: 42px;
  border-radius: var(--border-radius-md);
  background: var(--bg-tertiary);
  margin-top: 16px;
  animation: skeletonPulse 1.6s ease-in-out infinite;
  animation-delay: 0.3s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-media-container {
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-tg-card { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-telegram { display: none; }
  .burger-btn { display: flex; }

  .hero { min-height: auto; padding: 40px 0 60px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 14px; }
  .section-title-big { font-size: 26px; }

  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .feature-card { flex-direction: row; }

  .dashboard-grid { grid-template-columns: 1fr; }

  .catalog-section { padding: 50px 0; }
  .tariffs-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .category-tabs::-webkit-scrollbar { display: none; }
  .category-tab-btn { flex-shrink: 0; }

  .faq-layout { gap: 24px; }
  .reviews-section { padding: 50px 0; }
  .faq-section { padding: 50px 0; }

  .footer-container { flex-direction: column; text-align: center; }
  .footer-left { flex-direction: column; align-items: center; gap: 8px; }

  .modal-card { margin: 0 8px; }
  .glass-card { padding: 18px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 13px; }
  .hero-badges { gap: 12px; }
  .hero-badge { font-size: 12px; }
  .hero-badge i { font-size: 18px; padding: 6px; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .auth-controls { gap: 6px; }
  .auth-controls .btn-secondary { display: none; }
  .auth-controls .btn-primary { padding: 8px 14px; font-size: 12px; }

  .tariffs-grid { grid-template-columns: 1fr; }
  .section-title-big { font-size: 22px; }

  .duration-tabs {
    flex-wrap: wrap;
    border-radius: var(--border-radius-lg);
    width: 100%;
    justify-content: center;
  }

  .feature-card { flex-direction: column; }
  .feature-icon { align-self: flex-start; }

  .modal-card { padding: 16px; border-radius: var(--border-radius-lg); }
}

