/* AgentEQ Custom Styles - Version 4.0 - Fixed cart link spacing to remove gap between icon and text */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
/* css to reset all the designs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* css to reset all the designs */

/* add styles on elements */

/* Legacy styles removed - replaced with modern header implementation */

:root {
  /* Dark theme colors */
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --accent: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  --bg-primary: #0a0a0f;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-card: #1e1e2e;
  --bg-hover: #2a2a3e;
  
  --text-primary: #ffffff;
  --text-secondary: #b4b4c8;
  --text-muted: #8b8ba0;
  
  --border: #2a2a3e;
  --border-hover: #3a3a5e;
  
  --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-secondary: linear-gradient(135deg, #10b981, #00d4ff);
  --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  
  --radius: 12px;
  --radius-lg: 16px;
}

html, body { 
  height: 100%; 
  font-family: "Inter", sans-serif;
}

body {
  background: var(--gradient-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 80%;
  animation-delay: 5s;
  animation-duration: 30s;
}

.shape:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: 10s;
  animation-duration: 20s;
}

.shape:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 70%;
  animation-delay: 15s;
  animation-duration: 35s;
}

.shape:nth-child(5) {
  width: 90px;
  height: 90px;
  top: 10%;
  left: 50%;
  animation-delay: 8s;
  animation-duration: 28s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Grid pattern overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  opacity: 0.3;
  animation: gridMove 60s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Utility Classes */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(20px);
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid rgba(55, 65, 81, 0.7);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Mobile header scroll behavior */
@media screen and (max-width: 768px) {
  header {
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
  }
  
  header.header-hidden {
    transform: translateY(-100%);
  }
  
  header.header-visible {
    transform: translateY(0);
  }
}

@media screen and (max-width: 520px) {
  .siteName {
    display: none;
  }
.GetStarted-btn{
   border-radius: 13px !important;
  padding: .4rem 1rem !important;
  font-weight: 600 !important;
  font-size: .7rem !important;
  color: white !important; /* Ensure text is white */
}
.lang-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 13px !important;
  padding: 1rem 0rem !important;
  font-weight: 600 !important;
  font-size: .5rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}
.lang-btn span{
  width: 70%;
}
}
.siteName {
font-size: large;
color: white !important;
}
/* Navigation container */
.navbar {
  display: flex;
  width: 100% !important;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  height: 80px;
}

/* Logo styling improvements */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  z-index: 10;
  border: none !important;
  a{
    text-decoration: none !important;
  }
}
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
  transition: all 0.3s ease;
  border: none;
}


/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  padding: 0.5rem 0;
  color: white !important;
  transition: all 0.3s ease;
}

.nav-icon {
  display: inline-block;
  margin-right: 0.5rem;
  transition: color 0.3s ease;
}

.nav-icon i {
  color: white;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.nav-link:hover .nav-icon i {
  color: #06b6d4;
}

.nav-text {
  display: inline-block;
}

/* Fix cart link spacing - remove gap between icon and text */
.cart-link .nav-icon {
  margin-right: 0;
}

.nav-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  transition: width 0.3s ease;
}

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

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

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Button */
.lang-btn {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.6);
  transition: all 0.3s ease;
  font-size: 0.875rem;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover {
  background: rgba(55, 65, 81, 0.9);
  border-color: rgba(107, 114, 128, 0.8);
  transform: translateY(-1px);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.25);
  transition: all 0.3s ease;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border: none;
  color: white !important; /* Ensure text is always white */
}

.btn-primary:hover {
  box-shadow: 0 6px 20px 0 rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0891b2, #7c3aed);
  color: white !important; /* Ensure text stays white on hover */
}

/* User Menu */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* User Avatar */
.user-avatar {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.user-avatar:hover {
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.4), 0 4px 14px 0 rgba(6, 182, 212, 0.25);
  transform: translateY(-1px);
}

/* User Dropdown */
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 192px;
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(55, 65, 81, 0.7);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.user-dropdown:not(.hidden) {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-dropdown a:hover,
.user-dropdown button:hover:not([onclick*="logout"]) {
  background: rgba(55, 65, 81, 0.5);
}

.user-dropdown button[onclick*="logout"]:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent; /* Remove blue highlight on touch */
}

.hamburger:hover {
  background: rgba(55, 65, 81, 0.3);
}

.bar {
  width: 24px;
  height: 2px;
  background: #cbd5e1;
  transition: all 0.3s ease;
  transform-origin: center;
}

.bar:nth-child(2) {
  margin: 4px 0;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

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

/* Mobile Navigation */
.mobile-nav {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(55, 65, 81, 0.7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  color: white !important;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  touch-action: manipulation; /* Better touch handling */
  -webkit-tap-highlight-color: transparent; /* Remove blue highlight on touch */
  min-height: 48px; /* Minimum touch target size */
  display: flex;
  align-items: center;
}

.mobile-nav a:hover,
.mobile-nav a:active,
.mobile-nav a:focus {
  background: rgba(55, 65, 81, 0.3);
  padding-left: 1.5rem;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .header-actions .auth-buttons {
    gap: 0.5rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    height: 40px;
    color: white !important; /* Ensure white text on mobile */
  }
  
  .btn-primary i {
    display: none;
  }
  
  .lang-btn {
    padding: 0.5rem 0.75rem;
    height: 36px;
    font-size: 0.75rem;
  }
}

/* Main content adjustment for fixed header */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  padding: 2rem;
}

/* Navigation Underline Effect - REMOVED TO PREVENT DOUBLE UNDERLINES */
/* Now using .nav-underline spans instead of ::after pseudo-elements */

/* Button Base Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

/* Button Icon Spacing */
.btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure proper spacing for buttons with icons */
.btn i.mr-2 {
  margin-right: 0.5rem;
}

.btn i.ml-2 {
  margin-left: 0.5rem;
}

/* Updated gradient variables for original color scheme */
:root {
  /* Original cyan-purple color palette */
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --accent: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  --bg-primary: #0a0a0f;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-card: #1e1e2e;
  --bg-hover: #2a2a3e;
  
  --text-primary: #ffffff;
  --text-secondary: #b4b4c8;
  --text-muted: #8b8ba0;
  
  --border: #2a2a3e;
  --border-hover: #3a3a5e;
  
  --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-secondary: linear-gradient(135deg, #10b981, #00d4ff);
  --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  
  --radius: 12px;
  --radius-lg: 16px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.btn-secondary:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary:disabled:hover {
  border-color: var(--border);
  background: transparent;
  color: var(--text-primary);
  transform: none;
  box-shadow: none;
}

/* Cancel button specific styling */
.btn-secondary:contains("Cancel")::before,
.btn-secondary[onclick*="closeModal"]::before {
  content: "✕";
  font-size: 0.8rem;
  margin-right: 0.3rem;
}

/* Alternative using FontAwesome if available */
.btn-secondary[onclick*="closeModal"] {
  font-family: inherit;
}

.btn-secondary[onclick*="closeModal"]:hover {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* This is now handled in the Button Variants section below */

/* Theme toggle */
.theme-toggle {
  width: 3rem;
  height: 1.5rem;
  background: var(--bg-card);
  border-radius: 1rem;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.theme-toggle::after {
  content: "🌙";
  position: absolute;
  top: 50%;
  left: 0.25rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12rem 2rem 8rem;
  position: relative;
  min-height: 100vh;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  font-weight: 700;
  animation: fadeInUp 1s ease-out;
}

.hero p { 
  font-size: 1.25rem; 
  margin-bottom: 3rem; 
  color: var(--text-secondary);
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* AI Elements */
.ai-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.circuit-line {
  position: absolute;
  background: var(--gradient-primary);
  height: 2px;
  opacity: 0.3;
  animation: circuitFlow 3s ease-in-out infinite;
}

.circuit-line:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 200px;
  animation-delay: 0s;
}

.circuit-line:nth-child(2) {
  top: 60%;
  right: 10%;
  width: 150px;
  animation-delay: 1s;
}

.circuit-line:nth-child(3) {
  bottom: 30%;
  left: 20%;
  width: 180px;
  animation-delay: 2s;
}

@keyframes circuitFlow {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50% { opacity: 0.8; transform: scaleX(1.2); }
}

/* Sections */
section { 
  padding: 8rem 2rem; 
  max-width: 1200px; 
  margin: 0 auto; 
  position: relative;
}

section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-weight: 700;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

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

/* About Section */
.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.about-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.about-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Customers Section */
.customers-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 3rem;
}

.customer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.customer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: rotate 3s linear infinite;
}

.customer-card:hover::before {
  opacity: 0.1;
}

.customer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.customer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  position: relative;
  z-index: 2;
}

.customer-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.customer-card:hover .customer-logo-img {
  border-color: var(--primary);
  transform: scale(1.1);
}

.customer-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
}

.customer-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 3rem;
}

/* Enhanced Pricing Section Styles */
.pricing-sections-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.pricing-section {
  margin-bottom: 4rem;
}

.pricing-section-header {
  text-align: center;
  margin: 3rem 0 2rem 0;
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}

.pricing-section-header:first-child {
  margin-top: 3rem;
}

.pricing-section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.section-header-content {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  opacity: 0.9;
  font-weight: 400;
  line-height: 1.6;
}

.section-decoration {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  border-radius: 3px;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.section-decoration.individual {
  background: linear-gradient(90deg, #667eea, #764ba2);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.section-decoration.all-in-one {
  background: linear-gradient(90deg, #f093fb, #f5576c);
  box-shadow: 0 0 20px rgba(240, 147, 251, 0.4);
}

.section-decoration.custom {
  background: linear-gradient(90deg, #ffecd2, #fcb69f);
  box-shadow: 0 0 20px rgba(255, 236, 210, 0.4);
}

.section-decoration.premium {
  background: linear-gradient(135deg, var(--primary), var(--secondary), #3b82f6);
  animation: pulse 3s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
}

/* Special grid for All-in-One and Custom bundles */
.special-bundles-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.special-bundles-grid .pricing-card {
  width: 100%;
  min-width: 400px;
  max-width: none;
  padding: 2rem 1.5rem;
  height: auto;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bundle-separator {
  width: 2px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  border-radius: 2px;
  opacity: 0.6;
  position: relative;
}

.bundle-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.pricing-grid-section {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  margin-bottom: 4rem;
  padding: 0 1rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid-section.custom-grid {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  max-width: 1000px;
}

.pricing-card {
  background: rgba(30, 30, 46, 0.8);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: 100%;
  margin: 0 auto;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 212, 255, 0.2);
  background: rgba(30, 30, 46, 0.95);
}

.pricing-card.featured::after {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
  z-index: 10;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.2);
  border-color: var(--primary);
  background: rgba(30, 30, 46, 0.95);
}

.pricing-card.featured:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-glow), 0 25px 80px rgba(0, 212, 255, 0.3);
}

/* Ensure hover effects work properly in special grid */
.special-bundles-grid .pricing-card.featured:hover,
.special-bundles-grid .pricing-card.custom-plan:hover {
  transform: translateY(-8px);
}

/* Custom Plan Enhanced Styles */
.pricing-card.custom-plan {
  border-color: var(--border);
  position: relative;
  background: rgba(30, 30, 46, 0.9);
}

.pricing-card.custom-plan::after {
  content: "Custom Solution";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.pricing-card.custom-plan:hover {
  border-color: var(--primary);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.3);
}

/* All-in-One Bundle Reduced Size */
.pricing-card.featured {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 212, 255, 0.2);
  background: rgba(30, 30, 46, 0.95);
}

/* Override sizing when in special bundles grid */
.special-bundles-grid .pricing-card.featured,
.special-bundles-grid .pricing-card.custom-plan {
  max-width: none;
  min-width: 400px;
  width: 100%;
  padding: 2rem 1.5rem;
  margin: 0;
}

/* Ensure individual bundle cards aren't affected */
.pricing-grid-section:not(.special-bundles-grid) .pricing-card {
  max-width: 100%;
  min-width: auto;
}

/* Animation Keyframes */
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.05; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.1; }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .pricing-grid-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .plan-price {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-card {
    padding: 1.5rem 1rem;
  }
  
  .plan-image {
    width: 80px;
    height: 80px;
  }
  
  .plan-name {
    font-size: 1.5rem;
  }
  
  .plan-price {
    font-size: 2rem;
  }
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-period {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.plan-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

/* removed tick overlay */

.plan-features li:last-child {
  border-bottom: none;
}

/* Contact Section */
.contact-container {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-info {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group.text-right {
  text-align: right;
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  background: var(--bg-primary);
}

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

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal:not(.hidden) .modal-content {
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.hidden .modal-content {
  transform: scale(0.9);
  opacity: 0;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

@keyframes modalSlideIn {
  from { 
    opacity: 0; 
    transform: translateY(-50px) scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

@keyframes modalSlideOut {
  from { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
  to { 
    opacity: 0; 
    transform: translateY(-50px) scale(0.9); 
  }
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.modal form .form-group {
  margin-bottom: 1.5rem;
}

.modal form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.modal form input,
.modal form select,
.modal form textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.modal form input:focus,
.modal form select:focus,
.modal form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.modal form small {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
}

.modal form input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.modal form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* User Menu */
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-avatar:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.user-dropdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 50;
  overflow: hidden;
}

.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: left;
  border: none;
  background: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: var(--bg-hover);
}

/* Dashboard */
.dashboard {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8rem 2rem 2rem;
}

.dashboard-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 4px;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  header { padding: 1rem; }
  nav ul { gap: 1rem; }
  .hero { padding: 8rem 1rem 6rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .contact-container { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  section { padding: 4rem 1rem; }
  section h2 { font-size: 2rem; }

  /* تأكد من بقاء عناصر اليمين أفقية على الموبايل */
  .header-actions { gap: .5rem; }
  .user-menu { gap: .5rem; }
}

/* Loading States */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Dynamic Header Behavior */
.header-visible {
  transform: translateY(0);
  opacity: 1;
}

.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* Smooth transitions for dynamic header */
.header {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease,
              border-color 0.3s ease;
}

/* Enhanced backdrop blur when visible */
.header-visible {
  backdrop-filter: blur(20px);
  background: rgba(17, 24, 39, 0.98);
}

/* Mobile optimizations for dynamic header */
@media (max-width: 768px) {
  .header {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.25s ease,
                border-color 0.25s ease;
  }
  
  .header-hidden {
    transform: translateY(-100%);
    opacity: 0;
  }
  
  .header-visible {
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(20px);
    background: rgba(17, 24, 39, 0.98);
  }
  
  /* Ensure header stays on top on mobile */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
  }
}

/* Social Media Links - Enhanced Design */
.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 1.5rem;
  padding: 0 8px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  min-height: 80px;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link i {
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.social-link span {
  font-size: 12px;
  letter-spacing: 0.5px;
  z-index: 2;
  position: relative;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.02);
}

.social-link:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Phone Link */
.phone-link {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.3);
}

.phone-link:hover {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.95), rgba(4, 120, 87, 0.95));
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
  border-color: rgba(16, 185, 129, 0.5);
}

/* Facebook Link */
.facebook-link {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.9), rgba(22, 111, 229, 0.9));
  color: white;
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
  border-color: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
  background: linear-gradient(135deg, rgba(22, 111, 229, 0.95), rgba(20, 100, 209, 0.95));
  box-shadow: 0 12px 35px rgba(24, 119, 242, 0.4);
  border-color: rgba(24, 119, 242, 0.5);
}

/* Instagram Link */
.instagram-link {
  background: linear-gradient(135deg, rgba(228, 64, 95, 0.9), rgba(193, 53, 132, 0.9));
  color: white;
  box-shadow: 0 8px 25px rgba(228, 64, 95, 0.3);
  border-color: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
  background: linear-gradient(135deg, rgba(193, 53, 132, 0.95), rgba(160, 45, 107, 0.95));
  box-shadow: 0 12px 35px rgba(228, 64, 95, 0.4);
  border-color: rgba(228, 64, 95, 0.5);
}

/* WhatsApp Link */
.whatsapp-link {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.9), rgba(32, 186, 90, 0.9));
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  border-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
  background: linear-gradient(135deg, rgba(32, 186, 90, 0.95), rgba(30, 168, 84, 0.95));
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
  border-color: rgba(37, 211, 102, 0.5);
}

/* Responsive Social Links */
@media (max-width: 768px) {
  .social-links {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 1rem;
  }
  
  .social-link {
    padding: 16px 12px;
    min-height: 70px;
  }
  
  .social-link i {
    font-size: 20px;
  }
  
  .social-link span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .social-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 1rem;
  }
  
  .social-link {
    padding: 14px 10px;
    min-height: 65px;
    border-radius: 12px;
  }
  
  .social-link i {
    font-size: 18px;
  }
  
  .social-link span {
    font-size: 10px;
    letter-spacing: 0.3px;
  }
}

/* Social Login Styles */
.social-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  text-align: center;
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-divider span {
  padding: 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-login-buttons {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.social-login-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

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

.social-login-btn i {
  font-size: 18px;
}

/* Google Button */
.google-btn:hover {
  border-color: #db4437;
  background: rgba(219, 68, 55, 0.1);
  color: #db4437;
}

.google-btn:hover i {
  color: #db4437;
}

/* Facebook Button */
.facebook-btn:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

.facebook-btn:hover i {
  color: #1877f2;
}

/* Responsive Social Login */
@media (max-width: 480px) {
  .social-login-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .social-login-btn {
    padding: 10px 16px;
  }
}

/* Alert Messages */
.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--error);
  color: var(--error);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--warning);
  color: var(--warning);
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* RTL Support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .hero-content {
  text-align: center;
}

[dir="rtl"] .about-grid,
[dir="rtl"] .customers-grid,
[dir="rtl"] .pricing-grid {
  direction: rtl;
}

[dir="rtl"] .about-card,
[dir="rtl"] .customer-card,
[dir="rtl"] .pricing-card {
  text-align: right;
}

[dir="rtl"] .contact-container {
  direction: rtl;
}

[dir="rtl"] .contact-form,
[dir="rtl"] .contact-info {
  text-align: right;
}

[dir="rtl"] .form-label {
  text-align: right;
}

[dir="rtl"] .modal {
  text-align: right;
}

[dir="rtl"] .modal-header {
  text-align: center;
}

[dir="rtl"] nav ul {
  direction: rtl;
}

[dir="rtl"] .auth-buttons {
  direction: rtl;
}

[dir="rtl"] .hero-buttons {
  direction: ltr;
  justify-content: center;
}

[dir="rtl"] .user-dropdown {
  right: auto;
  left: 0;
  text-align: right;
}

/* Language toggle button styling */
#lang-toggle {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  padding: 5rem 1rem !important;
}

[dir="rtl"] #lang-toggle {
  margin-right: 0;
  margin-left: 0.5rem;
}

/* Dashboard Styles */
.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

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

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

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

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

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

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  margin-top: 1rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

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

.data-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
}

.data-table tr:hover {
  background: var(--bg-hover);
}

.btn-small {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-active {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
}

.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.status-inactive {
  background: rgba(239, 68, 68, 0.2);
  color: var(--error);
}

.status-featured {
  background: rgba(0, 212, 255, 0.2);
  color: var(--primary);
}

.status-normal {
  background: rgba(180, 180, 200, 0.2);
  color: var(--text-secondary);
}

.role-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.role-admin {
  background: rgba(239, 68, 68, 0.2);
  color: var(--error);
}

.role-employee {
  background: rgba(0, 212, 255, 0.2);
  color: var(--primary);
}

.role-customer {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
}

/* Plan badges */
.plan-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
  background: rgba(124, 58, 237, 0.2);
  color: var(--secondary);
}

/* Status badges */
.status-suspended {
  background: rgba(239, 68, 68, 0.2);
  color: var(--error);
}

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

.subscription-plan h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.subscription-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.usage-chart {
  margin-bottom: 2rem;
}

.usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.usage-stat {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

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

.usage-value {
  color: var(--text-primary);
  font-weight: 600;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.support-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.support-card h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.support-card p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.report-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.report-card h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.report-card p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard { padding: 1rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .card-header { flex-direction: column; gap: 1rem; align-items: stretch; }
  .subscription-info { grid-template-columns: 1fr; }
  .usage-stats { grid-template-columns: 1fr; }
}

/* Enhanced Pricing Card Styles */
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.05) 100%);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.plan-header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.plan-image-container {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.plan-icon-container {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-icon {
  font-size: 2.5rem;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.pricing-card:hover .plan-image {
  transform: scale(1.1);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

.pricing-card:hover .plan-icon-container {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(0, 212, 255, 0.3);
}

.pricing-card:hover .plan-icon {
  transform: scale(1.1);
}

.plan-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  opacity: 0.9;
  font-weight: 400;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  line-height: 1;
}

.plan-period {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 500;
  opacity: 0.8;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.plan-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1em;
}

.pricing-card:hover .plan-features li {
  color: var(--text-primary);
}

.btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--warning);
  color: var(--warning);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.btn-outline:hover {
  background: var(--warning);
  color: white;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.popular-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  transform: rotate(15deg);
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.plan-period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.plan-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Responsive pricing cards */
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-grid-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .plan-price { font-size: 2.5rem; }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .pricing-section-header {
    margin: 3rem 0 1.5rem 0;
  }
}

/* Enhanced Dashboard Styles */
.chart-container { 
  padding: 1rem; 
  min-height: 300px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  position: relative;
}
.chart-container canvas {
  max-width: 100%;
  max-height: 100%;
  background: transparent;
}
.chart-bar { display: flex; align-items: center; margin-bottom: 0.75rem; gap: 1rem; }
.chart-bar-label { min-width: 80px; font-size: 0.875rem; color: var(--text-secondary); }
.chart-bar-fill { height: 8px; background: var(--gradient-primary); border-radius: 4px; min-width: 4px; flex: 1; max-width: 200px; }
.chart-bar-value { min-width: 60px; text-align: right; font-weight: 500; font-size: 0.875rem; }

.plan-performance-container { 
  padding: 1rem; 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
}

.plan-performance-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.plan-performance-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.plan-performance-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.plan-rank {
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.metric {
  text-align: center;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.plan-progress {
  margin-top: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s ease;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.plan-performance-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--bg-secondary); border-radius: var(--radius); margin-bottom: 0.75rem; border: 1px solid var(--border); }
.plan-name { font-weight: 600; color: var(--text-primary); }
.plan-stats { display: flex; gap: 1rem; font-size: 0.875rem; color: var(--text-secondary); }
.plan-subscriptions { color: var(--primary); }
.plan-revenue { color: var(--accent); font-weight: 500; }

/* Review Cards */
.review-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.review-author { font-weight: 600; color: var(--text-primary); }
.review-rating { color: var(--warning); }
.review-title { font-weight: 500; color: var(--primary); margin-bottom: 0.5rem; }
.review-content { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.5; }
.review-meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.875rem; }
.review-date { color: var(--text-muted); }
.review-status.approved { color: var(--accent); }
.review-status.pending { color: var(--warning); }
.review-featured { color: var(--primary); font-weight: 500; }
.review-actions { display: flex; gap: 0.5rem; }

/* Plan Cards */
.plan-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.plan-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.plan-header h3 { color: var(--primary); margin: 0; }
.plan-price { font-weight: 600; color: var(--accent); }
.plan-description { color: var(--text-secondary); margin-bottom: 1rem; }
.plan-features { margin-bottom: 1rem; }
.feature-item { color: var(--text-secondary); margin-bottom: 0.25rem; font-size: 0.875rem; }
.plan-actions { display: flex; gap: 0.5rem; }

/* Role and Status Badges */
.role-badge { padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; }
.role-admin { background: rgba(239, 68, 68, 0.2); color: var(--error); }
.role-employee { background: rgba(16, 185, 129, 0.2); color: var(--accent); }
.role-customer { background: rgba(0, 212, 255, 0.2); color: var(--primary); }

.status-badge { padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 500; }
.status-badge.verified { background: rgba(16, 185, 129, 0.2); color: var(--accent); }
.status-badge.unverified { background: rgba(245, 158, 11, 0.2); color: var(--warning); }

/* Button Variants */
.btn-sm { 
  padding: 0.375rem 0.75rem; 
  font-size: 0.875rem; 
  border-radius: 6px; 
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: auto;
}

/* Action Buttons for Tables */
.btn-view {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
  margin: 0 3px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.btn-view:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-view:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-edit {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
  margin: 0 3px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.btn-edit:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-edit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-delete {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
  margin: 0 3px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.btn-delete:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

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

.btn-toggle {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
  margin: 0 3px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.btn-toggle:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.btn-toggle:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* Ripple effect for buttons */
.btn-view::before, .btn-edit::before, .btn-delete::before, .btn-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.btn-view:active::before, .btn-edit:active::before, .btn-delete:active::before, .btn-toggle:active::before {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
}

/* Ensure text stays on top of ripple */
.btn-view > *, .btn-edit > *, .btn-delete > *, .btn-toggle > * {
  position: relative;
  z-index: 1;
}

/* Icon spacing for buttons */
.btn-view, .btn-edit, .btn-delete, .btn-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

/* Table action columns */
td .btn-sm {
  margin: 2px;
  vertical-align: middle;
}

/* Action column styling */
td:last-child {
  text-align: center;
  padding: 0.75rem 0.5rem;
  min-width: 160px;
}

/* Table row hover effect */
tbody tr:hover {
  background-color: rgba(var(--primary-rgb), 0.02);
}

/* Make tables more responsive */
.table-container {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Better table styling */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

table th {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  color: var(--text-primary);
  font-weight: 600;
  padding: 1rem 0.75rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

table td {
  padding: 0.875rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table th:last-child,
table td:last-child {
  text-align: center;
}

/* Responsive button behavior */
@media (max-width: 768px) {
  .btn-view, .btn-edit, .btn-delete, .btn-toggle {
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    margin: 1px;
    border-radius: 6px;
  }
  
  /* Stack buttons vertically on very small screens */
  @media (max-width: 480px) {
    td .btn-sm {
      display: block;
      margin: 3px auto;
      width: 90%;
      text-align: center;
    }
    
    td:last-child {
      padding: 0.5rem 0.25rem;
    }
  }
}

/* Legacy button styles for backward compatibility */
.btn-danger { 
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white; 
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}
.btn-danger:hover { 
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}
.btn-success { background: var(--accent); color: white; border: none; }
.btn-success:hover { background: #059669; }
.btn-warning { background: var(--warning); color: white; border: none; }
.btn-warning:hover { background: #d97706; }

/* Dashboard Grid Responsive */
@media (max-width: 768px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .chart-container { 
    min-height: 250px; 
    padding: 0.75rem;
  }
  
  .plan-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .metric {
    padding: 0.5rem;
  }
  .plan-performance-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .review-header { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .review-actions { flex-wrap: wrap; }
}

/* Language Button Styles */

@media screen and (min-width: 520px) {
.GetStarted-btn{
   border-radius: 13px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
}
.lang-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 13px !important;
  padding: 1.4rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}
}

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

.lang-btn:hover::before { left: 100%; }

.lang-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

.lang-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4) !important;
}

/* User menu language button */
#lang-toggle-user {
  margin-right: 1rem !important;
  margin-bottom: 0 !important; /* كان ممكن يسبب نزول تحت الأفاتار */
}

/* RTL adjustments for language buttons */
[dir="rtl"] .lang-btn {
  margin-right: 0 !important;
  margin-left: 1rem !important;
}

[dir="rtl"] #lang-toggle-user {
  margin-right: 0 !important;
  margin-left: 1rem !important;
}

/* Responsive language button */
@media (max-width: 768px) {
  .lang-btn {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
    margin-right: 0.5rem !important;
  }
  [dir="rtl"] .lang-btn {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
  }
}

/* Animation for language button text change */
.lang-btn { animation: langButtonPulse 2s ease-in-out infinite; }
@keyframes langButtonPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5); }
}

/* Enlarged Logo Styles */
.logo-img-large {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
  transition: all 0.3s ease;
}

.logo-img-large:hover {
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
  transform: scale(1.1);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 0.5rem;
}

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

@media (max-width: 768px) {
  .logo-img-large { width: 50px !important; height: 50px !important; }
}
@media (max-width: 480px) {
  .logo-img-large { width: 45px !important; height: 45px !important; }
}

/* =========================
   PROFESSIONAL BUTTON ICONS (BLACK & WHITE SVG) - FIXED VERSION
   ========================= */

/* Remove icons from elements with no-icon class */
.no-icon::before { 
  content: none !important; 
  display: none !important; 
}

/* Base icon styling for ALL buttons (except no-icon) - DISABLED TO REMOVE WHITE SQUARES */
.btn:not(.no-icon)::before {
  content: none;
  display: none;
}

/* =========================
   PASSWORD FIELD WITH INTEGRATED ICONS
   ========================= */

/* Password input container */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* Password input with icon space */
.password-input-container .form-input {
  padding-right: 45px !important; /* Space for icon on the right */
  padding-left: 1.2rem !important;
  flex: 1;
  position: relative;
}

/* Password toggle icon inside input on the RIGHT */
.password-toggle-icon {
  position: absolute !important;
  right: 12px !important; /* Changed from left to right */
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
  background-color: var(--text-secondary) !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  transition: background-color 0.2s ease !important;
  z-index: 10 !important;
  display: block !important;
}

/* Password toggle icon when showing password */
.password-toggle-icon.showing {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M10.733 5.076a10.744 10.744 0 0 1 1.267-.074C17 5 21 9 21 12a13.25 13.25 0 0 1-1.654 2.68'/%3E%3Cpath d='M14.12 14.12A3 3 0 0 1 9.88 9.88'/%3E%3Cpath d='M17.7 17.7A10.75 10.75 0 0 1 12 19C7 19 3 15 3 12a13.2 13.2 0 0 1 2.3-4.3'/%3E%3Cpath d='M2 2l20 20'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M10.733 5.076a10.744 10.744 0 0 1 1.267-.074C17 5 21 9 21 12a13.25 13.25 0 0 1-1.654 2.68'/%3E%3Cpath d='M14.12 14.12A3 3 0 0 1 9.88 9.88'/%3E%3Cpath d='M17.7 17.7A10.75 10.75 0 0 1 12 19C7 19 3 15 3 12a13.2 13.2 0 0 1 2.3-4.3'/%3E%3Cpath d='M2 2l20 20'/%3E%3C/svg%3E") !important;
}

/* Hover effect for password icon */
.password-toggle-icon:hover {
  background-color: var(--primary) !important;
  opacity: 0.8 !important;
}

/* Hide old password row styling */
.password-row {
  display: none !important;
}

/* Remove any conflicting button styles for password toggles */
button[data-toggle-password],
.btn[data-toggle-password] {
  display: none !important;
}

/* Primary action buttons - DISABLED TO REMOVE FLOATING ICONS */
.btn:not(.no-icon)[data-translate="getStarted"]::before,
.btn:not(.no-icon)[data-translate="getStartedNow"]::before,
.btn:not(.no-icon)[data-translate="register"]::before {
  content: none;
  display: none;
}

.btn:not(.no-icon)[data-translate="login"]::before {
  content: none;
  display: none;
}

.btn:not(.no-icon)[data-translate="sendMessage"]::before {
  content: none;
  display: none;
}

/* Plan selection buttons - DISABLED TO REMOVE WHITE SQUARES */
.btn:not(.no-icon):contains("Choose a Plan")::before,
.btn:not(.no-icon):contains("Upgrade Plan")::before,
.btn:not(.no-icon)[data-translate="upgradePlan"]::before,
.btn:not(.no-icon)[data-translate="changePlan"]::before {
  content: none;
  display: none;
}

.btn[data-translate="subscribe"]::before {
  content: none;
  display: none;
}

/* Admin buttons - DISABLED TO REMOVE WHITE SQUARES */
.btn[data-translate="addEmployee"]::before,
.btn[data-translate="addUser"]::before,
.btn[data-translate="addPlan"]::before {
  content: none;
  display: none;
}

/* Button type styles - DISABLED TO REMOVE WHITE SQUARES */
.btn-danger::before {
  content: none;
  display: none;
}

.btn-success::before {
  content: none;
  display: none;
}

.btn-warning::before {
  content: none;
  display: none;
}

.btn-outline::before {
  content: none;
  display: none;
}

/* Payment buttons - DISABLED TO REMOVE WHITE SQUARES */
.btn[data-translate="confirmPayment"]::before,
#payment-btn::before {
  content: none;
  display: none;
}

/* Generic button types by class - DISABLED TO REMOVE WHITE SQUARES */
.btn.create-account::before,
button[type="submit"]::before {
  content: none;
  display: none;
}

/* Language toggle button - DISABLED TO REMOVE WHITE SQUARES */
.btn-secondary[id*="lang"]::before {
  content: none;
  display: none;
}

/* Password toggle buttons (Show/Hide) - DISABLED TO REMOVE WHITE SQUARES */
.btn-secondary[data-toggle-password]::before,
.btn[data-toggle-password]::before,
button[data-toggle-password]::before {
  content: none;
  display: none;
}

/* Password toggle when hidden (eye-off icon) */
.btn-secondary[data-toggle-password][aria-pressed="true"]::before,
.btn[data-toggle-password][aria-pressed="true"]::before,
button[data-toggle-password][aria-pressed="true"]::before {
  content: none;
  display: none;
}

/* RTL support */
[dir="rtl"] .btn::before {
  margin-right: 0;
  margin-left: 8px;
}

/* =========================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS
   ========================= */

/* Ensure proper viewport behavior */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Base responsive improvements */
* {
  box-sizing: border-box;
}

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

/* Large tablets and small desktops (1025px - 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
    padding: 0 20px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

/* Tablets (768px - 1024px) */
@media (max-width: 768px) {
  .container {
    max-width: 90%;
    padding: 0 20px;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
  }
  
  .cta-buttons {
    gap: 1rem;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Dashboard improvements */
  .dashboard-content {
    padding: 1rem;
  }
  
  .dashboard-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    min-width: 600px;
  }
}

/* Mobile landscape (max-width: 768px) */
@media (max-width: 768px) {
  /* Base layout */
  body {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .container {
    max-width: 95%;
    padding: 0 15px;
  }
  
  /* Navigation */
  .navbar {
    padding: 1rem 0;
    position: relative;
  }
  
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .logo {
    font-size: 1.4rem;
    text-align: center;
  }
  
  .auth-buttons {
    justify-content: center;
    gap: 0.5rem;
  }
  
  /* Hero section */
  .hero {
    padding: 60px 0 40px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 10px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  /* Cards and grids */
  .pricing-grid,
  .stats-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .pricing-card {
    text-align: center;
  }
  
  /* Modals */
  .modal-overlay {
    padding: 10px;
    align-items: flex-start;
    padding-top: 20px;
  }
  
  .modal {
    width: 100%;
    max-width: 400px;
    margin: 0;
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  /* Forms */
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
    width: 100%;
  }
  
  .password-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .password-row .form-input {
    width: 100%;
  }
  
  .password-row .btn-sm {
    width: 100%;
    height: 44px;
    justify-content: center;
  }
  
  /* Dashboard */
  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .dashboard-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .dashboard-nav a {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
  }
  
  .dashboard-content {
    padding: 1rem;
  }
  
  /* Tables */
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }
  
  table {
    min-width: 600px;
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 8px;
    white-space: nowrap;
  }
  
  /* Profile page */
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .profile-picture {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0;
  }
  
  /* Utility classes for mobile */
  .mobile-center {
    text-align: center;
  }
  
  .mobile-full-width {
    width: 100%;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .modal {
    padding: 1rem;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  
  .btn::before {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }
  
  .card {
    padding: 1rem;
  }
  
  .stats-grid .stat-card {
    padding: 1rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  /* Even smaller modals for tiny screens */
  .modal-header h2 {
    font-size: 1.3rem;
  }
  
  .form-input {
    font-size: 16px;
    padding: 10px;
  }
}

/* Extra small screens (max-width: 360px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .modal {
    padding: 0.75rem;
  }
  
  .card {
    padding: 0.75rem;
  }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 40px 0 30px;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .hero p {
    margin-bottom: 1rem;
  }
  
  .modal {
    max-height: 85vh;
    overflow-y: auto;
  }
  
  .cta-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .btn::before {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
  }
  
  .btn:active {
    transform: translateY(1px);
    transition: transform 0.1s;
  }
  
  .card:hover {
    transform: none;
  }
  
  /* Larger touch targets */
  .btn, .form-input, .table-container button {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better tap highlights */
  .btn, button, a {
    -webkit-tap-highlight-color: rgba(0, 123, 255, 0.2);
  }
}

/* iPad specific */
@media (min-device-width: 768px) and (max-device-width: 1024px) {
  .container {
    max-width: 90%;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* iPad dashboard optimizations */
  .dashboard-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .table-container {
    overflow-x: auto;
  }
}

/* Print styles */
@media print {
  .navbar,
  .modal-overlay,
  .btn,
  .dashboard-nav,
  .auth-buttons {
    display: none !important;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
}

/* Password row */
.password-row { display: flex; gap: 0.5rem; align-items: center; }
.password-row .form-input { flex: 1; min-width: 0; }
.password-row .btn-sm { height: 44px; white-space: nowrap; }

[dir="rtl"] .password-row { flex-direction: row-reverse; }

.no-icon::before { content: none !important; display: none !important; }

.link-btn {
  background: none;
  border: 0;
  color: var(--primary);
  text-decoration: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.link-btn:hover { 
  color: var(--primary-dark); 
  text-decoration: underline;
}
html { scroll-behavior: smooth; }

/* ===================================
   SUCCESS ANIMATION OVERLAY
   =================================== */

.success-animation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-animation-overlay.show {
  opacity: 1;
  visibility: visible;
}

.success-animation-container {
  position: relative;
  max-width: 800px;
  width: 90%;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-animation-overlay.show .success-animation-container {
  transform: translateY(0);
}

.success-animation-video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-height: 80vh;
  object-fit: contain;
}

.success-animation-content {
  margin-top: 2rem;
  color: white;
}

.success-animation-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.success-animation-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.success-animation-close {
  background: var(--gradient-primary);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.9s both;
  font-size: 1rem;
}

.success-animation-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.success-animation-skip {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.success-animation-skip:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

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

/* Responsive design for animation overlay */
@media (max-width: 768px) {
  .success-animation-container {
    width: 95%;
  }
  
  .success-animation-title {
    font-size: 1.5rem;
  }
  
  .success-animation-description {
    font-size: 1rem;
  }
  
  .success-animation-video {
    border-radius: 12px;
  }
  
  .success-animation-skip {
    top: 15px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Legal agreement styling */
.legal-agreement a {
  color: var(--primary) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.legal-agreement a:hover {
  text-decoration: underline !important;
  color: var(--primary-dark) !important;
}

/* Footer link enhancements */
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 400;
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

/* Legal pages navigation enhancement - DUPLICATE REMOVED TO PREVENT DOUBLE UNDERLINES */

/* ===================================
   FOOTER STYLING
   =================================== */

footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
}

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

.footer-section h4 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

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

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

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  footer {
    padding: 2rem 0 1rem 0;
  }
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ===================================
   LEGAL DOCUMENTS STYLING
   =================================== */

/* Legal document container */
.legal-document {
  padding: 8rem 0 4rem 0;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Legal header */
.legal-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

/* Legal content container */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Legal sections */
.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.legal-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 1rem 0;
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-section ul {
  margin: 1rem 0 1rem 2rem;
  color: var(--text-primary);
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-section li strong {
  color: var(--primary);
  font-weight: 600;
}

/* Contact info styling in legal documents */
.contact-info {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Responsive design for legal documents */
@media (max-width: 768px) {
  .legal-document {
    padding: 6rem 0 3rem 0;
  }
  
  .legal-header h1 {
    font-size: 2rem;
  }
  
  .legal-content {
    padding: 0 1rem;
  }
  
  .legal-section h2 {
    font-size: 1.3rem;
  }
  
  .legal-section h3 {
    font-size: 1.1rem;
  }
  
  .legal-section ul {
    margin-left: 1rem;
  }
  
  .contact-info {
    padding: 1rem;
  }
}

/* Print styles for legal documents */
@media print {
  .legal-document {
    padding: 0;
  }
  
  header, footer, .animated-bg {
    display: none !important;
  }
  
  .legal-content {
    color: #000 !important;
    background: #fff !important;
  }
  
  .legal-section h2 {
    color: #000 !important;
    border-bottom-color: #000 !important;
  }
}
#employees, #users, #plans, #reviews, #messages { scroll-margin-top: 100px; }

/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {
  /* iPhone/iPad specific styles */
  .hamburger {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
  }
  
  .mobile-nav a,
  .btn-primary,
  .lang-btn,
  .user-avatar {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  /* Ensure icons are properly sized on iOS */
  .nav-link i,
  .mobile-nav a i,
  .btn-primary i,
  .lang-btn i {
    display: inline-block !important;
    font-size: inherit;
    color: white;
    margin-right: 0.5rem;
    line-height: 1;
    vertical-align: middle;
  }
  
  /* Mobile navigation icon styling */
  .mobile-nav .nav-icon {
    display: inline-block;
    margin-right: 0.5rem;
  }
  
  .mobile-nav .nav-icon i {
    color: white;
    font-size: 0.9em;
  }
  
  .mobile-nav .nav-text {
    display: inline-block;
  }
  
  /* Fix for Safari iOS button styling */
  button, .btn, .btn-primary {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
  }
  
  /* Prevent zoom on input focus */
  input, select, textarea {
    font-size: 16px;
  }
}

/* Android-specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .hamburger {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }
  
  .mobile-nav {
    -webkit-overflow-scrolling: touch;
  }
}

/* Ensure Get Started button text is always white */
.GetStarted-btn,
.btn-primary {
  color: white !important;
}

.GetStarted-btn:hover,
.btn-primary:hover,
.GetStarted-btn:focus,
.btn-primary:focus,
.GetStarted-btn:active,
.btn-primary:active {
  color: white !important;
}

/* Enhanced Pricing Animations */
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.05; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.1; }
}

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

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

/* Responsive Design for Pricing */
@media (max-width: 1200px) {
  .pricing-grid-section {
    gap: 1.5rem;
    max-width: 900px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

@media (max-width: 900px) {
  .pricing-sections-container {
    max-width: 95%;
    padding: 0 20px;
    margin: 0 auto;
  }

  .pricing-grid-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 95%;
    padding: 0 20px;
    margin: 0 auto;
  }
  
  .special-bundles-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 95%;
    padding: 0 20px;
    margin: 0 auto;
  }
  
  .special-bundles-grid .pricing-card {
    min-width: auto;
    max-width: 100%;
    width: 100%;
    min-height: auto;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  
  .bundle-separator {
    display: none;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .pricing-sections-container {
    max-width: 95%;
    padding: 0 15px;
    margin: 0 auto;
  }
  
  .pricing-grid-section,
  .special-bundles-grid {
    max-width: 95%;
    padding: 0 15px;
    margin: 0 auto;
    grid-template-columns: 1fr !important;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  .pricing-grid-section.custom-grid {
    max-width: 400px;
  }
  
  .pricing-card {
    padding: 1.5rem 1rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .pricing-card .plan-price {
    font-size: 2rem;
  }
  
  .pricing-card .plan-name {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .pricing-sections-container {
    max-width: 95%;
    padding: 0 15px;
    margin: 0 auto;
  }
  
  .pricing-grid-section,
  .special-bundles-grid {
    max-width: 95%;
    padding: 0 15px;
    margin: 0 auto;
    grid-template-columns: 1fr !important;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.8rem;
    box-sizing: border-box;
  }
}

@media (max-width: 360px) {
  .pricing-sections-container {
    padding: 0.25rem;
  }
  
  .pricing-grid-section,
  .special-bundles-grid {
    padding: 0 0.25rem;
  }

  .pricing-card {
    max-width: calc(100% - 0.5rem);
    width: calc(100% - 0.5rem);
    margin: 0 0.25rem;
    padding: 0.6rem;
  }
}

@media (max-width: 360px) {
  .pricing-sections-container {
    max-width: 95%;
    padding: 0 10px;
    margin: 0 auto;
  }
  
  .pricing-grid-section,
  .special-bundles-grid {
    max-width: 95%;
    padding: 0 10px;
    margin: 0 auto;
    grid-template-columns: 1fr !important;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.6rem;
    box-sizing: border-box;
  }

  .pricing-card .plan-price {
    font-size: 1.8rem;
  }
  
  .pricing-card .plan-description {
    font-size: 0.8rem;
  }
  
  .plan-features li {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }
}

/* ==================================================
   MOBILE PRICING FIX - HIGHEST PRIORITY OVERRIDES
   ================================================== */

@media screen and (max-width: 768px) {
  /* Force no horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  /* Pricing container - match site standard */
  .pricing-sections-container {
    width: 100% !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    padding: 1rem 15px !important;
    box-sizing: border-box !important;
  }
  
  /* All pricing grids - single column */
  .pricing-grid-section,
  .special-bundles-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    box-sizing: border-box !important;
  }
  
  /* All pricing cards - full width */
  .pricing-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    margin: 0 !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Special bundle cards */
  .special-bundles-grid .pricing-card.featured,
  .special-bundles-grid .pricing-card.custom-plan {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    margin: 0 !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 480px) {
  .pricing-sections-container {
    padding: 0.5rem 10px !important;
  }
  
  .pricing-card {
    padding: 0.8rem !important;
  }
}

@media screen and (max-width: 360px) {
  .pricing-sections-container {
    padding: 0.25rem 5px !important;
  }
  
  .pricing-card {
    padding: 0.6rem !important;
    font-size: 0.9rem !important;
  }
}

/* ==================================================
   SHOPPING CART STYLES
   ================================================== */

/* Cart page layout */
.cart-page {
  padding-top: 8rem;
  min-height: 100vh;
}

.cart-header {
  text-align: center;
  padding: 4rem 0 2rem 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(98, 0, 255, 0.1));
}

.cart-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cart-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Cart content */
.cart-content {
  padding: 2rem 0 4rem 0;
}

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

/* Cart items section */
.cart-items-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.cart-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-items-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* Individual cart item */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

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

.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cart-item-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.platform-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.cart-item-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.monthly-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.setup-fee {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-item-actions {
  display: flex;
  align-items: center;
}

.remove-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.remove-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

/* Empty cart */
.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart-content {
  max-width: 400px;
  margin: 0 auto;
}

.empty-cart-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-cart h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-cart p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Cart summary */
.cart-summary-section {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.cart-summary h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
  border-bottom: none;
}

.total-row {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.discount-row {
  color: var(--success);
  font-weight: 500;
}

.billing-cycle {
  text-align: center;
  margin: 1rem 0;
  color: var(--text-secondary);
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkout-btn:disabled {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: not-allowed;
}

.cart-actions .btn {
  width: 100%;
}

/* Conflict warning */
.conflict-warning {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
}

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

.conflict-warning .icon-warning {
  font-size: 2rem;
  color: #f97316;
  margin-bottom: 1rem;
}

.conflict-warning h4 {
  font-size: 1.1rem;
  color: #f97316;
  margin-bottom: 0.5rem;
}

.conflict-warning p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.conflict-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Cart link in navigation */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-link .icon-cart {
  font-size: 1.2rem;
}

#cart-count {
  background: var(--primary);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Notifications */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.notification-show {
  transform: translateX(0);
}

.notification-content {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-message {
  color: var(--text-primary);
  font-weight: 500;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
}

.notification-success {
  border-left: 4px solid var(--success);
}

.notification-warning {
  border-left: 4px solid #f97316;
}

.notification-info {
  border-left: 4px solid var(--primary);
}

/* Add to cart buttons in pricing cards */
.add-to-cart-btn {
  width: 100%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

/* Mobile responsiveness for cart */
@media (max-width: 768px) {
  .cart-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cart-summary-section {
    position: static;
    order: -1;
  }
  
  .cart-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cart-item-actions {
    align-self: stretch;
  }
  
  .remove-btn {
    width: 100%;
  }
  
  .conflict-actions {
    flex-direction: column;
  }
  
  .conflict-actions .btn {
    width: 100%;
  }
}

/* Admin Dashboard Footer Spacing */
.dashboard {
  margin-bottom: 4rem; /* Add extra space above footer */
}

/* Admin-specific footer styling */
body footer {
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

/* Chart controls styling */
.chart-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.chart-controls select {
  min-width: 140px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius);
}

.chart-controls select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

/* Chart select dropdown styling */
.chart-select {
  min-width: 140px;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border: 2px solid var(--primary);
  color: var(--text-primary);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.chart-select:hover {
  border-color: var(--primary);
  background-color: rgba(0, 212, 255, 0.05);
}

.chart-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.chart-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.5rem;
}

/* Responsive chart layout */
@media (min-width: 768px) {
  /* On larger screens, show subscription and daily revenue side by side */
  .charts-row-1 {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (min-width: 1024px) {
  /* On desktop, show subscription and daily revenue side by side */
  .charts-row-1 {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Ensure single column on mobile */
@media (max-width: 767px) {
  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }
  
  .chart-controls {
    margin-top: 0.5rem;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Reply Button Styling */
.btn-reply {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-reply:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

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

.btn-reply svg {
  stroke-width: 2;
}

/* Original Message Display Styling */
.original-message-display {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin: 0.5rem 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-secondary);
  max-height: 200px;
  overflow-y: auto;
}

.original-message-display .message-header {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.original-message-display .message-content {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Discount Management Specific Styles */
.discount-management-content {
  padding: 1rem 0;
}

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

.admin-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.admin-stat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.1);
}

.admin-stat-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-primary);
}

.table-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1rem;
}

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

.table th {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.table tr:hover {
  background: rgba(0, 188, 212, 0.05);
}

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

/* Search and Filter Styles */
.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

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

.space-x-4 > * + * {
  margin-left: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

/* Color Utilities */
.text-cyan-400 { color: #22d3ee; }
.text-green-400 { color: #4ade80; }
.text-purple-400 { color: #a78bfa; }
.text-yellow-400 { color: #facc15; }
.text-red-400 { color: #f87171; }
.text-gray-400 { color: #9ca3af; }

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 10000;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 2.5rem;
  color: var(--primary);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cookie-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.cookie-btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.cookie-btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cookie-btn-decline:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.5);
}

/* Cookie Settings Modal */
.cookie-settings-content {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-category {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.cookie-category:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cookie-category h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.cookie-required {
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.cookie-category p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cookie-toggle input[type="checkbox"] {
  display: none;
}

.toggle-label {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-label {
  background: var(--primary);
  border-color: var(--primary);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-label::after {
  transform: translateX(24px);
  background: white;
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-label {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-actions-modal {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cookie-actions-modal .btn,
.cookie-actions-modal .btn-outline {
  flex: 1;
  min-width: 140px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .cookie-toggle {
    align-self: flex-end;
  }
  
  .cookie-actions-modal {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

/* Cookie Types in Privacy Policy */
.cookie-types {
  margin: 1.5rem 0;
}

.cookie-type {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.cookie-type:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.cookie-type h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.cookie-type p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Error Message Styles */
.error-message {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid #ef4444;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.error-content {
  max-width: 400px;
  margin: 0 auto;
}

.error-content i {
  color: #ef4444;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-content h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.error-content p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.retry-button {
  background: linear-gradient(135deg, #00d4ff 0%, #0891b2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.retry-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.retry-button i {
  font-size: 0.9rem;
}
