/* ==========================================================================
   VEST AI — Modern Warm Luxury Fashion & Wardrobe Intelligence Design System
   Crafted following:
   1. App's Official Light Theme: Medical Mint (#10B981 / #B45309) & Oceanic Teal (#D97706 / #92400E)
   2. Minimal Borders: Card borders reduced, replaced with soft multi-layered Apple-style shadows
   3. make-interfaces-feel-better (jakubkrehel): Tactile springs, active depression, micro-interactions
   4. gsap-skills (greensock): Butter-smooth 60/120fps GPU transitions & parallax
   5. transitions.dev (Jakubantalik): Fluid view morphing & layout transitions
   6. impeccable (pbakaus): Typographic hierarchy, clean whitespace, purposeful aesthetics
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens (Light Theme)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette - Warm Amber & Camel Luxury Fashion */
  --primary: #B45309;
  --primary-light: #D97706;
  --primary-lighter: #F59E0B;
  --primary-dark: #92400E;
  --primary-tint: rgba(180, 83, 9, 0.08);
  --primary-glow: rgba(180, 83, 9, 0.18);

  /* Light Medical Background & Surfaces */
  --bg-page: #FAF5EF;
  --bg-page-gradient: linear-gradient(180deg, #FAF6F0 0%, #F8FAFC 35%, #FDFBF7 70%, #F8FAFC 100%);
  --bg-surface: #FFFFFF;
  --bg-surface-soft: #FAF6F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-heavy: rgba(255, 255, 255, 0.94);

  /* Minimal & Reduced Borders (As requested: borders around cards minimized) */
  --border-glass: rgba(15, 23, 42, 0.04);
  --border-glass-hover: rgba(180, 83, 9, 0.2);
  --border-primary: rgba(180, 83, 9, 0.25);
  --border-subtle: rgba(15, 23, 42, 0.03);

  /* Typography Colors - High Contrast Medical Palette */
  --text-main: #0F172A;
  --text-heading: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;
  --text-accent: #B45309;

  /* Accent Colors for Meds */
  --accent-coral: #E11D48;
  --accent-amber: #D97706;
  --accent-emerald: #B45309;
  --accent-purple: #7C3AED;
  --accent-blue: #0284C7;

  /* Clean Multi-Layered Shadows (Elevating cards cleanly without harsh borders) */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(180, 83, 9, 0.04);
  --shadow-lg: 0 20px 45px -8px rgba(15, 23, 42, 0.08), 0 6px 18px -4px rgba(180, 83, 9, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 16px 36px -4px rgba(15, 23, 42, 0.09), 0 6px 14px -2px rgba(180, 83, 9, 0.08);
  --shadow-glow: 0 0 40px rgba(180, 83, 9, 0.12);
  --shadow-device: 0 25px 60px -12px rgba(15, 23, 42, 0.22), 0 10px 25px -8px rgba(180, 83, 9, 0.15);

  /* Typography Stacks */
  --font-en: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Readex Pro", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Layout */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Springs & Motion Curves (FileOS Inspired System) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring-snappy: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.18s var(--ease-out);
  --transition-normal: 0.32s var(--ease-out);
  --transition-smooth: 0.5s var(--ease-out);

  /* Container Width */
  --container-max: 1240px;
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Typography (With FileOS Clipping & Balance Rules)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  font-family: var(--font-en);
  background: var(--bg-page-gradient);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
  padding-top: 0;
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

/* Balanced Headlines & Pretty Paragraphs (FileOS typography rule) */
h1, h2, h3, .hero-title, .section-title {
  text-wrap: balance;
}

p, .hero-subtitle, .section-subtitle, .feature-desc, .tab-panel-content p {
  text-wrap: pretty;
}

/* Tactile Spring Active Feedback (FileOS button physics) */
.btn-primary:active,
.btn-store:active,
.lang-toggle-btn:active,
.tab-nav-btn:active,
.faq-question-btn:active,
.highlight-box:active,
.feature-card:active {
  transform: scale(0.97);
  transition: transform 0.12s var(--ease-out);
}

/* Arabic Typography & Directional Overrides */
html[lang="ar"] body,
body.is-rtl {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  color: inherit;
}

/* Subtle Selection */
::selection {
  background: rgba(180, 83, 9, 0.18);
  color: #0F172A;
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid System
   -------------------------------------------------------------------------- */
main {
  width: 100%;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding-block: 3.5rem;
  position: relative;
  scroll-margin-top: 4.5rem;
}

#hero,
.hero-section {
  scroll-margin-top: 4.5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

/* --------------------------------------------------------------------------
   Instant Section Visibility & High-Performance Rendering (No Scroll Glitches)
   -------------------------------------------------------------------------- */
.section,
.section-reveal,
.section-header,
.hero-section,
.highlights-section,
.features-section,
.showcase-section,
.interactive-section,
.why-section,
.faq-section,
.subpage-hero,
.subpage-card,
.support-info-card,
.support-form-card,
.support-guides-section {
  visibility: visible;
}

/* Base visibility for interactive elements & layout wrappers */
.section,
.section-reveal,
.section-header,
.hero-copy-top,
.hero-copy-bottom,
.hero-content > *,
.hero-stage,
.device-frame,
.device-screen-container,
.device-screen-img,
.play-btn-wrapper {
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Mobile & Responsive Elegant Card Reveal Animation System (FileOS-Harmonized)
   Silky 60/120fps GPU Transitions with iOS Spring Easing (Fast & Smooth)
   -------------------------------------------------------------------------- */
.vest-card-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: 
    opacity 0.75s var(--ease-out),
    transform 0.85s var(--ease-out),
    box-shadow var(--transition-normal);
  transition-delay: var(--card-stagger-delay, 0s);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.vest-card-reveal.is-revealed,
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Preserving refined hover micro-interactions when cards are revealed */
.feature-card.vest-card-reveal.is-revealed:hover,
.feature-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-card-hover);
}

.highlight-box.vest-card-reveal.is-revealed:hover,
.highlight-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-card-hover);
}

.faq-item.vest-card-reveal.is-revealed:hover,
.faq-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md);
}

.faq-item.vest-card-reveal.is-revealed:active,
.faq-item.vest-card-reveal.is-revealed:has(.faq-question-btn:active) {
  transform: translate3d(0, 0, 0) scale3d(0.985, 0.985, 1) !important;
  box-shadow: var(--shadow-xs) !important;
}

.support-guide-card.vest-card-reveal.is-revealed:hover {
  transform: translate3d(0, -4px, 0) scale3d(1, 1, 1) !important;
  box-shadow: var(--shadow-md);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(180, 83, 9, 0.08);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. Navigation Header (Liquid Glass Floating Nav - Fixed & Visible on Scroll)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999 !important;
  background: transparent !important;
  padding-top: 1rem;
  padding-inline: 1.5rem;
  padding-bottom: 0.5rem;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out), opacity 0.3s ease;
  will-change: transform;
  isolation: isolate;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 20px));
}

.site-header:focus-within {
  transform: none !important;
}

.nav-container {
  pointer-events: auto;
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--bg-glass-heavy);
  border-radius: var(--radius-full);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  isolation: isolate;
}

.nav-container:hover {
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.09);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.brand-link:hover .brand-icon {
  transform: scale(1.06) rotate(2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.nav-menu,
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.4vw, 1.75rem);
  list-style: none;
  flex-shrink: 0;
}

.nav-link,
.nav-item-link {
  font-size: 0.925rem;
  font-weight: 650;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-item-link:hover {
  color: var(--primary);
}

.nav-link::after,
.nav-item-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher Button (Exact Match to Options Toggle: 38x38px, No Border) */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  box-sizing: border-box;
  padding: 0;
  border: none;
  outline: none;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1;
  box-shadow: none;
  transition: all var(--transition-fast);
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lang-label {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.825rem;
  line-height: 1;
  display: inline-block;
  text-align: center;
}

.lang-toggle-btn:hover {
  background: #E2E8F0;
  color: var(--primary);
  transform: translateY(-1px);
}

.lang-toggle-btn:active {
  transform: scale(0.95);
}

.btn-primary,
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.3);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-primary:hover,
.nav-cta-btn:hover {
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-primary:active,
.nav-cta-btn:active {
  transform: scale(0.96);
}

/* Mobile & Tablet Nav Toggle */
.mobile-nav-toggle,
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav-toggle span,
.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   6. Hero Section (3D Perspective, Device Mockup & Micro-Cards)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  grid-template-areas:
    "top stage"
    "bottom stage";
  align-items: center;
  column-gap: 3.5rem;
  row-gap: 0;
}

.hero-copy-top {
  grid-area: top;
}

.hero-copy-bottom {
  grid-area: bottom;
  align-self: start;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(180, 83, 9, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.1);
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
}

.hero-title .title-gradient {
  background: linear-gradient(135deg, #0F172A 15%, #B45309 60%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

/* Store Buttons (App Store & Google Play) */
.store-btn-wrapper {
  position: relative;
  display: inline-flex;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.6rem;
  background: #0F172A;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden !important;
  isolation: isolate;
  text-decoration: none;
}

.btn-store::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
  border-radius: var(--radius-md);
  overflow: hidden;
  pointer-events: none !important;
  z-index: 1;
}

.btn-store:hover::before {
  left: 100%;
}

.btn-store:hover {
  transform: translateY(-3px);
  background: #020617;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25), 0 0 20px rgba(180, 83, 9, 0.2);
  color: #FFFFFF;
}

.btn-store:active {
  transform: scale(0.97);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.apple-icon {
  fill: #FFFFFF;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

body.is-rtl .btn-store-text {
  text-align: right;
}

.btn-store-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-store-title {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Store Buttons (App Store & Google Play) with Floating "Coming Soon" Badge
   -------------------------------------------------------------------------- */
.play-btn-wrapper,
.store-btn-wrapper {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
}

.store-btn-wrapper {
  z-index: 5;
}

.play-btn-wrapper {
  z-index: 1;
}

.play-btn-wrapper .btn-playstore,
.store-btn-wrapper .btn-appstore {
  cursor: pointer;
  width: 100%;
}

.play-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.badge-float-above {
  position: absolute;
  top: -13px;
  inset-inline-end: 14px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  border-radius: var(--radius-full);
  padding: 0.22rem 0.72rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.42), 0 2px 6px rgba(15, 23, 42, 0.12);
  animation: floatBadgeAbove 3.2s ease-in-out infinite;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes floatBadgeAbove {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.play-btn-wrapper:hover .badge-float-above,
.store-btn-wrapper:hover .badge-float-above {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(180, 83, 9, 0.55), 0 4px 8px rgba(15, 23, 42, 0.16);
}

.store-btn-wrapper.js-beta-store-btn {
  cursor: pointer;
}

.store-btn-wrapper.js-beta-store-btn .badge-float-above {
  cursor: pointer;
  pointer-events: auto;
}

.badge-float-above .badge-pulse-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #FDE68A;
  box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.85);
  animation: pulseBadgeDotAbove 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseBadgeDotAbove {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.85);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(253, 230, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(253, 230, 138, 0);
  }
}

/* Fallback / secondary styles */
.floating-play-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(180, 83, 9, 0.24);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1.25rem;
  box-shadow: 0 12px 28px -6px rgba(180, 83, 9, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  user-select: none;
  min-height: 58px;
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.65rem;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 750;
  font-size: 0.975rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 650;
}

.hero-trust-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   7. Hero 3D Device Stage & Floating Micro-Cards (Reduced Borders)
   -------------------------------------------------------------------------- */
.hero-stage {
  grid-area: stage;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}

.device-wrapper {
  position: relative;
  width: 380px;
  max-width: 90vw;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  cursor: grab;
}

.device-wrapper:active {
  cursor: grabbing;
}

/* Sleek Titanium Bezel Frame */
.device-frame {
  position: relative;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(145deg, #1E293B 0%, #0F172A 100%);
  box-shadow: var(--shadow-device);
}

.device-screen-container {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 2048 / 2732;
}

.device-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Micro Cards Around Hero Mockup (Borders reduced, shadows elevated) */
.hero-card {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 3px 10px rgba(180, 83, 9, 0.05);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  pointer-events: auto;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12), 0 4px 15px rgba(180, 83, 9, 0.1);
}

@keyframes heroCardEntranceDesktop {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale3d(0.92, 0.92, 1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

/* Card 1: Weather Match (Shifted outward to -44% to reduce overlap) */
.hero-card-1 {
  top: 10%;
  left: -44%;
  animation: 
    heroCardEntranceDesktop 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both,
    floatCard 6s ease-in-out 0.56s infinite;
}

/* Card 2: Anti-Repeat Rule (Shifted outward to -44% to reduce overlap) */
.hero-card-2 {
  top: 50%;
  right: -44%;
  animation: 
    heroCardEntranceDesktop 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both,
    floatCard 6s ease-in-out 0.68s infinite;
}

/* Card 3: Capsule Wardrobe (Shifted outward to -38% to reduce overlap) */
.hero-card-3 {
  bottom: 6%;
  left: -38%;
  animation: 
    heroCardEntranceDesktop 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both,
    floatCard 6s ease-in-out 0.80s infinite;
}

body.is-rtl .hero-card-1 {
  left: auto;
  right: -44%;
}
body.is-rtl .hero-card-2 {
  right: auto;
  left: -44%;
}
body.is-rtl .hero-card-3 {
  left: auto;
  right: -38%;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 17px;
  height: 17px;
}

.hero-card-icon.mint {
  background: rgba(180, 83, 9, 0.1);
  color: var(--primary);
}

.hero-card-icon.amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
}

.hero-card-icon.purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
}

.hero-card-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-card-caption {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-card-title {
  font-size: 0.825rem;
  font-weight: 750;
  color: var(--text-heading);
}

.hero-card-status {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 2px;
}

.badge-refill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  font-size: 0.725rem;
  font-weight: 750;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   8. Highlights Strip / Trust Metrics Bar (Reduced Borders)
   -------------------------------------------------------------------------- */
.highlights-section {
  padding-block: 1.5rem;
  position: relative;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.highlight-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.highlight-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.highlight-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(180, 83, 9, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.highlight-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.highlight-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. App Store Screenshots Showcase & Carousel (Matching Store Metadata)
   -------------------------------------------------------------------------- */
.showcase-section {
  position: relative;
  overflow: hidden;
}

/* Device Switcher Tab (iPhone 16 Pro | iPad Pro) */
.device-toggle-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.device-segmented-control {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  position: relative;
}

.device-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
  z-index: 1;
}

.device-tab-btn:hover {
  color: var(--text-heading);
}

.device-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
}

/* --------------------------------------------------------------------------
   Showcase Section: Full 5-Column Grid on PC · Auto-Scroll Carousel on Mobile
   -------------------------------------------------------------------------- */
.showcase-slider-wrapper {
  position: relative;
  width: 100%;
}

/* PC / Desktop: All 5 screens displayed side-by-side in full view (No scrollbar, no arrows) */
.showcase-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  overflow: visible;
  padding-bottom: 1.5rem;
  padding-top: 0.75rem;
  width: 100%;
}

.showcase-slide {
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal);
  cursor: pointer;
}

.showcase-slide:hover {
  transform: translateY(-8px);
}

.slide-device-card {
  position: relative;
  border-radius: 28px;
  padding: 6px;
  background: #FFFFFF;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.12);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all var(--transition-normal);
}

.showcase-slide:hover .slide-device-card {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12), 0 0 24px rgba(180, 83, 9, 0.2);
  border-color: rgba(180, 83, 9, 0.35);
}

.slide-screen {
  border-radius: 22px;
  overflow: hidden;
  background: #F8FAFC;
  aspect-ratio: 2048 / 2732;
  position: relative;
}

.slide-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.showcase-slide:hover .slide-screen img {
  transform: scale(1.02);
}

.slide-info {
  text-align: center;
  padding-inline: 0.25rem;
}

.slide-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(180, 83, 9, 0.08);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.45rem;
}

.slide-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.slide-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Arrows deleted per user instruction */
.showcase-controls {
  display: none !important;
}

/* Dots: hidden on PC, visible on mobile */
.showcase-dots {
  display: none;
}

.showcase-hint-text {
  text-align: center;
  font-size: 0.825rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   10. Core Features Grid (Reduced Borders, Elevated Surfaces)
   -------------------------------------------------------------------------- */
.features-section {
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(180, 83, 9, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-tag {
  font-size: 0.725rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: var(--text-muted);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   11. Interactive Tabbed Walkthrough (Reduced Borders)
   -------------------------------------------------------------------------- */
.tabs-section {
  position: relative;
}

.interactive-tabs-container {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.tabs-nav-bar {
  display: flex;
  gap: 1rem;
  border-bottom: none;
  padding-bottom: 0.5rem;
  margin-bottom: 2.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav-bar::-webkit-scrollbar {
  display: none;
}

.tab-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-nav-btn:hover {
  background: #E2E8F0;
  color: var(--text-heading);
}

.tab-nav-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(180, 83, 9, 0.35);
}

.tab-panel {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  animation: fadeInPanel 0.4s var(--ease-spring);
}

.tab-panel.active {
  display: grid;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel-content h3 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 850;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.tab-panel-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tab-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.975rem;
  color: var(--text-heading);
  font-weight: 650;
}

.tab-point-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.tab-panel-visual {
  display: flex;
  justify-content: center;
}

.tab-device-frame {
  width: 270px;
  border-radius: 40px;
  padding: 8px;
  background: #0F172A;
  box-shadow: var(--shadow-device);
}

.tab-device-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 2048 / 2732;
}

.tab-device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   12. Product Banner Showcase
   -------------------------------------------------------------------------- */
.product-banner-section {
  padding-block: 2rem;
}

.product-banner-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #0F172A;
}

.product-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   14. Why Cura / Comparison Table (Reduced Borders, Clean Contrast)
   -------------------------------------------------------------------------- */
.why-section {
  position: relative;
}

.comparison-table-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

body.is-rtl .comparison-table {
  text-align: right;
}

.comparison-table th,
.comparison-table td {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.comparison-table th {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  background: #F8FAFC;
}

.comparison-table th.col-cura, .comparison-table th.col-vest {
  background: rgba(180, 83, 9, 0.08);
  color: var(--primary);
}

.comparison-table td.col-cura, .comparison-table td.col-vest {
  background: rgba(180, 83, 9, 0.03);
  font-weight: 750;
  color: var(--text-heading);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comp-cell-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.comp-icon-check {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.comp-icon-x {
  color: var(--accent-coral);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   15. FAQ Section (Reduced Borders, Floating Cards)
   -------------------------------------------------------------------------- */
.faq-section {
  position: relative;
}

.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  -webkit-tap-highlight-color: transparent;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), background-color var(--transition-fast);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  position: relative;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

/* Tactile press depression effect adhering to the card's exact border radius */
.faq-item:has(.faq-question-btn:active),
.faq-item:active {
  transform: translate3d(0, 0, 0) scale3d(0.985, 0.985, 1) !important;
  box-shadow: var(--shadow-xs) !important;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  cursor: pointer;
  background: transparent;
  border-radius: var(--radius-lg);
  border-radius: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  outline: none;
  position: relative;
}

body.is-rtl .faq-question-btn {
  text-align: right;
}

/* Visual press feedback taking the exact card curvature */
.faq-question-btn:hover {
  background-color: rgba(180, 83, 9, 0.02);
}

.faq-item:has(.faq-question-btn:active) .faq-question-btn,
.faq-question-btn:active {
  background-color: rgba(180, 83, 9, 0.05);
}

/* When the card is active/expanded, top corners preserve card radius and bottom corners merge */
.faq-item.active .faq-question-btn {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Accessible focus ring taking the exact card border-radius */
.faq-question-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
  border-radius: inherit;
}

.faq-item.active .faq-question-btn:focus-visible {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-spring), padding 0.4s var(--ease-spring);
  padding-inline: 1.75rem;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   16. Download CTA Closing Banner
   -------------------------------------------------------------------------- */
.download-cta-section {
  position: relative;
}

.cta-banner-card {
  background: linear-gradient(135deg, #B45309 0%, #92400E 50%, #78350F 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(180, 83, 9, 0.25);
}

.cta-banner-content {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.cta-banner-card .section-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.cta-banner-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 850;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-banner-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 5;
}

.cta-banner-actions .store-btn-wrapper,
.cta-banner-actions .play-btn-wrapper {
  position: relative;
  flex: 0 0 auto;
}

.cta-banner-actions .btn-store {
  background: #0F172A;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cta-banner-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   17. Site Footer (Light Surface)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #F1F5F9;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 3rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

/* Safe Support Button in Footer (Protects email from plaintext scraper bots) */
.footer-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 750;
  font-size: 0.8875rem;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  margin-bottom: 0.5rem;
}

.footer-support-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.footer-support-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-dev-credit {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   18. Legal & Subpage Template Styling (Privacy, Terms, Support)
   -------------------------------------------------------------------------- */
.subpage-hero {
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.subpage-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 1.75rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.legal-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-link:hover {
  color: var(--primary-light);
  text-decoration-thickness: 2px;
}

.legal-list {
  margin-top: 1rem;
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.is-rtl .legal-list {
  margin-left: 0;
  margin-right: 1.5rem;
}

/* Support Help Page & Modern Contact Form */
.support-container {
  max-width: 820px;
  margin-inline: auto;
  padding-bottom: 3rem;
}

.support-info-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(180, 83, 9, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.support-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-info-icon svg {
  width: 24px;
  height: 24px;
}

.support-info-text {
  font-size: 0.98rem;
  color: var(--text-heading);
  line-height: 1.6;
  font-weight: 500;
}

.support-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 3.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.65rem;
  display: block;
}

.form-select,
.form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-heading);
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-select:focus,
.form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.18);
}

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

body.is-rtl .form-select {
  background-position: left 14px center;
  padding-right: 1.15rem;
  padding-left: 42px;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}

.btn-send-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.75rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 750;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.25);
}

.btn-send-support:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.35);
}

.btn-send-support svg {
  width: 20px;
  height: 20px;
}

.form-feedback {
  display: none;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.form-feedback.error {
  display: block;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.form-feedback.success {
  display: block;
  background: #FDFBF7;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.support-guides-section {
  margin-top: 1rem;
}

.support-guides-heading {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  text-align: center;
}

.support-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.support-guide-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.support-guide-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.65rem;
}

.support-guide-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   19. Native HTML Dialog Lightbox (Modern Web Guidance Compliant)
   -------------------------------------------------------------------------- */
dialog.screenshot-dialog {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  outline: none;
  overflow: visible;
}

dialog.screenshot-dialog::backdrop {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.3s var(--ease-spring);
}

.dialog-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 90vh;
}

.dialog-img-wrapper {
  max-height: 80vh;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(180, 83, 9, 0.25);
  background: #000;
}

.dialog-img-wrapper img {
  max-height: 80vh;
  width: auto;
  object-fit: contain;
  display: block;
}

.dialog-close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  z-index: 20;
}

.dialog-close-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1);
}

body.is-rtl .dialog-close-btn {
  right: auto;
  left: -16px;
}

/* @starting-style Entry Transition for Top-Layer Dialog */
@starting-style {
  dialog[open].screenshot-dialog {
    opacity: 0;
    transform: scale(0.92);
  }
  dialog[open].screenshot-dialog::backdrop {
    opacity: 0;
  }
}

dialog[open].screenshot-dialog {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s var(--ease-spring), transform 0.3s var(--ease-spring), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}


/* --------------------------------------------------------------------------
   Mobile Navigation Drawer & Modal Backdrop
   -------------------------------------------------------------------------- */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 998;
}

.mobile-menu-backdrop.is-active {
  display: block;
}

.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 4.25rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(180, 83, 9, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.16);
  z-index: 1001;
  max-width: 440px;
  margin-inline: auto;
}

.mobile-menu-drawer.is-active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-heading);
  background: #F8FAFC;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(180, 83, 9, 0.1);
  color: var(--primary);
  transform: translateX(4px);
}

body.is-rtl .mobile-nav-link:hover,
body.is-rtl .mobile-nav-link:active {
  transform: translateX(-4px);
}

.mobile-menu-cta {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* Hamburger active transformation to X */
.mobile-nav-toggle.is-active span:nth-child(1),
.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.is-active span:nth-child(2),
.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-nav-toggle.is-active span:nth-child(3),
.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.table-scroll-hint {
  display: none;
}

/* --------------------------------------------------------------------------
   20. Responsive Media Queries (Mobile & Tablet Breakpoints)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-menu,
  .nav-links {
    gap: 1.15rem;
  }

  .nav-link,
  .nav-item-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 1024px) {
  html {
    scroll-behavior: auto;
  }

  /* Floating Top Bar with zero background behind it */
  body {
    padding-top: 0 !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999 !important;
    background: transparent !important;
    padding-top: 0.65rem;
    padding-inline: 1.25rem;
    padding-bottom: 0.35rem;
    pointer-events: none;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    isolation: isolate;
  }

  /* Navigation adjustments for Tablet / iPad (<= 1024px) */
  .nav-container {
    pointer-events: auto;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    isolation: isolate;
  }

  .nav-menu {
    display: none !important;
  }

  .mobile-nav-toggle,
  .mobile-menu-toggle {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
  }

  .nav-cta-btn {
    display: inline-flex !important;
    white-space: nowrap !important;
    padding: 0.5rem 1.05rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .brand-tagline {
    white-space: nowrap !important;
    font-size: 0.7rem;
  }

  .brand-name {
    white-space: nowrap !important;
  }

  .mobile-menu-drawer {
    top: 4.5rem;
  }

  .section:not(.hero-section) {
    padding-block: 2.75rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .hero-copy-top {
    order: 1;
    width: 100%;
  }

  .hero-copy-bottom {
    order: 2;
    width: 100%;
  }

  .hero-stage {
    order: 3;
    width: 100%;
    margin-top: 3.5rem;
    perspective: none;
  }

  .device-wrapper {
    transform: none !important;
    transform-style: flat !important;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-card-1 {
    left: -38%;
  }
  .hero-card-2 {
    right: -38%;
  }
  .hero-card-3 {
    left: -32%;
  }
  body.is-rtl .hero-card-1 {
    left: auto;
    right: -38%;
  }
  body.is-rtl .hero-card-2 {
    right: auto;
    left: -38%;
  }
  body.is-rtl .hero-card-3 {
    left: auto;
    right: -32%;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tab-points-list {
    align-items: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-guides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Continuous Floating Navigation Bar on Mobile with Zero Background Behind */
  body {
    padding-top: 0 !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999 !important;
    background: transparent !important;
    padding-top: 0.5rem;
    padding-inline: 1rem;
    padding-bottom: 0.35rem;
    margin-bottom: 0;
    pointer-events: none;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    isolation: isolate;
  }

  .nav-container {
    pointer-events: auto;
    padding: 0.55rem 0.95rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(180, 83, 9, 0.14);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    isolation: isolate;
  }

  .brand-tagline {
    display: none !important;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-cta-btn {
    display: none !important;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .lang-toggle-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.82rem;
    border-radius: var(--radius-sm) !important;
  }

  .mobile-nav-toggle,
  .mobile-menu-toggle {
    display: flex;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
  }

  .mobile-menu-drawer {
    top: 4.25rem;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 0.70rem !important;
    padding-bottom: 1.75rem;
    scroll-margin-top: 4rem;
  }

  .hero-badge-pill {
    margin-top: 0 !important;
    margin-bottom: 0.95rem !important;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  /* Real boxes, in this order: headline, device, then the rest. display:contents dropped these children in iOS Safari. */
  .hero-copy-top {
    order: 1;
    width: 100%;
  }

  .hero-stage {
    order: 2;
    margin-top: 0;
  }

  .hero-copy-bottom {
    order: 3;
    width: 100%;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-pill-badge,
  .hero-badge-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    margin-inline: auto;
    margin-top: 0 !important;
    margin-bottom: 0.95rem !important;
    max-width: 90vw;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.45rem);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-top: 0 !important;
    margin-bottom: 1.25rem;
    text-align: center;
  }

  /* The designed image in full directly after the headline */
  .hero-stage {
    order: 2;
    width: 100%;
    position: relative;
    perspective: none;
    margin-top: 0;
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  .device-wrapper {
    width: min(230px, 60vw);
    max-width: 250px;
    margin-inline: auto;
    position: relative !important;
    overflow: visible;
    transform: none !important;
    transform-style: flat !important;
  }

  .device-frame {
    border-radius: 24px;
    padding: 0;
    background: transparent;
    box-shadow: 0 16px 40px -10px rgba(180, 83, 9, 0.22), 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.16);
    overflow: hidden;
  }

  .device-screen-container {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 2048 / 2732;
    background: #F8FAFC;
    width: 100%;
  }

  .device-screen-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 24px;
  }

  /* The rest of the content displayed after the full designed image */
  .hero-description,
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-inline: auto;
    margin-bottom: 1.6rem;
    max-width: 90vw;
    text-align: center;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 440px !important;
    margin-inline: auto !important;
    margin-bottom: 1.75rem;
  }

  .hero-actions .store-btn-wrapper,
  .hero-actions .play-btn-wrapper {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 215px !important;
    width: 50% !important;
    display: flex !important;
    position: relative !important;
  }

  .hero-actions .btn-store,
  .hero-actions .play-btn-wrapper .btn-playstore {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.65rem 0.55rem !important;
    gap: 0.45rem !important;
    justify-content: center !important;
  }

  .hero-actions .store-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .hero-actions .btn-store-sub {
    font-size: 0.58rem !important;
  }

  .hero-actions .btn-store-title {
    font-size: 0.88rem !important;
    white-space: nowrap !important;
  }

  .hero-actions .badge-float-above {
    top: -10px !important;
    inset-inline-end: 6px !important;
    font-size: 0.55rem !important;
    padding: 0.12rem 0.45rem !important;
  }

  .floating-play-card {
    width: 100%;
    max-width: 340px;
  }

  .btn-secondary {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-trust-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
  }

  .hero-trust-item {
    font-size: 0.8rem;
  }

  /* Floating Micro-Cards around the device on mobile - Fully visible & contained */
  .hero-card {
    display: flex !important;
    position: absolute;
    width: max-content !important;
    max-width: min(210px, 52vw) !important;
    box-sizing: border-box;
    padding: 0.38rem 0.62rem;
    border-radius: 12px;
    gap: 0.45rem;
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(180, 83, 9, 0.16);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.14), 0 3px 8px rgba(180, 83, 9, 0.08);
    z-index: 20;
    pointer-events: auto;
  }

  .hero-card-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 7px;
    flex-shrink: 0;
  }

  .hero-card-icon svg {
    width: 13px;
    height: 13px;
  }

  .hero-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .hero-card-caption {
    font-size: 0.52rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-card-title {
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-card-status {
    font-size: 0.56rem;
    margin-top: 1px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .badge-refill {
    font-size: 0.52rem;
    padding: 0.06rem 0.35rem;
    margin-top: 1px;
    white-space: nowrap !important;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  @keyframes heroCardEntranceMobile {
    0% {
      opacity: 0;
      transform: translate3d(0, 18px, 0) scale3d(0.92, 0.92, 1);
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }
  }

  /* Specific mobile card positions - Pushed close to screen edges with safe margins (Fast & Elegant Entrance + Floating) */
  .hero-card-1 {
    top: 4%;
    left: max(-80px, calc(-1 * (50vw - 50% - 14px)));
    right: auto;
    animation: 
      heroCardEntranceMobile 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both,
      floatCardMobile1 4s ease-in-out 0.54s infinite !important;
  }

  .hero-card-2 {
    top: 46%;
    right: max(-80px, calc(-1 * (50vw - 50% - 14px)));
    left: auto;
    animation: 
      heroCardEntranceMobile 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both,
      floatCardMobile2 4.5s ease-in-out 0.66s infinite !important;
  }

  .hero-card-3 {
    bottom: 4%;
    left: max(-80px, calc(-1 * (50vw - 50% - 14px)));
    right: auto;
    animation: 
      heroCardEntranceMobile 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both,
      floatCardMobile3 5s ease-in-out 0.78s infinite !important;
  }

  /* RTL Support for mobile cards */
  body.is-rtl .hero-card-1 {
    top: 4%;
    right: max(-80px, calc(-1 * (50vw - 50% - 14px)));
    left: auto;
  }

  body.is-rtl .hero-card-2 {
    top: 46%;
    left: max(-80px, calc(-1 * (50vw - 50% - 14px)));
    right: auto;
  }

  body.is-rtl .hero-card-3 {
    bottom: 4%;
    right: max(-80px, calc(-1 * (50vw - 50% - 14px)));
    left: auto;
  }

  @keyframes floatCardMobile1 {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  @keyframes floatCardMobile2 {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-4px);
    }
  }

  @keyframes floatCardMobile3 {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  /* Mobile-Tuned Card Entrance (Ultra Snappy, Fluid 120Hz Easing) */
  .vest-card-reveal {
    transform: translate3d(0, 18px, 0) scale3d(0.975, 0.975, 1);
    transition-duration: 0.36s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }

  .vest-card-reveal.is-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) !important;
  }

  /* Highlights Bar */
  .highlights-section {
    padding-block: 1.25rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .highlight-box {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .highlight-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .highlight-desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* Keep the carousel inside the page. 100vw plus a root clip makes iOS Safari clip vertical content too. */
  .showcase-section {
    overflow: visible;
  }

  .showcase-slider-wrapper {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative;
  }

  .showcase-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0.85rem !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: auto !important;
    scrollbar-width: none !important;
    padding-bottom: 1.25rem !important;
    padding-inline: 0 !important;
  }

  .showcase-track::-webkit-scrollbar {
    display: none;
  }

  .showcase-slide {
    flex: 0 0 82vw !important;
    width: auto !important;
    scroll-snap-align: center !important;
  }

  .slide-device-card {
    border-radius: 26px;
    padding: 6px;
    margin-bottom: 0.85rem;
  }

  .slide-screen {
    border-radius: 20px;
  }

  .slide-title {
    font-size: 1.05rem;
  }

  .slide-subtitle {
    font-size: 0.85rem;
  }

  /* Mobile Auto-Scroll Pagination Dots */
  .showcase-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
  }

  .showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: #CBD5E1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .showcase-dot.active {
    width: 22px;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.35);
  }

  /* Core Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

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

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

  /* Interactive Tabs Walkthrough */
  .interactive-tabs-container {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .tabs-nav-bar {
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }

  .tab-nav-btn {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tab-panel {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .tab-panel-content h3 {
    font-size: 1.35rem;
  }

  .tab-panel-content p {
    font-size: 0.925rem;
  }

  .tab-points-list {
    align-items: flex-start;
    text-align: left;
    margin-top: 1.25rem;
  }

  body.is-rtl .tab-points-list {
    text-align: right;
  }

  .tab-point-item {
    font-size: 0.8875rem;
    gap: 0.65rem;
  }

  .tab-device-frame {
    width: min(280px, 80vw);
    margin-inline: auto;
    border-radius: 28px;
    padding: 6px;
  }

  .tab-device-screen {
    border-radius: 22px;
  }

  /* Product Banner */
  .product-banner-section {
    padding-block: 1.5rem;
  }

  .showcase-banner-section {
    padding-block: 2.25rem;
  }

  .section:not(.hero-section) {
    padding-block: 2.25rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .product-banner-frame {
    border-radius: var(--radius-md);
  }

  /* Comparison Table: Responsive Table Layout (Preserves Original Table Shape) */
  .comparison-table-wrapper {
    display: block !important;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    width: 100%;
    box-shadow: var(--shadow-md);
  }

  .comparison-table {
    min-width: 480px;
    width: 100%;
    border-collapse: collapse;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.95rem 1rem;
    font-size: 0.85rem;
  }

  .comp-cell-content {
    gap: 0.5rem;
  }

  .comp-icon-check,
  .comp-icon-x {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .table-scroll-hint {
    display: block !important;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
  }

  /* FAQ Accordion */
  .faq-question-btn {
    padding: 1.15rem 1.25rem;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding-inline: 1.25rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
    padding-bottom: 1.25rem;
  }

  /* Download CTA Banner */
  .cta-banner-card {
    padding: 2.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-banner-title {
    font-size: clamp(1.65rem, 4.5vw, 2.1rem);
  }

  .cta-banner-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .cta-banner-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 440px !important;
    margin-inline: auto !important;
    margin-bottom: 1.5rem !important;
  }

  .cta-banner-actions .store-btn-wrapper,
  .cta-banner-actions .play-btn-wrapper {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 215px !important;
    width: 50% !important;
    display: flex !important;
    position: relative !important;
  }

  .cta-banner-actions .btn-store,
  .cta-banner-actions .play-btn-wrapper .btn-playstore {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.65rem 0.55rem !important;
    gap: 0.45rem !important;
    justify-content: center !important;
  }

  .cta-banner-actions .store-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .cta-banner-actions .btn-store-sub {
    font-size: 0.58rem !important;
  }

  .cta-banner-actions .btn-store-title {
    font-size: 0.88rem !important;
    white-space: nowrap !important;
  }

  .cta-banner-actions .badge-float-above {
    top: -10px !important;
    inset-inline-end: 6px !important;
    font-size: 0.55rem !important;
    padding: 0.12rem 0.45rem !important;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  /* Support Page Form */
  .support-container {
    padding-inline: 0.5rem;
  }

  .support-info-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .support-form-card {
    padding: 1.75rem 1.25rem;
  }

  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS safari */
  }

  .support-guides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .section:not(.hero-section) {
    padding-block: 1.75rem;
  }

  .hero-section {
    padding-top: 0.35rem !important;
    padding-bottom: 1.35rem;
  }

  .section-header {
    margin-bottom: 1.15rem;
  }

  .highlights-section {
    padding-block: 1rem;
  }

  .showcase-banner-section {
    padding-block: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .device-wrapper {
    width: min(225px, 60vw);
    max-width: 245px;
    position: relative !important;
  }

  .showcase-slide {
    flex: 0 0 min(270px, 80vw);
  }

  .cta-banner-title {
    font-size: 1.85rem;
  }
}

/* Vest AI Custom Card Colors */
.hero-card-icon.terracotta {
  background: rgba(234, 88, 12, 0.12);
  color: #EA580C;
}

.hero-card-icon.teal {
  background: rgba(13, 148, 136, 0.12);
  color: #0D9488;
}

.showcase-banner-section {
  padding-block: 3rem;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  overflow: visible;
}

.showcase-banner-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(180, 83, 9, 0.15);
  background: #FAF5EF;
  transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
  will-change: transform;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: box-shadow 0.3s ease;
}

.showcase-banner-wrapper:hover {
  box-shadow: 0 50px 120px -10px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(180, 83, 9, 0.3);
}

.showcase-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .showcase-banner-section {
    padding-block: 2.25rem;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    overflow: visible;
  }

  .showcase-banner-wrapper {
    border-radius: var(--radius-lg);
    transform-origin: 50% 100%;
    -webkit-transform-origin: 50% 100%;
    will-change: transform;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
  }
}

@media (max-width: 480px) {
  .showcase-banner-section {
    padding-block: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Accessibility: Prefers-Reduced-Motion Overrides & FileOS-Inspired Motion System
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vest-card-reveal,
  .vest-card-reveal.is-revealed,
  .hero-card,
  .hero-card-1,
  .hero-card-2,
  .hero-card-3 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  [data-words] .word {
    animation: none !important;
  }
  .live::after {
    animation: none !important;
  }
  .site-header {
    transition: none !important;
  }
}

/* ==========================================================================
   FILEOS-INSPIRED MOTION, REVEAL & RESPONSIVE RULES SYSTEM
   ========================================================================== */

/* 1. Live Pulse Status Dot */
.live {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
  display: inline-block;
  flex: none;
  margin-inline-end: 8px;
}

.live::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  from {
    transform: scale(1);
    opacity: 0.85;
  }
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* 2. Word-by-Word Blur-In Reveal */
[data-words] .word {
  display: inline-block;
  animation: word-blur-in 0.7s var(--ease-out) var(--wd, 0ms) both;
  will-change: transform, opacity, filter;
}

@keyframes word-blur-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

/* 3. Ambient Micro-Floating Motion for Hero Cards */
@keyframes ff-card-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

.hero-card-1 {
  animation: ff-card-float 5.2s ease-in-out infinite;
}

.hero-card-2 {
  animation: ff-card-float 6.4s ease-in-out 1.2s infinite;
}

.hero-card-3 {
  animation: ff-card-float 5.8s ease-in-out 2.4s infinite;
}

/* 4. Framer-like Staggered Scroll Reveal System */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal="up"] {
  transform: translateY(35px);
}

.js [data-reveal="rise"] {
  transform: translateY(70px);
}

.js [data-reveal="scale"] {
  transform: translateY(24px) scale(0.96);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="row"] {
  transform: translateY(18px);
}

.js [data-reveal="right"] {
  transform: translateX(85px);
}

html[dir="rtl"] .js [data-reveal="right"],
html[lang="ar"] .js [data-reveal="right"],
body.is-rtl .js [data-reveal="right"] {
  transform: translateX(-85px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Comparison Table Row GPU Smoothness */
.comparison-table tbody tr {
  will-change: transform, opacity;
}

/* 5. Scroll-Linked 3D Device Stage */
.hero-stage[data-tilt] {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-stage[data-tilt] .device-wrapper {
  transform-origin: 50% 100%;
  will-change: transform;
}
