:root {
  --bg: #07111f;
  --bg-soft: #0d1b2e;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #a9b4c7;
  --primary: #f7b500;
  --primary-2: #ffd45c;
  --blue-glow: #1ea7ff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(30, 167, 255, 0.10), transparent 30%),
    radial-gradient(circle at bottom left, rgba(247, 181, 0, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.bg-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
}

.glow-1 {
  top: -80px;
  right: -60px;
  background: var(--blue-glow);
}

.glow-2 {
  bottom: -100px;
  left: -80px;
  background: var(--primary);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo h1,
.logo h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.logo p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.2;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #111;
  box-shadow: 0 10px 30px rgba(247, 181, 0, 0.25);
}

.navbar {
  display: flex;
  gap: 24px;
}

.navbar a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.97rem;
  position: relative;
  transition: 0.3s;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 4% 18px;
  gap: 12px;
  background: rgba(7, 17, 31, 0.95);
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.badge,
.section-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(247, 181, 0, 0.12);
  color: var(--primary-2);
  border: 1px solid rgba(247, 181, 0, 0.22);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.hero-text h2 {
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text h2 span {
  color: var(--primary);
  text-shadow: 0 0 18px rgba(247, 181, 0, 0.18);
}

.hero-text p {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.04rem;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.35s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #111;
  box-shadow: 0 15px 35px rgba(247, 181, 0, 0.22);
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #dbe4f2;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.electric-card {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel {
  width: 100%;
  max-width: 480px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(16px);
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 18px 18px 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.panel-content {
  padding: 28px;
}

.energy-line {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  margin: 18px 0 22px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--blue-glow), transparent);
  background-size: 200% 100%;
  animation: moveLine 3s linear infinite;
}

@keyframes moveLine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.panel-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.panel-content p {
  color: var(--muted);
  margin-bottom: 24px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card {
  padding: 18px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
  transition: 0.35s;
}

.mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 181, 0, 0.4);
}

.floating {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  animation: floatUpDown 4s ease-in-out infinite;
  box-shadow: var(--shadow);
}

.floating-1 {
  top: 12%;
  right: 6%;
}

.floating-2 {
  top: 58%;
  right: -2%;
  animation-delay: 1s;
}

.floating-3 {
  bottom: 12%;
  left: 0;
  animation-delay: 2s;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}

.hero-wave {
  position: absolute;
  bottom: -60px;
  right: 0;
  width: 100%;
  height: 160px;
  background: radial-gradient(circle at 50% 0%, rgba(247, 181, 0, 0.12), transparent 55%);
  filter: blur(10px);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-head h3 {
  font-size: clamp(1.6rem, 2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
}

.about-grid,
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card,
.category-card,
.stats-box,
.cta-box {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.about-card,
.category-card {
  padding: 28px;
  transition: 0.35s;
}

.about-card:hover,
.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(247, 181, 0, 0.28);
}

.icon-box,
.category-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(247,181,0,0.18), rgba(30,167,255,0.16));
  border: 1px solid rgba(255,255,255,0.10);
}

.about-card h4,
.category-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.about-card p,
.category-card p {
  color: var(--muted);
}

.dark-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.stats-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 32px 22px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-left: none;
}

.stat-item h4 {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--muted);
  font-weight: 600;
}

.cta-box {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-box h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--muted);
}

.footer {
  padding-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer h4 {
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .categories-grid,
  .footer-grid,
  .stats-box,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-actions,
  .hero-features {
    justify-content: center;
  }

  .cta-box {
    text-align: center;
  }

  .navbar {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }

  .stat-item {
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 576px) {
  .hero-text h2 {
    font-size: 2rem;
  }

  .panel-content h3 {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .logo h1,
  .logo h3 {
    font-size: 1rem;
  }

  .logo p {
    font-size: 0.78rem;
  }

  .floating {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
}