:root {
  --primary-color: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #2563eb;
  --secondary-color: #8b5cf6;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #06b6d4;
  --light-color: rgba(255, 255, 255, 0.1);
  --dark-color: #1e293b;
  --darker-color: #0f172a;
  --white: #ffffff;
  --gray: #64748b;
  --border-radius: 20px;
  --border-radius-lg: 40px;
  --box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--white);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
  background-size: 400% 400%;
  animation: gradientFlow 20s ease infinite;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
  animation: pulseGlow 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* Buttons - Glassmorphism Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.05rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  background-size: 200% 100%;
  color: var(--white);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0
    rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
}

/* Navigation - Glassmorphism Redesign */
.navbar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  animation: slideInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  position: relative;
}

/* اللوجو */
.nav-logo {
  flex-shrink: 0;
}

.nav-logo a {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.75rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 50px;
  transition: var(--transition);
  text-shadow: 0 2px 20px rgba(59, 130, 246, 0.6);
}

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

/* القائمة الرئيسية */
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex: 1;
  max-width: 900px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.95rem;
  position: relative;
  background: transparent;
  backdrop-filter: blur(10px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 24px;
  left: 24px;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  color: var(--primary-light);
}

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

/* قائمة المستخدم */
.user-menu {
  position: relative;
  flex-shrink: 0;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 10px 20px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px);
  min-width: 220px;
  box-shadow: var(--box-shadow);
  border-radius: 20px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 10px;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--primary-light);
}

.logout-btn {
  color: var(--danger-color) !important;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
}

/* القائمة المتنقلة */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section - Glassmorphism */
.hero {
  background: transparent;
  color: var(--white);
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
  z-index: -1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  padding: 12px 24px;
  border-radius: 25px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.highlight {
  background: linear-gradient(135deg, #60a5fa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
  position: relative;
  margin-top: 4rem;
}

.visual-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  animation: float 4s ease-in-out infinite;
  box-shadow: var(--box-shadow);
  z-index: 10;
}

.card-1 {
  top: -20px;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 5%;
  animation-delay: 1.5s;
}

.card-3 {
  bottom: -10px;
  left: 20%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

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

.main-visual {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--box-shadow-lg);
  padding: 1rem;
}

.website-preview {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.browser-bar {
  background: rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
  display: flex;
  gap: 10px;
}

.browser-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transition: var(--transition);
}

.browser-dots span:nth-child(1) {
  background: linear-gradient(135deg, #ff5f57, #ff8e8e);
}
.browser-dots span:nth-child(2) {
  background: linear-gradient(135deg, #ffbd2e, #ffd43b);
}
.browser-dots span:nth-child(3) {
  background: linear-gradient(135deg, #28ca42, #51cf66);
}

.website-content {
  padding: 2.5rem;
  background: var(--gradient-primary);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.traffic-flow {
  display: flex;
  gap: 12px;
}

.visitor {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.visitor:nth-child(2) {
  animation-delay: 0.4s;
}
.visitor:nth-child(3) {
  animation-delay: 0.8s;
}

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

/* How It Works Section */
.how-it-works {
  padding: 120px 0;
  background: transparent;
  position: relative;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: -1;
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.section-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.steps-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 3rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.step-card:nth-child(even) {
  flex-direction: row-reverse;
}

.step-card:nth-child(even) .step-content {
  text-align: right;
}

.step-icon {
  position: relative;
  flex-shrink: 0;
}

.step-icon i {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.4);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.step-card:hover .step-icon i {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 25px 50px -10px rgba(59, 130, 246, 0.5);
}

.step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--primary-color);
}

.step-content {
  flex: 1;
  padding: 1.5rem 0;
}

.step-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.step-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  font-size: 1.15rem;
}

/* Features Section */
.features {
  padding: 120px 0;
  background: transparent;
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  z-index: -1;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 3.5rem 2.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3);
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.12);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2.5rem;
  transition: var(--transition);
  box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.4);
  backdrop-filter: blur(10px);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 20px 45px -10px rgba(59, 130, 246, 0.5);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.05)" cx="500" cy="500" r="400"/></svg>');
  background-size: cover;
  z-index: -1;
}

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

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(30px);
  color: var(--white);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  margin-bottom: 60px;
}

.footer-section h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-radius: 8px;
  font-size: 1.05rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(10px);
  background: rgba(99, 102, 241, 0.1);
  padding-right: 12px;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-icon:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-6px) rotate(5deg);
  box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.5);
  border-color: transparent;
}

.footer-newsletter {
  margin-top: 30px;
}

.footer-newsletter h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.3rem;
  font-weight: 700;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -5px rgba(59, 130, 246, 0.5);
}

.footer-bottom {
  text-align: center;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
}




/* Auth Pages - Using the previous design */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.auth-container {
  width: 100%;
  max-width: 520px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.auth-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(180%);
  padding: 3.5rem;
  border-radius: 40px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 1px 0 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 0
    rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: cardFloat 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.8),
    rgba(139, 92, 246, 0.8),
    rgba(236, 72, 153, 0.8),
    transparent
  );
  border-radius: 0 0 20px 20px;
  filter: blur(8px);
}

@keyframes cardFloat {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.auth-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  backdrop-filter: blur(20px);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0
    rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: iconBounce 5s ease-in-out infinite;
  color: white;
  position: relative;
}

.auth-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5));
  z-index: -1;
  filter: blur(25px);
  opacity: 0.6;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.auth-card h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.auth-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Form Styles */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.form-group label i {
  color: rgba(59, 130, 246, 1);
  width: 20px;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.form-group input {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-family: inherit;
  font-weight: 500;
  color: white;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 10px 40px rgba(59, 130, 246, 0.3), inset 0 1px 0
    rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* Password Field */
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 12px;
  border-radius: 14px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  color: white;
}

.password-toggle.active {
  background: rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.6);
  color: white;
}

.password-field input {
  padding-right: 20px;
  padding-left: 80px !important;
}

.password-strength {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 14px;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.strength-weak {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.strength-medium {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.strength-strong {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.remember-me input {
  width: auto;
  transform: scale(1.4);
  cursor: pointer;
  accent-color: #3b82f6;
}

.forgot-password {
  color: #60a5fa;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 8px;
  border-radius: 8px;
}

.forgot-password::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.forgot-password:hover::before {
  opacity: 1;
}

.forgot-password:hover {
  color: #93c5fd;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Terms Checkbox */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 2.5rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.terms-checkbox:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

.terms-checkbox input {
  margin-top: 5px;
  transform: scale(1.4);
  cursor: pointer;
  accent-color: #3b82f6;
}

.terms-checkbox label {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

.terms-checkbox a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}

.terms-checkbox a:hover {
  color: #93c5fd;
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

/* Dashboard Pages - Glassmorphism Style */
.dashboard-page {
  padding: 2rem 0;
  min-height: calc(100vh - 80px);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--box-shadow);
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--box-shadow);
}


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

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2.5rem 2rem;
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  font-size: 2.5rem;
  margin-left: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.stat-content h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-content p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin: 0;
}

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

.action-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.action-card:hover::before {
  transform: scaleX(1);
}

.action-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.action-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.action-card p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* Add Link Page */
.add-link-page {
  padding: 2rem 0;
  min-height: calc(100vh - 80px);
}

.add-link-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cost-info {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: 18px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.instructions {
  background: rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.instructions h4 {
  margin-top: 0;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.instructions ul {
  padding-right: 20px;
}

.instructions li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* View Links Page */
.view-links-page {
  padding: 2rem 0;
  min-height: calc(100vh - 80px);
}

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

.links-stats .stat-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
}

.links-stats .stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.links-stats .stat-item h3 {
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.links-stats .stat-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 600;
}

.links-table-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.links-table th,
.links-table td {
  padding: 1.5rem;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.links-table th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: var(--white);
}

.links-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

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

.no-links {
  text-align: center;
  padding: 4rem 3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Surf Page - Enhanced Glassmorphism */
.surf-page {
  padding: 2rem 0;
  min-height: calc(100vh - 80px);
}

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

.info-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.points-info {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.surf-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.timer-container {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.timer.warning {
  color: var(--warning-color);
}

.timer.danger {
  color: var(--danger-color);
  animation: pulse 1s infinite;
}

.site-preview {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-frame {
  width: 100%;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.site-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.no-sites {
  text-align: center;
  padding: 4rem 3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Enhanced Surf Styles */
.auto-start-notice {
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(20px);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.4);
  animation: pulse 2s infinite;
}

.site-preview-content {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.preview-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.preview-header h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
}

.site-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.visits-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.preview-body {
  padding: 2rem;
}

.website-mockup {
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.mockup-header {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-buttons {
  display: flex;
  gap: 6px;
}

.mockup-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.mockup-buttons span:nth-child(1) {
  background: #ff5f57;
}
.mockup-buttons span:nth-child(2) {
  background: #ffbd2e;
}
.mockup-buttons span:nth-child(3) {
  background: #28ca42;
}

.mockup-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Courier New", monospace;
  direction: ltr;
}

.mockup-content {
  padding: 2rem;
  text-align: center;
}

.mockup-hero h4 {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.mockup-hero p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.mockup-features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature {
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.preview-footer {
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-notice {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-light);
  padding: 10px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

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

.visit-completed {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(30px);
  border-radius: 25px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.success-animation {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 1s ease;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.visit-completed h3 {
  color: #6ee7b7;
  margin-bottom: 1rem;
}

.site-name {
  font-size: 1.2rem;
  color: var(--primary-light);
  font-weight: bold;
  margin: 1rem 0;
}

.completion-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat .number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-light);
}

.stat .label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.completed-message {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 25px;
  box-shadow: var(--box-shadow);
}

.completed-message h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Enhanced URL Display */
.full-url-container {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.url-display {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
}

.url-icon {
  font-size: 1.2rem;
  margin-left: 12px;
  color: var(--primary-light);
}

.full-url-link {
  flex: 1;
  color: var(--primary-light);
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  word-break: break-all;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  direction: ltr;
  text-align: left;
}

.full-url-link:hover {
  background: rgba(59, 130, 246, 0.2);
  text-decoration: underline;
}

.copy-url-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.copy-url-btn:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: scale(1.1);
  color: white;
}

.copy-url-btn.copied {
  background: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.url-hint {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  display: block;
  font-size: 0.8rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.action-buttons .btn {
  min-width: 140px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Activity Indicator */
.activity-status {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(20px);
  color: white;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.activity-status.inactive {
  background: rgba(239, 68, 68, 0.9);
}

/* Progress Bar */
.progress-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 1rem 0;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.progress-bar {
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Signal Status */
.signal-status {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin: 1.5rem 0;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.signal-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.signal-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
}

.signal-text {
  font-weight: 600;
  font-size: 1.1rem;
}

.signal-details {
  opacity: 0.8;
  font-size: 0.9rem;
}

.visit-completed {
  animation: slideInUp 0.5s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 4px;
  }

  .nav-link {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .step-card {
    flex-direction: column !important;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .step-content {
    text-align: center !important;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .surf-info {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0px;
    right: -100%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px);
    width: 85%;
    height: calc(100vh - 70px);
    flex-direction: column;
    transition: all 0.4s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    gap: 0;
    justify-content: flex-start;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 18px 25px;
    margin: 0 20px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    justify-content: flex-start;
    font-size: 1rem;
    backdrop-filter: blur(20px);
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
  }

  .user-menu {
    width: 100%;
    margin: 20px 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .user-profile {
    background: var(--gradient-primary);
    color: white;
    margin: 0;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .user-dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
  }

  .user-dropdown.show {
    display: block;
  }

  .step-card {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem;
  }

  .step-icon i {
    width: 90px;
    height: 90px;
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .nav-container {
    padding: 0 15px;
  }

  .nav-logo a {
    font-size: 1.3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .auth-card {
    padding: 2.5rem 2rem;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

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

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

@media (max-width: 480px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .step-icon i {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .floating-card {
    position: static;
    margin-bottom: 1rem;
    animation: none;
  }

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

  .auth-card {
    padding: 2rem 1.5rem;
    border-radius: 30px;
  }

  .form-group input {
    padding: 16px 20px;
  }

  .btn {
    padding: 16px 24px;
    font-size: 1rem;
  }
}

/* تحسينات إضافية للشاشات الصغيرة */
@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .auth-card {
    padding: 1.5rem 1rem;
  }

  .stats-cards {
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }
}

/* تأثيرات الحركة الإضافية */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

/* تحسينات الوصول */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* تحسينات الطباعة */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .auth-card,
  .feature-card,
  .step-card {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}