@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-primary:        #C4622D;
  --color-primary-dark:   #A35020;
  --color-primary-bg:     #F5F0E8;
  --color-text-primary:   #0D5C5C;
  --color-text-secondary: #6B7280;
  --color-text-hint:      #9AA5B1;
  --color-text-dark:      #1E293B;
  --color-scaffold:       #EDE8DC;
  --color-surface:        #FFFFFF;
  --color-surface-light:  #F5F0E8;
  --color-border:         #D9D0C4;
  --color-success:        #22C55E;
  --color-error:          #DC2626;
  --color-teal-dark:      #094848;
  --color-teal-medium:    #116060;
  --color-golden-wheat:   #C9A84C;
  --color-forest-green:   #4A7C4A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  background-color: var(--color-scaffold);
  color: var(--color-text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── Utility ─────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Navbar ──────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface-light);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-logo {
  text-decoration: none;
}

.navbar-brand-name {
  font-family: 'Cairo', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-text-primary);
  display: inline-block;
  position: relative;
  transition: transform 0.2s ease;
  line-height: 1.2;
}

.navbar-brand-name::after {
  content: '';
  display: block;
  width: 24px;
  height: 3.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  margin-top: 1px;
  transition: width 0.2s ease;
}

.navbar-logo:hover .navbar-brand-name {
  transform: scale(1.03);
}

.navbar-logo:hover .navbar-brand-name::after {
  width: 36px;
}

.brand-underline {
  position: relative;
  display: inline-block;
  color: var(--color-text-primary);
}

.brand-underline::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  margin-top: 1px;
}

.navbar-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--color-primary); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--color-text-primary);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 12px;
  border: 2px solid var(--color-text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover {
  background-color: var(--color-text-primary);
  color: #fff;
}

.store-btn-soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}
.store-btn-soon:hover { transform: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  background-color: var(--color-scaffold);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content { order: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(196, 98, 45, 0.12);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--color-primary);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-text-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.store-btn:hover {
  background-color: var(--color-teal-dark);
  transform: translateY(-2px);
}
.store-btn svg { flex-shrink: 0; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn-text small { font-size: 0.7rem; opacity: 0.8; }
.store-btn-text strong { font-size: 1rem; font-weight: 700; }

.hero-stats {
  display: flex;
  gap: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text-primary);
}
.stat span {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* Phone mockup */
.hero-visual { order: 2; display: flex; justify-content: center; }

.phone-mockup {
  position: relative;
  width: 260px;
  height: 520px;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: var(--color-text-dark);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(13, 92, 92, 0.25), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-scaffold);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 80px;
  height: 22px;
  background: var(--color-text-dark);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}

.phone-screen-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-logo-img {
  height: 14px;
  width: auto;
  display: block;
}
.phone-cart-icon {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-banner {
  background: linear-gradient(135deg, var(--color-text-primary), var(--color-teal-medium));
  border-radius: 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 8px;
}

.phone-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.phone-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-product-card {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-product-img {
  width: 100%;
  height: 36px;
  background: var(--color-surface-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.phone-product-name {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--color-text-primary);
}
.phone-product-price {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.phone-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.45rem;
  color: var(--color-text-hint);
}
.phone-nav-item.active { color: var(--color-primary); }
.phone-nav-dot {
  width: 16px;
  height: 16px;
  background: var(--color-surface-light);
  border-radius: 4px;
}
.phone-nav-item.active .phone-nav-dot { background: rgba(196, 98, 45, 0.15); }

.phone-floating-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--color-surface);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}
.badge-icon {
  width: 32px;
  height: 32px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.badge-text strong { font-size: 0.75rem; font-weight: 700; color: var(--color-text-primary); }
.badge-text span { font-size: 0.65rem; color: var(--color-text-secondary); }

.phone-floating-badge-2 {
  position: absolute;
  top: 60px;
  right: -24px;
  background: var(--color-surface);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-icon-2 {
  width: 32px;
  height: 32px;
  background: rgba(196, 98, 45, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── How It Works ────────────────────────────────────── */
.how-it-works {
  background-color: var(--color-surface);
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  right: calc(16.66% + 16px);
  left: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(to left, var(--color-border), var(--color-primary), var(--color-border));
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.step-number {
  width: 72px;
  height: 72px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(196, 98, 45, 0.35);
}

.step-icon {
  font-size: 2rem;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  max-width: 220px;
}

/* ─── Features ────────────────────────────────────────── */
.features {
  background-color: var(--color-scaffold);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 92, 92, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(13, 92, 92, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}



/* ─── Download CTA ────────────────────────────────────── */
.download-cta {
  background-color: var(--color-text-primary);
  padding: 80px 0;
  color: #fff;
}

.download-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.download-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
}

.download-cta p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 480px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.store-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}
.store-btn-light:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.store-btn-light-soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}
.store-btn-light-soon:hover { transform: none; }
.store-btn-light svg { flex-shrink: 0; }
.store-btn-light .store-btn-text small { font-size: 0.7rem; opacity: 0.7; }
.store-btn-light .store-btn-text strong { font-size: 1rem; font-weight: 700; }

.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}
.qr-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-placeholder svg { opacity: 0.6; }
.qr-block span { font-size: 0.75rem; opacity: 0.8; }

/* ─── Footer ──────────────────────────────────────────── */
footer {
  background-color: var(--color-text-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-brand-name {
  font-family: 'Cairo', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
}

.footer-brand-name::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  margin-top: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-copy .separator {
  color: rgba(255,255,255,0.3);
}

.footer-terms-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-terms-link:hover {
  color: #fff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.social-link:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.social-link--disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}
.whatsapp-btn:hover {
  background-color: #20ba56;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  color: #fff;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 32px; }
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 680px) {
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--color-surface-light);
    z-index: 99;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 1.3rem;
  }
  .hamburger { display: flex; }
  .navbar-cta { display: none; }
  .phone-floating-badge { display: none; }
  .phone-floating-badge-2 { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
