/* ============================================
   استوردلي برو — Landing Page Styles
   Modern · Responsive · Gradient-heavy
   ============================================ */

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

:root {
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-light: #14b8a6;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --navy: #1a3a6b;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --grad-hero: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #06b6d4 100%);
  --grad-gold: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 25px rgba(0,0,0,0.10), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-900);
  background: var(--slate-50);
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  padding: 12px 0;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-900);
}
.logo:hover { color: var(--teal); }
.logo-icon {
  font-size: 28px;
  background: var(--grad-hero);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.logo-text strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}
.logo-text small {
  display: block;
  font-size: 11px;
  color: var(--slate-500);
}
.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topnav a {
  color: var(--slate-700);
  font-weight: 600;
  font-size: 14px;
}
.topnav a:hover { color: var(--teal); }
.btn-cta-sm {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.btn-cta-sm:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .topnav a:not(.btn-cta-sm) { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #ecfeff 0%, #f0fdfa 100%);
}
.hero-bg-blob {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20,184,166,0.15), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
}

.badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.badge-pulse {
  background: #fef2f2;
  color: #dc2626;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.badge-pulse::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(220,38,38,0); }
}
.badge-limit {
  background: var(--grad-gold);
  color: #fff;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}

.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--slate-900);
}
.hl {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--slate-700);
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-sub strong { color: var(--teal-dark); font-weight: 700; }

/* Counter */
.counter-box {
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  margin-bottom: 28px;
  max-width: 520px;
}
.counter-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--slate-700);
}
.counter-header strong {
  font-size: 22px;
  color: var(--teal-dark);
  font-weight: 800;
}
.counter-bar {
  height: 12px;
  background: var(--slate-100);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.counter-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 99px;
  transition: width 0.6s ease;
  box-shadow: 0 1px 4px rgba(245,158,11,0.5);
}
.counter-foot {
  font-size: 12px;
  color: var(--slate-500);
}

/* CTA Buttons */
.cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.btn-cta-lg {
  background: var(--grad-gold);
  color: #fff !important;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(245,158,11,0.4);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-cta-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245,158,11,0.5);
  color: #fff !important;
}
.btn-cta-lg small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}
.btn-secondary {
  background: #fff;
  color: var(--slate-700) !important;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  border: 1.5px solid var(--slate-200);
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal) !important;
}

.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 600;
}

/* Hero Visual — mock cards */
.hero-visual {
  position: relative;
  height: 400px;
}
@media (max-width: 900px) {
  .hero-visual { height: 320px; max-width: 400px; margin: 0 auto; }
}
.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.mock-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}
.mock-1 {
  top: 0;
  right: 0;
  width: 280px;
  z-index: 3;
  transform: rotate(2deg);
}
.mock-2 {
  top: 90px;
  left: 0;
  width: 260px;
  z-index: 2;
  transform: rotate(-3deg);
  background: linear-gradient(135deg, #1a3a6b, #0f766e);
  color: #fff;
  border: none;
}
.mock-3 {
  bottom: 0;
  right: 30px;
  width: 240px;
  z-index: 1;
  transform: rotate(1deg);
}

.mock-head {
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 14px;
  font-weight: 600;
}
.mock-stat {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 13px;
  color: var(--slate-700);
}
.mock-stat:last-child { border: none; }
.mock-stat strong {
  font-size: 17px;
  color: var(--teal-dark);
  font-weight: 800;
}
.mock-bar {
  height: 6px;
  background: var(--slate-100);
  border-radius: 99px;
  margin-top: 10px;
  overflow: hidden;
}
.mock-bar div {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 99px;
}
.mock-tag {
  background: rgba(245,158,11,0.25);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.mock-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.mock-mgr { font-size: 12px; opacity: 0.85; }

.mock-shipping {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-shipping span { font-size: 32px; }
.mock-shipping strong { display: block; font-size: 14px; }
.mock-shipping small { font-size: 11px; color: var(--slate-500); }

/* ============================================
   SECTIONS
   ============================================ */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.kicker {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(20,184,166,0.1);
  color: var(--teal-dark);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.section-head h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--slate-500);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features {
  padding: 80px 0;
  background: #fff;
}
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feat-card {
  background: linear-gradient(180deg, #fff, #f8fafc);
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--slate-200);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon {
  font-size: 38px;
  margin-bottom: 14px;
  display: inline-block;
  background: rgba(20,184,166,0.1);
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.feat-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.feat-card p {
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  padding: 80px 0;
  background: var(--slate-50);
}
.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 240px;
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--slate-500); font-size: 14px; }
.step-arrow {
  font-size: 28px;
  color: var(--teal);
  font-weight: 800;
}
@media (max-width: 720px) {
  .step-arrow { transform: rotate(90deg); }
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 70px 0;
  background: var(--grad-hero);
  color: #fff;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 12px;
}
.final-cta h2 strong {
  color: #fef3c7;
  font-size: 1.3em;
}
.final-cta p {
  margin-bottom: 28px;
  opacity: 0.92;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 80px 0;
  background: #fff;
}
.q {
  background: var(--slate-50);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.q:hover { background: #ecfeff; }
.q summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: '+';
  font-size: 24px;
  color: var(--teal);
  transition: transform 0.2s;
}
.q[open] summary::after { transform: rotate(45deg); }
.q p {
  margin-top: 12px;
  color: var(--slate-700);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 50px 0 24px;
}
.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
@media (max-width: 720px) {
  .foot-cols { grid-template-columns: 1fr; }
}
.foot-cols h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 700;
}
.foot-cols a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  padding: 5px 0;
}
.foot-cols a:hover { color: #fff; }
.foot-cols p { font-size: 13px; line-height: 1.6; }
.foot-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #94a3b8;
}

/* ============================================
   SIGNUP FORM
   ============================================ */
.signup-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #06b6d4 100%);
  padding: 40px 20px;
}
.signup-card {
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 600px) {
  .signup-card { padding: 28px 20px; border-radius: 14px; }
}

.signup-head { text-align: center; margin-bottom: 28px; }
.signup-head h1 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.signup-head p { color: var(--slate-500); font-size: 14px; }
.signup-counter {
  margin-top: 18px;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #78350f;
  font-weight: 700;
}

.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.form-row label .req { color: #dc2626; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--slate-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}
.cat-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.cat-check:hover { border-color: var(--teal-light); background: #f0fdfa; }
.cat-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}
.cat-check input[type="checkbox"]:checked + span { font-weight: 700; color: var(--teal-dark); }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--grad-gold);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 8px 20px rgba(245,158,11,0.4);
  font-family: inherit;
  transition: transform 0.2s;
}
.btn-submit:hover { transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}
.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid #059669;
}

.helper {
  display: block;
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 4px;
}

.back-link {
  text-align: center;
  margin-top: 20px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.back-link a { color: #fff; font-weight: 700; }

/* ============================================
   PENDING PAGE
   ============================================ */
.pending-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #06b6d4 100%);
  padding: 40px 20px;
  display: grid;
  place-items: center;
}
.pending-card {
  max-width: 580px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 600px) {
  .pending-card { padding: 36px 24px; }
}
.pending-icon {
  font-size: 64px;
  margin-bottom: 20px;
}
.pending-card h1 {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--slate-900);
}
.pending-card .lead {
  color: var(--slate-500);
  font-size: 15px;
  margin-bottom: 28px;
}
.pending-info {
  background: var(--slate-50);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: right;
}
.pending-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--slate-200);
}
.pending-info-row:last-child { border: none; }
.pending-info-row .label { color: var(--slate-500); }
.pending-info-row .value { font-weight: 700; color: var(--slate-900); }

.member-num {
  background: var(--grad-gold);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}
.member-num small { display: block; font-size: 12px; opacity: 0.92; }
.member-num strong { font-size: 26px; font-weight: 800; }

.pending-next {
  background: #f0fdfa;
  border-left: 4px solid var(--teal);
  padding: 16px 18px;
  border-radius: 10px;
  text-align: right;
  font-size: 14px;
  margin-bottom: 24px;
}
.pending-next strong { color: var(--teal-dark); display: block; margin-bottom: 8px; }
.pending-next ol { margin: 0; padding-right: 18px; color: var(--slate-700); }
.pending-next li { padding: 4px 0; }

/* ==================================================================
   v1.1 ADDITIONS — Cinematic background, logo, Egypt notice, etc.
   ================================================================== */

/* Logo styling */
.logo-link { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; display: block; }
@media (max-width: 720px) {
  .logo-img { height: 38px; }
}

/* Hero logo replacement (replaces the mock cards) */
.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
  height: auto;
  min-height: 280px;
}
.hero-logo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(15,118,110,0.25));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Status note (replaces counter) */
.status-note {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-right: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 28px;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.status-icon { font-size: 28px; }
.status-note strong {
  display: block;
  font-size: 15px;
  color: var(--slate-900);
  margin-bottom: 2px;
}
.status-note small {
  display: block;
  font-size: 12px;
  color: var(--slate-500);
}

/* Egypt badge in badge-row */
.badge-egypt {
  background: linear-gradient(135deg, #fee2e2, #ffffff, #d1fae5);
  color: #1a3a6b;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #cbd5e1;
}

/* Egypt notice section */
.egypt-notice {
  padding: 40px 0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.egypt-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border: 2px dashed var(--teal-light);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 600px) {
  .egypt-card { flex-direction: column; text-align: center; gap: 14px; padding: 24px; }
}
.egypt-flag {
  font-size: 56px;
  flex-shrink: 0;
}
.egypt-text h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.egypt-text p {
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.7;
}
.egypt-text strong { color: var(--slate-900); }

/* ==================================================================
   CINEMATIC BACKGROUND for signup/login pages
   ================================================================== */
.signup-page-cinematic {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, #0c4a6e 0%, #075985 30%, #0e7490 70%, #0f766e 100%);
}

.cine-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Sky gradient layer */
.cine-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 40%, rgba(14,165,233,0.35) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 60%, rgba(20,184,166,0.30) 0%, transparent 60%);
}

/* Floating clouds */
.cine-clouds {
  position: absolute;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  opacity: 0.4;
}
.cine-clouds-1 {
  top: 8%;
  height: 80px;
  background-image:
    radial-gradient(50px 30px at 100px 40px, rgba(255,255,255,0.6), transparent),
    radial-gradient(80px 40px at 350px 30px, rgba(255,255,255,0.55), transparent),
    radial-gradient(60px 35px at 600px 50px, rgba(255,255,255,0.5), transparent),
    radial-gradient(70px 38px at 900px 35px, rgba(255,255,255,0.6), transparent);
  animation: cloudDrift1 80s linear infinite;
}
.cine-clouds-2 {
  top: 22%;
  height: 60px;
  opacity: 0.25;
  background-image:
    radial-gradient(60px 30px at 150px 30px, rgba(255,255,255,0.5), transparent),
    radial-gradient(90px 35px at 500px 25px, rgba(255,255,255,0.6), transparent),
    radial-gradient(70px 30px at 850px 40px, rgba(255,255,255,0.5), transparent);
  animation: cloudDrift2 120s linear infinite;
}
@keyframes cloudDrift1 {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes cloudDrift2 {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Animated waves at bottom */
.cine-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  pointer-events: none;
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 80px;
  background-repeat: repeat-x;
  background-size: 600px 80px;
  background-position: 0 100%;
}
.w1 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'><path d='M0 40 Q150 0 300 40 T600 40 V80 H0 Z' fill='%231a3a6b' opacity='0.85'/></svg>");
  height: 100px;
  bottom: 0;
  animation: waveMove 8s linear infinite;
}
.w2 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'><path d='M0 40 Q150 80 300 40 T600 40 V80 H0 Z' fill='%2306b6d4' opacity='0.7'/></svg>");
  height: 80px;
  bottom: 30px;
  animation: waveMove 12s linear infinite reverse;
}
.w3 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 80'><path d='M0 40 Q150 0 300 40 T600 40 V80 H0 Z' fill='%2314b8a6' opacity='0.5'/></svg>");
  height: 70px;
  bottom: 60px;
  animation: waveMove 16s linear infinite;
}
@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-600px); }
}

/* Cargo ship sailing */
.cine-ship {
  position: absolute;
  bottom: 110px;
  left: -200px;
  width: 200px;
  height: 100px;
  animation: shipSail 30s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.cine-ship svg { width: 100%; height: 100%; }
@keyframes shipSail {
  from { left: -200px; }
  to { left: calc(100% + 200px); }
}

/* Twinkling stars */
.cine-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  pointer-events: none;
}
.cine-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s infinite;
}
.cine-stars span:nth-child(1) { top: 15%; left: 12%; animation-delay: 0s; }
.cine-stars span:nth-child(2) { top: 25%; left: 30%; animation-delay: 0.6s; }
.cine-stars span:nth-child(3) { top: 10%; left: 55%; animation-delay: 1.2s; }
.cine-stars span:nth-child(4) { top: 35%; left: 70%; animation-delay: 1.8s; }
.cine-stars span:nth-child(5) { top: 20%; left: 85%; animation-delay: 2.4s; }
.cine-stars span:nth-child(6) { top: 8%; left: 40%; animation-delay: 0.3s; }
.cine-stars span:nth-child(7) { top: 30%; left: 20%; animation-delay: 1.5s; }
.cine-stars span:nth-child(8) { top: 5%; left: 75%; animation-delay: 2.1s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .cine-clouds, .wave, .cine-ship, .cine-stars span, .hero-logo { animation: none !important; }
}

/* ==================================================================
   SIGNUP PAGE CONTENT (above background)
   ================================================================== */
.signup-page-content {
  position: relative;
  z-index: 1;
  padding: 30px 16px 40px;
  min-height: 100vh;
}

.signup-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.95) !important;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-decoration: none;
  background: rgba(0,0,0,0.2);
  padding: 8px 16px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.signup-back-link:hover {
  background: rgba(0,0,0,0.35);
  color: #fff !important;
}

.signup-page-content .signup-card {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.signup-logo {
  max-width: 140px;
  height: auto;
  margin: 0 auto 14px;
  display: block;
}

/* Pending logo */
.pending-logo {
  max-width: 140px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
}

/* Optional fields collapsible */
.optional-fields {
  margin: 16px 0;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
}
.optional-fields summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.optional-fields summary::-webkit-details-marker { display: none; }
.optional-fields summary::after {
  content: '+';
  font-size: 22px;
  color: var(--teal);
  transition: transform 0.2s;
}
.optional-fields[open] summary::after { transform: rotate(45deg); }
.optional-content { padding: 4px 16px 16px; }

/* Warning alert */
.alert-warning {
  background: #fffbeb;
  border-left: 4px solid var(--gold);
  color: #78350f;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  margin: 16px 0;
}

/* Pending page already styled, just ensure logo */
.pending-page { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #06b6d4 100%); }

/* ==================================================================
   v1.4 ADDITIONS — WhatsApp emphasis, optional tags, form divider
   ================================================================== */

/* WhatsApp prominent notice (before form) */
.whatsapp-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #25d366;
  border-right: 5px solid #25d366;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}
.whatsapp-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.3));
}
.whatsapp-text strong {
  display: block;
  font-size: 15px;
  color: #047857;
  font-weight: 800;
  margin-bottom: 4px;
}
.whatsapp-text p {
  font-size: 13px;
  color: #065f46;
  line-height: 1.7;
  margin: 0;
}
.whatsapp-text strong:not(:first-child) {
  display: inline;
  color: #064e3b;
  font-weight: 800;
}

/* Form section divider */
.form-divider {
  position: relative;
  text-align: center;
  margin: 24px 0 18px;
  border-top: 1px dashed var(--slate-200);
}
.form-divider span {
  position: relative;
  top: -10px;
  background: #fff;
  padding: 2px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-500);
  display: inline-block;
}

/* "اختياري" tag next to label */
.optional-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #64748b;
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}

/* WhatsApp info box on pending page */
.whatsapp-info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
  border: 1.5px solid #25d366;
  border-right: 5px solid #25d366;
  padding: 16px 18px;
  border-radius: 12px;
  margin: 20px 0;
  text-align: right;
}
.wa-info-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.whatsapp-info-box strong {
  display: block;
  font-size: 14px;
  color: #047857;
  font-weight: 800;
  margin-bottom: 4px;
}
.whatsapp-info-box p {
  font-size: 13px;
  color: #065f46;
  line-height: 1.6;
  margin: 0;
}
