/* ==========================================================================
   ZAAD POS - Official Commercial & Verification Website Stylesheet
   Design System: Modern SaaS, Premium Fintech, Glassmorphism, Dark/Light Mode
   Full LTR (English) & RTL (Arabic) Support
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Color Palette
   -------------------------------------------------------------------------- */
:root {
  /* Default Light Mode Colors */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-border: rgba(226, 232, 240, 0.8);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #10b981;
  
  /* Brand Accent Colors */
  --accent-emerald: #10b981;
  --accent-emerald-hover: #059669;
  --accent-emerald-light: rgba(16, 185, 129, 0.1);
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #06b6d4;
  --accent-navy: #0f172a;
  --accent-navy-surface: #1e293b;
  
  /* UI Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);

  /* Layout & Animation Variables */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #080d1a;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-glass: rgba(15, 23, 42, 0.85);
  --bg-glass-border: rgba(255, 255, 255, 0.1);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #0f172a;
  
  --border-light: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.15);
  --border-focus: #10b981;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.25);
}

/* Light Mode Theme Explicit Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-border: rgba(226, 232, 240, 0.8);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #10b981;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
}

/* --------------------------------------------------------------------------
   2. Base Styles & Global Resets
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

[dir="rtl"] body {
  font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   3. Typography & Badges
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-emerald);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: var(--accent-emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: var(--accent-emerald-light);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* RTL Arrow Icon Flip */
[dir="rtl"] .btn svg.arrow-icon {
  transform: scaleX(-1);
}

/* --------------------------------------------------------------------------
   5. Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(16, 185, 129, 0.25);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-badge {
  font-size: 0.625rem;
  padding: 0.15rem 0.45rem;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
  padding: 0.25rem 0;
  display: inline-block;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--accent-emerald);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.mobile-cta-item {
  display: none;
}

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

.nav-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.theme-toggle-btn, .lang-toggle-btn {
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-toggle-btn {
  width: 40px;
  padding: 0;
  border-radius: 50%;
}

.theme-toggle-btn:hover, .lang-toggle-btn:hover {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   6. Hero Section & Desktop Application Mockup
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  margin-bottom: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
}

.trust-badge-item svg {
  color: var(--accent-emerald);
}

/* Application Desktop Window Frame */
.app-window-frame {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--accent-navy-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  overflow: hidden;
  transition: transform var(--transition-slow);
  cursor: pointer;
  position: relative;
}

[data-theme="light"] .app-window-frame {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 0 20px rgba(16, 185, 129, 0.1);
}

.app-window-frame:hover {
  transform: translateY(-4px) scale(1.005);
}

.window-header-bar {
  background: #0f172a;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.app-screenshot-wrapper {
  position: relative;
  overflow: hidden;
}

.app-screenshot-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
  font-weight: 600;
  gap: 0.5rem;
}

.app-window-frame:hover .screenshot-zoom-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   7. Workflow Section
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
  text-align: start;
}

.workflow-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-lg);
}

.workflow-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.workflow-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   8. Screenshot Showcase Lightbox & Alternating Layouts
   -------------------------------------------------------------------------- */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.showcase-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.showcase-content {
  text-align: start;
}

.showcase-content h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.showcase-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

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

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.showcase-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  text-align: start;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   10. Security & Transparency Banner
   -------------------------------------------------------------------------- */
.security-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: start;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.transparency-pill-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.transparency-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-tertiary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.transparency-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   11. Contact & Founder Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.contact-method:hover {
  border-color: var(--accent-emerald);
  transform: translateX(4px);
}

[dir="rtl"] .contact-method:hover {
  transform: translateX(-4px);
}

.contact-method svg {
  color: var(--accent-emerald);
}

.founder-box {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.founder-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.founder-info strong {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 4rem 1.5rem 2rem;
  text-align: start;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.925rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

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

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

.footer-links a:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   13. Lightbox Modal & Request Demo Modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.modal-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 0;
}

.demo-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  text-align: start;
}

/* --------------------------------------------------------------------------
   14. Legal Pages (Privacy Policy & Terms of Service)
   -------------------------------------------------------------------------- */
.legal-container {
  max-width: 860px;
  margin: 4rem auto 6rem;
  padding: 0 1.5rem;
  text-align: start;
}

.legal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.5rem;
}

[dir="rtl"] .legal-content ul {
  padding-left: 0;
  padding-right: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   15. Motion & Intersection Observer Animations
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   15b. ZAAD Sections 1-4 Redesign Specific Styles
   -------------------------------------------------------------------------- */

/* Hero Floating Status Cards */
.hero-window-wrapper {
  position: relative;
  max-width: 1160px;
  margin: 2.5rem auto 0;
}

.hero-window-wrapper .app-screenshot-wrapper img {
  max-height: 660px;
  object-fit: contain;
}

.floating-status-card {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  animation: floatCard 4s ease-in-out infinite alternate;
  white-space: nowrap;
}

[data-theme="light"] .floating-status-card {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .floating-status-card {
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.2);
}

.status-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.85; }
}

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

/* Card 1: Shift Open */
.status-card-tr {
  top: -18px;
  right: 28px;
  animation-delay: 0s;
}

/* Card 2: Daily Z */
.status-card-tl {
  top: -18px;
  left: 28px;
  animation-delay: 0.8s;
}

/* Card 3: Stock Updated (Bottom Left in LTR, Bottom Right in RTL) */
.status-card-bl {
  bottom: -18px;
  left: 28px;
  animation-delay: 1.6s;
}

/* Card 4: 100% Offline Ready (Bottom Right in LTR, Bottom Left in RTL) */
.status-card-br {
  bottom: -18px;
  right: 28px;
  animation-delay: 2.2s;
}

[dir="rtl"] .status-card-tr {
  right: auto;
  left: 28px;
}

[dir="rtl"] .status-card-tl {
  left: auto;
  right: 28px;
}

[dir="rtl"] .status-card-bl {
  left: auto;
  right: 28px;
}

[dir="rtl"] .status-card-br {
  right: auto;
  left: 28px;
}

/* Why ZAAD Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-glow);
}

.why-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Daily Z Financial Flow Checkpoints */
.financial-flow-container {
  margin-top: 3rem;
}

.financial-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
}

.flow-card-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.flow-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.flow-card.in {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.flow-card.in .flow-card-title {
  color: var(--accent-emerald);
}

.flow-card.out {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.05);
}

.flow-card.out .flow-card-title {
  color: #f59e0b;
}

.flow-card.available {
  border-color: var(--accent-emerald);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.flow-card.available .flow-card-title {
  color: var(--accent-emerald);
}

.gmail-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: var(--shadow-md);
}

.gmail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(234, 67, 53, 0.15);
  border: 1px solid rgba(234, 67, 53, 0.3);
  color: #ef4444;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Daily Z Multi-Page Report Stack */
.report-stack-wrapper {
  position: relative;
  max-width: 540px;
  margin: 2.5rem auto 0;
  padding: 1rem;
  perspective: 1000px;
}

.report-stack-wrapper .app-screenshot-wrapper img {
  max-height: 740px;
  object-fit: contain;
}

.report-stack {
  position: relative;
  width: 100%;
}

.report-page-back {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 95%;
  z-index: 1;
  opacity: 0.85;
  transform: rotate(2deg) scale(0.96);
  transition: all var(--transition-normal);
  filter: brightness(0.85);
}

[dir="rtl"] .report-page-back {
  right: auto;
  left: -20px;
  transform: rotate(-2deg) scale(0.96);
}

.report-page-front {
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
}

.report-stack-wrapper:hover .report-page-back {
  top: 30px;
  right: -35px;
  opacity: 0.95;
  filter: brightness(1);
}

[dir="rtl"] .report-stack-wrapper:hover .report-page-back {
  right: auto;
  left: -35px;
}

/* Shift Control Workflow Story Section */
#shift-control {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] #shift-control {
  background: #080d1a !important;
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] #shift-control {
  background: #f8fafc !important;
  border-color: #e2e8f0;
}

[data-theme="light"] #shift-control h2 {
  color: #0f172a !important;
}

[data-theme="light"] #shift-control p {
  color: #334155 !important;
}

.shift-workflow-story {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.shift-stage-card {
  position: relative;
}

.shift-stage-card .app-window-frame {
  max-width: 580px;
}

.shift-stage-card .app-screenshot-wrapper img {
  max-height: 380px;
  object-fit: contain;
}

.shift-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

[data-theme="light"] .shift-stage-badge {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.shift-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.shift-connector-pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .shift-connector-pill {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.shift-tags-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.shift-tag-item {
  font-size: 0.775rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

[data-theme="light"] .shift-tag-item {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.shift-final-banner {
  text-align: center;
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
}

[data-theme="light"] .shift-final-banner {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Lightbox Gallery Navigation & Controls */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.lightbox-nav-btn.prev { left: -60px; }
.lightbox-nav-btn.next { right: -60px; }

[dir="rtl"] .lightbox-nav-btn.prev { left: auto; right: -60px; }
[dir="rtl"] .lightbox-nav-btn.next { right: auto; left: -60px; }

.lightbox-counter {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-top: 0.35rem;
  text-align: center;
}

@media (max-width: 900px) {
  .financial-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shift-workflow-story {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .shift-connector {
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    margin: 1.25rem auto !important;
    padding: 0 !important;
    width: 100% !important;
    position: static !important;
  }
  .shift-connector-pill {
    transform: none !important;
    animation: none !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    padding: 0.55rem 1.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
  }
  .shift-connector-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--accent-emerald) !important;
    animation: bounceDown 2s infinite ease-in-out !important;
  }
  .floating-status-card {
    display: none !important;
  }
  .hero-window-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100% !important;
  }
  .lightbox-nav-btn.prev { left: 10px; }
  .lightbox-nav-btn.next { right: 10px; }
  [dir="rtl"] .lightbox-nav-btn.prev { right: 10px; left: auto; }
  [dir="rtl"] .lightbox-nav-btn.next { left: 10px; right: auto; }
}

@media (max-width: 600px) {
  .financial-flow-grid {
    grid-template-columns: 1fr;
  }
  .gmail-banner {
    flex-direction: column;
    text-align: center;
  }
  .report-page-back {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   15c. Customer Credit & Supplier Accounts Section Styles
   -------------------------------------------------------------------------- */
#accounts {
  background: var(--bg-secondary);
}

[data-theme="light"] #accounts {
  background: #f1f5f9;
}

[data-theme="light"] .account-story-side {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .account-story-header h3 {
  color: #0f172a;
}

[data-theme="light"] .account-story-header p {
  color: #475569;
}

.accounts-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.account-story-side {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.account-story-side .app-window-frame {
  max-width: 600px;
  margin: 1.25rem auto 0;
}

.account-story-side .app-screenshot-wrapper img {
  max-height: 390px;
  object-fit: contain;
}

.account-story-side:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-glow);
}

.customer-side-anim {
  transform: translateX(35px);
  opacity: 0;
}

.supplier-side-anim {
  transform: translateX(-35px);
  opacity: 0;
}

[dir="rtl"] .customer-side-anim { transform: translateX(-35px); }
[dir="rtl"] .supplier-side-anim { transform: translateX(35px); }

.customer-side-anim.visible, .supplier-side-anim.visible {
  transform: translateX(0);
  opacity: 1;
}

.account-story-header {
  margin-bottom: 1.5rem;
}

.account-story-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.account-story-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.account-callout-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.acc-tag {
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform var(--transition-fast);
}

.acc-tag:hover {
  transform: translateY(-2px);
}

.acc-tag.amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.accounts-center-connector {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.connector-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background: var(--bg-card);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--text-main);
  font-size: 0.925rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.accounts-final-statement {
  text-align: center;
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15d. Inventory Count / Stocktaking Section Styles
   -------------------------------------------------------------------------- */
#stocktaking {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] #stocktaking {
  background: #060b17 !important;
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] #stocktaking {
  background: #ffffff !important;
  border-color: #e2e8f0;
}

[data-theme="light"] #stocktaking h2 {
  color: #0f172a !important;
}

[data-theme="light"] #stocktaking p {
  color: #334155 !important;
}

[data-theme="light"] .stock-callout-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .stock-callout-card h3 {
  color: #0f172a;
}

[data-theme="light"] .stock-callout-card p {
  color: #475569;
}

.stocktaking-visual-wrapper {
  position: relative;
  max-width: 1080px;
  margin: 3.5rem auto 0;
}

.stock-primary-frame {
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal);
}

.stock-primary-frame .app-screenshot-wrapper img {
  max-height: 620px;
  object-fit: contain;
}

.stock-primary-frame:hover {
  transform: translateY(-4px);
}

.stock-secondary-frame {
  position: absolute;
  bottom: -35px;
  right: -35px;
  width: 54%;
  z-index: 4;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.25);
  transition: transform var(--transition-normal);
}

.stock-secondary-frame .app-screenshot-wrapper img {
  max-height: 380px;
  object-fit: contain;
}

[dir="rtl"] .stock-secondary-frame {
  right: auto;
  left: -30px;
}

.stock-secondary-frame:hover {
  transform: translateY(-6px) scale(1.02);
}

.stock-callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 5.5rem;
}

.stock-callout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  border-left: 4px solid var(--accent-emerald);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

[dir="rtl"] .stock-callout-card {
  border-left: 1px solid var(--border-light);
  border-right: 4px solid var(--accent-emerald);
}

.stock-callout-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.stock-callout-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.stock-callout-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.stock-callout-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Inventory State Sequence Visual */
.stock-sequence-container {
  margin-top: 3.5rem;
  text-align: center;
}

.stock-state-sequence {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.state-pill {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.5s ease;
}

.state-matching {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.state-shortage {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.state-surplus {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #06b6d4;
}

.sequence-arrow {
  color: var(--text-subtle);
  font-weight: 700;
}

.stock-final-callout {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

@media (max-width: 900px) {
  .accounts-split-container, .stock-callout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stock-secondary-frame {
    position: static;
    width: 100%;
    margin-top: 1.5rem;
  }
  .stocktaking-visual-wrapper {
    display: flex;
    flex-direction: column;
  }
  .stock-state-sequence {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--radius-md);
  }
}

/* --------------------------------------------------------------------------
   15e. Purchase Receiving & Multi-Payment Section Styles
   -------------------------------------------------------------------------- */
#purchase-receiving {
  background: var(--bg-secondary);
}

[data-theme="light"] #purchase-receiving {
  background: #ffffff;
}

[data-theme="light"] #purchase-receiving h2 {
  color: #0f172a !important;
}

[data-theme="light"] #purchase-receiving p {
  color: #334155 !important;
}

[data-theme="light"] .pur-eq-card {
  background: #f8fafc;
  color: #0f172a;
  border-color: #e2e8f0;
}

[data-theme="light"] .pur-payment-block {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .pur-payment-block h3 {
  color: #0f172a;
}

[data-theme="light"] .payment-pill {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

[data-theme="light"] .pur-final-statement {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pur-video-container {
  position: relative;
  max-width: 940px;
  margin: 3.5rem auto 0;
}

.pur-live-badge {
  position: absolute;
  top: -15px;
  right: 25px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: var(--bg-card);
  color: var(--text-main);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.2);
}

[dir="rtl"] .pur-live-badge {
  right: auto;
  left: 25px;
}

.pur-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pur-video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

/* Calculation Equation Cards */
.pur-equation-wrapper {
  margin-top: 3.5rem;
  text-align: center;
}

.pur-equation-grid {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.pur-eq-card {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.pur-eq-card.total {
  background: var(--accent-emerald-light);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.pur-eq-operator {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.pur-eq-note {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-top: 0.75rem;
}

/* Visual Flow Sequence */
.pur-flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.pur-flow-step {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pur-flow-arrow {
  color: var(--accent-emerald);
  font-weight: 800;
}

/* Multi-Payment Block */
.pur-payment-block {
  margin-top: 4.5rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pur-payment-block h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.pur-payment-block p {
  font-size: 0.975rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.pur-payment-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.payment-pill:hover {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  transform: translateY(-2px);
}

.pur-final-statement {
  text-align: center;
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .pur-equation-grid {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    width: 100%;
  }
  .pur-flow-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .pur-flow-arrow {
    transform: rotate(90deg);
  }
}

/* --------------------------------------------------------------------------
   15f. Backup & Restore Showcase Styles
   -------------------------------------------------------------------------- */
#backup {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] #backup {
  background: #050a15 !important;
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] #backup {
  background: #f8fafc !important;
  border-color: #e2e8f0;
}

[data-theme="light"] #backup h2 {
  color: #0f172a !important;
}

[data-theme="light"] #backup p {
  color: #334155 !important;
}

[data-theme="light"] .backup-trust-banner {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.backup-window-wrapper {
  position: relative;
  max-width: 680px;
  margin: 3.5rem auto 0;
}

.backup-window-wrapper .app-screenshot-wrapper img {
  max-height: 420px;
  object-fit: contain;
}

.backup-tags-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.backup-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.backup-tag-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent-emerald);
}

.backup-trust-banner {
  text-align: center;
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15g. Compact Feature Matrix Styles
   -------------------------------------------------------------------------- */
#features {
  background: var(--bg-secondary);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.matrix-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.matrix-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.matrix-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.matrix-card p {
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   15h. Security & Privacy + Optional Gmail Card Styles
   -------------------------------------------------------------------------- */
#security {
  background: var(--bg-primary);
}

.sec-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.sec-trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition-normal);
}

.sec-trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.3);
}

.sec-trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-gmail-wrapper {
  margin-top: 3.5rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.sec-gmail-card {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.gmail-optional-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   15i. Final Sales Conversion CTA & 3-Field Form Styles
   -------------------------------------------------------------------------- */
#contact {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-light);
}

[data-theme="dark"] #contact {
  background: #040812 !important;
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] #contact {
  background: #f1f5f9 !important;
  border-color: #e2e8f0;
}

[data-theme="light"] #contact h2 {
  color: #0f172a !important;
}

[data-theme="light"] #contact p {
  color: #334155 !important;
}

[data-theme="light"] .cta-conversion-box {
  background: #ffffff;
  border-color: #e2e8f0;
}

/* ==========================================================================
   Section 11: Flagship Conversion Box & Luxury Form Inputs
   ========================================================================== */
.cta-conversion-box {
  max-width: 720px;
  margin: 3.5rem auto 0;
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  padding: 3.25rem 2.75rem !important;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal) !important;
}

[data-theme="dark"] .cta-conversion-box {
  background: radial-gradient(ellipse at 50% -20%, rgba(16, 185, 129, 0.15), transparent 70%),
              linear-gradient(155deg, rgba(15, 23, 42, 0.96) 0%, rgba(8, 13, 26, 0.98) 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(16, 185, 129, 0.16) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

[data-theme="light"] .cta-conversion-box {
  background: radial-gradient(ellipse at 50% -20%, rgba(16, 185, 129, 0.1), transparent 70%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 25px 60px -10px rgba(16, 185, 129, 0.12), 0 10px 25px -5px rgba(15, 23, 42, 0.05) !important;
}

.cta-conversion-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald) 35%, var(--accent-cyan) 65%, transparent);
  border-radius: 9999px;
  pointer-events: none;
}

/* Header inside Card */
.cta-card-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.cta-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .cta-card-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

[data-theme="light"] .cta-card-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #059669;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.cta-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.cta-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Form Groups & Labels */
.cta-form-group {
  margin-bottom: 1.35rem;
}

.cta-form-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  text-align: start;
}

/* Input Wrappers with Built-in Icons */
.cta-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.cta-input-icon {
  position: absolute;
  inset-inline-start: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.cta-form-input,
.cta-form-select {
  width: 100%;
  height: 52px;
  padding-inline-start: 3.1rem;
  padding-inline-end: 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.975rem;
  font-weight: 500;
  font-family: inherit;
  transition: all var(--transition-normal);
  outline: none;
}

[data-theme="dark"] .cta-form-input,
[data-theme="dark"] .cta-form-select {
  background: rgba(10, 16, 30, 0.75) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .cta-form-input::placeholder {
  color: #64748b;
}

[data-theme="light"] .cta-form-input,
[data-theme="light"] .cta-form-select {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cta-form-input::placeholder {
  color: #94a3b8;
}

/* Focus States with Emerald Ambient Illumination */
.cta-input-wrapper:focus-within .cta-form-input,
.cta-input-wrapper:focus-within .cta-form-select {
  border-color: var(--accent-emerald) !important;
}

[data-theme="dark"] .cta-input-wrapper:focus-within .cta-form-input,
[data-theme="dark"] .cta-input-wrapper:focus-within .cta-form-select {
  background: rgba(15, 23, 42, 0.95) !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 8px 25px -4px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .cta-input-wrapper:focus-within .cta-form-input,
[data-theme="light"] .cta-input-wrapper:focus-within .cta-form-select {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16), 0 8px 20px -4px rgba(16, 185, 129, 0.12) !important;
}

.cta-input-wrapper:focus-within .cta-input-icon {
  color: var(--accent-emerald) !important;
  transform: scale(1.12);
}

/* Custom Select Dropdown Arrow */
.cta-select-wrapper {
  position: relative;
}

.cta-select-wrapper .cta-form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-inline-end: 2.85rem;
}

.cta-select-arrow {
  position: absolute;
  inset-inline-end: 1.1rem;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.cta-select-wrapper:focus-within .cta-select-arrow {
  color: var(--accent-emerald);
  transform: rotate(180deg);
}

/* Actions Row: Luxury Buttons */
.cta-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 2rem;
}

.btn-luxury-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 52px;
  width: 100%;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.42), 0 0 15px rgba(16, 185, 129, 0.2) !important;
  transition: all var(--transition-normal);
}

.btn-luxury-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #18c98e 0%, #047857 100%) !important;
  box-shadow: 0 14px 32px -5px rgba(16, 185, 129, 0.55), 0 0 25px rgba(16, 185, 129, 0.3) !important;
}

.btn-luxury-primary:active {
  transform: translateY(0);
}

.btn-luxury-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 52px;
  width: 100%;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .btn-luxury-wa {
  background: rgba(37, 211, 102, 0.1) !important;
  border: 1.5px solid rgba(37, 211, 102, 0.35) !important;
  color: #25d366 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-luxury-wa:hover {
  background: rgba(37, 211, 102, 0.2) !important;
  border-color: #25d366 !important;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.35), 0 0 15px rgba(37, 211, 102, 0.2) !important;
  transform: translateY(-2px);
}

[data-theme="light"] .btn-luxury-wa {
  background: #f0fdf4 !important;
  border: 1.5px solid rgba(37, 211, 102, 0.45) !important;
  color: #15803d !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn-luxury-wa:hover {
  background: #dcfce7 !important;
  border-color: #22c55e !important;
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.28) !important;
  transform: translateY(-2px);
}

/* Micro Trust Strip under Buttons */
.cta-trust-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .cta-trust-guarantees {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.cta-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cta-trust-tag svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  .sec-trust-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   16. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .showcase-row, .showcase-row.reverse, .security-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .navbar-container {
    padding: 0.5rem 1rem !important;
    height: 60px !important;
    gap: 0.5rem !important;
    max-width: 100% !important;
  }
  .brand-logo {
    gap: 0.4rem !important;
    font-size: 1.15rem !important;
    flex-shrink: 1 !important;
  }
  .brand-badge {
    display: none !important;
  }
  .nav-actions {
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }
  .theme-toggle-btn {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }
  .lang-toggle-btn {
    height: 36px !important;
    padding: 0 0.55rem !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-main) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
  .nav-links {
    display: none;
  }
  .nav-cta-btn {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    gap: 0.65rem;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav-links.mobile-open .nav-link {
    font-size: 1.05rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    display: block;
  }
  .mobile-cta-item {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
  .btn-mobile-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.75rem 1rem 3.5rem !important;
  }
  .hero-headline {
    font-size: clamp(1.85rem, 6vw, 2.25rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }
  .hero-subhead {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.75rem !important;
  }
  .hero-trust-badges {
    gap: 0.55rem !important;
    margin-bottom: 2rem !important;
    padding: 0 0.5rem;
  }
  .trust-badge-item {
    font-size: 0.775rem !important;
    padding: 0.35rem 0.65rem !important;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem !important;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-container,
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-mockup-container,
  .hero-window-wrapper,
  .app-window-frame,
  .stocktaking-visual-wrapper,
  .pur-video-container,
  .backup-window-wrapper {
    max-width: 100% !important;
  }
  .report-stack-wrapper {
    max-width: min(440px, 94vw) !important;
    padding: 0.5rem;
  }
  .report-stack-wrapper .app-screenshot-wrapper img {
    max-height: 580px;
  }
  .hero-window-wrapper .app-screenshot-wrapper img {
    max-height: 400px;
  }
  .stock-primary-frame .app-screenshot-wrapper img {
    max-height: 360px;
  }
  .stock-secondary-frame {
    position: static !important;
    width: 100% !important;
    margin-top: 1rem;
  }
  .stock-secondary-frame .app-screenshot-wrapper img {
    max-height: 300px;
  }
  .backup-window-wrapper .app-screenshot-wrapper img {
    max-height: 360px;
  }
  .account-story-side .app-screenshot-wrapper img {
    max-height: 320px;
  }
  .shift-stage-card .app-screenshot-wrapper img {
    max-height: 300px;
  }
}

/* --------------------------------------------------------------------------
   17. Floating WhatsApp Contact Button (Circular Icon)
   -------------------------------------------------------------------------- */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: floatWaEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-decoration: none;
}

[dir="ltr"] .floating-wa-btn {
  left: auto;
  right: 24px;
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(37, 211, 102, 0.4);
}

.floating-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.floating-wa-icon svg {
  width: 32px;
  height: 32px;
  fill: #25d366;
}

.floating-wa-label {
  display: none !important;
}

@keyframes floatWaEntrance {
  0% { opacity: 0; transform: translateY(20px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .floating-wa-btn {
    bottom: 18px;
    left: 18px;
    width: 50px;
    height: 50px;
  }
  [dir="ltr"] .floating-wa-btn {
    left: auto;
    right: 18px;
  }
  .floating-wa-icon {
    width: 28px;
    height: 28px;
  }
  .floating-wa-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* --------------------------------------------------------------------------
   18. Founder Trust Strip & Signature Card
   -------------------------------------------------------------------------- */
#founder-trust {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

[data-theme="dark"] #founder-trust {
  background: #080d1a !important;
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] #founder-trust {
  background: #f8fafc !important;
  border-color: #e2e8f0;
}

.founder-trust-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

/* Dark Mode Card */
[data-theme="dark"] .founder-trust-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.18);
}

/* Light Mode Card - Distinctive, Crisp, Luxurious */
[data-theme="light"] .founder-trust-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.14), 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.founder-trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
}

/* Top accent gradient line */
.founder-trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent);
  border-radius: 9999px;
}

/* Ambient Radial Glow */
.founder-card-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.15), transparent 70%);
  pointer-events: none;
  filter: blur(25px);
}

[data-theme="light"] .founder-card-glow {
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.12), transparent 70%);
}

.founder-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .founder-trust-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .founder-trust-badge {
  background: #ecfdf5;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  color: #059669;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1);
}

.founder-headline {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .founder-headline {
  color: #f8fafc;
}

[data-theme="light"] .founder-headline {
  color: #0f172a;
}

.founder-quote-wrapper {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

.founder-quote-icon {
  position: absolute;
  top: -15px;
  right: -10px;
  opacity: 0.15;
  color: var(--accent-emerald);
  pointer-events: none;
}

[dir="rtl"] .founder-quote-icon {
  right: auto;
  left: -10px;
}

.founder-message {
  font-size: 1.18rem;
  line-height: 1.85;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .founder-message {
  color: #e2e8f0;
}

[data-theme="light"] .founder-message {
  color: #1e293b;
}

.founder-subline-pill {
  display: inline-block;
  margin-bottom: 2.25rem;
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .founder-subline-pill {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}

.founder-subline {
  font-size: 0.975rem;
  color: var(--accent-emerald);
  font-weight: 800;
}

/* Executive Founder Capsule */
.founder-profile-meta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  text-align: start;
  position: relative;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .founder-profile-meta {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .founder-profile-meta {
  background: #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.founder-profile-meta:hover {
  transform: translateY(-2px);
  border-color: var(--accent-emerald);
}

.founder-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.founder-avatar-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.founder-verified-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .founder-verified-dot {
  right: auto;
  left: -2px;
}

[data-theme="dark"] .founder-verified-dot {
  border-color: #0f172a;
}

.founder-meta-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.founder-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.founder-name {
  font-size: 1.05rem;
  font-weight: 800;
}

[data-theme="dark"] .founder-name {
  color: #f8fafc;
}

[data-theme="light"] .founder-name {
  color: #0f172a;
}

.founder-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.725rem;
  font-weight: 700;
}

.founder-title {
  font-size: 0.85rem;
  font-weight: 600;
}

[data-theme="dark"] .founder-title {
  color: #94a3b8;
}

[data-theme="light"] .founder-title {
  color: #475569;
}

.founder-direct-chat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  font-size: 0.825rem;
  font-weight: 700;
  margin-left: 0.5rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

[dir="rtl"] .founder-direct-chat {
  margin-left: 0;
  margin-right: 0.5rem;
}

.founder-direct-chat:hover {
  background: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.founder-direct-chat:hover svg {
  fill: #ffffff;
}

@media (max-width: 768px) {
  .founder-trust-card {
    padding: 2.25rem 1.5rem;
  }
  .founder-profile-meta {
    flex-direction: column;
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    width: 100%;
  }
  .founder-name-row {
    justify-content: center;
  }
  .founder-direct-chat {
    margin: 0.5rem 0 0 0 !important;
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   19. Footer Restrained Trust Pills & Legal Links
   -------------------------------------------------------------------------- */
.footer-trust-pills-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-trust-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
}

.footer-founder-tag {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.75rem;
  font-weight: 600;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}


/* --------------------------------------------------------------------------
   Light Mode Explicit Contrast Overrides
   -------------------------------------------------------------------------- */
[data-theme="light"] .gmail-banner {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .connector-badge-pill {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(16, 185, 129, 0.45);
}

[data-theme="light"] .stock-state-sequence {
  background: #ffffff;
  color: #0f172a;
  border-color: var(--border-light);
}

[data-theme="light"] .pur-live-badge {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .backup-tag-pill {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .sec-gmail-card {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .window-header-bar {
  background: #e2e8f0;
  border-bottom: 1px solid #cbd5e1;
}

[data-theme="light"] .window-title {
  color: #334155;
}


/* ==========================================================================
   Complete Comprehensive Light Mode Overrides
   ========================================================================== */
[data-theme="light"] .why-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .why-card h3 {
  color: #0f172a;
}
[data-theme="light"] .why-card p {
  color: #475569;
}

[data-theme="light"] .flow-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
[data-theme="light"] .flow-card-title {
  color: #0f172a;
}
[data-theme="light"] .flow-card.in {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.4);
}
[data-theme="light"] .flow-card.in .flow-card-title {
  color: #059669;
}
[data-theme="light"] .flow-card.out {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.4);
}
[data-theme="light"] .flow-card.out .flow-card-title {
  color: #d97706;
}
[data-theme="light"] .flow-card.available {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
  border-color: #10b981;
}
[data-theme="light"] .flow-card.available .flow-card-title {
  color: #059669;
}

[data-theme="light"] .accounts-final-statement {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .matrix-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .matrix-card h3 {
  color: #0f172a;
}
[data-theme="light"] .matrix-card p {
  color: #475569;
}

[data-theme="light"] .sec-trust-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .sec-trust-card h3 {
  color: #0f172a;
}
[data-theme="light"] .sec-trust-card p {
  color: #475569;
}

[data-theme="light"] .site-footer {
  background: #ffffff;
  border-color: #e2e8f0;
}
[data-theme="light"] .footer-trust-pill {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}
[data-theme="light"] .footer-col h4 {
  color: #0f172a;
}
[data-theme="light"] .footer-links a {
  color: #475569;
}
[data-theme="light"] .footer-links a:hover {
  color: #10b981;
}
[data-theme="light"] .footer-founder-tag {
  color: #334155;
}
[data-theme="light"] .footer-bottom {
  border-color: #e2e8f0;
  color: #64748b;
}

[data-theme="light"] .legal-header h1 {
  color: #0f172a;
}
[data-theme="light"] .legal-content h2 {
  color: #0f172a;
}
[data-theme="light"] .legal-content p,
[data-theme="light"] .legal-content li {
  color: #334155;
}
[data-theme="light"] .legal-meta {
  color: #64748b;
}


/* ==========================================================================
   21. Universal Executive Luxury Cards & Ambient Glow System
   Elevates the entire website to match the Flagship Founder Card Experience
   ========================================================================== */

/* --- 1. Why ZAAD Cards (.why-card) --- */
.why-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  padding: 2.25rem 2rem !important;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal) !important;
}

[data-theme="dark"] .why-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.98)) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.08) !important;
}

[data-theme="light"] .why-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent);
  border-radius: 9999px;
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--accent-emerald) !important;
}

[data-theme="dark"] .why-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.22) !important;
}

[data-theme="light"] .why-card:hover {
  box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.2), 0 6px 16px rgba(15, 23, 42, 0.06) !important;
}

.why-card:hover::before {
  left: 5%;
  right: 5%;
  opacity: 1;
  box-shadow: 0 0 12px var(--accent-emerald);
}

.why-card-num {
  width: 48px !important;
  height: 48px !important;
  border-radius: var(--radius-md) !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.5rem !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

[data-theme="dark"] .why-card-num {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 182, 212, 0.18)) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2) !important;
}

[data-theme="light"] .why-card-num {
  background: #ecfdf5 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  color: #059669 !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15) !important;
}

.why-card:hover .why-card-num {
  transform: scale(1.08) !important;
}

/* --- 2. Financial Flow Checkpoints (.flow-card) --- */
.flow-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-lg) !important;
  padding: 1.5rem 1.25rem !important;
  text-align: center !important;
  transition: all var(--transition-normal) !important;
}

.flow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  border-radius: 9999px;
  transition: all var(--transition-normal);
}

.flow-card:hover {
  transform: translateY(-4px) !important;
}

.flow-card:hover::before {
  left: 10%;
  right: 10%;
}

.flow-card.in::before {
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent) !important;
}
.flow-card.out::before {
  background: linear-gradient(90deg, transparent, #f59e0b, transparent) !important;
}
.flow-card.available::before {
  background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent) !important;
  height: 3px !important;
  left: 10% !important;
  right: 10% !important;
}

.flow-card.available {
  position: relative !important;
  border-width: 1.5px !important;
  box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.25), 0 0 20px rgba(16, 185, 129, 0.2) !important;
  transform: translateY(-2px);
}

/* --- 3. Shift Control Workflow Cards & Final Banner --- */
.shift-connector-pill {
  position: relative !important;
  padding: 0.65rem 1.45rem !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25) !important;
  animation: floatCard 4s ease-in-out infinite alternate !important;
}

.shift-stage-badge {
  border-radius: 9999px !important;
  padding: 0.45rem 1.15rem !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1) !important;
}

/* Luxury Banners (Shift, Accounts, Backup, Purchase) */
.shift-final-banner,
.accounts-final-statement,
.backup-trust-banner,
.pur-final-statement {
  max-width: 860px !important;
  margin: 3.5rem auto 0 !important;
  padding: 2rem 2.5rem !important;
  border-radius: var(--radius-xl) !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal) !important;
}

[data-theme="dark"] .shift-final-banner,
[data-theme="dark"] .accounts-final-statement,
[data-theme="dark"] .backup-trust-banner,
[data-theme="dark"] .pur-final-statement {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.98)) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #f8fafc !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] .shift-final-banner,
[data-theme="light"] .accounts-final-statement,
[data-theme="light"] .backup-trust-banner,
[data-theme="light"] .pur-final-statement {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  color: #0f172a !important;
  box-shadow: 0 15px 35px -8px rgba(16, 185, 129, 0.14), 0 6px 15px -4px rgba(15, 23, 42, 0.04) !important;
}

.shift-final-banner::before,
.accounts-final-statement::before,
.backup-trust-banner::before,
.pur-final-statement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent);
  border-radius: 9999px;
}

.shift-final-banner:hover,
.accounts-final-statement:hover,
.backup-trust-banner:hover,
.pur-final-statement:hover {
  transform: translateY(-3px) !important;
  border-color: var(--accent-emerald) !important;
}

/* --- 4. Account Story Cards (.account-story-side) --- */
.account-story-side {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  padding: 2.25rem 2rem !important;
  transition: all var(--transition-normal) !important;
}

[data-theme="dark"] .account-story-side {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.98)) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.12) !important;
}

[data-theme="light"] .account-story-side {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 15px 35px -8px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.account-story-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent);
  border-radius: 9999px;
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.account-story-side:hover {
  transform: translateY(-4px) !important;
  border-color: var(--accent-emerald) !important;
}

.account-story-side:hover::before {
  left: 5%;
  right: 5%;
  opacity: 1;
}

.connector-badge-pill {
  position: relative !important;
  border-radius: 9999px !important;
  padding: 0.65rem 1.5rem !important;
  font-weight: 800 !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25) !important;
  animation: floatCard 4s ease-in-out infinite alternate !important;
}

/* --- 5. Stocktaking Callout Cards & Status Badges --- */
.stock-callout-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  padding: 2.25rem 2rem !important;
  transition: all var(--transition-normal) !important;
}

[data-theme="dark"] .stock-callout-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.98)) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.1) !important;
}

[data-theme="light"] .stock-callout-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.stock-callout-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent);
  border-radius: 9999px;
  opacity: 0.7;
}

.stock-callout-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--accent-emerald) !important;
}

.stock-callout-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: var(--radius-md) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15)) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2) !important;
}

.stock-state-sequence {
  border-radius: 9999px !important;
  padding: 0.65rem 1.5rem !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.15) !important;
}

/* --- 6. Security Trust Cards & Flagship Gmail Card --- */
.sec-trust-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  padding: 2.25rem 1.75rem !important;
  transition: all var(--transition-normal) !important;
}

[data-theme="dark"] .sec-trust-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.98)) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.08) !important;
}

[data-theme="light"] .sec-trust-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.sec-trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
  border-radius: 9999px;
  opacity: 0.6;
}

.sec-trust-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--accent-emerald) !important;
}

.sec-trust-card:hover::before {
  left: 10%;
  right: 10%;
  opacity: 1;
}

.sec-trust-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15)) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2) !important;
}

/* Flagship Gmail Card */
.sec-gmail-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  padding: 2.75rem 2.5rem !important;
  transition: all var(--transition-normal) !important;
}

[data-theme="dark"] .sec-gmail-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.98)) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.15) !important;
}

[data-theme="light"] .sec-gmail-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 20px 45px -10px rgba(239, 68, 68, 0.12), 0 6px 16px rgba(15, 23, 42, 0.04) !important;
}

.sec-gmail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, #f59e0b, transparent);
  border-radius: 9999px;
}

.sec-gmail-card:hover {
  transform: translateY(-4px) !important;
  border-color: #ef4444 !important;
}

/* --- 7. Feature Matrix Cards (.matrix-card) --- */
.matrix-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-lg) !important;
  padding: 1.35rem 1.15rem !important;
  transition: all var(--transition-fast) !important;
}

[data-theme="dark"] .matrix-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(8, 13, 26, 0.96)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="light"] .matrix-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
  border-radius: 9999px;
  opacity: 0;
  transition: all var(--transition-fast);
}

.matrix-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--accent-emerald) !important;
}

[data-theme="dark"] .matrix-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2) !important;
}

[data-theme="light"] .matrix-card:hover {
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15), 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

.matrix-card:hover::before {
  opacity: 1;
  left: 10%;
  right: 10%;
}

.matrix-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--radius-md) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15)) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  transition: transform var(--transition-fast) !important;
}

.matrix-card:hover .matrix-icon-box {
  transform: scale(1.1) rotate(4deg) !important;
}

/* --- 8. CTA Conversion Box (.cta-conversion-box) styled in Section 11 --- */

/* --- 9. Universal Luxury Cards Responsive Refinements --- */
@media (max-width: 768px) {
  .why-card,
  .account-story-side,
  .stock-callout-card,
  .sec-trust-card,
  .sec-gmail-card,
  .cta-conversion-box,
  .pur-payment-block,
  .shift-final-banner,
  .accounts-final-statement,
  .backup-trust-banner,
  .pur-final-statement {
    padding: 1.5rem 1.25rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .cta-conversion-box {
    padding: 2.25rem 1.25rem !important;
  }

  .stock-state-sequence {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }

  .flow-card {
    padding: 1.75rem 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0.5rem 0.65rem !important;
  }
  .brand-logo {
    font-size: 1.05rem !important;
  }
  .brand-logo svg {
    width: 22px !important;
    height: 22px !important;
  }
  .nav-actions {
    gap: 0.25rem !important;
  }
  .theme-toggle-btn {
    width: 34px !important;
    height: 34px !important;
  }
  .lang-toggle-btn {
    height: 34px !important;
    padding: 0 0.45rem !important;
    font-size: 0.75rem !important;
  }
  .mobile-menu-btn {
    width: 34px !important;
    height: 34px !important;
  }
  .hero-section {
    padding: 2.25rem 0.75rem 3rem !important;
  }
  .hero-headline {
    font-size: 1.75rem !important;
  }
  .why-card,
  .flow-card,
  .account-story-side,
  .stock-callout-card,
  .sec-trust-card,
  .sec-gmail-card,
  .cta-conversion-box,
  .pur-payment-block,
  .shift-final-banner,
  .accounts-final-statement,
  .backup-trust-banner,
  .pur-final-statement {
    padding: 1.25rem 1rem !important;
  }

  .founder-trust-card {
    padding: 1.75rem 1rem !important;
  }

  .stock-state-sequence {
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    text-align: center;
  }
}

