/* LetsPlay - Django CSS */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ==================== Variables ==================== */
:root {
  --color-primary: #1A2332;
  --color-secondary: #2A3F5F;
  --color-accent: #00BCD4;
  --color-accent-hover: #00ACC1;
  --color-card: #243447;
  --color-white: #ffffff;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-gradient-start: #1A2332;
  --color-gradient-via: #1E3A52;
  --color-gradient-end: #1A2332;
  
  --font-size-base: 16px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2rem;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==================== Reset & Base ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  color: var(--color-white);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* svg не растягиваем глобально */
svg {
    max-width: none;
    height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==================== Animated Gradient Background ==================== */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.gradient-layer-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-via) 50%, var(--color-gradient-end) 100%);
  background-size: 200% 200%;
  animation: gradient 15s ease infinite;
}

.gradient-layer-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0, 188, 212, 0.05) 0%, transparent 50%, rgba(0, 188, 212, 0.1) 100%);
  background-size: 400% 400%;
  animation: gradient-slow 20s ease infinite;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradient-slow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* ==================== Container ==================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==================== Utilities ==================== */
.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* ==================== Icons ==================== */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 35, 50, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-box {
  padding: 0.5rem 1rem;
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
}

.logo-footer {
  margin-bottom: 1rem;
}

/* Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color var(--transition-normal);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-number {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .phone-number {
    display: flex;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 1.5rem;
  color: var(--color-white);
  transition: color var(--transition-normal);
}

.mobile-menu-btn:hover {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
  
  .btn-primary:not(.btn-full) {
    display: inline-flex;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 7rem;
  border-top: 1px solid var(--color-border);
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-white);
}

/* ==================== Hero Section ==================== */
.hero-section {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 10rem 0 6rem;
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 9999px;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 2rem;
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  animation: fadeInUp 0.8s ease;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.title-highlight {
  display: block;
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
}

.title-white {
  display: block;
  color: var(--color-white);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.console-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

.console-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  color: var(--color-white);
  transition: all var(--transition-normal);
}

.console-btn:hover,
.console-btn.active {
  background: rgba(0, 188, 212, 0.1);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.console-name {
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
}

.console-price {
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.decoration-1 {
  top: 10%;
  right: 0;
  width: 400px;
  height: 400px;
  background: var(--color-accent);
}

.decoration-2 {
  bottom: 10%;
  left: 0;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== Stats Section ==================== */
.stats-section {
  padding: 4rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.1);
  border-radius: var(--border-radius-md);
  color: var(--color-accent);
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ==================== Features Section ==================== */
.features-section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.2);
  border-radius: var(--border-radius-lg);
  color: var(--color-accent);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ==================== Page Sections ==================== */
.page-section {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}

.page-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-header h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
     margin-bottom: 32px;
  }
}

.page-header p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ==================== Products ==================== */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  border-radius: 9999px;
  z-index: 10;
}

.product-content {
  padding: 1.5rem;
}

.product-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.star {
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.2);
}

.star.filled {
  color: #fbbf24;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-white);
  transition: color var(--transition-normal);
}

.product-card:hover .product-name {
  color: var(--color-accent);
}

.product-features {
  margin-bottom: 1.5rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.product-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.price-old {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

/* ==================== Reviews ==================== */
.stats-banner {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 188, 212, 0.05) 100%);
  border: 2px solid rgba(0, 188, 212, 0.3);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .stats-banner {
    padding: 3rem;
  }
}

.stats-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-banner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stats-banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-banner-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.2);
  border-radius: 50%;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.stats-banner-icon svg {
  width: 2rem;
  height: 2rem;
}

.stats-banner-value {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.stats-banner-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.review-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.quote-icon {
  margin-bottom: 1.5rem;
  color: rgba(0, 188, 212, 0.4);
}

.quote-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.review-header {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.review-avatar {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, #00ACC1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  border: 2px solid rgba(0, 188, 212, 0.5);
}

.review-header h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.review-date {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.review-rating {
  display: flex;
  gap: 0.25rem;
}

.review-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.review-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition-normal);
}

.review-action:hover {
  color: var(--color-accent);
}

/* ==================== CTA Section ==================== */
.cta-section {
  padding: 4rem 0;
}

.cta-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4rem 3rem;
  }
}

.cta-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.2);
  border-radius: 50%;
  color: var(--color-accent);
}

.cta-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.cta-card h2 {
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== About Page ==================== */
.info-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 188, 212, 0.3);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .info-card {
    padding: 3rem;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: var(--border-radius-md);
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
  margin-bottom: 1.5rem;
}

.info-grid h2 {
  margin-bottom: 1.5rem;
}

.info-grid p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.decoration-box {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 188, 212, 0.05) 100%);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.decoration-icon {
  width: 8rem;
  height: 8rem;
  color: rgba(0, 188, 212, 0.4);
}

.mission-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.mission-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.2);
  border-radius: var(--border-radius-lg);
  color: var(--color-accent);
}

.mission-icon svg {
  width: 2rem;
  height: 2rem;
}

.mission-section h2 {
  margin-bottom: 1rem;
}

.mission-section p {
  font-size: 1.125rem;
  line-height: 1.7;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.advantage-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.advantage-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.advantage-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 188, 212, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--color-accent);
}

.advantage-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.advantage-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.advantage-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  background: rgba(36, 52, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.team-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.team-avatar {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, #00ACC1 100%);
  border-radius: 50%;
  color: var(--color-white);
}

.team-avatar svg {
  width: 2rem;
  height: 2rem;
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-bottom: 1rem !important;
}

.team-card p:not(.team-role) {
  margin-bottom: 0;
}

/* ==================== Footer ==================== */
.footer {
  background: rgba(26, 35, 50, 0.95);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contacts p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ==================== Responsive ==================== */
@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .hero-section {
    padding: 6rem 0 3rem;
  }
  
  .page-section {
    padding: 6rem 0 3rem;
  }
}
.cart-icon {
  position: relative;
  margin-left: 20px;
  color: white;
  transition: transform 0.2s ease;
}

.cart-icon:hover {
  transform: scale(1.1);
  color: #00bcd4;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: #ff4d4f;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  line-height: 1;
}



#extraFilters {
    margin-top: 10px;
    margin-bottom: 20px;
}

.filter-subgroup {
    margin-bottom: 10px;
}

.filter-label {
    margin-right: 10px;
    font-weight: 600;
}

.messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.alert.success {
    background-color: rgba(0, 200, 83, 0.15);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.alert.error {
    background-color: rgba(255, 82, 82, 0.15);
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.3);
}
.toast-container {
  position: fixed;
  top: 80px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}

.toast {
  background-color: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  font-size: 15px;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.5s ease;
}

.toast.error {
  background-color: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: #ff5252;
}


.toast {
  position: fixed;
  top: 100px;
  right: 40px;
  background-color: rgba(0, 200, 83, 0.9);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  z-index: 9999;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.toast.hide {
  opacity: 0;
  transform: translateY(-20px);
}
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.filter-btn {
    padding: 10px 18px;
    background: #f2f2f2;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    transition: background 0.25s, border-color 0.25s;
}

.filter-btn:hover {
    background: #e8e8e8;
    border-color: #bbb;
}

.filter-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}


/* Корзина в шапке */
.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
}

.cart-icon svg {
    display: block;
}

/* Бейджик с количеством */
.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #00BCD4;
    color: #ffffff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    font-weight: 600;
}
/* SEO-блок на главной */
.seo-section {
    margin: 64px 0 80px;
}

.seo-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 40px;
    padding: 32px 28px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(0,188,212,0.12), transparent 55%)
                rgba(3, 22, 52, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
}

.seo-main {
    color: #ffffff;
}

.seo-kicker {
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}

.seo-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.seo-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin-bottom: 10px;
}

.seo-text strong {
    color: #ffffff;
}

.seo-link {
    color: #00e5ff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.seo-link:hover {
    color: #80ffff;
}

/* Правая колонка */
.seo-side {
    align-self: stretch;
    padding: 20px 20px 22px;
    border-radius: 20px;
    background: rgba(2, 22, 40, 0.9);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #ffffff;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,188,212,0.16);
    font-size: 12px;
    color: #aeefff;
    align-self: flex-start;
}

.seo-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #00e676;
}

.seo-side-title {
    font-size: 18px;
    margin-top: 4px;
}

.seo-side-text {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,0.78);
}
.seo-list li + li {
    margin-top: 4px;
}

.seo-side-btn {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #00bcd4;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease, transform .1s ease;
}
.seo-side-btn:hover {
    background: #00acc1;
    transform: translateY(-1px);
}
.delivery-card {
  margin-top: 48px;
  padding: 32px 40px;
  border-radius: 32px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  background: linear-gradient(135deg, rgba(3, 24, 52, 0.96), rgba(5, 39, 72, 0.96));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  color: #eaf5ff;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.delivery-card h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.delivery-list {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.delivery-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 16px;
}

.delivery-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00e5ff;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18);
}

.delivery-note {
  font-size: 14px;
  color: rgba(234,245,255,0.8);
  margin-top: 4px;
}

.delivery-map-section {
  margin-top: 56px;
}

.delivery-map-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.delivery-map-text h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.delivery-map-text p {
  font-size: 15px;
  color: rgba(234,245,255,0.85);
  margin-bottom: 12px;
}

.delivery-legend {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}

.delivery-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot--city {
  background: #00e5ff;
}

.legend-dot--near {
  background: #00ff88;
}

.legend-dot--far {
  background: #ffcc00;
}

.delivery-map-wrap {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

#delivery-map {
  width: 100%;
  min-height: 360px;
}

/* адаптив */
@media (max-width: 900px) {
  .delivery-map-inner {
    grid-template-columns: 1fr;
  }

  .delivery-map-wrap {
    order: -1; /* карта сверху на мобилке */
  }
}
.legend-dot--rf {
    background: linear-gradient(135deg, #00aaff, #66ddff);
}
/* Кнопка "назад" на сервисных страницах */
.lp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    text-decoration: none;
}

.lp-back-btn svg {
   width: 18px;
    height: 18px;
}

.lp-back-btn:hover {
     color: #00bcd4;
}
/* ===== Гарантия ===== */

.warranty-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 28px;
}

/* Основные карточки */
.warranty-card {
    padding: 28px 32px;
    border-radius: 32px;

    background: rgba(5, 28, 60, 0.78);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.warranty-card h2 {
    font-size: 24px;
    margin-bottom: 18px;
}

/* Список сроков гарантии */
.warranty-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.warranty-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: rgba(235,245,255,0.9);
}

.warranty-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #00e5ff;
    box-shadow: 0 0 0 4px rgba(0,229,255,0.18);
    position: absolute;
    left: 3px;
    top: 8px;
}

/* Шаги обслуживания */
.warranty-steps {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.warranty-steps li {
    margin-bottom: 14px;
    font-size: 15px;
    color: rgba(235,245,255,0.9);
}

.warranty-step-title {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.warranty-note {
    margin-top: 14px;
    font-size: 14px;
    color: rgba(230,240,255,0.75);
}

/* Нижняя карточка-помощник */
.warranty-help-card {
    margin-top: 32px;
    padding: 24px 28px;
    border-radius: 28px;

    background:
      radial-gradient(circle at top left,
                      rgba(0, 229, 255, 0.15), transparent 60%)
      rgba(4, 26, 55, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}

.warranty-help-card h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.warranty-help-card p {
    font-size: 14px;
    color: rgba(235,245,255,0.86);
}

.warranty-help-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.warranty-grid,
.warranty-help-card {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.warranty-grid,
.warranty-first-card {
    max-width: 980px;
    margin: 0 auto;
}
.page-header {
    margin-bottom: 28px; /* было меньше */
}
.warranty-steps li {
    position: relative;
    padding-left: 26px;
}

.warranty-steps li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    color: #02101c;
    font-weight: 700;
}
.warranty-card h2 {
    font-size: 22px;
}
.page-header {
    margin-bottom: 64px;
}

.warranty-steps {
    counter-reset: step;
}
.warranty-help-card {
    background:
      radial-gradient(circle at top left,
                      rgba(0, 229, 255, 0.18), transparent 60%)
      rgba(4, 26, 55, 0.96);
}

/* Адаптив */
@media (max-width: 768px) {
    .warranty-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .warranty-card h2 {
        font-size: 20px;
    }

    .warranty-help-card {
        padding: 20px 16px;
        border-radius: 22px;
    }
}


@media (max-width: 550px) {
    .lp-back-btn {
        margin-bottom: 18px;
        padding: 6px 10px;
        font-size: 13px;
    }
    .lp-back-btn svg {
        width: 18px;
        height: 18px;
    }
}


/* Адаптив */
@media (max-width: 1024px) {
    .seo-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}

@media (max-width: 640px) {
    .seo-title {
        font-size: 22px;
    }
    .seo-section {
        margin: 40px 0 56px;
    }
}

@media (max-width: 768px) {
    .warranty-grid,
    .warranty-help-card {
        max-width: 100%;
        margin-inline: 0;
    }
}