/* ==========================================================================
   DAR SIRAAJKE | Luxury Coming Soon Stylesheet
   Designed with Electric Royal Blue & Metallic Crimson Red Aesthetics
   ========================================================================== */

:root {
  /* Brand Color Palette extracted directly from the logo */
  --blue-primary: #005ce6;
  --blue-bright: #1a75ff;
  --blue-deep: #003da8;
  --blue-glow: rgba(0, 102, 255, 0.45);
  
  --red-primary: #e60026;
  --red-bright: #ff2a4b;
  --red-deep: #990017;
  --red-glow: rgba(230, 0, 38, 0.45);

  --bg-space: #060913;
  --bg-card: rgba(13, 19, 36, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);

  --text-main: #ffffff;
  --text-sub: #b8c4db;
  --text-muted: #6f7d9c;

  --font-arabic: 'Alexandria', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-english: 'Outfit', sans-serif;

  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-space);
  font-family: var(--font-arabic);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  selection-background-color: var(--red-primary);
  selection-color: #fff;
}

::selection {
  background: rgba(230, 0, 38, 0.7);
  color: #ffffff;
}

/* Interactive Canvas for Starlight & Mesh */
#starsCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Ambient Radial Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.glow-blue {
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue-glow) 0%, rgba(0, 77, 204, 0.15) 60%, transparent 80%);
}

.glow-red {
  bottom: -15%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--red-glow) 0%, rgba(179, 0, 30, 0.15) 60%, transparent 80%);
  animation-delay: -7s;
}

.glow-center {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(0, 92, 230, 0.12) 0%, rgba(230, 0, 38, 0.08) 50%, transparent 80%);
  opacity: 0.5;
}

/* Mouse Follower Spotlight */
.mouse-spotlight {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 117, 255, 0.15) 0%, rgba(255, 42, 75, 0.08) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* Main Layout Wrapper */
.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  perspective: 1200px;
}

/* Luxury Glassmorphism Card */
.glow-border-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 36px;
  border: 1px solid var(--card-border);
  box-shadow: 
    0 30px 80px -15px rgba(0, 0, 0, 0.85),
    0 0 50px -10px rgba(0, 92, 230, 0.25),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 20px 0 rgba(0, 0, 0, 0.4);
  padding: 3.5rem 3rem 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  overflow: hidden;
}

/* Subtle Card Edge Highlights */
.glow-border-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), #ffffff, var(--red-bright), transparent);
  border-radius: 2px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

.glow-border-card:hover {
  box-shadow: 
    0 35px 95px -15px rgba(0, 0, 0, 0.95),
    0 0 70px -5px rgba(0, 102, 255, 0.35),
    0 0 50px -10px rgba(230, 0, 38, 0.3),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.25);
}

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-bottom: 2.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
  animation: pulseDot 1.8s infinite ease-in-out;
}

.badge-text-ar {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.badge-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.badge-text-en {
  font-family: var(--font-english);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Logo Showcase Container */
.logo-showcase {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-aura {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(
    circle, 
    rgba(0, 92, 230, 0.35) 15%, 
    rgba(230, 0, 38, 0.25) 50%, 
    transparent 75%
  );
  filter: blur(35px);
  z-index: 1;
  animation: breathAura 6s ease-in-out infinite alternate;
}

/* Sparkle Elements */
.sparkle {
  position: absolute;
  color: #fff;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 8px #60a5fa) drop-shadow(0 0 16px #ff2a4b);
}

.sparkle-1 {
  top: 15%;
  right: 18%;
  font-size: 1.1rem;
  color: #93c5fd;
  animation: sparkleTwinkle 3.2s infinite ease-in-out;
}

.sparkle-2 {
  bottom: 25%;
  left: 12%;
  font-size: 0.85rem;
  color: #fda4af;
  animation: sparkleTwinkle 2.7s infinite ease-in-out 1.2s;
}

/* The Main Logo */
.main-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7))
          drop-shadow(0 0 20px rgba(0, 92, 230, 0.45));
  animation: floatLogo 5s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.main-logo:hover {
  transform: scale(1.04) translateY(-4px);
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.8))
          drop-shadow(0 0 35px rgba(0, 102, 255, 0.7))
          drop-shadow(0 0 25px rgba(230, 0, 38, 0.5));
}

/* Content Header & Headings */
.content-header {
  margin-bottom: 2.5rem;
}

/* Arabic Heading "قريباً" */
.heading-arabic {
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: -1px;
}

.gradient-text-arabic {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #8ec5fc 25%,
    #2575fc 45%,
    #ff2a4b 75%,
    #ffffff 100%
  );
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGradient 8s ease infinite;
  filter: drop-shadow(0 5px 25px rgba(0, 102, 255, 0.5));
  display: inline-block;
}

/* English Heading "COMING SOON" */
.heading-english {
  font-family: var(--font-english);
  font-size: clamp(1.2rem, 3.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 1.4rem;
  text-indent: 0.45em; /* balances letter-spacing visually */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.1em;
}

.tracking-letter {
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.tracking-letter:hover {
  transform: translateY(-4px) scale(1.15);
  color: var(--blue-bright);
  text-shadow: 0 0 15px var(--blue-bright);
}

.space-divider {
  width: 0.8rem;
}

.red-accent {
  color: var(--red-bright);
  text-shadow: 0 0 20px rgba(255, 42, 75, 0.6);
}

.red-accent:hover {
  color: #ff6b81;
  text-shadow: 0 0 20px #ff6b81;
}

/* Description */
.description-text {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

.description-text .en-desc {
  display: inline-block;
  font-family: var(--font-english);
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
}

/* Countdown Grid */
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.6rem;
  width: 100%;
  max-width: 600px;
}

.timer-box {
  flex: 1;
  min-width: 72px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 10px 25px -5px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.timer-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--red-primary));
  opacity: 0.7;
}

.timer-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 92, 230, 0.3);
}

.timer-value {
  font-family: var(--font-english);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.timer-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.timer-label span {
  font-family: var(--font-english);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
}

.timer-sep {
  font-family: var(--font-english);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red-bright);
  animation: blinkColon 1.5s infinite;
  opacity: 0.8;
}

/* Notify Form */
.notify-card {
  width: 100%;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.input-glow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.5rem 0.4rem 1.4rem;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.input-glow-wrapper:focus-within {
  border-color: var(--blue-bright);
  box-shadow: 
    0 10px 35px rgba(0, 92, 230, 0.3),
    0 0 0 2px rgba(26, 117, 255, 0.25);
}

.notify-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  color: #ffffff;
  padding: 0.5rem 0.5rem;
  direction: rtl;
}

.notify-input::placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--red-primary) 100%);
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  color: #ffffff;
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(230, 0, 38, 0.35);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.notify-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(230, 0, 38, 0.55),
    0 0 20px rgba(0, 92, 230, 0.4);
}

.notify-btn:active {
  transform: translateY(0) scale(0.98);
}

.notify-btn i {
  font-size: 0.85rem;
  transform: rotate(180deg); /* Adjust for RTL */
  transition: transform 0.3s ease;
}

.notify-btn:hover i {
  transform: rotate(180deg) translateX(3px);
}

.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.3rem;
  transition: all 0.3s ease;
}

.form-feedback.success {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.form-feedback.error {
  color: #f87171;
  text-shadow: 0 0 10px rgba(248, 113, 113, 0.3);
}

/* Social Icons */
.social-wrapper {
  margin-bottom: 2rem;
}

.social-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 1.15rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.social-link.whatsapp:hover {
  background: #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 8px 25px rgba(214, 36, 159, 0.45);
}

.social-link.x-twitter:hover {
  background: #000000;
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.social-link.email:hover {
  background: var(--blue-primary);
  box-shadow: 0 8px 25px var(--blue-glow);
}

.social-link.phone:hover {
  background: var(--red-primary);
  box-shadow: 0 8px 25px var(--red-glow);
}

/* Footer */
.card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  width: 100%;
}

.card-footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-footer strong {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Animations Keyframes
   ========================================================================== */

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.6deg);
  }
}

@keyframes breathAura {
  0% {
    transform: scale(0.9) rotate(0deg);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.15) rotate(15deg);
    opacity: 0.55;
  }
}

@keyframes sparkleTwinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(90deg);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

@keyframes floatAmbient {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -30px) scale(1.12);
  }
}

@keyframes shimmerGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes blinkColon {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.25; }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 768px) {
  body {
    padding: 1.25rem 0.75rem;
  }

  .glow-border-card {
    padding: 2.5rem 1.4rem 2rem;
    border-radius: 28px;
  }

  .logo-showcase {
    max-width: 250px;
    margin-bottom: 1.5rem;
  }

  .countdown-grid {
    gap: 0.4rem;
  }

  .timer-box {
    padding: 0.75rem 0.3rem;
    border-radius: 14px;
    min-width: 60px;
  }

  .timer-sep {
    font-size: 1.4rem;
  }

  .input-glow-wrapper {
    flex-direction: column;
    padding: 0.6rem;
    border-radius: 20px;
    gap: 0.5rem;
  }

  .notify-input {
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.5rem;
  }

  .notify-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }

  .heading-english {
    letter-spacing: 0.25em;
    text-indent: 0.25em;
  }
}

@media (max-width: 420px) {
  .logo-showcase {
    max-width: 210px;
  }

  .timer-value {
    font-size: 1.5rem;
  }

  .timer-label {
    font-size: 0.75rem;
  }

  .timer-label span {
    display: none; /* Keep cleaner on very narrow screens */
  }

  .social-icons {
    gap: 0.6rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
