/**
 * Coming Soon - تصميم محدّث مع روابط التواصل الاجتماعي
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Tajawal:wght@400;500;700&display=swap');
@import './variables.css';

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: linear-gradient(160deg, #0c1222 0%, #1a1f35 50%, #0d1324 100%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  line-height: 1.6;
}

.page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
}

.page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.3), transparent);
  opacity: 0.6;
}

/* البطاقة الرئيسية */
.card {
  max-width: 50rem;
  width: 100%;
  background: linear-gradient(175deg, rgba(20, 28, 45, 0.95) 0%, rgba(12, 18, 32, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* الشعار */
.brand {
  margin-bottom: 1.25rem;
}

.logo-wrap {
  display: inline-block;
  padding: 0.75rem 1rem;
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo {
  max-width: 140px;
  height: auto;
  display: block;
}

/* العنوان الرئيسي */
.main-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.main-heading .accent {
  color: #c41e3a;
  font-weight: 600;
}

.main-heading .sep {
  margin: 0 0.5rem;
  opacity: 0.7;
}

.subtitle .sep {
  margin: 0 0.5rem;
  opacity: 0.7;
}

/* العنوان الفرعي */
.subtitle {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.subtitle .accent {
  color: #5b9bd5;
}

/* العدّ التنازلي */
.countdown {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.countdown-value {
  min-width: 3rem;
  padding: 0.6rem 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.countdown-unit {
  font-size: 0.7rem;
  color: #64748b;
}

.countdown-sep {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c41e3a;
  animation: sepBlink 1s ease-in-out infinite;
}

@keyframes sepBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* عمودان المحتوى */
.content-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
  direction: ltr;
}

.col {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.col-en {
  text-align: left;
  direction: ltr;
}

.col-ar {
  text-align: right;
  direction: rtl;
}

.col-ar p {
  text-align: right;
}

.col-en p {
  text-align: left;
}

.col p {
  margin-bottom: 0.75rem;
}

.contact-info {
  margin-top: 0.5rem !important;
}

.contact-info a {
  color: #5b9bd5;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: #c41e3a;
}

/* روابط التواصل الاجتماعي */
.social-section {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-title {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  min-height: 50px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.social-link:hover {
  color: #fff;
  background: rgba(91, 155, 213, 0.2);
  border-color: rgba(91, 155, 213, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(91, 155, 213, 0.2);
}

.social-link.social-whatsapp:hover {
  color: #fff;
  background: rgba(37, 211, 102, 0.25);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.social-icon {
  width: 22px;
  height: 22px;
}

/* التذييل */
.footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.copyright a {
  color: #5b9bd5;
  text-decoration: none;
}

.copyright a:hover {
  color: #c41e3a;
}

.stay-tuned {
  font-size: 0.75rem;
  color: #475569;
}

.config-link {
  margin-top: 0.75rem;
  font-size: 0.7rem;
}

.config-link a {
  color: #64748b;
  text-decoration: none;
}

.config-link a:hover {
  color: #5b9bd5;
}

@media (max-width: 640px) {
  .content-cols {
    grid-template-columns: 1fr;
  }

  .col-en {
    text-align: right;
    direction: rtl;
  }

  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-value {
    min-width: 2.5rem;
    font-size: 1.15rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-height: 720px) {
  .card {
    padding: 1.75rem 1.5rem;
  }

  .brand { margin-bottom: 1rem; }
  .logo { max-width: 120px; }
  .main-heading { margin-bottom: 0.25rem; }
  .subtitle { margin-bottom: 1rem; }
  .countdown { margin: 1rem 0; padding: 0.9rem 0; }
  .content-cols { margin: 1rem 0; }
  .social-section { margin: 1rem 0; padding: 0.9rem 0; }
  .social-links { margin: 0; }
  .footer { margin-top: 1rem; }
}
