/* =========================================================
   GGC Coming Soon — V1.6
   Minimal industrial landing page
   ========================================================= */

:root {
  --ggc-blue: #0d7fb8;
  --ggc-blue-soft: #5cb5df;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --panel: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.24);
}

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #284452;
  color: var(--white);
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px 24px 90px;
  isolation: isolate;
  background:
    linear-gradient(135deg, #486878 0%, #284452 100%);
}

/* Background crossfade */
.bg,
.shade {
  position: absolute;
  inset: 0;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.22s ease-in-out;
  animation: slowZoom 30s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.bg.active {
  opacity: 1;
}

.bg-one {
  z-index: -4;
}

.bg-two {
  z-index: -3;
  animation-delay: -15s;
}

.shade {
  position: absolute;
  inset: 0;
}

.bg {
  z-index: -4;
  background-size: cover;
  background-position: center;
  transform: scale(1.045);
  opacity: 0;
  transition: opacity 0.28s ease-in-out;
  animation: slowZoom 30s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.bg.active {
  opacity: 1;
}

.bg-one {
  background-image: url("assets/factory-1.jpg");
}

.bg-two {
  background-image: url("assets/factory-2.jpg");
  animation-delay: -15s;
}

.shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 42%, rgba(6, 26, 39, 0.06), rgba(4, 15, 22, 0.28) 55%, rgba(3, 10, 16, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 19, 29, 0.14), rgba(5, 19, 29, 0.42));
}

/* Glass content */
.panel {
  width: min(720px, 100%);
  text-align: center;
  padding: clamp(28px, 4vw, 42px) clamp(22px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.065)
  );
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);

  opacity: 0;
  transform: translateY(18px);
  animation: panelIn 1s ease forwards;
}

.logo {
  display: block;
  width: min(430px, 88vw);
  max-height: 160px;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.accent-line {
  position: relative;
  width: 86px;
  height: 3px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.accent-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--ggc-blue-soft), transparent);
  animation: sweep 2.8s ease-in-out infinite;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.68);
}

h1 {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.arabic {
  margin-top: 14px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  color: var(--muted);
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  min-width: 150px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

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

.btn-primary {
  background: var(--ggc-blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(13, 127, 184, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #0a72a7;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.10);
}

.email {
  display: inline-block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.email:hover,
.email:focus-visible {
  color: #ffffff;
}

.location {
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.52);
}

.status {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.58);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ggc-blue-soft);
  box-shadow: 0 0 0 0 rgba(92, 181, 223, 0.48);
  animation: pulse 2s infinite;
}

@keyframes panelIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.045) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.095) translate3d(-0.4%, -0.3%, 0);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-140%);
  }
  50%, 100% {
    transform: translateX(310%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 181, 223, 0.46);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(92, 181, 223, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(92, 181, 223, 0);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 24px 16px 74px;
  }

  .panel {
    border-radius: 22px;
  }

  .logo {
    width: min(360px, 86vw);
    margin-bottom: 20px;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .status {
    left: 16px;
    bottom: 16px;
  }

  .bg {
    background-position: 58% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .bg,
  .accent-line::after,
  .status-dot {
    animation: none;
  }

  .bg {
    transition: none;
  }

  .bg-one {
    opacity: 1;
  }

  .bg-two {
    opacity: 0;
  }
}
