@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #060910;
  --panel: #0c1424;
  --panel-2: #0f1a2e;
  --text: #f4f6fb;
  --muted: #c7d0df;
  --accent: #57b3ff;
  --accent-2: #7dffcf;
  --stroke: rgba(255, 255, 255, 0.12);
  --glow: rgba(87, 179, 255, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Tajawal", system-ui, sans-serif;
}

body {
  background: radial-gradient(circle at top, #101c36 0%, #060910 55%, #05070c 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ======================= SPLASH SCREEN ======================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #0a1628 0%, #050a14 60%, #020408 100%);
  transition: opacity 1s ease, visibility 1s ease;
  cursor: pointer;
}

.splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  animation: splashFadeIn 1.2s ease forwards;
}

@keyframes splashFadeIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.splash-flag {
  font-size: 72px;
  margin-bottom: 20px;
  animation: splashPulse 2s ease-in-out infinite;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.splash-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(87, 179, 255, 0.4);
}

.splash-sub {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.splash-line {
  width: 80px;
  height: 3px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  animation: splashLineGrow 1.5s ease forwards;
}

@keyframes splashLineGrow {
  0% { width: 0; }
  100% { width: 80px; }
}

.splash-brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #f7f8fb 0%, #b6c0d2 45%, #f7f8fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ======================= MAIN PAGE ======================= */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.page.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================= SECTION HEADINGS ======================= */
.section-heading {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text);
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}

/* ======================= DISC / PRODUCT IMAGES ======================= */
.disc-section {
  background: var(--panel-2);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 32px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.disc-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(6, 12, 24, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.disc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(87, 179, 255, 0.25);
  border-color: var(--accent);
}

.disc-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.disc-card:hover img {
  transform: scale(1.05);
}

.disc-single {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
}

/* ======================= VIDEO SECTIONS ======================= */
.video-section {
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 32px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* ======================= BRAND SECTION (GH SMART) ======================= */
.brand-section {
  display: flex;
  justify-content: center;
}

.brand-card {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 60px 40px;
  border-radius: 28px;
  background: linear-gradient(145deg, #0d1a30, #060c18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.brand-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(87, 179, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.brand-name {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 6px;
  background: linear-gradient(90deg, #ffffff 0%, #a8b8d0 30%, #ffffff 50%, #a8b8d0 70%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(87, 179, 255, 0.3));
  animation: brandShimmer 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes brandShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.brand-tagline {
  font-size: 20px;
  color: var(--muted);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.brand-divider {
  width: 100px;
  height: 2px;
  margin: 24px auto;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  border-radius: 999px;
  position: relative;
  z-index: 1;
}

.brand-origin {
  font-size: 18px;
  color: var(--accent-2);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* ======================= LOCATION SECTION ======================= */
.location-section {
  display: flex;
  justify-content: center;
}

.location-card {
  width: 100%;
  max-width: 700px;
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.location-title {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.location-address {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.location-map {
  margin-bottom: 20px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.location-map iframe {
  display: block;
}

.map-link {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071018;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 24px;
  box-shadow: 0 12px 28px rgba(87, 179, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(87, 179, 255, 0.5);
}

/* ======================= CONTACT NUMBERS ======================= */
.contact-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}

.contact-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.contact-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
  direction: ltr;
  transition: color 0.2s ease;
}

.contact-number:hover {
  color: var(--accent);
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 640px) {
  .splash-title {
    font-size: 36px;
  }

  .splash-sub {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .splash-flag {
    font-size: 52px;
  }

  .splash-brand {
    font-size: 22px;
  }

  .page {
    padding: 24px 16px 40px;
    gap: 28px;
  }

  .section-heading {
    font-size: 21px;
  }

  .disc-section {
    padding: 20px 16px;
  }

  .disc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .disc-card img {
    aspect-ratio: 1 / 1;
  }

  .video-section {
    padding: 20px 16px;
  }

  .video-wrapper {
    border-radius: 14px;
  }

  .brand-card {
    padding: 40px 20px;
  }

  .brand-name {
    font-size: 36px;
    letter-spacing: 3px;
  }

  .brand-tagline {
    font-size: 16px;
  }

  .brand-origin {
    font-size: 15px;
  }

  .location-card {
    padding: 20px 16px;
  }

  .location-title {
    font-size: 20px;
  }

  .location-address {
    font-size: 15px;
  }

  .map-link {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
  }

  .contact-numbers {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-number {
    font-size: 18px;
  }
}
