:root {
  --bg-primary: #080d1a;
  --bg-secondary: #0d1527;
  --bg-card: rgba(17, 27, 49, 0.7);
  --bg-card-hover: rgba(23, 37, 68, 0.85);
  --border-color: rgba(64, 120, 255, 0.18);
  --border-hover: rgba(0, 242, 254, 0.45);
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7928ca;
  --accent-pink: #ff0080;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-neon: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-glow: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
  --font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(121, 40, 202, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(79, 172, 254, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(8, 13, 26, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

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

.btn-client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-hover);
  color: var(--accent-cyan);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-client:hover {
  background: var(--gradient-neon);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  padding: 160px 0 100px;
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-size: 13px;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 12px;
  background: var(--gradient-neon);
  color: #030a16;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 25px rgba(0, 242, 254, 0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 242, 254, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-3px);
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.15);
}

.stat-val {
  font-size: 34px;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-lbl {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* SECTION COMMON */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.12);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* PRICING PACKAGES (TIGER STYLE) */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pkg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pkg-card.popular {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(17, 27, 49, 0.9) 0%, rgba(13, 21, 39, 0.95) 100%);
  box-shadow: 0 10px 40px rgba(0, 242, 254, 0.2);
  transform: scale(1.03);
}

.pkg-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-neon);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.5);
}

.pkg-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pkg-price-wrap {
  margin: 16px 0 24px;
}

.pkg-price {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
}

.pkg-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pkg-features {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.pkg-features li {
  font-size: 14px;
  color: #cbd5e1;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pkg-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 900;
}

.btn-pkg {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-pkg:hover, .pkg-card.popular .btn-pkg {
  background: var(--gradient-neon);
  border-color: transparent;
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.port-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.port-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.port-cat {
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 6px;
}

.port-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.btn-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.btn-visit:hover {
  background: var(--gradient-neon);
  color: #000;
}

/* FOOTER */
.footer {
  background: #040810;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-dev {
  margin-top: 15px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-dev strong {
  color: var(--accent-cyan);
}

/* FLOATING WHATSAPP */
.float-wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all 0.3s ease;
}

.float-wa:hover {
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .nav-links { display: none; }
  .pkg-card.popular { transform: none; }
}



/* CLIENTS & RANKING PAGE STYLES */
.rank-badge-podium {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 14px;
}
.rank-1 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.rank-2 {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(220, 220, 220, 0.15));
  color: #e2e8f0;
  border: 1px solid rgba(192, 192, 192, 0.4);
}
.rank-3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(184, 115, 51, 0.2));
  color: #cd7f32;
  border: 1px solid rgba(205, 127, 50, 0.4);
}
.rank-other {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  transition: all 0.35s ease;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.client-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px rgba(0, 242, 254, 0.15);
  background: var(--bg-card-hover);
}

.client-card.top-rank {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.08);
}

.client-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.client-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(121, 40, 202, 0.2));
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-cyan);
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.client-category {
  display: inline-block;
  font-size: 12px;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.client-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 44px;
}

.client-meta-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.05);
}

.client-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

.client-stat-item i {
  color: var(--accent-cyan);
}

.client-stat-item.visits strong {
  color: #00f2fe;
  font-size: 15px;
}

.btn-enter-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: var(--gradient-neon);
  color: #050b14;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
  transition: all 0.3s ease;
}

.btn-enter-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
  color: #000;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  padding: 10px;
  margin-top: 30px;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.ranking-table th {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.ranking-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.ranking-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.podium-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 35px 0;
  align-items: flex-end;
}

@media (max-width: 900px) {
  .podium-section {
    grid-template-columns: 1fr;
  }
}
