/* ShopVerse — New Brand Identity (Obsidian #0A0A0A + Amber #EF9E33) */

@font-face {
  font-family: 'Din Next LT Arabic';
  src: url('fonts/din-arabic-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Din Next LT Arabic';
  src: url('fonts/din-arabic-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Din Next LT Arabic';
  src: url('fonts/din-arabic-bold.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-amber: #EF9E33;
  --brand-amber-light: #F7B955;
  --brand-amber-dark: #D9851A;
  --brand-amber-soft: rgba(239, 158, 51, 0.12);
  --brand-amber-glow: rgba(239, 158, 51, 0.25);

  --ink-950: #0A0A0A;
  --ink-900: #141414;
  --ink-800: #1E1E1E;
  --ink-700: #2C2C2C;
  --ink-500: #666666;
  --ink-400: #8A8A8A;

  --surface-white: #FFFFFF;
  --surface-soft: #F8F8F7;
  --surface-warm: #FFFBF5;
  --border-subtle: #EAEAEA;
  --border-dark: rgba(255, 255, 255, 0.1);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Din Next LT Arabic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--surface-white);
  color: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Icons */
.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 22px; height: 22px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 34px; height: 34px; }

/* Signature Brand Diamond Dot */
.brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--brand-amber);
  border-radius: 3px;
  transform: rotate(24deg);
  flex-shrink: 0;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 24px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-wordmark {
  height: 28px;
  width: auto;
  display: block;
}

.brand-wordmark-en {
  height: 22px;
  display: none;
}

html[lang="en"] .brand-wordmark-ar { display: none; }
html[lang="en"] .brand-wordmark-en { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--brand-amber-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-950);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.language-toggle:hover {
  border-color: var(--brand-amber);
  background: var(--surface-warm);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-950);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand-amber);
  color: var(--ink-950);
  transform: translateY(-1px);
}

/* ================= HERO SECTION ================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-950);
  color: #FFFFFF;
  padding: 124px 24px 84px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(239, 158, 51, 0.22) 0%, rgba(239, 158, 51, 0.04) 45%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

.floating-screens-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  display: flex;
  align-items: center;
  direction: ltr;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 25%, rgba(0, 0, 0, 0.7) 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 25%, rgba(0, 0, 0, 0.7) 75%, transparent 100%);
}

.screens-track {
  display: flex;
  width: max-content;
  animation: slideMarquee 50s linear infinite;
  will-change: transform;
  direction: ltr;
}

.floating-screen {
  flex-shrink: 0;
  width: 310px;
  margin-right: 64px;
  opacity: 0.11;
}

.floating-screen img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes slideMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .screens-track { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(239, 158, 51, 0.35);
  color: var(--brand-amber-light);
  font-size: 14px;
  font-weight: 500;
}

.hero-app-icon-wrap {
  padding: 6px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(239, 158, 51, 0.45), rgba(255, 255, 255, 0.06));
  box-shadow: 0 20px 60px rgba(239, 158, 51, 0.22), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.hero-app-icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  display: block;
}

.hero-tagline {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.hero-tagline-accent {
  color: var(--brand-amber);
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.76);
  max-width: 600px;
  line-height: 1.7;
}

.download-buttons-hero {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.download-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  min-width: 196px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.download-btn-hero.primary {
  background: var(--brand-amber);
  color: var(--ink-950);
  box-shadow: 0 10px 30px rgba(239, 158, 51, 0.32);
}

.download-btn-hero.primary:hover {
  background: var(--brand-amber-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(239, 158, 51, 0.42);
}

.download-btn-hero.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.download-btn-hero.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.social-links-hero {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.social-btn-hero {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-btn-hero:hover {
  background: var(--brand-amber);
  border-color: var(--brand-amber);
  color: var(--ink-950);
  transform: translateY(-3px);
}

/* ================= STATS STRIP ================= */
.stats-strip {
  background: var(--ink-900);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 36px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-amber);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ================= SHARED SECTION HEADERS ================= */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-amber-dark);
  background: var(--brand-amber-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-eyebrow.dark {
  color: var(--brand-amber-light);
  background: rgba(239, 158, 51, 0.14);
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--ink-500);
  line-height: 1.65;
}

/* ================= FEATURES SECTION ================= */
.features-section {
  padding: 104px 24px;
  background: var(--surface-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--surface-white);
  border-color: var(--brand-amber);
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.06);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--ink-950);
  color: var(--brand-amber);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.feature-card:hover .feature-icon {
  background: var(--brand-amber);
  color: var(--ink-950);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-950);
  margin-bottom: 10px;
}

.feature-description {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ================= AI SECTION (DARK SHOWCASE) ================= */
.ai-section {
  padding: 104px 24px;
  background: var(--ink-950);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.ai-section .section-title {
  color: #FFFFFF;
}

.ai-section .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ai-card {
  background: var(--ink-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ai-card::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(239, 158, 51, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.ai-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 158, 51, 0.55);
}

.ai-card-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-amber);
  color: var(--ink-950);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ai-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.ai-card-description {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

/* ================= LOYALTY SECTION ================= */
.loyalty-section {
  padding: 104px 24px;
  background: var(--surface-warm);
}

.loyalty-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.loyalty-highlight-card {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.loyalty-highlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-amber);
  box-shadow: 0 14px 36px rgba(239, 158, 51, 0.12);
}

.highlight-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--brand-amber-soft);
  color: var(--brand-amber-dark);
}

.highlight-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-950);
}

.how-it-works {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}

.how-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--ink-950);
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-item {
  text-align: center;
  padding: 24px 18px;
  background: var(--surface-soft);
  border-radius: 18px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.step-item:hover {
  transform: translateY(-3px);
  background: var(--surface-warm);
}

.step-number {
  width: 38px;
  height: 38px;
  background: var(--ink-950);
  color: var(--brand-amber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  margin: 0 auto 14px;
}

.step-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-950);
}

/* ================= MERCHANTS SECTION ================= */
.merchants-section {
  padding: 104px 24px;
  background: var(--surface-white);
}

.merchants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.merchant-card {
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.merchant-card:hover {
  transform: translateY(-4px);
  background: var(--surface-white);
  border-color: var(--brand-amber);
}

.merchant-icon {
  width: 54px;
  height: 54px;
  background: var(--brand-amber);
  color: var(--ink-950);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.merchant-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-950);
  line-height: 1.5;
}

/* ================= CTA SECTION ================= */
.cta-section {
  padding: 88px 24px;
  background: var(--surface-white);
}

.cta-card {
  background: linear-gradient(135deg, var(--brand-amber) 0%, var(--brand-amber-dark) 100%);
  border-radius: 32px;
  padding: 68px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(239, 158, 51, 0.25);
}

.cta-lockup {
  height: 82px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
  background: #FFFFFF;
  padding: 14px 26px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.14);
}

.cta-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink-950);
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(10, 10, 10, 0.82);
  max-width: 560px;
  margin: 0 auto 32px;
  font-weight: 500;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink-950);
  color: #FFFFFF;
  border: none;
  border-radius: 16px;
  padding: 18px 38px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  background: var(--ink-800);
}

/* ================= FOOTER ================= */
.footer {
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 24px 40px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.syrverse-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-company {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ================= DOWNLOAD MODAL ================= */
.download-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.download-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.download-modal {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 44px 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.22s ease;
}

.download-modal-overlay.is-open .download-modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  background: var(--surface-soft);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-950);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--border-subtle);
  transform: rotate(90deg);
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: block;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-950);
  text-align: center;
  margin-bottom: 24px;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-soft);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--ink-950);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.modal-download-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-amber);
  background: var(--surface-warm);
}

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

.btn-small {
  font-size: 12px;
  color: var(--ink-500);
}

.btn-large {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-950);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .merchants-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-cta { display: none; }
  .hero-section { padding: 112px 16px 64px; }
  .hero-app-icon { width: 92px; height: 92px; border-radius: 22px; }
  .download-buttons-hero { width: 100%; }
  .download-btn-hero { width: 100%; }
  .features-grid,
  .ai-grid,
  .loyalty-highlights,
  .merchants-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .features-section,
  .ai-section,
  .loyalty-section,
  .merchants-section {
    padding: 72px 16px;
  }
  .cta-card { padding: 48px 22px; border-radius: 24px; }
  .cta-btn { width: 100%; }
  .floating-screen { width: 220px; margin-right: 36px; }
}
