/* ==========================================================================
   تصميم صفحة الهبوط الإعلانية المركزة (مطابقة تماماً للملصق الإعلاني)
   Clean, Single-Screen Ad Landing Page (Exact Poster Match)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=Tajawal:wght@500;700;800;900&display=swap');

:root {
  --primary-navy: #0D2C54;
  --secondary-navy: #082142;
  --accent-orange: #FF7A00;
  --tabby-green: #2EEFB4;
  --tamara-bg: #FFEFE9;
  --emkan-purple: #582C83;
  --emkan-teal: #00B1A9;
  --text-dark: #0D2C54;
}

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

html, body {
  height: 100%;
  width: 100%;
  direction: rtl;
}

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #F8F9FA;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(46, 239, 180, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 122, 0, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F5F8 100%);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 12px;
  overflow-x: hidden;
}

/* Background Plant Silhouette Deco on the left */
.bg-leaves {
  position: fixed;
  left: -20px;
  top: 10%;
  bottom: 10%;
  width: 140px;
  pointer-events: none;
  opacity: 0.25;
  filter: blur(1px);
  z-index: 0;
}

@media (max-width: 480px) {
  .bg-leaves {
    width: 90px;
    left: -30px;
    opacity: 0.18;
  }
}

/* Main Poster Container (Matches 9:16 mobile poster perfectly) */
.poster-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 32px 20px 28px;
  box-shadow: 0 16px 40px rgba(13, 44, 84, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

@media (min-width: 768px) {
  .poster-wrapper {
    max-width: 460px;
    padding: 36px 26px 32px;
  }
}

/* 1. Top Clock & Checkmark Icon */
.top-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px solid var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  position: relative;
  z-index: 2;
}

.clock-checkmark {
  width: 22px;
  height: 22px;
  color: var(--primary-navy);
}

.clock-rays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 2. Headline & Subheading */
.headline-box {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline-main {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.headline-sub {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.35;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  margin-top: 2px;
}

@media (max-width: 380px) {
  .headline-main, .headline-sub {
    font-size: 1.6rem;
  }
}

/* Orange brush underline under text */
.orange-brush-stroke {
  width: 140px;
  height: 10px;
  margin-top: 6px;
}

/* 3. Banknote Visual Area with Orange Sparks */
.banknote-area {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spark-left {
  position: absolute;
  right: 15px; /* RTL right */
  top: 20%;
  width: 34px;
  height: 50px;
  pointer-events: none;
  z-index: 2;
}

.spark-right {
  position: absolute;
  left: 15px; /* RTL left */
  top: 40%;
  width: 34px;
  height: 45px;
  pointer-events: none;
  z-index: 2;
}

.banknote-img-wrap {
  width: 90%;
  max-width: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 44, 84, 0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
  background: #ECEFF3;
}

.banknote-img-wrap:hover {
  transform: rotate(0deg) scale(1.02);
}

.banknote-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center 52%;
}

/* 4. Three Brand Logos Row (Tabby, Tamara, Emkan) */
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 12px 0 24px;
}

.logo-badge {
  flex: 1;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.logo-svg {
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* Tabby Badge */
.badge-tabby {
  background: var(--tabby-green);
}

.tabby-svg {
  height: 23px;
  width: auto;
  max-width: 84px;
}

/* Tamara Badge */
.badge-tamara {
  background: var(--tamara-bg);
}

.tamara-svg {
  height: 20px;
  width: auto;
  max-width: 86px;
}

/* Emkan Badge */
.badge-emkan {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
}

.emkan-svg {
  height: 28px;
  width: auto;
  max-width: 98px;
}

/* 5. Contact & WhatsApp Pill Button (Exact Match) */
.contact-cta-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.btn-sparks-left {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 38px;
  pointer-events: none;
}

.btn-sparks-right {
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 38px;
  pointer-events: none;
}

.whatsapp-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--primary-navy);
  color: #FFFFFF;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 9999px;
  width: 90%;
  max-width: 340px;
  box-shadow: 0 10px 25px rgba(13, 44, 84, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: none;
  animation: waPulse 2.8s infinite;
}

.whatsapp-pill-btn:hover {
  background: #09213E;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(13, 44, 84, 0.45);
}

.whatsapp-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366; /* WhatsApp green inside */
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon-circle svg {
  width: 26px;
  height: 26px;
}

.btn-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.btn-sub-label {
  font-size: 0.88rem;
  color: #E2E8F0;
  font-weight: 700;
  line-height: 1.2;
}

.btn-phone-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 1px;
  direction: ltr;
  line-height: 1.1;
  margin-top: 2px;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 10px 25px rgba(13, 44, 84, 0.35), 0 0 0 0 rgba(13, 44, 84, 0.45);
  }
  70% {
    box-shadow: 0 10px 25px rgba(13, 44, 84, 0.35), 0 0 0 14px rgba(13, 44, 84, 0);
  }
  100% {
    box-shadow: 0 10px 25px rgba(13, 44, 84, 0.35), 0 0 0 0 rgba(13, 44, 84, 0);
  }
}

/* تحسين التناسب مع شاشات الجوال القصيرة (داخل متصفح تيك توك) */
@media (max-height: 700px) {
  .poster-wrapper {
    padding: 20px 16px 20px;
  }
  .top-icon-wrap {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
  }
  .headline-box {
    margin-bottom: 12px;
  }
  .headline-main, .headline-sub {
    font-size: 1.55rem;
  }
  .banknote-area {
    margin: 6px 0 12px;
  }
  .logos-row {
    margin: 8px 0 16px;
  }
}
