/* =============================================
   SAHLA FOOT WEBSITE — STYLESHEET
   ============================================= */

/* ─── Custom Properties ─── */
:root {
  --brand: #54b3fd;
  --brand-dark: #2a8edb;
  --brand-light: #dbeafe;
  --brand-glow: rgba(84, 179, 253, 0.25);

  --dark: #0d1117;
  --dark-2: #161b22;
  --dark-3: #21262d;
  --dark-border: rgba(255, 255, 255, 0.08);

  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --nav-h: 68px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
ul {
  list-style: none;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 14px var(--brand-glow);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.btn-outline-brand {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  font-size: 0.9rem;
}
.btn-outline-brand:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  overflow: visible;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  top: 0;
  height: 90px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  transition: color var(--transition);
}
.navbar.scrolled .nav-logo {
  color: var(--dark);
}
.nav-logo strong {
  font-weight: 800;
  color: var(--brand);
}
.logo-ball {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin-top: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}
.navbar.scrolled .nav-link {
  color: var(--text);
}
.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}
.navbar.scrolled .nav-link:hover {
  color: var(--brand);
  background: var(--brand-light);
}
/* Keep links white inside open mobile menu regardless of scroll */
.nav-links.open .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}
.nav-links.open .nav-link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.12);
}
.btn-nav-cta {
  background: var(--brand);
  color: white !important;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-nav-cta:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px);
}
.navbar.scrolled .btn-nav-cta {
  color: white !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  text-align: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-mobile {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-accent {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #ffffff;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 600;
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.7),
    0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px 40px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.hero-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}
.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.5s ease-in-out infinite;
  opacity: 0.6;
  transition: opacity var(--transition);
}
.hero-scroll:hover {
  opacity: 1;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ═══════════════════════════════════════════
   À PROPOS
═══════════════════════════════════════════ */
.apropos {
  padding: 100px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}
.feature-icon-wrap {
  width: 58px;
  height: 58px;
  background: var(--c);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   GALERIE
═══════════════════════════════════════════ */
.galerie {
  padding: 100px 0;
  background: var(--bg);
}

/* Toolbar */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery-filters {
  display: flex;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: "Poppins", sans-serif;
  transition: all var(--transition);
}
.filter-btn.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 2px 8px var(--brand-glow);
}
.filter-btn:not(.active):hover {
  color: var(--brand);
  background: var(--brand-light);
}
.gallery-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}

/* Gallery card */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  z-index: 1;
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  transition: all var(--transition);
  cursor: pointer;
}
.overlay-btn-view {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.overlay-btn-view:hover {
  background: rgba(255, 255, 255, 0.3);
}
.overlay-btn-dl {
  background: var(--brand);
  color: white;
  text-decoration: none;
}
.overlay-btn-dl:hover {
  background: var(--brand-dark);
}

/* Video badge */
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.video-badge svg {
  margin-left: 2px;
}

/* Skeleton loader */
.gallery-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
}
.skeleton-card {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Empty / Error state */
.gallery-empty,
.gallery-error {
  text-align: center;
  padding: 80px 24px;
  display: none;
}
.gallery-empty.visible,
.gallery-error.visible {
  display: block;
}
.gallery-empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1;
}
.gallery-empty h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.gallery-empty p,
.gallery-error p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Load more */
.gallery-more {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.gallery-more-info {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Spinner */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 109, 203, 0.15);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* App section — centered text + 4 phones row */
.app-text-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.app-text-center h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.app-text-center p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.app-text-center .app-features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-bottom: 32px;
}
.app-text-center .store-badges {
  justify-content: center;
}

.phones-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
/* ── CSS Phone frames ── */
.phone-frame {
  position: relative;
  width: 220px;
  border-radius: 32px;
  border: 7px solid transparent;
  background:
    linear-gradient(#1a1a1a, #1a1a1a) padding-box,
    linear-gradient(160deg, #888 0%, #444 40%, #777 60%, #333 100%) border-box;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.15) inset,
    0 -2px 0 rgba(0, 0, 0, 0.4) inset,
    0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: visible;
  transition: transform 0.3s ease;
}
.phone-frame-side {
  transform: none;
  opacity: 1;
}
.phone-frame-center {
  transform: none;
  opacity: 1;
}
.phones-row:hover .phone-frame {
  transform: translateY(-4px);
}
/* Side buttons */
.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #555, #888, #555);
  border-radius: 3px;
}
.phone-btn-vol-up {
  left: -10px;
  top: 72px;
  width: 4px;
  height: 28px;
}
.phone-btn-vol-down {
  left: -10px;
  top: 110px;
  width: 4px;
  height: 28px;
}
.phone-btn-power {
  right: -10px;
  top: 90px;
  width: 4px;
  height: 40px;
}
/* Inner screen area */
.phone-frame-inner {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
}
/* Status bar */
.phone-statusbar {
  display: none;
}
.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.store-badges-centered {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.phones-stores-layout {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.phones-stores-layout .phones-row {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}
.store-badges-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.phone-screen-img {
  width: 100%;
  background: var(--dark-2);
}
.phone-screen-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ═══════════════════════════════════════════
   APP SECTION
═══════════════════════════════════════════ */
.app-section {
  position: relative;
  background: linear-gradient(135deg, #051629 0%, #0d2d59 50%, #54b3fd 100%);
  padding: 100px 0 60px;
}
.app-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.15) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.app-text .section-header {
  text-align: left;
  margin-bottom: 28px;
}
.app-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.app-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.app-features-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.check {
  width: 22px;
  height: 22px;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}
.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: white;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  width: 190px;
  height: 80px;
}
.store-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}
.store-badge div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.store-badge small {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
}
.store-badge strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Phone mockup */
.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 270px;
  background: var(--dark-2);
  border-radius: 52px;
  border: 10px solid var(--dark-3);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.phone-notch {
  width: 80px;
  height: 22px;
  background: var(--dark-3);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.phone-screen {
  padding: 0 18px 36px;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 6px 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.phone-app-header {
  margin-bottom: 14px;
}
.phone-logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}
.phone-card-big {
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  border-radius: 20px;
  padding: 22px 18px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.phone-card-big::after {
  content: "⚽";
  position: absolute;
  bottom: -8px;
  right: -8px;
  font-size: 3rem;
  opacity: 0.15;
}
.phone-card-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}
.phone-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}
.phone-card-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}
.phone-card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: white;
  color: var(--brand);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
}
.phone-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.phone-pitch-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.phone-pitch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.phone-pitch-dot.green {
  background: #22c55e;
}
.phone-pitch-dot.blue {
  background: #3b82f6;
}
.phone-pitch-info {
  flex: 1;
}
.phone-pitch-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1px;
}
.phone-pitch-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
}
.phone-pitch-price {
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
}
.phone-glow-1 {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 109, 203, 0.4), transparent);
  bottom: -60px;
  left: -40px;
  z-index: 1;
  pointer-events: none;
}
.phone-glow-2 {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent);
  top: -30px;
  right: -30px;
  z-index: 1;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
  border-top: 1px solid var(--dark-border);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo {
  color: white;
  margin-bottom: 12px;
  display: inline-flex;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}
.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.footer-nav a,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: white;
}
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}
.lightbox[hidden] {
  display: none !important;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lb-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.lb-counter {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}
.lb-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lb-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  font-family: "Poppins", sans-serif;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
  cursor: pointer;
}
.lb-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}
#lbDownload {
  text-decoration: none;
}
.lb-close-btn {
  color: rgba(255, 255, 255, 0.8);
}

.lb-media-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  min-height: 0;
  position: relative;
}

.lb-nav {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
.lb-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

.lb-media-wrapper {
  flex: 1;
  max-width: 1100px;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
}
.lb-media-wrapper img,
.lb-media-wrapper video {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}
.lb-media-wrapper video {
  width: 100%;
}
.lb-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  min-width: 200px;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .app-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .phone-mockup-wrap {
    order: -1;
  }
  .app-text .section-header {
    text-align: center;
  }
  .app-text h2 {
    text-align: center;
  }
  .app-text p {
    text-align: center;
  }
  .app-features-list {
    align-items: flex-start;
    max-width: 400px;
    margin: 0 auto 36px;
  }
  .store-badges {
    justify-content: center;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-bg-desktop {
    display: none;
  }
  .hero-bg-mobile {
    display: block;
  }

  /* Phone frames stack vertically on mobile */
  .phones-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .phone-frame {
    width: min(380px, 90vw);
    border-radius: 32px;
    border-width: 7px;
  }
  .phone-frame-inner {
    border-radius: 26px;
  }
  .phone-btn {
    display: none;
  }
  .phones-stores-layout {
    flex-direction: column;
    gap: 24px;
  }
  .store-badges-side {
    flex-direction: row;
    justify-content: center;
  }

  .app-section {
    padding: 60px 0 80px;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + 20px);
    left: 12px;
    right: 12px;
    border-radius: var(--radius);
    background: var(--dark-2);
    border: 1px solid var(--dark-border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    backdrop-filter: blur(20px);
    z-index: 100;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
  }
  .btn-nav-cta {
    margin-top: 8px;
  }
  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px 28px;
  }
  .hero-stat-divider {
    width: 50px;
    height: 1px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid,
  .gallery-skeleton {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
  }
  .gallery-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .lb-nav {
    width: 40px;
    height: 40px;
  }
  .lb-media-area {
    padding: 8px 0;
    gap: 0;
    flex-direction: column;
    overflow: hidden;
  }
  /* Move prev/next to bottom corners on mobile */
  .lb-nav {
    position: fixed;
    bottom: 24px;
    z-index: 2;
  }
  #lbPrev {
    left: 16px;
  }
  #lbNext {
    right: 16px;
  }
  .lb-media-wrapper {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 0;
  }
  .lb-media-wrapper img,
  .lb-media-wrapper video {
    max-height: calc(100vh - 120px);
    max-width: 100vw;
    width: auto;
    height: auto;
    border-radius: 0;
  }
  .lb-action-btn span {
    display: none;
  }
  .lb-topbar {
    padding: 10px 14px;
  }
  /* Gallery overlay always visible on touch */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0) 60%
    );
  }
  .gallery-item:hover {
    transform: none;
  }
  .gallery-overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    padding: 8px;
  }
  .overlay-btn {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    display: none;
  }
  .gallery-grid,
  .gallery-skeleton {
    grid-template-columns: repeat(2, 1fr);
  }
  .phone-frame {
    width: min(380px, 90vw);
    border-radius: 32px;
    border-width: 7px;
  }
  .phone-frame-inner {
    border-radius: 26px;
  }
}

@media (max-width: 360px) {
  .gallery-grid,
  .gallery-skeleton {
    grid-template-columns: 1fr;
  }
}
