/* ==========================================================
   مجموعة الخبراء للمحاسبة والمراجعة - حاتم أسامة عبد السلام
   Coming Soon Page - Luxury Executive Card Design
   ========================================================== */

:root {
  /* Brand Navy Palette */
  --navy-deepest: #040e1e;
  --navy-dark: #071a35;
  --navy-main: #0b264e;
  --navy-light: #13396d;
  --navy-subtle: #1c4b8c;

  /* Executive Gold Palette */
  --gold-primary: #d4af37;
  --gold-light: #fae498;
  --gold-dark: #aa8214;
  --gold-gradient: linear-gradient(135deg, #c59b27 0%, #fdf0a6 30%, #d4af37 60%, #9e7314 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);

  /* Light Theme / Executive White Side */
  --bg-page: #050d18;
  --surface-white: #ffffff;
  --surface-light: #f8fafc;
  --surface-border: #e2e8f0;
  --text-dark: #0a1b33;
  --text-muted: #52637a;

  /* Logo Palette */
  --logo-cyan: #00a4e4;
  --logo-green: #22b14c;
  --logo-orange: #ff7e1e;
  --logo-purple: #9a3598;
  --whatsapp-green: #25d366;

  /* Typography */
  --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-body: 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-calligraphy: 'Amiri', serif;

  /* Shadow & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-luxury: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(11, 38, 78, 0.4);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient Background Lights & Grid */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.glow-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(19, 57, 109, 0.8), transparent 70%);
}

.glow-2 {
  bottom: -10%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
}

.subtle-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Main Container */
.page-container {
  width: 100%;
  max-width: 1180px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================
   Top Announcement Bar
   ========================================================== */
.top-announcement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 38, 78, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-coming-soon {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.quick-status {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

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

/* ==========================================================
   Main Identity Card (Split Card like the original)
   ========================================================== */
.main-card {
  display: flex;
  background-color: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 2px solid rgba(212, 175, 55, 0.4);
  position: relative;
  min-height: 560px;
}

/* ==========================================================
   Right Side: Navy Identity (Hatem Osama)
   ========================================================== */
.card-navy-section {
  flex: 1.15;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-main) 50%, var(--navy-deepest) 100%);
  color: #ffffff;
  padding: 44px 36px 36px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  z-index: 1;
}

/* Subtle watermark art resembling accounting books & pen in the card */
.navy-overlay-art {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 90%, rgba(19, 57, 109, 0.45) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Personal Name & Title */
.personal-header {
  margin-bottom: 24px;
}

.name-wrapper {
  position: relative;
  display: inline-block;
}

.person-name {
  font-family: var(--font-main);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 0%, #fae498 40%, #e0b84c 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 6px;
}

.gold-underline-swoosh {
  width: 90%;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  margin-top: 4px;
  box-shadow: 0 0 10px var(--gold-glow);
}

.profession-title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

/* Credentials / Accreditations List */
.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.credential-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(-4px);
}

/* Golden Circular Checkmark (Exactly matching the card icon) */
.gold-check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.gold-check-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy-deepest);
}

/* Navy Footer Slogan */
.navy-footer-slogan {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px dashed rgba(212, 175, 55, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slogan-calligraphy {
  font-family: var(--font-calligraphy);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 700;
  color: var(--gold-light);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.gold-curve-accent {
  width: 140px;
  height: 2px;
  background: var(--gold-gradient);
  margin-top: 2px;
  border-radius: 2px;
}

/* ==========================================================
   Wave / Curve Divider with Luxury Gold Edge
   ========================================================== */
.card-divider-wave {
  width: 50px;
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  margin-right: -1px;
}

.card-divider-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-fill-right {
  fill: var(--surface-white);
}

.wave-fill-left {
  fill: var(--navy-dark);
}

.wave-gold-stroke {
  fill: none;
  stroke: url(#goldLinear);
  stroke-width: 5;
}

/* ==========================================================
   Quick Notify Form Box
   ========================================================== */
.notify-form-box {
  margin-top: 4px;
}

.notify-form {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
}

.notify-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 8px 12px;
  color: var(--text-dark);
  direction: rtl;
}

.notify-form input::placeholder {
  color: #94a3b8;
}

.notify-btn {
  background: var(--navy-dark);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  border-radius: 6px;
  padding: 8px 16px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(7, 26, 53, 0.2);
}

.notify-btn:hover {
  background: var(--gold-gradient);
  color: var(--navy-deepest);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 12px var(--gold-glow);
}

/* ==========================================================
   Left Side: Light Executive Identity & Launch Information
   ========================================================== */
.card-light-section {
  flex: 1.25;
  background: var(--surface-white);
  padding: 40px 36px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  z-index: 1;
}

/* Firm Identity Block */
.firm-identity-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

/* 4-square arithmetic math grid icon (Direct from the business card) */
.math-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 28px);
  grid-template-rows: repeat(2, 28px);
  gap: 4px;
}

.math-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.math-box:hover {
  transform: scale(1.08);
}

.math-box-cyan {
  background: linear-gradient(135deg, #00b4f8, var(--logo-cyan));
}

.math-box-green {
  background: linear-gradient(135deg, #2fd462, var(--logo-green));
}

.math-box-orange {
  background: linear-gradient(135deg, #ff923d, var(--logo-orange));
}

.math-box-purple {
  background: linear-gradient(135deg, #b641b4, var(--logo-purple));
}

.firm-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  line-height: 1.15;
}

.firm-name {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy-dark);
  letter-spacing: 0.5px;
}

.firm-highlight {
  font-family: var(--font-main);
  font-size: 1.85rem;
  font-weight: 900;
  color: #0270a6; /* Exact teal-blue from the card's 'الخبراء' title */
  letter-spacing: 0.5px;
}

.firm-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

.firm-motto-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  color: #8c7324;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
}

.motto-dash {
  width: 28px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.scale-icon-watermark {
  position: absolute;
  left: 20px;
  opacity: 0.4;
  font-size: 1.5rem;
  pointer-events: none;
}

/* ==========================================================
   Coming Soon Banner & Countdown Timer
   ========================================================== */
.coming-soon-strip {
  background: linear-gradient(135deg, #f0f4f9 0%, #e6edf7 100%);
  border: 1px solid #d0ddeb;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
}

.countdown-heading {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--navy-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.sparkle {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  direction: ltr; /* Keeps numbers intuitive: Days : Hours : Mins : Secs */
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 52px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.countdown-item .number {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
}

.countdown-item .label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.countdown-sep {
  font-weight: 800;
  color: var(--gold-primary);
  font-size: 1.2rem;
}

/* ==========================================================
   Contact Capsule (Exact replication of Card's Pill)
   ========================================================== */
.contact-capsule-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-dark);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 10px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 20px rgba(7, 26, 53, 0.25);
  position: relative;
}

.capsule-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capsule-icon-circle:hover {
  transform: scale(1.1);
}

.gold-circle {
  background: var(--gold-gradient);
  color: var(--navy-deepest);
  box-shadow: 0 2px 8px var(--gold-glow);
}

.gold-circle svg {
  width: 18px;
  height: 18px;
}

.green-circle {
  background: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.green-circle svg {
  width: 20px;
  height: 20px;
}

.capsule-numbers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.phone-link {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.25;
  transition: color 0.2s ease;
  direction: ltr;
}

.phone-link:hover {
  color: var(--gold-light);
}

/* ==========================================================
   Locations & Branches Block
   ========================================================== */
.locations-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease;
}

.location-item:hover {
  border-color: #cbd5e1;
}

.loc-pin {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.loc-pin svg {
  width: 15px;
  height: 15px;
}

.loc-details {
  flex: 1;
}

.loc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.loc-badge {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.loc-address {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.45;
  font-weight: 500;
}

.copy-btn {
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--navy-dark);
  color: #ffffff;
  border-color: var(--navy-dark);
}

.copy-btn svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================
   Bottom Pillars / Features Bar (Bottom of card)
   ========================================================== */
.bottom-pillars-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillars-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pillar-card {
  background: rgba(11, 38, 78, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.pillar-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.pillar-card-navy {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #153c72 100%);
  border: 1px solid var(--gold-primary);
}

.pillar-slogan-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.25;
}

.slogan-lead {
  font-family: var(--font-calligraphy);
  font-size: 1.35rem;
  color: var(--gold-light);
  font-weight: 700;
}

.slogan-follow {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-meta {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-family: var(--font-body);
  padding: 4px 0;
}

/* ==========================================================
   Toast Notification
   ========================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-dark);
  color: #ffffff;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  pointer-events: none;
}

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

/* ==========================================================
   Responsive Adaptations
   ========================================================== */
@media (max-width: 960px) {
  .main-card {
    flex-direction: column;
  }

  .card-divider-wave {
    display: none;
  }

  .card-navy-section {
    padding: 32px 24px;
  }

  .card-light-section {
    padding: 32px 24px;
  }

  .person-name {
    font-size: 2rem;
  }

  .pillars-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    padding: 16px 10px;
  }

  .top-announcement {
    flex-direction: column;
    gap: 8px;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    text-align: center;
  }

  .person-name {
    font-size: 1.7rem;
  }

  .profession-title {
    font-size: 0.98rem;
  }

  .credential-item {
    font-size: 0.88rem;
  }

  .firm-name {
    font-size: 1.25rem;
  }

  .firm-highlight {
    font-size: 1.5rem;
  }

  .pillars-container {
    grid-template-columns: 1fr;
  }

  .contact-capsule {
    padding: 6px 10px;
  }

  .phone-link {
    font-size: 1rem;
  }
}
