/* ==========================================================================
   OV POS - High-End Light / White Theme Landing Page UI
   Clean, Crisp, Modern White SaaS Aesthetics for Algerian Merchants 🇩🇿
   Font: alfont_com_KOMedia-Black
   ========================================================================== */

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

/* Font Face: alfont_com_KOMedia-Black */
@font-face {
  font-family: 'alfont_com_KOMedia-Black';
  src: url('../fonts/alfont_com_KOMedia-Black.otf') format('opentype'),
       url('../alfont_com_KOMedia-Black.otf') format('opentype'),
       url('fonts/alfont_com_KOMedia-Black.otf') format('opentype'),
       local('alfont_com_KOMedia-Black'),
       local('KOMedia-Black'),
       local('KOMedia Black');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   1. Design Tokens & Light Theme Variables
   -------------------------------------------------------------------------- */
:root {
  /* Crisp Light Color Palette */
  --bg-pitch: #ffffff;
  --bg-dark: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-header: rgba(255, 255, 255, 0.92);

  /* Vibrant Accents */
  --accent-cyan: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;
  --accent-pink: #db2777;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;

  /* Gradients */
  --grad-aurora: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #7c3aed 100%);
  --grad-pink-purple: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-text: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #0284c7 70%, #4f46e5 100%);
  --grad-card-border: linear-gradient(135deg, rgba(226, 232, 240, 0.8) 0%, rgba(203, 213, 225, 0.4) 100%);

  /* Text & Borders */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --border-light: #e2e8f0;
  --border-hover: #818cf8;

  /* Shadows & Glow Orbs */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-aurora: 0 12px 35px rgba(79, 70, 229, 0.18);
  --shadow-emerald: 0 12px 35px rgba(16, 185, 129, 0.22);

  /* Typography & Layout */
  --font-main: 'alfont_com_KOMedia-Black', 'Cairo', 'Tajawal', -apple-system, sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Base Reset & Ambient Atmosphere
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-pitch);
  color: var(--text-main);
  direction: rtl;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-pitch);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 18px;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ambient Background Wrapper */
.ambient-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Cyber Grid Pattern & Soft Light Orbs */
.cyber-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.28;
  z-index: 0;
  animation: floatOrb 8s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-40px) scale(1.08); }
}

.orb-purple {
  width: 650px; height: 650px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
}
.orb-cyan {
  width: 700px; height: 700px;
  top: 550px; left: -220px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}
.orb-emerald {
  width: 550px; height: 550px;
  top: 1500px; right: -150px;
  background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-indigo); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'alfont_com_KOMedia-Black', 'Cairo', var(--font-main);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-pill);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.section-subtitle {
  font-size: clamp(1.08rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 50px auto;
  font-weight: 500;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   3. Buttons & Component Styles
   -------------------------------------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: var(--transition);
}

.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.6em; height: 1.6em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-aurora {
  background: var(--grad-aurora);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}
.btn-aurora:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.45);
  filter: brightness(1.05);
}

.btn-whatsapp {
  background: var(--grad-emerald);
  color: #ffffff;
  box-shadow: var(--shadow-emerald);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.45);
  filter: brightness(1.05);
}

.btn-glass {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-glass:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-telegram,
.btn-whatsapp {
  background: linear-gradient(135deg, #0088cc, #00a8e8);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}
.btn-telegram:hover,
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #0077b5, #0097d7);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.45);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

/* Glass Card Component (Light Mode) */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-aurora);
}

/* --------------------------------------------------------------------------
   4. Floating Dock Header (Light Mode - Transparent Base)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 18px 0;
  box-shadow: none;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  padding: 12px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
}

.logo-tag {
  font-size: 0.78rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-indigo);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0%; height: 2.5px;
  background: var(--grad-aurora);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 175px;
  padding-bottom: 95px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 24px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

/* Light Mac-style Window Terminal Preview */
.window-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(79, 70, 229, 0.12);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.window-frame:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-4px);
}

.window-bar {
  background: #f1f5f9;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.window-dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-tabs {
  display: flex;
  gap: 6px;
  background: #e2e8f0;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
}

.hero-tab-btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.hero-tab-btn.active,
.hero-tab-btn:hover {
  background: var(--grad-aurora);
  color: #fff;
}

.hero-img-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #f8fafc;
}

.hero-img-container img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.hero-img-container:hover img {
  transform: scale(1.02);
}

.zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.hero-img-container:hover .zoom-overlay { opacity: 1; }

.zoom-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

/* Stats Bar */
.stats-bar {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-item {
  padding: 26px 20px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Dedicated Store Sectors Grid Section (Light Theme)
   -------------------------------------------------------------------------- */
.sectors-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 36px;
}

.sector-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-lg), var(--shadow-aurora);
  transform: translateY(-6px);
}

.sector-img-container {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
}

.sector-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  transition: transform 0.6s ease;
}

.sector-card:hover .sector-img-container img {
  transform: scale(1.05);
}

.sector-badge-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ffffff;
  color: var(--accent-indigo);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.sector-body {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sector-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}

.sector-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.sector-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
  margin-top: auto;
}

.sector-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

/* --------------------------------------------------------------------------
   7. Asymmetric Bento Grid Features Section
   -------------------------------------------------------------------------- */
.features-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

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

.bento-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card.large {
  grid-column: span 2;
}

.bento-img-wrapper {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  position: relative;
  background: #f8fafc;
}

.bento-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-img-wrapper img {
  transform: scale(1.05);
}

.feature-icon-badge {
  width: 52px; height: 52px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
}

.feature-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. Detailed Zig-Zag Feature Showcase
   -------------------------------------------------------------------------- */
.showcase-section {
  padding: 110px 0;
  overflow: hidden;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}

.showcase-row:last-child { margin-bottom: 0; }

.showcase-row.reverse { direction: ltr; }
.showcase-row.reverse .showcase-text { direction: rtl; }

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

.showcase-badge {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 18px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-cyan);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.showcase-title {
  font-size: 2.4rem;
  margin-bottom: 18px;
  line-height: 1.3;
  color: #0f172a;
}

.showcase-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.75;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 600;
}

.check-icon {
  width: 26px; height: 26px;
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-img-container {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  cursor: pointer;
  background: #f8fafc;
}

.showcase-img-container img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-img-container:hover img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   9. Screenshot Gallery Grid Section
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 110px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-aurora);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-aurora);
}

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

.gallery-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-aurora);
}

.gallery-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 18px 20px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   10. Transparent Pricing Offer Card (Single 20,000 DA Offer)
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.pricing-hero-card {
  background: #ffffff;
  border: 2px solid var(--accent-indigo);
  border-radius: var(--radius-xl);
  padding: 55px 45px;
  box-shadow: var(--shadow-lg), var(--shadow-aurora);
  position: relative;
  overflow: hidden;
}

.pricing-ribbon {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--grad-aurora);
  color: #ffffff;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

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

.plan-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.pricing-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-tag {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-indigo);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-amount {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

.pricing-period {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-renewal {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: #065f46;
  font-size: 1.1rem;
  font-weight: 700;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   11. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 110px 0;
  overflow: hidden;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  user-select: none;
}

.faq-icon {
  width: 28px; height: 28px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-indigo);
  color: #ffffff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-content {
  padding: 0 28px 24px 28px;
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

/* --------------------------------------------------------------------------
   12. Direct WhatsApp Contact Order Form
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 110px 0;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.contact-card,
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 22px;
  width: 100%;
  text-align: right;
}

.form-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: inherit;
}

.form-input,
.form-select,
.form-textarea,
.form-control {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 16px 20px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  font-size: 1.05rem;
  font-family: inherit;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
  background: #ffffff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: var(--shadow-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon {
  width: 50px; height: 50px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent-indigo);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-title { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2px; }
.info-val { font-size: 1.2rem; font-weight: 800; color: #0f172a; }

/* --------------------------------------------------------------------------
   13. Footer (Light Mode)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 35px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 45px;
  margin-bottom: 55px;
}

.footer-about { display: flex; flex-direction: column; gap: 18px; }
.footer-desc { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; max-width: 380px; }
.footer-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 18px; color: #0f172a; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-link { color: var(--text-muted); font-size: 1rem; }
.footer-link:hover { color: var(--accent-indigo); padding-right: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.made-in-dz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-pill);
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   14. Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active { opacity: 1; pointer-events: auto; }

.lightbox-content {
  position: relative;
  max-width: 1150px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 18px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px; left: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover { background: var(--accent-rose); }

/* --------------------------------------------------------------------------
   15. Scroll Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   16. Dedicated Mobile Wireframe Transformations (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 40px;
  }
  .hero-content { margin: 0 auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  
  .bento-grid { grid-template-columns: 1fr; gap: 24px; }
  .bento-card.large { grid-column: span 1; }
  
  .sectors-grid { grid-template-columns: 1fr; gap: 28px; }
  
  .showcase-row, .showcase-row.reverse { 
    grid-template-columns: 1fr; 
    gap: 32px; 
    direction: rtl; 
  }
  .showcase-row.reverse .showcase-text { direction: rtl; }
  
  .pricing-card-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Header Mobile Bar */
  .site-header { 
    padding: 10px 0;
  }
  
  .header-container {
    padding: 0 16px;
  }
  
  .logo img {
    height: 36px !important;
  }
  
  .logo-tag {
    font-size: 0.7rem;
    padding: 2px 7px;
  }

  /* Mobile Touch Drawer Navigation */
  .mobile-toggle { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
  }
  
  .nav-menu {
    position: fixed; 
    top: 0; 
    right: -100%;
    width: 85%; 
    max-width: 320px; 
    height: 100vh;
    background: #ffffff; 
    flex-direction: column;
    align-items: flex-start; 
    padding: 85px 20px 30px 20px;
    border-left: 1px solid var(--border-light);
    box-shadow: -15px 0 40px rgba(15, 23, 42, 0.18);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    gap: 0;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }
  
  .nav-menu.active { 
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }
  
  .nav-menu li { width: 100%; }

  .nav-link {
    font-size: 1.15rem;
    padding: 15px 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--bg-subtle);
  }

  /* Stats Bar Mobile */
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 40px;
  }
  .stat-item {
    padding: 18px 14px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.82rem;
  }

  /* Hero Mobile Wireframe Mockup */
  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
    overflow: hidden;
  }

  .hero-badge {
    font-size: 0.88rem;
    padding: 6px 14px;
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
  }

  .hero-actions { 
    flex-direction: column; 
    width: 100%; 
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }

  /* Mobile Window Frame Transformation */
  .window-frame {
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-hover);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    margin-top: 10px;
    overflow: hidden;
    max-width: 100%;
  }

  .hero-screen-wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  .window-bar {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* Horizontal Scrollable Tabs on Mobile */
  .window-tabs,
  .hero-tab-btns {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    padding: 4px 2px 8px 2px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }

  .window-tabs::-webkit-scrollbar,
  .hero-tab-btns::-webkit-scrollbar { display: none; }

  .hero-tab-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.88rem;
  }

  /* Taller & Focused Screenshot Mockup on Mobile */
  .hero-img-container {
    height: 270px;
  }

  .hero-img-container img {
    height: 100%;
    object-fit: cover;
    object-position: top right;
  }

  .zoom-overlay {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 65%);
    align-items: flex-end;
    padding-bottom: 14px;
  }

  .zoom-btn {
    font-size: 0.85rem;
    padding: 8px 18px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }

  /* Sectors Grid Mobile Wireframe */
  .sectors-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .sector-card {
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    background: #ffffff;
  }

  .sector-img-container {
    height: 260px;
    border-bottom: 1px solid var(--border-light);
  }

  .sector-img-container img {
    height: 100%;
    object-fit: cover;
    object-position: top right;
  }

  .sector-body {
    padding: 24px 18px;
  }

  .sector-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .sector-desc {
    font-size: 1.02rem;
    margin-bottom: 20px;
  }

  .sector-feature-item {
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.98rem;
  }

  /* Zig-Zag Showcase Rows Mobile Wireframe (Image FIRST) */
  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr !important;
    gap: 28px;
    direction: rtl !important;
    margin-bottom: 70px;
  }

  .showcase-row.reverse .showcase-text {
    direction: rtl !important;
  }

  .showcase-text {
    order: 2;
  }

  .showcase-img-container {
    order: 1;
    height: 260px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-light);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }

  .showcase-img-container img {
    height: 100%;
    object-fit: cover;
    object-position: top right;
  }

  .showcase-title {
    font-size: 1.85rem;
    margin-bottom: 14px;
  }

  .showcase-desc {
    font-size: 1.08rem;
    margin-bottom: 22px;
  }

  .check-item {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    font-size: 1.02rem;
  }

  /* Bento Features Cards Mobile Wireframe */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .bento-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-light);
    background: #ffffff;
  }

  .bento-img-wrapper {
    height: 200px;
  }

  .feature-title {
    font-size: 1.35rem;
  }

  .feature-desc {
    font-size: 1rem;
  }

  /* Gallery Screenshots Grid Mobile Wireframe */
  .gallery-filters {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 4px 2px 12px 2px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar { display: none; }

  .filter-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.92rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .gallery-item {
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-light);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
  }

  .gallery-img-wrapper {
    height: 220px;
  }

  .gallery-img-wrapper img {
    height: 100%;
    object-fit: cover;
    object-position: top right;
  }

  .gallery-caption {
    padding: 14px 18px;
    font-size: 1.05rem;
    font-weight: 700;
  }

  /* Pricing Section Mobile Wireframe */
  .pricing-hero-card {
    padding: 28px 18px;
    border-radius: var(--radius-xl);
    border: 2px solid var(--accent-indigo);
  }

  .pricing-card-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .plan-features-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-bottom: 28px;
  }

  .pricing-amount {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
  }

  /* Order Form & Contact Section Mobile */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .contact-card {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .form-input,
  .form-select,
  .form-textarea,
  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 14px 16px;
    min-height: 52px;
  }

  .contact-info-card {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-img-container,
  .sector-img-container,
  .showcase-img-container {
    height: 240px;
  }
  
  .btn { 
    width: 100%;
    padding: 15px 18px;
    font-size: 1.08rem;
  }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .lightbox-modal {
    padding: 12px;
  }
  
  .lightbox-close {
    top: -40px;
    right: 0;
    left: auto;
    width: 36px;
    height: 36px;
  }
}

/* --------------------------------------------------------------------------
   13. Custom Success Pop-out Modal Styling
   -------------------------------------------------------------------------- */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.success-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 42px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), var(--shadow-aurora);
  border: 1.5px solid var(--border-hover);
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.success-modal.active .success-modal-card {
  transform: scale(1);
}

.success-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.success-check-circle {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.38);
  animation: popCheck 0.5s ease-out;
}

@keyframes popCheck {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}
