/* ==========================================================================
   AL NOOR OPTICALS - COMING SOON
   Design System & Responsive Styles
   ========================================================================== */

:root {
  --bg-primary: #05070d;
  --bg-secondary: #0b0f19;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --brand-cyan: #00d2ff;
  --brand-blue: #0077ff;
  --brand-green: #22c55e;
  --brand-red: #ef4444;
  --brand-gold: #f59e0b;
  --card-glow: rgba(0, 210, 255, 0.22);
  --border-glass: rgba(255, 255, 255, 0.1);
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  min-height: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 20%, #0d1527 0%, #05070d 70%, #020306 100%);
  padding: 1rem;
}

/* Ambient dynamic background lighting effects */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: floatOrb 18s ease-in-out infinite alternate;
  will-change: transform;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #00d2ff, #0055ff);
  top: -10%;
  left: 20%;
  animation-duration: 16s;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #ff2a5f, #f59e0b);
  top: 15%;
  right: 15%;
  animation-duration: 20s;
  animation-delay: -5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #10b981, #00b4d8);
  bottom: -10%;
  left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 40px) scale(1.1);
  }
  100% {
    transform: translate(-30px, -20px) scale(0.95);
  }
}

/* Subtle background grid pattern for high-tech aesthetic */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Main Content Container */
.main-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  min-height: 100%;
  padding: 1.5rem 1rem;
}

/* Poster Card Framing */
.poster-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  width: 100%;
}

.poster-card {
  position: relative;
  display: inline-block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 15px 35px -10px rgba(0, 0, 0, 0.8),
    0 0 50px -10px var(--card-glow),
    0 0 0 1px var(--border-glass);
  background: #020306;
  transition: transform 0.25s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

.poster-card:hover {
  box-shadow: 
    0 25px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 70px 0 rgba(0, 210, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* The Poster Image */
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  max-width: 480px;
  object-fit: contain;
  vertical-align: middle;
  transition: opacity 0.5s ease;
  user-select: none;
  -webkit-user-drag: none;
}

/* Modern luminous light reflection overlay */
.poster-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    transparent 50%,
    rgba(0, 210, 255, 0.04) 100%
  );
  pointer-events: none;
  border-radius: 24px;
}

/* Interactive Action Footer */
.interactive-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 480px;
}

/* Status Pill */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px var(--brand-cyan);
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
    box-shadow: 0 0 16px var(--brand-cyan);
  }
}

/* Action Buttons */
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #0070f3 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 112, 243, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 210, 255, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Quick Inquiry / Contact Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 210, 255, 0.2);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateX(4px);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--brand-cyan);
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
  body {
    padding: 0.5rem;
    justify-content: center;
  }

  .main-wrapper {
    padding: 0.5rem 0.25rem;
  }

  .poster-card {
    border-radius: 18px;
    box-shadow: 
      0 10px 25px -5px rgba(0, 0, 0, 0.8),
      0 0 35px -5px var(--card-glow);
  }

  .poster-image {
    max-height: calc(85dvh - 70px);
    max-width: 92vw;
    border-radius: 18px;
  }

  .interactive-bar {
    margin-top: 0.85rem;
    gap: 0.75rem;
  }

  .status-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }

  .action-buttons {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
  }
}

/* Extra small height displays (landscape phones, etc.) */
@media (max-height: 600px) {
  .poster-image {
    max-height: 70dvh;
  }
  .interactive-bar {
    margin-top: 0.5rem;
  }
}
