/* -------------------------------------------------------------------
   Tawtheek.com - "Under Construction / Coming Soon" Page Styles
   Theme: Luxury Dark Royal & Radiant Gold Accent
------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #050810;
  --bg-secondary: #0b0f1c;
  --card-bg: rgba(14, 20, 36, 0.7);
  --card-border: rgba(212, 175, 55, 0.22);
  --card-border-hover: rgba(212, 175, 55, 0.6);

  --gold-primary: #dfb249;
  --gold-light: #fbe69b;
  --gold-dark: #9e7519;
  --gold-gradient: linear-gradient(135deg, #fbe69b 0%, #dfb249 50%, #9e7519 100%);
  --gold-glow: rgba(223, 178, 73, 0.35);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-gold: #f3d077;

  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;

  --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-serif: 'Amiri', serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 10px 30px -8px rgba(223, 178, 73, 0.35);
  --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.65;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Canvas background */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Background Glow Effects */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}
.glow-gold {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(223,178,73,0.4) 0%, rgba(0,0,0,0) 70%);
  top: -150px;
  right: -100px;
}
.glow-blue {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, rgba(0,0,0,0) 70%);
  bottom: -200px;
  left: -200px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(223, 178, 73, 0.1);
  color: var(--gold-light);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #080c16;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(223, 178, 73, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(223, 178, 73, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
}

/* Header Navbar */
.navbar {
  padding: 1.8rem 0;
  position: relative;
  z-index: 10;
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  color: #080c16;
}
.logo-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
}
.logo-domain {
  font-size: 0.8rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  font-weight: 600;
}

/* Hero Section */
.construction-hero {
  padding: 2.5rem 0 4rem 0;
  text-align: center;
  position: relative;
  z-index: 5;
}

.status-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  animation: fadeInDown 0.8s ease-out;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.35s backwards;
}

/* Launch Countdown Timer Grid */
.countdown-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 3rem auto;
  max-width: 650px;
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}
.timer-segment {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1rem;
  min-width: 110px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.timer-segment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}
.timer-value {
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--gold-light);
  font-family: var(--font-main);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.timer-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Progress Bar Component */
.progress-container {
  max-width: 620px;
  margin: 0 auto 3rem auto;
  background: rgba(14, 20, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  backdrop-filter: blur(12px);
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  font-weight: 700;
}
.progress-bar-outer {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar-inner {
  height: 100%;
  width: 88%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(223, 178, 73, 0.5);
}

/* Subscription Form */
.subscribe-form-wrapper {
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
  animation: fadeInUp 0.8s ease-out 0.7s backwards;
}
.subscribe-form {
  display: flex;
  gap: 0.6rem;
  background: rgba(14, 20, 36, 0.9);
  border: 1px solid var(--card-border-hover);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.5rem 0.45rem 1.4rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.subscribe-input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  direction: rtl;
}
.subscribe-input::placeholder {
  color: #6b7280;
}

/* Strategic Target Audiences Section ("لماذا يسعى الجميع للانضمام لـ توثيق؟") */
.strategy-section {
  padding: 4rem 0 5rem 0;
  position: relative;
  z-index: 5;
}
.section-title-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}
.section-title-center h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}
.section-title-center p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
.audience-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.audience-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-card), 0 0 30px rgba(223, 178, 73, 0.18);
}
.audience-card:hover::before {
  opacity: 1;
}

.audience-badge {
  align-self: flex-start;
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(223, 178, 73, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(223, 178, 73, 0.3);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.audience-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}
.audience-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}
.audience-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.audience-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}
.audience-features-list li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.audience-features-list li::before {
  content: '✦';
  color: var(--gold-primary);
  font-size: 0.75rem;
}

/* Authority Trust Banner */
.authority-strip {
  background: linear-gradient(135deg, rgba(14, 20, 36, 0.9), rgba(6, 9, 17, 0.95));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.authority-text h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.authority-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 650px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Modal Overlay & Form Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1.5rem;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  background: #0b0f1c;
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.85), 0 0 45px rgba(223, 178, 73, 0.22);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
}
.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #080c16;
}

.form-group {
  margin-bottom: 1.4rem;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  background: rgba(14, 20, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}
.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(223, 178, 73, 0.25);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gold-gradient);
  color: #080c16;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .authority-strip { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .hero-main-title { font-size: 2.5rem; }
  .hero-description { font-size: 1rem; }
  .countdown-box { gap: 0.8rem; }
  .timer-segment { min-width: 75px; padding: 1rem 0.4rem; }
  .timer-value { font-size: 1.9rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; border-radius: var(--radius-lg); padding: 0.8rem; }
  .footer-content { flex-direction: column; gap: 0.8rem; text-align: center; }
}
