:root {
  --bg: #020817;
  --surface: #0f172a;
  --surface-2: #111827;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --brand: #16a34a;
  --brand-2: #22c55e;
  --ring: #38bdf8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Cairo', 'Noto Kufi Arabic', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: linear-gradient(180deg, #020617, #0b1220 50%, #020617);
  color: var(--text);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 4px);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -42px;
  right: 10px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 10px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(16px, 3vw, 40px);
  background: rgba(2, 8, 23, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(12px);
}

.topbar p {
  margin: 0;
  color: var(--muted);
}

.whatsapp-mini {
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-mini:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
}

main {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: clamp(32px, 6vw, 80px) 0 24px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.35;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
}

.hero-image {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius);
  padding: 8px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.65));
  box-shadow: var(--shadow);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.45);
}

.highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.highlights li {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
}

.section {
  padding: clamp(30px, 5vw, 64px) 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.23);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.specs ul {
  margin: 0;
  padding-inline-start: 20px;
  display: grid;
  gap: 10px;
}

.specs li {
  color: #e2e8f0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.cta-section {
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.cta-section p {
  margin: 0 auto 16px;
  color: var(--muted);
  max-width: 720px;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 14px;
  padding: 18px 14px 26px;
  text-align: center;
  color: #cbd5e1;
}

.footer p {
  margin: 6px 0;
}

.footer a {
  color: #86efac;
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45);
  animation: whatsapp-float 2.8s ease-in-out infinite, whatsapp-pulse 2.8s ease-out infinite;
  will-change: transform, box-shadow;
}

.floating-whatsapp:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.03);
}

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

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45), 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45), 0 0 0 12px rgba(34, 197, 94, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {

  .grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    left: 10px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
