/* ===== Beauty Pass - Professional Stylesheet ===== */

/* ===== RESPONSIVE BREAKPOINTS =====
 * Mobile Small:   < 576px  (Small phones)
 * Mobile Large:   576-767px (Large phones)
 * Tablet:         768-991px (iPad, tablets)
 * Desktop Small:  992-1199px (Small laptops)
 * Desktop:        1200-1919px (Standard desktops)
 * Desktop Large:  >= 1920px (Large screens)
 *
 * Navigation Logic:
 * - Desktop (992px+): Show .nav-links, .auth-actions | Hide .hamburger, .mobile-menu
 * - Mobile/Tablet (< 992px): Show .hamburger, .mobile-menu | Hide .nav-links, .auth-actions
 */

/* CSS Variables */
:root {
  /* Primary Colors - Premium Rose Pink */
  --primary: #e84393;
  --primary-dark: #c0392b;
  --primary-light: #fd79a8;
  --primary-pale: #ffeef5;
  --secondary: #6c5ce7;
  --secondary-light: #a29bfe;
  
  /* Accent Colors */
  --accent-blue: #0984e3;
  --accent-purple: #6c5ce7;
  --accent-pink: #e84393;
  --accent-orange: #fdcb6e;
  --accent-green: #00b894;

  /* Neutral Colors - More refined */
  --dark: #0c0c1e;
  --dark-medium: #1a1a2e;
  --text: #1a1a2e;
  --text-muted: #636e72;
  --text-light: #b2bec3;

  /* Background Colors - Cleaner */
  --bg-gradient-start: #ffffff;
  --bg-gradient-end: #fdf2f8;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-dark: #0c0c1e;

  /* Border & Dividers - Softer */
  --border-light: #f1f2f6;
  --border-color: #ffe4ee;

  /* Premium Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-colored: 0 10px 40px rgba(232, 67, 147, 0.25);
  --shadow-glow: 0 0 60px rgba(232, 67, 147, 0.3);

  /* Transitions - Smoother */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Border Radius - More refined */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;

  /* Container */
  --container-max: 1280px;
  --container-padding: 24px;
  
  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
  --gradient-pink: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
  --gradient-purple: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
  --gradient-premium: linear-gradient(135deg, #e84393 0%, #6c5ce7 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(232, 67, 147, 0.08) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, rgba(108, 92, 231, 0.08) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, rgba(253, 121, 168, 0.08) 0px, transparent 50%);
}

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

/* Prevent horizontal scroll on all elements */
* {
  max-width: 100%;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Base font-size for better readability */
  font-size: 15px;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Mobile-first: smaller font on very small screens */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
}

/* Larger screens: slightly bigger font */
@media (min-width: 1440px) {
  html {
    font-size: 16px;
  }
}

/* Hide About Us section from page flow - accessible via modal only */
.about-section {
  display: none;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: #fafafa;
  background-image: var(--gradient-mesh);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  letter-spacing: -0.011em;
  font-weight: 400;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 87, 108, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(156, 39, 176, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

a:hover {
  color: var(--primary);
}

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

ul {
  list-style: none;
}

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

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', 'Noto Sans Georgian', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0;
}

p {
  line-height: 1.6;
  letter-spacing: 0;
}

strong, b {
  font-weight: 600;
  letter-spacing: 0;
}

/* ===== Loading Screen ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: white;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-screen p {
  margin-top: var(--spacing-lg);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

/* ===== Header & Navigation ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

header.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  min-width: fit-content;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-size: 20px;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-family: 'Inter', 'Segoe UI', 'Noto Sans Georgian', sans-serif;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: all var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 1;
  max-width: fit-content;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition-normal);
}

.nav-links a:hover {
  color: var(--primary);
  background: transparent;
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: fit-content;
}

/* User Profile Badge (Desktop) */
.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-balance {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.user-profile-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.user-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  padding: 4px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  min-width: auto;
  justify-content: center;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  min-width: 70px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.lang-btn:hover {
  background: var(--primary-pale);
  color: var(--primary);
  transform: scale(1.02);
}

.lang-btn:active {
  transform: scale(0.98);
}

.lang-btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-sm);
  transform: scale(1);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.lang-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* Mobile Menu - hide on desktop only (992px+) */
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }

  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all var(--transition-normal);
  border: none;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  min-height: 48px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 67, 147, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 67, 147, 0.45);
}

.btn-primary:hover:not(:disabled)::before {
  left: 100%;
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-link {
  color: var(--primary);
  padding: 8px 12px;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-large {
  padding: 12px 22px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* Icon buttons for actions */
.btn-icon {
  background: none;
  border: none;
  padding: 6px 10px;
  margin: 0 4px;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover:not(:disabled) {
  background: var(--primary-pale);
  transform: scale(1.1);
}

.btn-icon:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-icon:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-icon.btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.1);
}

/* ===== Container & Layout ===== */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--container-padding);
  box-sizing: border-box;
}

.page-section {
  display: none;
  animation: fadeIn 0.5s ease;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.page-section.active {
  display: block;
}

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

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 50%, #2d3436 100%);
  color: white;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-4xl) var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--spacing-2xl);
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 67, 147, 0.3) 0%, transparent 70%);
  animation: floatOrb 15s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.25) 0%, transparent 70%);
  animation: floatOrb 20s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-badges {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease-out both;
  transition: all var(--transition-normal);
}

.hero-badge:nth-child(1) { animation-delay: 0.1s; }
.hero-badge:nth-child(2) { animation-delay: 0.2s; }
.hero-badge:nth-child(3) { animation-delay: 0.3s; }

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

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(232, 67, 147, 0.5);
  transform: translateY(-2px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md); /* move buttons slightly lower */
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
  margin-top: var(--spacing-2xl);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  flex: 1;
  max-width: 280px;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 67, 147, 0.3);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  display: block;
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.stat-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-plus {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.stat-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.stat-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.stat-progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 2s infinite;
}

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

.stat-animated .stat-number {
  animation: countUp 1.5s ease-out;
}

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

/* ===== Carousel ===== */
.carousel-container {
  margin: var(--spacing-xl) 0;
}

.carousel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

/* Make carousel fill a consistent area and ensure slides stretch to fill it */
.carousel {
  min-height: 300px; /* adjust as needed */
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  align-items: stretch;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  box-sizing: border-box;
}

/* Ensure banners inside slides occupy available area */
.carousel-slide .banner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  box-sizing: border-box;
}

.carousel-slide {
  min-width: 100%;
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: var(--spacing-sm);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  transition: var(--transition-fast);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: var(--radius-full);
}

/* Marketing Banners */
.banner {
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner-hero {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.banner-discount {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: white;
  position: relative;
  overflow: hidden;
}

.banner-discount::before {
  /* Decorative watermark removed per user request */
  display: none;
}

.banner-services {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  color: #2d2d2d;
}

.banner h2, .banner h3 {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  width: 100%;
  text-align: center;
}

.banner .btn {
  margin-top: var(--spacing-2xl);
}

/* Make the discount banner more compact and reduce headline size */
.banner-discount {
  padding: var(--spacing-lg);
}

.banner-discount h3 {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  margin-bottom: var(--spacing-xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.banner-discount p {
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.95;
  font-weight: 600;
  display: block;
  margin-bottom: var(--spacing-xs);
  width: 100%;
  text-align: center;
}

.banner-discount p:last-child {
  margin-bottom: 0;
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin: var(--spacing-3xl) 0 var(--spacing-2xl);
  position: relative;
}

/* Hide section headers when followed by empty grids */
.section-header:has(+ .salons-grid:empty),
.section-header:has(+ .services-grid:empty),
.section-header:has(+ .tariffs-grid:empty) {
  display: none;
}

.salons-grid:empty,
.services-grid:empty,
.tariffs-grid:empty {
  display: none;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.03em;
}

.section-header h2 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Grid Layouts ===== */
.salons-grid,
.services-grid,
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: var(--spacing-lg);
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(232, 67, 147, 0.2);
}

.salon-card {
  position: relative;
  overflow: hidden;
}

/* Modern Card Enhancements */
.modern-card {
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.95) 100%);
  position: relative;
}

.card-badge-top {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
  flex-direction: column;
  align-items: flex-end;
}

.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: fadeInScale 0.5s ease-out;
}

.badge-premium {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

.badge-popular {
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  color: white;
}

.badge-save {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
}

/* Salon Card Modern Styles */
.salon-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-right: 100px;
}

.salon-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  animation: bounceIn 0.6s ease-out;
}

.salon-info-main {
  flex: 1;
}

.salon-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  width: fit-content;
}

.stars {
  font-size: 14px;
  letter-spacing: 2px;
}

.rating-value {
  font-weight: 700;
  color: #FFD700;
  font-size: 16px;
}

.rating-count {
  color: var(--text-muted);
  font-size: 13px;
}

.salon-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.modern-tag {
  background: var(--primary-pale);
  border: 1px solid var(--primary-light);
  transition: all 0.3s ease;
  font-size: 0.8rem;
  padding: 4px 10px;
}

.more-tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
}

.card-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.btn-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-modern:hover .btn-arrow {
  transform: translateX(5px);
}

/* Salon Detail Modal */
.salon-detail-body {
  max-height: 80vh;
  overflow-y: auto;
}

.salon-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.gallery-item {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.salon-detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text);
}

.location-icon {
  font-size: 1.2rem;
}

.detail-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.detail-phone a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.detail-phone a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.phone-icon {
  font-size: 1.2rem;
}

.detail-map {
  margin: 8px 0;
}

.detail-map iframe {
  border: 2px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.rating-stars {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFD700;
}

.rating-reviews {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.detail-services h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.service-item-detail {
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
  transition: all 0.2s ease;
}

.service-item-detail:hover {
  background: var(--primary-pale);
  transform: translateX(5px);
}

.service-name {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.detail-actions {
  margin-top: 12px;
}

/* Service Card Simplified Styles */
.service-name-modern {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.service-category-modern {
  margin: 8px 0;
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0;
  justify-content: center;
}

.service-discount {
  text-align: right;
  margin-top: 8px;
}

.discount-badge {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

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

.price-current {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bp-amount {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.service-progress {
  margin-top: 16px;
}

.progress-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar-container {
  height: 6px;
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  transition: width 1s ease-out;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 2s infinite;
}

/* Tariff Card Modern Styles */
.tariff-popular {
  position: relative;
  border: 3px solid var(--primary);
  transform: scale(1.05);
}

.popular-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 6px 40px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  z-index: 10;
}

.tariff-icon-header {
  text-align: center;
  margin-bottom: 16px;
}

.tariff-icon-big {
  font-size: 4rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
  animation: bounceIn 0.8s ease-out;
}

.tariff-label-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.tariff-perks {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.tariff-price-section {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(156, 39, 176, 0.05));
  border-radius: var(--radius-lg);
  margin: 16px 0;
}

.price-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.amount {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.bp-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  width: fit-content;
  margin: 0 auto;
}

.bp-icon {
  font-size: 18px;
}

.bp-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.bp-save {
  font-size: 11px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border-radius: 10px;
  font-weight: 700;
}

.features-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 107, 157, 0.05);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 107, 157, 0.1);
  transform: translateX(5px);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
}

.tariff-progress-section {
  margin: 16px 0;
}

.value-indicator {
  background: var(--bg-light);
  padding: 12px;
  border-radius: 8px;
}

.indicator-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.indicator-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.indicator-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.indicator-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 2s infinite;
}

.btn-tariff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
}

.sparkle {
  animation: sparkleRotate 2s linear infinite;
}

@keyframes sparkleRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
}

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

/* ===== Community Chat FAB ===== */
.community-chat-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  z-index: 9999;
  animation: pulse 2s infinite;
  white-space: nowrap;
  overflow: visible;
  min-width: max-content;
}

.community-chat-fab:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(156, 39, 176, 0.6);
}

.chat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.chat-label {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .community-chat-fab {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    gap: 8px;
  }
  
  .chat-icon {
    font-size: 1.1rem;
  }
  
  .chat-label {
    font-size: 0.8rem;
  }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(255, 107, 157, 0.6); }
}

/* ===== Modal Tabs ===== */
.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-btn {
  padding: 10px 20px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: var(--primary-pale);
}

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

.salon-tab {
  display: none;
}

.salon-tab.active {
  display: block;
}

/* ===== Reviews ===== */
.reviews-container {
  padding: 20px;
}

.review-form {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.review-form h4 {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
}

.rating-input {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.rating-input .star {
  font-size: 2rem;
  cursor: pointer;
  color: #FFD700;
  transition: transform 0.2s ease;
}

.rating-input .star:hover {
  transform: scale(1.2);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-name {
  font-weight: 600;
  color: var(--text);
}

.review-rating {
  font-size: 1rem;
}

.review-comment {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}

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

.no-reviews {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* ===== Chat ===== */
.chat-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 60vh;
}

.chat-container h3 {
  margin-bottom: 16px;
}

.chat-topics {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.topic-btn {
  padding: 8px 16px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.topic-btn:hover {
  background: var(--primary-pale);
}

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

.chat-messages {
  flex: 1;
  overflow-y: auto;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  background: white;
  padding: 12px;
  border-radius: var(--radius-md);
  max-width: 70%;
  box-shadow: var(--shadow-sm);
}

.chat-message.own-message {
  background: linear-gradient(135deg, var(--primary-pale), rgba(255, 107, 157, 0.15));
  align-self: flex-end;
  border-left: 3px solid var(--primary);
}

.message-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.message-text {
  color: var(--text);
  line-height: 1.5;
  word-wrap: break-word;
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.no-messages {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.chat-input-container {
  display: flex;
  gap: 12px;
}

.chat-input-container .form-input {
  flex: 1;
}

.chat-login-prompt {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.chat-login-prompt p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.community-chat-body {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.salon-card::after {
  content: '?';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.salon-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.salon-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
  letter-spacing: 0;
  transition: color 0.3s ease;
}

.card:hover .salon-name {
  color: var(--secondary);
}

.salon-location {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
}

.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 4px 4px 0 0;
  transition: all 0.3s ease;
}

.card:hover .service-tag {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-2px);
}

.service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-info h3 {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  font-size: 1.05rem;
}

.service-category {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.tariff-card {
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.tariff-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(232, 67, 147, 0.15);
}

.tariff-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.tariff-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.tariff-price {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tariff-price small {
  font-size: 0.4em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.tariff-features {
  margin: var(--spacing-lg) 0;
}

.tariff-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.feature-card h3 {
  font-weight: 900;
  margin-bottom: var(--spacing-sm);
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Auth Cards ===== */
.auth-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-xl);
}

.card-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
}

.card-header p {
  color: var(--text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.form-input {
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all var(--transition-normal);
  background: #fafafa;
  box-sizing: border-box;
  min-height: 52px;
}

input[type="date"].form-input {
  padding: 13px 18px;
  line-height: 1.5;
  display: block;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(232, 67, 147, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-light);
}

.form-hint code {
  padding: 2px 6px;
  background: var(--primary-pale);
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: var(--primary);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.text-center {
  text-align: center;
}

/* 2FA Card */
.twofa-card {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
}

.twofa-card h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

/* ===== Profile & Dashboard ===== */
.profile-container,
.dashboard-container {
  max-width: 1000px;
  margin: 0 auto;
}

.profile-header,
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.profile-info h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.profile-info .text-muted {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ===== Balance Cards Grid ===== */
.balance-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.balance-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.balance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.25);
}

.balance-card.bp-card {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
}

.balance-card.bp-card:hover {
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.25);
}

.balance-icon {
  font-size: 42px;
  line-height: 1;
  flex-shrink: 0;
}

.balance-info {
  flex: 1;
}

.balance-label {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.balance-amount {
  display: block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== Profile Actions ===== */
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.profile-actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

/* ===== Gamification Section ===== */
.gamification-section {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
}

.level-card {
  background: linear-gradient(135deg, #f3f4f6, #fff);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid var(--primary-light);
}

.level-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.level-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.level-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.level-text {
  font-size: 18px;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.level-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.level-title {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.level-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.level-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-bar {
  height: 12px;
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 20px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.15);
}

.stat-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.achievements-section h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.achievement-badge {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
  cursor: pointer;
}

.achievement-badge.unlocked {
  background: linear-gradient(135deg, #fff9e6, #fff);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.achievement-badge.unlocked:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.achievement-badge.locked {
  opacity: 0.5;
  filter: grayscale(100%);
}

.achievement-icon {
  font-size: 36px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.achievement-name {
  font-size: 11px;
  text-align: center;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}

.achievement-badge.locked .achievement-name {
  color: var(--text-muted);
}

/* ===== User ID Card ===== */
.user-id-card {
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.user-id-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.user-id-card strong {
  font-weight: 600;
  margin-right: 8px;
}

.profile-section,
.dashboard-card {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 28px 32px;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.profile-section h3,
.dashboard-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ===== Tables ===== */
.table-responsive {
  overflow-x: auto;
  margin-top: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table thead {
  background: var(--bg-light);
  border-bottom: 2px solid var(--border-light);
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.data-table tbody tr {
  transition: var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--primary-pale);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-booked {
  background: #e7f5ff;
  color: #0066cc;
}

.status-cancelled {
  background: #fff0f0;
  color: #cc0000;
}

.status-completed {
  background: #e7f9e7;
  color: #00cc00;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: min(600px, 94vw);
  max-width: 94vw;
  max-height: 90vh;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  overflow: visible;
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  transition: var(--transition-normal);
  background: var(--bg-white);
}

.modal-close:hover {
  background: var(--primary-pale);
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--spacing-xl);
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

/* Info card for displaying details */
.info-card {
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  line-height: 1.8;
}

.info-card div {
  padding: 4px 0;
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  top: 90px;
  right: var(--spacing-md);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-width: 400px;
}

.toast {
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--primary);
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-success {
  border-left-color: #00cc00;
}

.toast-error {
  border-left-color: #cc0000;
}

.toast-icon {
  font-size: 1.5rem;
}

.toast-message {
  flex: 1;
  font-weight: 500;
  font-size: 0.95rem;
}

.toast-close {
  padding: var(--spacing-xs);
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* ===== Policy Pages ===== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.policy-content h1 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  color: var(--text);
}

.policy-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.policy-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.policy-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
  color: var(--text-muted);
}

.policy-content ul,
.policy-content ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-xl);
}

.policy-content li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
  color: var(--text-muted);
}

.policy-content ul li {
  list-style: disc;
}

.policy-content ol li {
  list-style: decimal;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: white;
  margin-top: var(--spacing-4xl);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  padding: var(--spacing-3xl) 0;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: white;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.footer-section p,
.footer-section li {
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-section a {
  transition: var(--transition-normal);
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-lg);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ===== Utility Classes ===== */
.text-muted {
  color: var(--text-muted);
}

.text-primary {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 6px 14px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ===== ?????????? ?????? ??? ???? ????????? ===== */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-title {
    font-size: 56px;
  }
  
  .salons-grid,
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
  .container {
    max-width: 1140px;
  }
  
  .salons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .salons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (768px - 991px) - iPad */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 20px;
  }
  
  .hero {
    padding: 60px 30px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .stat-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
  }
  
  .salons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .nav-links a {
    font-size: 14px;
  }
}

/* Mobile Large (576px - 767px) - Large phones */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
    padding: 15px;
  }
  
  .hero {
    padding: 50px 20px;
  }
  
  .hero-title {
    font-size: 30px;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .btn-large {
    width: 100%;
    padding: 14px 24px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .stat-item {
    width: 100%;
    padding: 20px;
  }
  
  .salons-grid,
  .services-grid,
  .tariffs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .carousel {
    height: 300px;
  }
}

/* Mobile Small (?? 575px) - iPhone, Android phones */
@media (max-width: 575px) {
  /* Container */
  .container {
    max-width: 100%;
    padding: 15px;
  }
  
  /* Hero Section */
  .hero {
    padding: 40px 15px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .hero-translation {
    font-size: 12px;
    display: block;
    margin-top: 8px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  /* Buttons */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .btn-large {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
  
  /* Stats - ??????????? ???? ??? ?????? */
  .hero-stats {
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
  }
  
  .stat-item {
    width: 100%;
    padding: 18px 15px;
    margin: 0;
  }
  
  .salons-grid,
  .services-grid,
  .tariffs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Navigation */
  .nav-container {
    padding: 12px 15px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .logo-icon {
    font-size: 22px;
  }
  
  .nav-links,
  .auth-actions {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  /* Carousel */
  .carousel {
    height: 250px;
  }
  
  .carousel-controls {
    padding: 0 10px;
  }
  
  /* Section Headers */
  .section-header {
    margin: 35px 0 25px;
    padding: 0;
  }
  
  .section-header h2 {
    font-size: 22px;
  }
  
  .section-header p {
    font-size: 13px;
  }
  
  /* Forms */
  .auth-card,
  .dashboard-card {
    padding: 20px 15px;
    margin: 0;
  }
  
  .form-input,
  .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 15px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
}

/* iPhone specific (?? 428px) */
@media (max-width: 428px) {
  body {
    -webkit-text-size-adjust: 100%;
  }
  
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  * {
    max-width: 100%;
  }
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Fix tap highlights */
  * {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.1);
  }
  
  /* Smaller text on very small screens */
  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 13px;
  }
  
  .stat-number {
    font-size: 26px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  /* Buttons */
  .btn {
    font-size: 14px;
    padding: 10px 18px;
  }
  
  .btn-large {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* Android phones (360px - 414px) */
@media (min-width: 360px) and (max-width: 414px) {
  .hero-title {
    font-size: 25px;
  }
  
  .stat-item {
    padding: 16px 12px;
  }
}

/* Small Android phones (?? 359px) */
@media (max-width: 359px) {
  .hero-title {
    font-size: 22px;
  }
  
  .hero-subtitle {
    font-size: 12px;
  }
  
  .btn-large {
    font-size: 13px;
    padding: 11px 16px;
  }
  
  .stat-number {
    font-size: 24px;
  }
}

/* Landscape orientation ?? ????????? */
@media (max-width: 991px) and (orientation: landscape) {
  .hero {
    padding: 30px 20px;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .stat-item {
    flex: 1 1 calc(33.333% - 10px);
  }
}

/* ===== MOBILE MENU (sync with HTML) ===== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-header .logo-icon {
  font-size: 28px;
}

.mobile-menu-header .logo-text {
  color: white !important;
  font-weight: 700;
  font-size: 18px;
  background: none !important;
  -webkit-text-fill-color: white !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.mobile-menu-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Mobile Menu Top Section (Profile Only) */
.mobile-menu-top {
  padding: 20px;
  background: var(--bg-white);
  border-bottom: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 80px;
}

.mobile-auth-buttons-compact {
  display: flex;
  gap: 12px;
  flex: 1;
  width: 100%;
}

.mobile-auth-buttons-compact .btn-sm {
  padding: 12px 20px;
  font-size: 15px;
  min-height: 48px;
  font-weight: 600;
  flex: 1;
}

.mobile-profile-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-pale), var(--bg-white));
  border: 2px solid var(--primary-light);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  min-height: 64px;
}

.mobile-profile-compact:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-pale));
  transform: scale(1.02);
}

.user-avatar-compact {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.mobile-profile-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: left;
}

.mobile-user-name-compact {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bp-compact {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.mobile-language-switcher {
  display: flex;
  gap: 4px;
  background: var(--bg-white);
  padding: 4px;
  border-radius: 20px;
  border: 2px solid var(--border-light);
}

.mobile-language-switcher {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
}

.mobile-language-switcher .lang-btn {
  flex: 1;
  min-width: auto;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.mobile-menu-section {
  display: flex;
  flex-direction: column;
}

.mobile-menu-label {
  padding: 12px 20px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 4px solid transparent;
  min-height: 56px;
}

.mobile-nav-links a:hover {
  background: var(--bg-light);
  border-left-color: var(--primary);
  padding-left: 28px;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mobile-menu-footer {
  padding: 16px 20px;
  border-top: 2px solid var(--border);
  margin-top: auto;
}

.mobile-logout-btn {
  width: 100%;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.mobile-logout-btn::before {
  content: '??';
  font-size: 18px;
}

.mobile-auth-actions {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--border);
  margin-top: auto;
}

.mobile-auth-actions .btn {
  width: 100%;
  justify-content: center;
}

/* Mobile User Profile */
.mobile-user-profile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-profile-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-pale), var(--bg-white));
  border: 2px solid var(--primary-light);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.mobile-profile-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-pale));
  transform: scale(1.02);
}

.user-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.mobile-profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: left;
}

.mobile-user-name {
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bp-balance {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.mobile-menu-content {
  padding: 10px 0;
}

.mobile-menu-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: 0.2s;
}

.mobile-menu-content a:hover {
  background: var(--bg-light);
  padding-left: 32px;
}

.mobile-menu-content .menu-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.mobile-menu-auth {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--border);
}

.mobile-menu-auth .btn {
  width: 100%;
  justify-content: center;
}

/* Show hamburger on mobile */
@media (min-width: 992px) {
  .hamburger,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hamburger { display: flex; }
  .nav-links, .auth-actions { display: none; }
}

@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-links, .auth-actions, .language-switcher { display: none; }
  
  html, body { overflow-x: hidden; max-width: 100vw; }
  .container { padding: 20px 16px; }
  
  .hero { padding: 48px 20px; }
  .hero-title { font-size: 32px; line-height: 1.3; }
  .hero-subtitle { font-size: 16px; line-height: 1.6; }
  
  .hero-badges {
    gap: 8px;
  }
  
  .hero-badge {
    font-size: 13px;
    padding: 8px 14px;
  }
  
  .hero-actions { 
    flex-direction: column; 
    width: 100%; 
    gap: 14px; 
    margin-top: 24px;
  }
  
  .btn-large { 
    width: 100%; 
    padding: 16px 24px;
    font-size: 16px;
  }
  
  .hero-stats { 
    flex-direction: column; 
    gap: 16px; 
    width: 100%; 
    margin-top: 32px;
  }
  
  .stat-item { 
    width: 100%; 
    padding: 24px 20px;
    min-width: unset;
    max-width: unset;
  }
  
  .stat-icon {
    font-size: 3rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 15px;
    margin-top: 8px;
  }
  
  .stat-progress {
    height: 8px;
    margin-top: 12px;
  }
  
  .salons-grid,
  .services-grid,
  .tariffs-grid { 
    grid-template-columns: 1fr; 
    gap: 20px; 
  }
  
  .card {
    padding: 20px;
  }
  
  .salon-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .services-list {
    grid-template-columns: 1fr;
  }
  
  .community-chat-fab {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
  }
  
  .chat-icon {
    font-size: 1.3rem;
  }
  
  .chat-label {
    font-size: 0.9rem;
  }
  
  .modal-tabs {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .chat-container {
    height: 50vh;
  }
  
  .chat-message {
    max-width: 85%;
  }
  
  .review-form {
    padding: 16px;
  }
  
  .rating-input .star {
    font-size: 1.5rem;
  }
  
  .salons-grid,
  .services-grid,
  .tariffs-grid { 
    grid-template-columns: 1fr; 
    gap: 15px; 
  }

  /* Profile Mobile Styles */
  .profile-container {
    padding: 0;
  }

  .profile-header {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .profile-info h2 {
    font-size: 20px;
  }

  .profile-info .text-muted {
    font-size: 13px;
  }

  .profile-header .btn {
    width: 100%;
  }

  .balance-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }

  .balance-card {
    padding: 20px 24px;
  }

  .balance-icon {
    font-size: 36px;
  }

  .balance-label {
    font-size: 11px;
  }

  .balance-amount {
    font-size: 26px;
  }

  .profile-actions {
    flex-direction: column;
    gap: 10px;
  }

  .profile-actions .btn {
    min-width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .profile-section {
    padding: 20px;
    margin-bottom: 16px;
  }

  .profile-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .user-id-card {
    padding: 14px 18px;
  }

  .user-id-card p {
    font-size: 14px;
  }

  /* Gamification Mobile Styles */
  .gamification-section {
    padding: 16px;
  }

  .level-card {
    padding: 16px;
  }

  .level-badge {
    width: 60px;
    height: 60px;
  }

  .level-icon {
    font-size: 24px;
  }

  .level-text {
    font-size: 14px;
  }

  .level-subtitle {
    font-size: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-icon {
    font-size: 28px;
  }

  .stat-value {
    font-size: 20px;
  }

  .achievements-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
  }

  .achievement-badge {
    padding: 12px;
  }

  .achievement-icon {
    font-size: 28px;
  }

  .achievement-name {
    font-size: 10px;
  }
}

@media (max-width: 428px) {
  .hero-title { font-size: 24px; }
  .stat-number { font-size: 26px; }
  
  /* Modal responsive fixes for small mobile screens */
  .modal-content {
    width: 96vw;
    max-height: 90vh;
  }
  
  .modal-header {
    padding: 16px 20px;
  }
  
  .modal-header h3 {
    font-size: 18px;
  }
  
  .modal-body {
    padding: 20px;
    max-height: calc(90vh - 70px);
  }
  
  .form-input {
    font-size: 16px; /* Prevent iOS zoom */
  }
}

/* ===== RESPONSIVE FIXES (iOS & Touch) ===== */
/* Prevent iOS zoom on inputs */
input, textarea, select {
  font-size: max(16px, 1rem) !important;
}

/* Touch-friendly targets (WCAG) */
button, a, input[type="submit"], input[type="button"], select {
  min-height: 44px;
  min-width: 44px;
}

/* Fix viewport on mobile */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
}

/* ===== ADMIN PANEL ===== */
.admin-dashboard {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-top: 20px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 3px solid var(--border-light);
}

.admin-header h2 {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px 0;
}

.admin-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.admin-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 35px;
  border-bottom: 2px solid var(--border-light);
  flex-wrap: wrap;
  background: var(--bg-gradient-start);
  padding: 8px;
  border-radius: 12px 12px 0 0;
}

.admin-tab {
  background: transparent;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.admin-tab:hover {
  color: var(--primary);
  background: rgba(255, 107, 157, 0.1);
}

.admin-tab.active {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.admin-tab-content {
  min-height: 500px;
  animation: fadeIn 0.4s ease;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--bg-gradient-start);
  border-radius: 12px;
}

.admin-toolbar h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.admin-search {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
}

.admin-search input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23a0aec0" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat 15px center;
}

.admin-search input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

.admin-table {
  width: 100%;
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.admin-table th {
  padding: 18px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.admin-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text);
}

.admin-table tbody tr {
  transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
  background: var(--bg-gradient-start);
  transform: scale(1.01);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin-btn-edit {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.admin-btn-delete {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.admin-btn-view {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
}

.admin-btn-add {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 35px;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(255, 107, 157, 0.35);
}

.stat-card .stat-icon {
  font-size: 42px;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.stat-card .stat-value {
  font-size: 42px;
  font-weight: 700;
  margin: 12px 0 8px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card .stat-label {
  font-size: 15px;
  opacity: 0.95;
  font-weight: 500;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.admin-form-section {
  background: var(--bg-gradient-start);
  padding: 25px;
  border-radius: 12px;
  border: 2px solid var(--border-light);
}

.admin-form-section h4 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-inactive {
  background: #9ca3af;
  color: white;
}

.badge-pending {
  background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 167, 81, 0.3);
}

.badge-admin {
  background: linear-gradient(135deg, var(--primary), #e91e63);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.badge-user {
  background: linear-gradient(135deg, var(--accent-blue), #5568d3);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Admin Modal Styles */
.admin-modal-form {
  display: grid;
  gap: 20px;
}

.admin-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  justify-content: flex-end;
}

/* Admin Panel Responsive */
@media (max-width: 992px) {
  .admin-dashboard {
    padding: 25px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .admin-header h2 {
    font-size: 26px;
  }

  .admin-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }

  .admin-tab {
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 14px;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }

  .admin-search {
    max-width: 100%;
  }

  .admin-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .admin-dashboard {
    padding: 15px;
  }

  .admin-header h2 {
    font-size: 22px;
  }

  .admin-toolbar {
    padding: 12px;
  }

  .admin-table th,
  .admin-table td {
    padding: 12px 10px;
    font-size: 12px;
  }

  .admin-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-card .stat-icon {
    font-size: 32px;
  }

  .stat-card .stat-value {
    font-size: 32px;
  }
}

/* ===== CHAT SYSTEM ===== */
.chat-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 107, 157, 0.6);
}

.chat-floating-btn:active {
  transform: scale(0.95);
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.chat-modal-content {
  width: min(1000px, 95vw);
  max-width: 95vw;
  height: 700px;
  max-height: 90vh;
  overflow: visible;
}

.chat-modal-body {
  padding: 0;
  height: calc(700px - 70px);
  max-height: calc(90vh - 70px);
  overflow: hidden;
}

.chat-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.chat-sidebar {
  border-right: 2px solid var(--border-light);
  background: var(--bg-gradient-start);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.chat-search {
  padding: 15px;
  border-bottom: 2px solid var(--border-light);
}

.chat-search input {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 14px;
  background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23a0aec0" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat 12px center;
}

.chat-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.chat-conversations {
  flex: 1;
  overflow-y: auto;
}

.chat-conversation-item {
  padding: 15px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.chat-conversation-item:hover {
  background: rgba(255, 107, 157, 0.05);
}

.chat-conversation-item.active {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(156, 39, 176, 0.1));
  border-left: 3px solid var(--primary);
}

.chat-conversation-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.chat-conversation-info {
  flex: 1;
  min-width: 0;
}

.chat-conversation-name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-conversation-preview {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-conversation-time {
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
}

.chat-conversation-unread {
  background: var(--primary);
  color: white;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}

.chat-main {
  display: flex;
  flex-direction: column;
  background: white;
  min-width: 0;
  overflow: hidden;
}

.chat-header {
  padding: 20px;
  border-bottom: 2px solid var(--border-light);
  background: var(--bg-gradient-start);
  flex-shrink: 0;
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.chat-user-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
}

.chat-user-status {
  font-size: 13px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-user-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 15px;
}

.chat-message {
  display: flex;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.chat-message.sent {
  flex-direction: row-reverse;
}

.chat-message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.chat-message.sent .chat-message-avatar {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.chat-message-content {
  max-width: 60%;
}

.chat-message-bubble {
  background: var(--bg-gradient-start);
  padding: 12px 16px;
  border-radius: 18px;
  border-top-left-radius: 4px;
  margin-bottom: 5px;
}

.chat-message.sent .chat-message-bubble {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-top-left-radius: 18px;
  border-top-right-radius: 4px;
}

.chat-message-text {
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-message-time {
  font-size: 11px;
  color: var(--text-light);
  padding: 0 5px;
}

.chat-input-container {
  padding: 20px;
  border-top: 2px solid var(--border-light);
  display: flex;
  gap: 12px;
  background: var(--bg-gradient-start);
}

.chat-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--border-light);
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.chat-send-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.chat-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.chat-send-btn:active {
  transform: translateY(0);
}

/* Chat Responsive */
@media (max-width: 768px) {
  .chat-modal-content {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    overflow: visible;
  }

  .chat-container {
    grid-template-columns: 1fr;
  }

  .chat-sidebar {
    display: none;
  }

  .chat-sidebar.active {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
  }

  .chat-message-content {
    max-width: 75%;
  }

  .chat-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
}

/* ==================== PROFILE CIRCLE & DROPDOWN ==================== */

.profile-circle {
  position: relative;
  margin-left: 16px;
}

.profile-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
  transition: all 0.3s ease;
  border: 2px solid white;
  overflow: visible;
}

.profile-avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

.profile-dropdown {
  position: absolute;
  top: 52px;
  right: 0;
  width: 200px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.profile-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown-menu {
  padding: 8px;
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  cursor: pointer;
}

.profile-dropdown-item:hover {
  background: var(--background);
  color: var(--primary);
}

.profile-dropdown-item span:first-child {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.profile-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.profile-dropdown-logout {
  color: #ef4444;
}

.profile-dropdown-logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

/* Responsive Profile */
@media (max-width: 768px) {
  .profile-circle {
    margin-left: 10px;
  }
  
  .profile-avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
    border-width: 2px;
  }
  
  .profile-dropdown {
    width: 160px;
    top: 46px;
    right: -10px;
  }
  
  .profile-dropdown-item {
    padding: 8px 10px;
    font-size: 13px;
    gap: 8px;
  }
  
  .profile-dropdown-item span:first-child {
    font-size: 14px;
    width: 18px;
  }
}

@media (max-width: 480px) {
  .profile-circle {
    margin-left: 8px;
  }
  
  .profile-avatar {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-width: 2px;
  }
  
  .profile-dropdown {
    width: 150px;
    top: 44px;
    right: -10px;
  }
}

/* Different colors for user types */
.profile-avatar.client {
  background: linear-gradient(135deg, #ff6b9d, #ff8fab) !important;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3) !important;
}

.profile-avatar.client:hover {
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4) !important;
}

.profile-avatar.salon {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.profile-avatar.salon:hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}

.profile-avatar.admin {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.profile-avatar.admin:hover {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important;
}

/* ==================== PROFESSIONAL POLISH & REFINEMENTS ==================== */

/* Smooth Animations */
* {
  scroll-behavior: smooth;
}

/* Enhanced Card Shadows */
.card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
}

/* Professional Button Styles */
.btn {
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Input Fields */
.form-input,
.form-select {
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
  font-size: 15px;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
  outline: none;
}

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

p {
  line-height: 1.7;
  color: var(--text-muted);
}

/* Polished Badges */
.badge {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 11px;
  padding: 6px 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced Table Styling */
.admin-table table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.admin-table thead th {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
  padding: 16px;
}

.admin-table tbody tr {
  transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.03);
  transform: scale(1.01);
}

/* Professional Modal */
.modal-content {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Navbar */
.navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Polished Stats Cards */
.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

.stat-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Professional Salon Cards */
.salon-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.salon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0) 0%, rgba(124, 58, 237, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.salon-card:hover::before {
  opacity: 1;
}

.salon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

/* Enhanced Chat Styling */
.chat-floating-btn {
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-floating-btn:hover {
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
  transform: scale(1.1) rotate(5deg);
}

.chat-message-bubble {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Professional Loading States */
.loading-spinner {
  border: 4px solid rgba(124, 58, 237, 0.1);
  border-left-color: var(--primary);
  animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Polished Toast Notifications */
.toast {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Enhanced Dropdown Menus */
.profile-dropdown,
.admin-dropdown {
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Professional Transitions */
.page-transition {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Enhanced Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Professional Focus States */
*:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.4);
  outline-offset: 2px;
}

/* Enhanced Link Hover Effects */
a {
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary);
}

/* Polished Grid Layouts */
.grid-layout {
  display: grid;
  gap: 24px;
  animation: fadeInUp 0.5s ease;
}

/* Professional Empty States */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 64px;
  opacity: 0.3;
  margin-bottom: 16px;
}

/* Enhanced Success/Error States */
.success-message {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.error-message {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Professional Skeleton Loaders */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Enhanced Mobile Touch Targets */
@media (max-width: 768px) {
  .btn,
  .form-input,
  .admin-btn {
    min-height: 44px;
    font-size: 16px; /* Prevents iOS zoom on input focus */
  }
}

/* ==================== ENHANCED SERVICE CARDS ==================== */
.enhanced-service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b9d, #ff8fab, #ff6b9d);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.enhanced-service-card:hover::before {
  opacity: 1;
}

.enhanced-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.3);
}

.service-card-header {
  padding: 24px 24px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service-icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.3));
  animation: float 3s ease-in-out infinite;
}

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

.service-discount-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-content {
  padding: 0 24px 24px;
}

.service-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.1);
  color: #ff6b9d;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.category-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b9d;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.service-pricing-box {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 16px;
  padding: 20px;
}

.price-comparison {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.price-old-small {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

.price-arrow {
  color: #ff6b9d;
  font-weight: 700;
  font-size: 16px;
}

.price-current-large {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bp-amount-big {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.bp-label-small {
  font-size: 18px;
  font-weight: 700;
  color: #6b7280;
}

.service-card-footer {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(167, 139, 250, 0.05));
  padding: 16px 24px;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.service-savings {
  text-align: center;
  color: #10b981;
  font-size: 14px;
  font-weight: 700;
}

/* ==================== ENHANCED TARIFF CARDS ==================== */
.enhanced-tariff-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 2px solid rgba(124, 58, 237, 0.15);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-tariff-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.enhanced-tariff-card:hover::after {
  opacity: 1;
}

.enhanced-tariff-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 24px 48px rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.4);
}

.tariff-popular {
  border: 2px solid #ff6b9d;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

.popular-ribbon {
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.ribbon-icon {
  font-size: 18px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.tariff-card-top {
  padding: 32px 28px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(167, 139, 250, 0.05));
}

.tariff-icon-wrapper {
  margin-bottom: 12px;
}

.tariff-icon-big {
  font-size: 64px;
  filter: drop-shadow(0 8px 16px rgba(124, 58, 237, 0.3));
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

.tariff-label-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.tariff-title-section {
  padding: 0 28px 20px;
  text-align: center;
}

.tariff-title-section .tariff-name {
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.tariff-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.tariff-price-box {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  padding: 24px 28px;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.gel-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency-symbol {
  font-size: 24px;
  font-weight: 700;
  color: #ff6b9d;
}

.price-amount {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.bp-badge {
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  color: white;
  padding: 10px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.bp-icon {
  font-size: 18px;
}

.bp-value {
  font-size: 16px;
  font-weight: 700;
}

.savings-badge {
  text-align: center;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  width: 100%;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.tariff-features-box {
  padding: 24px 28px;
}

.features-header {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-text {
  font-size: 15px;
  color: #4b5563;
  font-weight: 500;
}

.value-score-section {
  padding: 0 28px 24px;
}

.score-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
}

.score-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b9d, #ff8fab);
  border-radius: 10px;
  transition: width 1s ease-out;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.tariff-button-section {
  padding: 0 28px 32px;
}

.btn-tariff-enhanced {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tariff-enhanced:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
}

.btn-tariff-enhanced:active:not(:disabled) {
  transform: translateY(0);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-icon {
    font-size: 40px;
  }
  
  .service-title {
    font-size: 18px;
  }
  
  .bp-amount-big {
    font-size: 36px;
  }
  
  .tariff-icon-big {
    font-size: 52px;
  }
  
  .tariff-title-section .tariff-name {
    font-size: 24px;
  }
  
  .price-amount {
    font-size: 40px;
  }
}

/* ==================== CLEAN PROFESSIONAL CARDS ==================== */

/* Service Cards - Clean Design */
.service-card-clean {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
}

.service-card-clean:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
  border-color: #ff6b9d;
}

.service-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f3e8ff, #ede9fe);
  color: #ff6b9d;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.service-name-clean {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}

.service-price-clean {
  margin-top: auto;
}

.price-old-line {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-big {
  font-size: 32px;
  font-weight: 800;
  color: #ff6b9d;
}

.price-unit {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.discount-tag {
  background: #10b981;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: auto;
}

/* Tariff Cards - Clean Design */
.tariff-card-clean {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: visible;
}

.tariff-card-clean:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
  border-color: #ff6b9d;
}

.tariff-card-clean.popular {
  border-color: #ff6b9d;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.2);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.tariff-icon-clean {
  font-size: 48px;
  margin-bottom: 8px;
}

.tariff-label-clean {
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.tariff-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 6px 0;
}

.tariff-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.tariff-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.gel-symbol {
  font-size: 20px;
  font-weight: 700;
  color: #ff6b9d;
}

.tariff-price-num {
  font-size: 44px;
  font-weight: 900;
  color: #ff6b9d;
  line-height: 1;
}

.tariff-bp-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #f3e8ff, #ede9fe);
  padding: 8px 16px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.bp-diamond {
  font-size: 16px;
}

.tariff-bp-row .bp-amount {
  font-size: 15px;
  font-weight: 700;
  color: #ff6b9d;
}

.tariff-save-tag {
  background: #10b981;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.tariff-features-clean {
  width: 100%;
  text-align: left;
  margin-bottom: 16px;
}

.tariff-features-clean .features-title {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-item-clean {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #4b5563;
}

.feature-item-clean .check {
  width: 20px;
  height: 20px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.tariff-value-bar {
  width: 100%;
  margin-bottom: 20px;
}

.tariff-value-bar span {
  font-size: 12px;
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
}

.value-track {
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.value-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b9d, #ff8fab);
  border-radius: 10px;
}

.tariff-btn-clean {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tariff-btn-clean.active {
  background: linear-gradient(135deg, #ff6b9d, #ff8fab);
  border-color: #ff6b9d;
  color: white;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.tariff-btn-clean.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

/* Override old grid styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 10px 0;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* Responsive Cards */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .service-card-clean {
    padding: 14px;
    min-height: 140px;
  }
  
  .service-name-clean {
    font-size: 15px;
  }
  
  .price-big {
    font-size: 26px;
  }
  
  .tariffs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }
  
  .tariff-card-clean {
    padding: 24px 20px;
  }
  
  .tariff-price-num {
    font-size: 38px;
  }
  
  .tariff-plan-name {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .service-card-clean {
    padding: 12px;
    gap: 8px;
    min-height: 130px;
  }
  
  .service-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .service-name-clean {
    font-size: 14px;
  }
  
  .price-big {
    font-size: 22px;
  }
  
  .price-unit {
    font-size: 12px;
  }
  
  .discount-tag {
    font-size: 10px;
    padding: 2px 6px;
  }
}

