/* ================================================================
   Mon Salon — Modern Landing Page
   ================================================================ */

@font-face {
  font-family: 'Benso Yolmi';
  src: url('../fonts/BensoYolmi.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --brand-50: #F3F8F1; --brand-100: #E4EFE0; --brand-200: #C9DFC2;
  --brand-300: #A3C898; --brand-400: #7BAF6D; --brand-500: #6A9B5C;
  --brand-600: #558148; --brand-700: #446838; --brand-800: #38542E;
  --brand-900: #2E4526; --brand-950: #1A2916;
  --slate-50: #F8FAFC; --slate-100: #F1F5F9; --slate-200: #E2E8F0;
  --slate-300: #CBD5E1; --slate-400: #94A3B8; --slate-500: #64748B;
  --slate-600: #475569; --slate-700: #334155; --slate-800: #1E293B;
  --slate-900: #0F172A; --slate-950: #020617;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-800); background: var(--slate-50); line-height: 1.6; overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── Animations ──────────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes pulse-glow { 0%,100%{opacity:.4;transform:scale(1)} 50%{opacity:.7;transform:scale(1.05)} }
@keyframes scroll-bounce { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(8px);opacity:.4} }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 15px; transition: all var(--transition);
  cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: white; box-shadow: 0 4px 24px rgba(85,129,72,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(85,129,72,0.4); }
.btn-glass {
  background: white; color: var(--brand-600);
  border: 1px solid var(--brand-200);
}
.btn-glass:hover { background: var(--brand-50); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  /* Specific transitions (was `transition: all`) — observing all
     property changes added cost without benefit. */
  transition: padding 0.3s cubic-bezier(0.4,0,0.2,1),
              background-color 0.3s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  /* Reduced from 20px → 12px: backdrop-filter is the single biggest
     compositor cost on this page. blur radius scales quadratically
     in GPU sampling, so 20→12 is roughly 2.7x cheaper while staying
     visually frosted. */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05); padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Benso Yolmi', 'Inter', sans-serif; font-weight: normal; font-size: 22px; letter-spacing: 0.03em;
  color: var(--brand-700); transition: color var(--transition);
}
.logo-img { width: 33px; height: 33px; border-radius: var(--radius-sm); object-fit: cover; }
.nav-logo span { position: relative; top: 3px; }
.navbar.scrolled .nav-logo { color: var(--brand-600); }
.logo-img { width: 36px; height: 36px; border-radius: var(--radius-sm); object-fit: cover; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--slate-500);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--brand-500); transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--slate-900); }
.navbar.scrolled .nav-links a { color: var(--slate-500); }
.navbar.scrolled .nav-links a:hover { color: var(--slate-900); }
.nav-cta {
  padding: 10px 24px; background: var(--brand-600);
  border: 1px solid var(--brand-600); border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600; color: white; transition: all var(--transition);
}
.nav-cta:hover { background: var(--brand-700); transform: translateY(-1px); }
.navbar.scrolled .nav-cta { background: var(--brand-600); border-color: var(--brand-600); color: white; }
a.nav-cta-mobile {
  display: none !important;
}
a.nav-cta-mobile::after { display: none !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--slate-800); border-radius: 2px; transition: all var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--slate-800); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #F3F8F1 0%, #E4EFE0 30%, #F3F8F1 60%, white 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  /* Reduced from 80px → 40px. blur() radius cost is ~quadratic, so
     this is ~4x cheaper to compose per frame. The orb already has a
     soft alpha gradient (rgba 0.1-0.2), so visually the difference
     is imperceptible. */
  filter: blur(40px);
  animation: pulse-glow 8s ease-in-out infinite;
  /* Promote each orb to its own GPU layer so the navbar's
     backdrop-filter samples a stable composited layer instead of
     forcing a relayout on every animation frame. */
  will-change: transform, opacity;
  transform: translateZ(0);
}
.hero-orb-1 { width: 400px; height: 400px; background: rgba(85,129,72,0.1); top: 10%; right: 15%; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(163,200,152,0.2); bottom: 10%; left: 10%; animation-delay: 3s; }
.hero-orb-3 { width: 200px; height: 200px; background: rgba(228,239,224,0.15); top: 50%; left: 50%; animation-delay: 5s; }

.hero-content {
  position: relative; z-index: 1; display: flex; flex-direction: column; text-align: center; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: rgba(85,129,72,0.08); border: 1px solid rgba(85,129,72,0.12);
  border-radius: var(--radius-full); font-size: 13px; font-weight: 500;
  color: var(--brand-600); margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; background: #10B981; border-radius: 50%; animation: pulse-glow 2s ease-in-out infinite; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; color: var(--slate-900); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-gradient-text {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500), var(--brand-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 18px; line-height: 1.7; color: var(--slate-500); max-width: 520px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; justify-content: center; }
.hero-stats { display: flex; align-items: center; gap: 24px; justify-content: center; margin-top: 40px; }
.hero-stat-value { display: block; font-size: 20px; font-weight: 700; color: var(--slate-900); font-family: 'Inter', sans-serif; }
.hero-stat-label { font-size: 13px; color: var(--slate-500); }
.hero-stat-divider { width: 1px; height: 40px; background: var(--slate-200); }

.hero-video-wrapper {
  position: relative; width: 100%; max-width: 900px; margin: 60px auto 0;
}
.hero-video-glow {
  position: absolute; inset: -60px;
  background: radial-gradient(circle, rgba(85,129,72,0.3) 0%, transparent 70%);
  border-radius: 50%; animation: pulse-glow 6s ease-in-out infinite;
}
.hero-video {
  position: relative; width: 100%; border-radius: 20px; display: block;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}
.hero-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-mouse {
  width: 24px; height: 38px; border: 2px solid var(--slate-300);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-wheel { width: 3px; height: 8px; background: var(--slate-400); border-radius: 2px; animation: scroll-bounce 2s ease-in-out infinite; }

/* ── Section headers ─────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 16px; background: var(--brand-50);
  color: var(--brand-600); border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em;
}
.section-header h2 { font-size: clamp(28px, 3.5vw, 42px); color: var(--slate-900); margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--slate-500); line-height: 1.7; }
.section-header-light h2 { color: white; }
.section-header-light p { color: rgba(255,255,255,0.65); }
.section-tag-light { background: rgba(255,255,255,0.1); color: var(--brand-300); }

/* ── Features ────────────────────────────────────────────────────── */
.features { padding: 120px 0; background: white; }
.features-label { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.features-label-icon {
  width: 36px; height: 36px; display: flex; align-items: center;
  justify-content: center; border-radius: var(--radius-sm); color: white;
}
.features-label-icon.owner { background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); }
.features-label-icon.client { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.features-label span { font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate-500); }

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

.feature-card {
  padding: 28px; background: var(--slate-50); border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--icon-color, var(--brand-500)), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent; background: white;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--icon-color, var(--brand-500)) 10%, transparent);
  border-radius: var(--radius-md); margin-bottom: 18px;
  color: var(--icon-color, var(--brand-500));
}
.feature-card h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--slate-800); margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--slate-500); }

/* ── Features Carousel (Fresha style) ────────────────────────────── */
.features-carousel-wrapper {
  position: relative; padding-bottom: 24px;
}
.features-carousel-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-behavior: smooth; scroll-snap-type: x mandatory;
  padding: 4px 0 16px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.features-carousel-track::-webkit-scrollbar { display: none; }

.feature-card-slide {
  flex: 0 0 calc(33.333% - 14px); min-width: 300px;
  scroll-snap-align: start;
  background: var(--brand-50); border: 1px solid #e5e7eb;
  border-radius: 16px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.feature-card-slide-text {
  padding: 40px 32px 0;
}
.feature-card-slide h3 {
  font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 16px; line-height: 1.25;
}
.feature-card-slide p {
  font-size: 16px; line-height: 1.65; color: #6b7280; margin: 0;
}
.feature-card-slide-image {
  margin-top: auto; display: flex; justify-content: center;
}
.feature-card-slide-image img {
  width: 100%; display: block;
}

/* ========================================================================
   Phone mockup — UNIFIED frame (single source of truth)
   Used by: .feature-card-slide-image .phone-frame  (carousel features)
            .zayna-phone                            (zayna.html chat mockups)
            .dl-zwa-phone                           (download.html zayna promo)
            .gr-phone                               (Google reviews section)
   Geometry is shared via grouped selectors below. Width/height are the
   only per-instance overrides, and content/background is on the inner
   *-screen classes that compose with .phone-frame-screen-base.
   ======================================================================== */

/* Outer bezel — applies to ALL phone mockups */
.feature-card-slide-image .phone-frame,
.zayna-phone,
.dl-zwa-phone,
.gr-phone {
  position: relative;
  background: #1a1a1a;
  padding: 5px;
  border-radius: 34px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.15),
    0 0 0 1.5px rgba(255,255,255,0.04) inset;
}

/* Feature card variant: % width, flush bottom (sticks to card bottom) */
.feature-card-slide-image .phone-frame {
  width: 72%;
  margin: 24px auto 0;
  border-radius: 34px 34px 0 0;
  padding: 5px 5px 0;
}

/* Fixed-width variants */
.zayna-phone { width: 320px; height: 640px; }
.dl-zwa-phone, .gr-phone { width: 300px; height: 600px; }

/* Power button (right side, flush) — shared on every phone */
.feature-card-slide-image .phone-frame::after,
.zayna-phone::after,
.dl-zwa-phone::after,
.gr-phone::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 22%;
  width: 4px;
  height: 56px;
  background: #1a1a1a;
  border-radius: 0 2px 2px 0;
  z-index: 0;
}

/* Volume buttons (left side, flush) — duplicated via box-shadow on ::before */
.feature-card-slide-image .phone-frame::before,
.zayna-phone::before,
.dl-zwa-phone::before,
.gr-phone::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 18%;
  width: 4px;
  height: 36px;
  background: #1a1a1a;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 56px 0 0 #1a1a1a;
  z-index: 0;
}

/* Inner screen — geometric base (shared) */
.feature-card-slide-image .phone-frame-screen,
.zayna-phone-screen,
.dl-zwa-screen,
.gr-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
}

/* Feature card screen: flush bottom + crop tall screenshots.
   Lock the screen to a single aspect ratio so every phone in the
   carousel ends up the same height — without this, each screenshot's
   natural aspect ratio drives the frame's height and adjacent cards
   on mobile end up visibly misaligned (one card a few px taller than
   the next). 9:14 matches the original 320px max-height at the 72%
   width used inside the card. */
.feature-card-slide-image .phone-frame-screen {
  border-radius: 30px 30px 0 0;
  background: #fff;
  aspect-ratio: 9 / 14;
  height: auto;
  max-height: none;
}
.feature-card-slide-image .phone-frame-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  /* Mirror the screen's top rounding so dark-edged screenshots don't
     show a 1-2px white sliver at the corners (overflow:hidden alone
     leaves the screen bg peeking through on Chromium). */
  border-radius: 30px 30px 0 0;
}
/* promotions.jpg is a short/wide screenshot (388x528, ratio 0.735) unlike
   the others (~0.46). With object-fit:cover it zooms to fill the 9/14
   frame and crops the sides — cutting the "My promotions" header. `contain`
   shows the full width with no side crop; the bottom blends into the
   screen's white background. Scoped to this image only. */
.feature-card-slide-image .phone-frame-screen img[src*="promotions"] {
  object-fit: contain;
}

.carousel-nav-row {
  display: flex; gap: 10px; margin-top: 16px;
}
.carousel-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 1px solid #d1d5db;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #374151;
  transition: all 0.2s ease;
}
.carousel-arrow:hover {
  background: #111827; color: white; border-color: #111827;
}

@media (max-width: 1024px) {
  .feature-card-slide { flex: 0 0 calc(50% - 10px); min-width: 280px; }
}
@media (max-width: 768px) {
  .feature-card-slide { flex: 0 0 85%; min-width: 260px; }
  .feature-card-slide-text { padding: 28px 24px 24px; }
}

/* ── AI Section ──────────────────────────────────────────────────── */
.ai-section {
  position: relative; padding: 120px 0; overflow: hidden;
  background: linear-gradient(135deg, var(--slate-950) 0%, #0a1e0a 50%, var(--slate-950) 100%);
}
.ai-section-bg { position: absolute; inset: 0; pointer-events: none; }
.ai-section-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3;
}
.ai-section-orb-1 {
  width: 500px; height: 500px; top: -100px; right: -100px;
  background: radial-gradient(circle, var(--brand-500), transparent 70%);
}
.ai-section-orb-2 {
  width: 400px; height: 400px; bottom: -100px; left: -100px;
  background: radial-gradient(circle, #558148, transparent 70%);
}
.ai-section-content {
  display: flex; align-items: center; gap: 80px; position: relative; z-index: 1;
}
.ai-section-text { flex: 1; }
.ai-section-text h2 {
  font-size: clamp(28px, 3.5vw, 42px); color: white; margin-bottom: 20px; line-height: 1.2;
}
.ai-tag {
  background: rgba(85, 129, 72, 0.15); color: #A3C898; border-color: rgba(85, 129, 72, 0.3);
}
.ai-section-subtitle {
  font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 40px;
}
.ai-features-list { display: flex; flex-direction: column; gap: 24px; }
.ai-feature-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.ai-feature-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(85, 129, 72, 0.12); border: 1px solid rgba(85, 129, 72, 0.25);
  display: flex; align-items: center; justify-content: center; color: #A3C898;
}
.ai-feature-item strong {
  display: block; color: white; font-size: 15px; font-weight: 600; margin-bottom: 4px;
}
.ai-feature-item p {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; margin: 0;
}
.ai-section-image {
  flex-shrink: 0; position: relative; width: 500px;
}
.ai-image-glow {
  position: absolute; inset: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 129, 72, 0.25), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.ai-section-image img {
  position: relative; width: 100%; border-radius: 24px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
}

@media (max-width: 900px) {
  .ai-section-content { flex-direction: column; gap: 48px; text-align: center; }
  .ai-section-image { display: none; }
  .ai-feature-item { text-align: left; }
}
@media (max-width: 768px) {
  .ai-section { padding: 80px 0; }
}

/* ── Screenshots ─────────────────────────────────────────────────── */
.screenshots { padding: 120px 0; background: var(--slate-50); }

.screenshots-stacked { position: relative; }
.phone-overlay { position: absolute; bottom: 40px; right: 60px; z-index: 3; }
/* Reuse the shared Zayna phone bezel, sized to the old iPhone image's height. */
.phone-overlay .dl-zwa-phone { width: 166px; height: 356px; padding: 4px; border-radius: 26px; }
/* No side buttons on this mockup only */
.phone-overlay .dl-zwa-phone::after,
.phone-overlay .dl-zwa-phone::before { display: none; }
.phone-overlay .dl-zwa-screen { border-radius: 22px; }
.phone-overlay .dl-zwa-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tablet-overlay { position: absolute; bottom: 10px; left: 20px; z-index: 2; }
.tablet-frame {
  position: relative; width: 440px; padding: 12px; border-radius: 26px;
  background: #ffffff; box-shadow: 0 0 0 1px var(--slate-200), 0 20px 56px rgba(0,0,0,0.20);
}
.tablet-frame img { width: 100%; display: block; border-radius: 14px; }
.tablet-cam {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--slate-300);
}

.desktop-showcase { display: flex; justify-content: center; }
.desktop-frame {
  width: 100%; max-width: 900px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 0 1px var(--slate-200), 0 24px 80px rgba(0,0,0,0.12); background: white;
}
.desktop-toolbar {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--slate-100); border-bottom: 1px solid var(--slate-200);
}
.desktop-dots { display: flex; gap: 6px; }
.desktop-dots span { width: 10px; height: 10px; border-radius: 50%; }
.desktop-dots span:nth-child(1) { background: #EF4444; }
.desktop-dots span:nth-child(2) { background: #F59E0B; }
.desktop-dots span:nth-child(3) { background: #10B981; }
.desktop-title { font-size: 12px; color: var(--slate-500); font-weight: 500; }
.desktop-frame img { width: 100%; display: block; }

/* ── Download ────────────────────────────────────────────────────── */
.download { position: relative; padding: 120px 0; overflow: hidden; }
.download-bg { position: absolute; inset: 0; }
.download-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--slate-950) 0%, var(--brand-950) 50%, var(--slate-900) 100%);
}
.download-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.download-orb-1 { width: 500px; height: 500px; background: rgba(85,129,72,0.15); top: -20%; right: -10%; }
.download-orb-2 { width: 400px; height: 400px; background: rgba(106,155,92,0.1); bottom: -20%; left: -5%; }
.download .container { position: relative; z-index: 1; }

.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.download-card {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); backdrop-filter: blur(12px); transition: all var(--transition); color: white;
}
.download-card:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.download-card-icon {
  flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center;
  justify-content: center; background: rgba(255,255,255,0.1); border-radius: var(--radius-md);
}
.download-card-info { flex: 1; min-width: 0; }
.download-card-label { display: block; font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }
.download-card-store { display: block; font-size: 16px; font-weight: 700; margin-top: 2px; }
.download-card-arrow { flex-shrink: 0; opacity: 0.4; transition: all var(--transition); }
.download-card:hover .download-card-arrow { opacity: 1; transform: translateX(4px); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer { padding: 60px 0 32px; background: white; border-top: 1px solid var(--slate-100); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--slate-500); margin-top: 12px; max-width: 280px; }
.footer-links h4 {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-400); margin-bottom: 16px;
}
.footer-links a { display: block; font-size: 14px; color: var(--slate-600); padding: 4px 0; transition: color var(--transition); }
.footer-links a:hover { color: var(--brand-600); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--slate-100); text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--slate-400); }

/* ── Legal pages ─────────────────────────────────────────────────── */
.legal-page { padding: 120px 0 80px; background: white; min-height: 100vh; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: 36px; color: var(--slate-900); margin-bottom: 8px; }
.legal-page .legal-subtitle { font-size: 14px; color: var(--slate-400); margin-bottom: 40px; }
.legal-page h2 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: var(--slate-800); margin: 32px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.8; color: var(--slate-600); margin-bottom: 12px; }
.legal-page ul { padding-left: 24px; }
.legal-page a { color: var(--brand-600); }

/* ── How It Works ────────────────────────────────────────────────── */
.how-it-works { padding: 60px 0 100px; background: white; }
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.step-card {
  text-align: center; max-width: 280px; padding: 32px 24px;
  background: var(--slate-50); border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200); transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.step-number {
  width: 36px; height: 36px; border-radius: 50%; background: var(--brand-600); color: white;
  font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--brand-600);
}
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }
.step-connector {
  display: flex; align-items: center; padding-top: 80px;
}

/* ── Notifications Section ──────────────────────────────────────── */
.notif-section { padding: 100px 0; }
.notif-section-content {
  display: flex; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto;
}
.notif-section-image { flex: 0 0 420px; }
.notif-section-image img {
  width: 100%;
}
.notif-section-text { flex: 1; }
.notif-section-text h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  color: var(--slate-900); margin: 12px 0 16px; line-height: 1.2;
}
.notif-subtitle {
  font-size: 16px; line-height: 1.6; color: var(--slate-500); margin-bottom: 32px;
}
.notif-features { display: flex; flex-direction: column; gap: 24px; }
.notif-feature-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.notif-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.notif-whatsapp { background: #dcfce7; color: #16a34a; }
.notif-push { background: #E4EFE0; color: var(--brand-600); }
.notif-status { background: #dbeafe; color: #2563eb; }
.notif-feature-item strong {
  display: block; font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px;
}
.notif-feature-item p {
  font-size: 14px; line-height: 1.5; color: var(--slate-500); margin: 0;
}

@media (max-width: 768px) {
  .notif-section { padding: 60px 0; }
  .notif-section-content { flex-direction: column; gap: 32px; }
  .notif-section-image { flex: none; width: 60%; margin: 0 auto; }
}


/* ── OTP Verification (Business / VIP) ───────────────────────────── */
.otp-section { padding: 100px 0 0; background: #f2f2f2; }
.otp-section-content {
  display: flex; align-items: flex-end; gap: 60px; max-width: 1280px; margin: 0 auto;
}
.otp-section-text { flex: 1; padding-bottom: 60px; max-width: 620px; }
.otp-section-image {
  flex: 0 0 560px; display: flex; justify-content: flex-end; align-self: flex-end;
  margin-left: auto; margin-right: -80px;
}
.otp-section-image img {
  width: 100%; max-width: 560px;
  display: block;
}
.otp-section-text h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  color: var(--slate-900); margin: 12px 0 16px; line-height: 1.2;
}
.otp-subtitle {
  font-size: 16px; line-height: 1.6; color: var(--slate-500); margin-bottom: 32px;
}
.otp-tag {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.otp-features { display: flex; flex-direction: column; gap: 24px; }
.otp-feature-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.otp-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.otp-sms    { background: #E4EFE0; color: var(--brand-600); }
.otp-block  { background: #fee2e2; color: #dc2626; }
.otp-shield { background: #dbeafe; color: #2563eb; }
.otp-feature-item strong {
  display: block; font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px;
}
.otp-feature-item p {
  font-size: 14px; line-height: 1.5; color: var(--slate-500); margin: 0;
}

@media (max-width: 768px) {
  .otp-section { padding: 60px 0; }
  .otp-section-content { flex-direction: column; gap: 32px; align-items: stretch; }
  .otp-section-text { padding-bottom: 0; }
  /* Mobile: hide the OTP phone illustration entirely. The text + 3 feature
     bullets carry the message on their own; the image was just visual
     reinforcement on desktop. */
  .otp-section-image { display: none; }
}

/* ── Before/After Compare ────────────────────────────────────────── */
.compare-section { padding: 100px 0; background: var(--slate-50); }
.compare-grid {
  display: flex; align-items: stretch; justify-content: center; gap: 24px; max-width: 900px; margin: 0 auto;
}
.compare-card {
  flex: 1; padding: 32px; border-radius: var(--radius-xl); background: white;
  border: 1px solid var(--slate-200);
}
.compare-before { border-top: 3px solid #EF4444; }
.compare-after { border-top: 3px solid #10B981; box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1); }
.compare-badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.compare-badge-before { background: #FEF2F2; color: #DC2626; }
.compare-badge-after { background: #ECFDF5; color: #059669; }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--slate-700); line-height: 1.5;
}
.compare-list li svg { flex-shrink: 0; }
.compare-vs {
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: var(--slate-300);
  transform: translateY(40px);
}

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonials-section { padding: 100px 0; background: white; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  padding: 28px; border-radius: var(--radius-xl); background: var(--slate-50);
  border: 1px solid var(--slate-200); transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-text {
  font-size: 15px; color: var(--slate-700); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: white; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--slate-900); }
.testimonial-author span { font-size: 12px; color: var(--slate-400); }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-section { padding: 100px 0; background: var(--slate-50); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--slate-200);
  overflow: hidden; transition: all var(--transition);
}
.faq-item:hover { border-color: var(--brand-200); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--slate-800); text-align: left;
  font-family: inherit;
}
.faq-question svg { flex-shrink: 0; color: var(--slate-400); transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--brand-600); }
.faq-item.open .faq-question { color: var(--brand-700); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 18px; }
.faq-answer p { font-size: 14px; color: var(--slate-500); line-height: 1.7; }

/* ── CTA Section ─────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), var(--brand-950));
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3;
}
.cta-orb-1 {
  width: 400px; height: 400px; background: var(--brand-600);
  top: -100px; right: -100px;
}
.cta-orb-2 {
  width: 300px; height: 300px; background: var(--brand-400);
  bottom: -80px; left: -80px;
}
.cta-content {
  text-align: center; position: relative; z-index: 1; max-width: 600px; margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(28px, 3.5vw, 40px); color: white; margin-bottom: 16px; font-weight: 800;
}
.cta-content p {
  font-size: 17px; color: rgba(255,255,255,0.65); margin-bottom: 32px; line-height: 1.7;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-glass-dark {
  padding: 14px 28px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); color: white;
  font-size: 15px; font-weight: 600; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-glass-dark:hover { background: rgba(255,255,255,0.2); }

/* CTA Light variant (after download section) */
.cta-section.cta-section-light {
  background: linear-gradient(135deg, var(--brand-50), white, var(--brand-100));
}
.cta-section.cta-section-light .cta-content h2 {
  color: var(--slate-900);
}
.cta-section.cta-section-light .cta-content p {
  color: var(--slate-500);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .features-grid-client { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 20px 24px; gap: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .nav-links.open a { color: var(--slate-700); font-size: 16px; }
  .nav-links.open a.nav-cta-mobile {
    display: flex !important; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px !important; margin-top: 12px;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-700)) !important;
    color: white !important; border-radius: var(--radius-full) !important;
    font-weight: 700 !important; font-size: 15px !important; letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(219, 39, 119, 0.35) !important;
    text-decoration: none !important;
    border: none !important;
  }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-video-wrapper { margin-top: 40px; }
  .features-grid, .features-grid-client { grid-template-columns: 1fr; }
  .phone-overlay { right: 10px; bottom: -30px; }
  .phone-overlay .dl-zwa-phone { width: 101px; height: 218px; padding: 3px; border-radius: 18px; }
  .phone-overlay .dl-zwa-screen { border-radius: 15px; }
  .tablet-overlay { left: 0; bottom: -40px; }
  .tablet-frame { width: 200px; padding: 6px; border-radius: 16px; }
  .download-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .features, .screenshots, .download { padding: 80px 0; }
  .how-it-works { padding: 40px 0 60px; }
  .steps-grid { flex-direction: column; gap: 20px; align-items: center; }
  .step-card { max-width: 100%; }
  .step-connector { display: none; }
  .compare-grid { flex-direction: column; gap: 20px; }
  .compare-vs { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-content h2 { font-size: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-lg { padding: 14px 28px; font-size: 15px; width: 100%; justify-content: center; }
  .footer-content { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────────
   Google Reviews feature section (download.html)
   Two-column layout: text on the left, animated phone mockup on the right.
   The mockup cycles through 4 states (12s loop) showing the full flow:
     1. WhatsApp invitation to the client
     2. Client taps "I left my review" in the app
     3. Owner gets a validate notification
     4. Client receives the promo code reward
   ────────────────────────────────────────────────────────────────────── */
/* Padding + container match `.zayna-promo-section` / `.zayna-promo-grid`
   above on download.html so both phone mockups line up vertically. */
.gr-section { padding: 96px 0; background: white; }
.gr-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.gr-text { max-width: none; }
.gr-text h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  color: var(--slate-900); margin: 12px 0 16px; line-height: 1.2;
}
.gr-subtitle {
  font-size: 16px; line-height: 1.6; color: var(--slate-500); margin-bottom: 32px;
}
.gr-tag {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1d4ed8;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.gr-features { display: flex; flex-direction: column; gap: 24px; }
.gr-feature-item { display: flex; gap: 16px; align-items: flex-start; }
.gr-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.gr-stars { background: #fef3c7; color: #d97706; }
.gr-map   { background: #dbeafe; color: #2563eb; }
.gr-gift  { background: #fce7f3; color: #db2777; }
.gr-feature-item strong {
  display: block; font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px;
}
.gr-feature-item p {
  font-size: 14px; line-height: 1.5; color: var(--slate-500); margin: 0;
}

/* Phone mockup — frame styles match the Zayna phone on download.html
   (.dl-zwa-phone) so both mockups feel like the same device. */
.gr-animation {
  display: flex; justify-content: center; align-items: center;
}
/* GR — content-specific only (geometry from unified .phone-frame rules above) */
.gr-phone-notch { display: none; }
.gr-phone-screen {
  background: linear-gradient(170deg, #f8fafc 0%, #ecfdf5 100%);
}

/* Common state container */
.gr-state {
  position: absolute;
  inset: 50px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

/* Bottom label (visible across all states) */
.gr-state-label {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  text-align: center;
  font-size: 11px; font-weight: 600;
  color: var(--brand-700);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 6px 10px;
  margin: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--brand-100);
}

/* ── State 1: WhatsApp invitation ── */
.gr-wa-header {
  display: flex; align-items: center; gap: 10px;
  background: #25D366;
  margin: -2px -2px 0 -2px;
  padding: 10px 12px;
  border-radius: 12px 12px 0 0;
  color: white;
}
.gr-wa-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
}
.gr-wa-meta { display: flex; flex-direction: column; line-height: 1.2; }
.gr-wa-meta strong { font-size: 13px; font-weight: 700; }
.gr-wa-meta span { font-size: 10px; opacity: 0.85; }
.gr-wa-bubble {
  background: white;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  font-size: 12px; line-height: 1.45;
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  align-self: flex-start;
  max-width: 90%;
}

/* ── State 2: User taps in app ── */
.gr-app-header {
  display: flex; align-items: center; gap: 6px;
  background: white;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px; font-weight: 700; color: var(--slate-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin: -2px -2px 0 -2px;
}
.gr-stars-row {
  display: flex; justify-content: center; gap: 4px;
  font-size: 28px; line-height: 1;
  margin-top: 8px;
}
.gr-star { color: #fbbf24; }
.gr-fake-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--brand-600);
  color: white;
  border: none;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 12px; font-weight: 700;
  cursor: default;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.gr-fake-btn-validate { background: #2563eb; }
.gr-fake-btn-tap {
  animation: grTap 1.6s ease-in-out infinite;
}
@keyframes grTap {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
  50% { transform: scale(0.97); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
}

/* ── State 3: Owner validates ── */
.gr-owner-notif {
  display: flex; align-items: center; gap: 10px;
  background: white;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.gr-owner-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #dbeafe;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gr-owner-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.gr-owner-text strong { font-size: 12px; font-weight: 700; color: var(--slate-900); }
.gr-owner-text span { font-size: 11px; color: var(--slate-500); }

/* ── State 4: Promo code reveal ── */
.gr-promo-card {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 100%);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}
.gr-promo-icon { font-size: 36px; margin-bottom: 8px; }
.gr-promo-code {
  font-size: 22px; font-weight: 800;
  letter-spacing: 2px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.gr-promo-label { font-size: 12px; opacity: 0.95; font-weight: 600; }

/* ── 4-state cycle: 12s total, each state visible ~3s with crossfade ── */
.gr-state-1 { animation: grState1 12s ease-in-out infinite; }
.gr-state-2 { animation: grState2 12s ease-in-out infinite; }
.gr-state-3 { animation: grState3 12s ease-in-out infinite; }
.gr-state-4 { animation: grState4 12s ease-in-out infinite; }
@keyframes grState1 {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  3%   { opacity: 1; transform: translateY(0) scale(1); }
  22%  { opacity: 1; transform: translateY(0) scale(1); }
  25%  { opacity: 0; transform: translateY(-8px) scale(0.98); }
  100% { opacity: 0; transform: translateY(-8px) scale(0.98); }
}
@keyframes grState2 {
  0%, 25% { opacity: 0; transform: translateY(8px) scale(0.98); }
  28%     { opacity: 1; transform: translateY(0) scale(1); }
  47%     { opacity: 1; transform: translateY(0) scale(1); }
  50%     { opacity: 0; transform: translateY(-8px) scale(0.98); }
  100%    { opacity: 0; transform: translateY(-8px) scale(0.98); }
}
@keyframes grState3 {
  0%, 50% { opacity: 0; transform: translateY(8px) scale(0.98); }
  53%     { opacity: 1; transform: translateY(0) scale(1); }
  72%     { opacity: 1; transform: translateY(0) scale(1); }
  75%     { opacity: 0; transform: translateY(-8px) scale(0.98); }
  100%    { opacity: 0; transform: translateY(-8px) scale(0.98); }
}
@keyframes grState4 {
  0%, 75% { opacity: 0; transform: translateY(8px) scale(0.98); }
  78%     { opacity: 1; transform: translateY(0) scale(1); }
  97%     { opacity: 1; transform: translateY(0) scale(1); }
  100%    { opacity: 0; transform: translateY(-8px) scale(0.98); }
}

@media (max-width: 900px) {
  .gr-section { padding: 60px 0; }
  /* Mobile: single column, phone first (visual order reversed via grid) so
     the source order (text first) stays a11y-friendly. */
  .gr-content { grid-template-columns: 1fr; gap: 40px; }
  .gr-animation { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .gr-state { animation: none; }
  .gr-state-1 { opacity: 1; }
  .gr-state-2, .gr-state-3, .gr-state-4 { display: none; }
  .gr-fake-btn-tap { animation: none; }
}

/* ──────────────────────────────────────────────────────────────────────
   Gallery feature section (download.html)
   Pain point: salons couldn't show clients the *exact* design they offer.
   Solution: each service has a built-in photo/video gallery; the client
   taps a specific design when booking, so the salon knows what to do.
   Visual: masonry of 6 thumbnails. A "selected" highlight cycles every
   2s, simulating a client picking a design.
   ────────────────────────────────────────────────────────────────────── */
.gallery-section { padding: 96px 0; background: var(--slate-50); }
.gl-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.gl-text h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  color: var(--slate-900); margin: 12px 0 16px; line-height: 1.2;
}
.gl-subtitle {
  font-size: 16px; line-height: 1.6; color: var(--slate-500); margin-bottom: 32px;
}
.gl-tag {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: #be185d;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.gl-features { display: flex; flex-direction: column; gap: 24px; }
.gl-feature-item { display: flex; gap: 16px; align-items: flex-start; }
.gl-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.gl-eye   { background: #E4EFE0; color: var(--brand-600); }
.gl-grid  { background: #fef3c7; color: #d97706; }
.gl-video { background: #ede9fe; color: #7c3aed; }
.gl-feature-item strong {
  display: block; font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px;
}
.gl-feature-item p {
  font-size: 14px; line-height: 1.5; color: var(--slate-500); margin: 0;
}

/* Uniform 2 × 3 grid — every card is a perfect square, like the actual
   gallery picker inside the Mon Salon app. Real galleries align all
   thumbnails on the same ratio so the eye scans them as a set, not a
   menu. All 6 cards are *designs of the same service* (Biab here),
   reflecting how the in-app gallery actually works. */
.gl-animation {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px;
}
.gl-service-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: white;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--brand-700);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.gl-service-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(85, 129, 72, 0.15);
}
.gl-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 460px;
}
.gl-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gl-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
/* Fallback when an Unsplash hotlink 404s — the .gl-card-broken class is
   added by the img's onerror handler. Hide the broken img and the
   gradient bg + name + ::before icon stand in as a styled placeholder. */
.gl-card-broken img { display: none; }
.gl-card-broken::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 50%);
  pointer-events: none;
}
.gl-card-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.gl-card-name {
  position: absolute; left: 10px; bottom: 8px;
  color: white;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Selection overlay — hidden by default, animated per-card below. */
.gl-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(85, 129, 72, 0.85), rgba(60, 110, 50, 0.9));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  color: white;
  opacity: 0;
  z-index: 3;
}
.gl-card-overlay span {
  font-size: 11px; font-weight: 700;
  text-align: center;
  padding: 0 8px;
  letter-spacing: 0.3px;
}
.gl-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: white;
  color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 6-card cycle. 12s total → each card "selected" ~1.7s, gap ~0.3s
   between selections. Smooth crossfade on the overlay. */
.gl-card-1 { animation: glPulse1 12s ease-in-out infinite; }
.gl-card-2 { animation: glPulse2 12s ease-in-out infinite; }
.gl-card-3 { animation: glPulse3 12s ease-in-out infinite; }
.gl-card-4 { animation: glPulse4 12s ease-in-out infinite; }
.gl-card-5 { animation: glPulse5 12s ease-in-out infinite; }
.gl-card-6 { animation: glPulse6 12s ease-in-out infinite; }

.gl-card-1 .gl-card-overlay { animation: glReveal1 12s ease-in-out infinite; }
.gl-card-2 .gl-card-overlay { animation: glReveal2 12s ease-in-out infinite; }
.gl-card-3 .gl-card-overlay { animation: glReveal3 12s ease-in-out infinite; }
.gl-card-4 .gl-card-overlay { animation: glReveal4 12s ease-in-out infinite; }
.gl-card-5 .gl-card-overlay { animation: glReveal5 12s ease-in-out infinite; }
.gl-card-6 .gl-card-overlay { animation: glReveal6 12s ease-in-out infinite; }

/* Window of "selected" state for each card (16.67% of 12s = ~2s). */
@keyframes glPulse1 {
  0%, 14%   { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand-500), 0 12px 32px rgba(85, 129, 72, 0.3); }
  17%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
}
@keyframes glPulse2 {
  0%, 17%   { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
  20%, 31%  { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand-500), 0 12px 32px rgba(85, 129, 72, 0.3); }
  34%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
}
@keyframes glPulse3 {
  0%, 34%   { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
  37%, 48%  { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand-500), 0 12px 32px rgba(85, 129, 72, 0.3); }
  51%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
}
@keyframes glPulse4 {
  0%, 51%   { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
  54%, 65%  { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand-500), 0 12px 32px rgba(85, 129, 72, 0.3); }
  68%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
}
@keyframes glPulse5 {
  0%, 68%   { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
  71%, 82%  { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand-500), 0 12px 32px rgba(85, 129, 72, 0.3); }
  85%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
}
@keyframes glPulse6 {
  0%, 85%   { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
  88%, 99%  { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand-500), 0 12px 32px rgba(85, 129, 72, 0.3); }
  100%      { transform: scale(1); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
}

@keyframes glReveal1 {
  0%, 14%   { opacity: 1; }
  17%, 100% { opacity: 0; }
}
@keyframes glReveal2 {
  0%, 17%   { opacity: 0; }
  20%, 31%  { opacity: 1; }
  34%, 100% { opacity: 0; }
}
@keyframes glReveal3 {
  0%, 34%   { opacity: 0; }
  37%, 48%  { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes glReveal4 {
  0%, 51%   { opacity: 0; }
  54%, 65%  { opacity: 1; }
  68%, 100% { opacity: 0; }
}
@keyframes glReveal5 {
  0%, 68%   { opacity: 0; }
  71%, 82%  { opacity: 1; }
  85%, 100% { opacity: 0; }
}
@keyframes glReveal6 {
  0%, 85%   { opacity: 0; }
  88%, 99%  { opacity: 1; }
  100%      { opacity: 0; }
}

@media (max-width: 900px) {
  .gallery-section { padding: 60px 0; }
  .gl-content { grid-template-columns: 1fr; gap: 48px; }
  .gl-animation { order: -1; }
  /* Drop the legacy `grid-auto-rows` here — it was inherited from the
     old masonry layout. With `aspect-ratio: 1/1` on .gl-card, rows size
     themselves from the card width, keeping every thumbnail square. */
  .gl-masonry { max-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .gl-card,
  .gl-card-overlay { animation: none; }
  /* Keep card #1 highlighted as the static "selected example" state. */
  .gl-card-1 { transform: scale(1.04); box-shadow: 0 0 0 3px var(--brand-500); }
  .gl-card-1 .gl-card-overlay { opacity: 1; }
}
