:root {
  --bg-dark: #0e0517;
  --bg-surface: rgba(30, 10, 48, 0.6);
  --purple-glow: #6e1aab;
  --red-accent: #e51d1d;
  --text-main: #ffffff;
  --text-muted: #c3b1d3;
  --border-light: rgba(255, 255, 255, 0.1);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Floating Glows */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--purple-glow);
  top: -100px;
  left: -150px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: var(--red-accent);
  top: 800px;
  right: -150px;
  animation-delay: 3s;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-30px) scale(1.08); }
}

/* Top Announcement Bar */
.top-bar {
  background: #06020a;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contacts a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.top-contacts a:hover {
  color: var(--red-accent);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 5, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--red-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #ffffff;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Base Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-accent), #a30e0e);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(229, 29, 29, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(229, 29, 29, 0.7);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--red-accent);
  border-color: var(--red-accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Button Pulse & Shine Animations */
.pulse-btn {
  animation: pulseGlow 2.5s infinite ease-in-out alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(229, 29, 29, 0.4); }
  100% { box-shadow: 0 0 25px rgba(229, 29, 29, 0.9); }
}

.shine-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(30deg);
  transition: all 0.8s ease;
}

.shine-effect:hover::after {
  left: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(229, 29, 29, 0.12);
  color: #ff5252;
  border: 1px solid rgba(229, 29, 29, 0.3);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-logo-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(229, 29, 29, 0.3));
}

.animate-float {
  animation: floatAnim 3.5s ease-in-out infinite alternate;
}

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

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 20px auto 35px;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 50px;
}

.hero-card {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 24px 36px;
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red-accent);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* Arabic Banner */
.arabic-banner {
  background: linear-gradient(90deg, #610909, var(--red-accent), #610909);
  padding: 22px 0;
  text-align: center;
  box-shadow: 0 0 30px rgba(229, 29, 29, 0.3);
}

.arabic-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
}

/* Section Shared */
.section {
  padding: 90px 0;
}

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

.section-title {
  margin-bottom: 50px;
}

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

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 22px;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 29, 29, 0.5);
  box-shadow: 0 15px 30px rgba(229, 29, 29, 0.15);
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--red-accent);
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 29, 29, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.product-img-wrapper {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px dashed var(--border-light);
}

.img-fallback i {
  font-size: 2.2rem;
}

.product-details {
  padding: 26px;
}

.product-details h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-specs-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-specs-list li {
  margin-bottom: 6px;
}

.product-specs-list span {
  color: #ffffff;
  font-weight: 600;
}

/* Specifications Table */
.specs-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 850px) {
  .specs-wrapper {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.specs-info h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.specs-info p {
  color: var(--text-muted);
  margin-bottom: 26px;
}

.specs-table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-light);
}

.specs-table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-heading);
  color: var(--red-accent);
}

.specs-table td {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* Contact Grid & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-panel h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(229, 29, 29, 0.12);
  color: var(--red-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--red-accent);
}

.social-panel h4 {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.social-buttons {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.35s ease;
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  transform: translateY(-4px);
  border-color: transparent;
}

.social-btn.facebook:hover {
  background: #1877f2;
  transform: translateY(-4px);
  border-color: transparent;
}

.contact-form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--red-accent);
  background: rgba(255, 255, 255, 0.07);
}

/* Footer */
.footer {
  background: #050208;
  padding: 60px 0 24px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-logo {
  height: 40px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .top-contacts { display: none; }
  .hero-card { flex-direction: column; gap: 16px; }
  .stat-divider { width: 100%; height: 1px; }
  .hero-logo-img { max-width: 280px; }
  .arabic-text { font-size: 1.35rem; }
}