/* Abjadi High Performance Consolidated Stylesheet */

/* === Figma Design Tokens === */
:root {
  /* Brand Palette - Exact Figma Abjadi Identity */
  --color-primary: #6b2c91;
  --color-primary-hover: #542072;
  --color-primary-light: #8339b0;
  --color-primary-subtle: #FAF5FF;
  --color-primary-tint: #F3E8FF;
  --color-primary-lavender: #E9D5FF;
  --color-primary-glow: rgba(107, 44, 145, 0.3);
  
  --color-accent: #8b3eb9;
  --color-accent-light: #e9d5ff;
  --color-accent-gold: #f59e0b;
  --color-success: #10b981;
  --color-info: #3b82f6;
  --color-warning: #f59e0b;

  /* Dark Theme / Footer / Deep Contrast */
  --color-dark-bg: #170727;
  --color-dark-surface: #1e0b33;
  --color-dark-card: #281044;
  --color-dark-border: rgba(255, 255, 255, 0.12);
  --color-dark-text: #F8FAFC;
  --color-dark-muted: #A1A1AA;

  /* Neutrals & Surfaces */
  --color-bg: #FFFFFF;
  --color-bg-alt: #FBF8FF;
  --color-surface: #FFFFFF;
  --color-surface-card: #FAF5FF;
  --color-surface-card-hover: #F3E8FF;
  
  /* Text (from Figma: #0f172a, #475569, #848484) */
  --color-text-title: #0F172A;
  --color-text-body: #475569;
  --color-text-muted: #848484;
  --color-text-light: #94A3B8;

  /* Borders & Dividers */
  --color-border: #EAE5F2;
  --color-border-light: #F4F0FA;
  --color-border-primary: #E9D5FF;

  /* Typography */
  --font-family-arabic: 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-family-sans: 'Tajawal', system-ui, sans-serif;
  --font-family-mono: monospace;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 12px rgba(107, 44, 145, 0.06);
  --shadow-md: 0 10px 30px rgba(107, 44, 145, 0.08);
  --shadow-lg: 0 20px 45px rgba(107, 44, 145, 0.12);
  --shadow-xl: 0 25px 60px rgba(23, 7, 39, 0.16);
  --shadow-primary: 0 10px 25px rgba(107, 44, 145, 0.28);
  --shadow-primary-lg: 0 16px 36px rgba(107, 44, 145, 0.38);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Transitions & Speed */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max-width: 1320px;
  --container-narrow: 1024px;
  --header-height: 80px;
  --header-height-scrolled: 72px;
}


/* === base.css === */
/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-arabic);
  background-color: var(--color-bg);
  color: var(--color-text-body);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

/* Links & Buttons defaults */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  outline: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--color-text-body);
  font-size: 1.05rem;
}

p.lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(60px, 8vw, 110px);
  position: relative;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-primary);
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Helper Flex & Grid Utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 36px; }

.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding-inline: 16px; }
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* === animations.css === */
/* Animations & Micro-interactions */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(107, 38, 217, 0.4);
  }
  50% {
    box-shadow: 0 0 24px 8px rgba(107, 38, 217, 0.2);
  }
}

@keyframes radarWave {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/*
 * Safe Reveal System:
 * Visible by default (no blank screens without JS).
 * When html.js-ready is present, elements animate in on scroll.
 */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-ready:not(.reduce-motion) .reveal:not(.active) {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(2px);
}

html.js-ready:not(.reduce-motion) .reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* Directional / scale variants (optional classes) */
html.js-ready:not(.reduce-motion) .reveal-left:not(.active) {
  transform: translateX(28px);
}
html.js-ready:not(.reduce-motion) .reveal-right:not(.active) {
  transform: translateX(-28px);
}
html.js-ready:not(.reduce-motion) .reveal-scale:not(.active) {
  transform: scale(0.96);
}
html.js-ready:not(.reduce-motion) .reveal-left.active,
html.js-ready:not(.reduce-motion) .reveal-right.active,
html.js-ready:not(.reduce-motion) .reveal-scale.active {
  transform: none;
}

/* Floating Elements */
.animate-float {
  animation: floatSoft 4.5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite;
}

/* Page enter — always ends visible */
html.js-ready:not(.reduce-motion) main {
  animation: pageEnter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Reduced Motion Preference */
@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;
  }

  .reveal,
  html.js-ready .reveal:not(.active),
  html.js-ready .reveal.active {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  html.js-ready main {
    animation: none !important;
  }
}

/* Softer ambient motion on phones (keep presence, lower cost) */
@media (max-width: 768px) {
  html.js-ready:not(.reduce-motion) .reveal:not(.active) {
    transform: translateY(16px);
    filter: none;
  }

  .figma-hero-orbit-1,
  .figma-hero-orbit-2,
  .figma-about-orbit-shape,
  .figma-adaptive-orbit {
    animation-duration: 28s !important;
    opacity: 0.45;
  }

  .figma-hero-glow-1,
  .figma-hero-glow-2,
  .figma-about-glow-orb {
    animation-duration: 16s !important;
    filter: blur(36px);
    opacity: 0.28;
  }

  .figma-cta-bg-shape {
    animation-duration: 18s !important;
  }

  .animate-float {
    animation-duration: 6s !important;
  }

  .animate-pulse-glow {
    animation: none !important;
  }

  .figma-organize-center-art img {
    animation: none !important;
  }
}


/* === components/navbar.css === */
/* Navbar & Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 229, 240, 0.6);
  z-index: 1000;
  transition: height var(--transition-normal),
              box-shadow var(--transition-normal),
              background-color var(--transition-normal);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(107, 38, 217, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--color-primary);
  user-select: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(107, 38, 217, 0.28);
  transition: transform var(--transition-bounce);
}

.brand-logo:hover .brand-icon {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  font-family: var(--font-family-arabic);
  letter-spacing: -0.5px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text-body);
  position: relative;
  padding: 8px 4px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-body);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-login:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: 1px solid var(--color-border-primary);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Mobile Navigation Drawer */
@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn-login {
    display: none;
  }
}


/* === components/buttons.css === */
/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary Button with rich Purple gradient */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8B5CF6 0%, var(--color-primary) 100%);
  box-shadow: var(--shadow-primary-lg);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Secondary / Outline Button */
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text-title);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--color-primary-subtle);
  border-color: var(--color-border-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* White Button (Used inside dark/purple banners) */
.btn-white {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: #FAF5FF;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: var(--color-primary-hover);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--color-text-body);
}

.btn-ghost:hover {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

/* Sizes */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}


/* === components/badges.css === */
/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  line-height: 1;
}

.badge-primary {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid var(--color-border-primary);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.badge-success {
  background-color: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.badge-gold {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: #92400E;
  border: 1px solid #FCD34D;
}

/* Pulsing Status Dot */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.4;
  animation: radarWave 2s infinite ease-out;
}


/* === components/cards.css === */
/* Cards Component */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-primary);
}

/* Feature Card (Lavender tinted) */
.card-feature {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-feature:hover {
  background-color: #ffffff;
  box-shadow: 0 16px 36px rgba(107, 38, 217, 0.09);
  border-color: var(--color-primary-light);
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-smooth);
}

.card:hover .card-icon-wrapper {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(107, 38, 217, 0.25);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-title);
}

.card-desc {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Pricing Card */
.card-pricing {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
}

.card-pricing.featured {
  border-color: var(--color-primary);
  box-shadow: 0 20px 45px rgba(107, 38, 217, 0.16);
  background: linear-gradient(180deg, #FAF8FF 0%, #FFFFFF 100%);
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .card-pricing.featured {
    transform: none;
  }
}

.card-pricing.featured::before {
  content: 'الأكثر اختياراً';
  position: absolute;
  top: 18px;
  left: 24px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(107, 38, 217, 0.3);
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-block: 20px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-title);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  font-family: var(--font-family-sans);
}

.price-period {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 28px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--color-text-body);
}

.pricing-features li svg {
  color: var(--color-success);
  flex-shrink: 0;
}

/* Stat Card */
.card-stat {
  text-align: center;
  padding: 32px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  font-family: var(--font-family-sans);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}


/* === components/mockups.css === */
/* Browser & App Dashboard Mockup (Pure CSS) */
.mockup-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.mockup-window:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(107, 38, 217, 0.18);
}

/* Window Header Bar (Traffic lights + Search bar) */
.mockup-header {
  background: #F8F9FA;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-address-bar {
  flex: 1;
  max-width: 480px;
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 4px 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: ltr;
}

.window-address-bar svg {
  color: var(--color-success);
}

/* Control Panel / Webmail Dashboard Body */
.mockup-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 480px;
  background: #FFFFFF;
}

@media (max-width: 768px) {
  .mockup-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mockup-sidebar {
    display: none;
  }
}

.mockup-sidebar {
  background: #FAF9FD;
  border-left: 1px solid var(--color-border-light);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mockup-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.user-info {
  line-height: 1.2;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-title);
}

.user-email {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  direction: ltr;
}

.mockup-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-menu-item:hover,
.mockup-menu-item.active {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

.menu-badge {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.mockup-storage {
  margin-top: auto;
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
}

.storage-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

.storage-bar {
  height: 6px;
  background: #E5E7EB;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.storage-fill {
  width: 38%;
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}

/* Dashboard Main Content Area */
.mockup-main {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 14px;
}

.mockup-search-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F3F4F6;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  width: 240px;
}

.mockup-email-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.email-row {
  display: grid;
  grid-template-columns: 28px 140px 1fr 70px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FAFAFC;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.email-row:hover {
  background: #F5F3FF;
  border-color: var(--color-border-primary);
  transform: translateX(-4px);
}

.email-row.unread {
  background: #ffffff;
  font-weight: 700;
  border-right: 3px solid var(--color-primary);
}

.email-sender {
  color: var(--color-text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-subject {
  color: var(--color-text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: left;
}

/* Security Network Shield Visualization (Screen 6) */
.security-network {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 380px;
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-hub {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  box-shadow: 0 0 45px rgba(107, 38, 217, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 5;
  position: relative;
}

.security-hub svg {
  width: 48px;
  height: 48px;
}

.security-node {
  position: absolute;
  background: #ffffff;
  border: 1.5px solid var(--color-border-primary);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-title);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  z-index: 4;
}

.security-node:hover {
  transform: scale(1.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.node-1 { top: 10%; right: 15%; }
.node-2 { top: 10%; left: 15%; }
.node-3 { bottom: 15%; right: 10%; }
.node-4 { bottom: 15%; left: 10%; }
.node-5 { bottom: 0%; left: 40%; }

.security-orbit {
  position: absolute;
  border: 1px dashed #DDD6FE;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-1 { width: 220px; height: 220px; }
.orbit-2 { width: 340px; height: 340px; }


/* === components/cta-banner.css === */
/* CTA Gradient Banner (Signature Purple Abjadi Banner) */
.cta-banner {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 50%, #4C1D95 100%);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 64px);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(91, 33, 182, 0.35);
  margin-top: 40px;
}

/* Subtle decorative ambient circles */
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-inline: auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  margin-bottom: 32px;
}

/* Domain Search / Instant Action Input Box */
.cta-action-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  max-width: 540px;
  margin-inline: auto;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.cta-action-box:focus-within {
  transform: scale(1.02);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.cta-action-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 1rem;
  color: var(--color-text-title);
  direction: rtl;
}

.cta-action-box input::placeholder {
  color: var(--color-text-light);
}

.cta-action-box .btn {
  padding: 12px 28px;
  flex-shrink: 0;
}

.cta-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .cta-action-box {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 12px;
    box-shadow: none;
  }
  .cta-action-box input {
    background: #ffffff;
    width: 100%;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .cta-action-box .btn {
    width: 100%;
  }
  .cta-meta {
    flex-direction: column;
    gap: 8px;
  }
}


/* === components/accordion.css === */
/* FAQ Accordion Component */
.faq-container {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--color-border-primary);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(107, 38, 217, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-text-title);
  text-align: right;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-trigger:hover,
.faq-item.active .faq-trigger {
  color: var(--color-primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #ffffff;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #FAF8FF;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
  padding-inline: 24px;
  padding-bottom: 0px;
  transition: padding-bottom 0.35s ease;
}

.faq-item.active .faq-inner {
  padding-bottom: 22px;
}

.faq-inner p {
  color: var(--color-text-body);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Category Filter Tabs */
.faq-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.faq-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  background: #ffffff;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.faq-tab-btn:hover {
  border-color: var(--color-border-primary);
  color: var(--color-primary);
}

.faq-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}


/* === components/modal.css === */
/* Modal Dialog Component */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 7, 36, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  padding: 36px 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F4F4F5;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E4E4E7;
  color: var(--color-text-title);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-title);
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Modal Form Controls */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-title);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: #FAF9FC;
}

.form-input:focus {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
}

/* Modal Tabs (Login / Register) */
.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F4F4F7;
  padding: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.modal-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-tab.active {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* === components/footer.css === */
/* Footer Component (Deep Obsidian Purple #110724) */
.site-footer {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding-top: clamp(60px, 8vw, 90px);
  padding-bottom: 36px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-dark-border);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(107, 38, 217, 0.18), transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .brand-logo {
  color: #ffffff;
}

.footer-desc {
  color: var(--color-dark-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--color-dark-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--color-dark-border);
  color: var(--color-dark-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}


/* === Page-specific Styles === */
/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Hero Ambient Background Glow */
.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.16) 0%, rgba(107, 38, 217, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

/* Trusted By / Clients Strip (Screen 1) */
.clients-section {
  padding-block: 40px;
  border-block: 1px solid var(--color-border-light);
  background: #FAF9FD;
  text-align: center;
}

.clients-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
  font-size: 1.1rem;
  font-weight: 700;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.client-logo-item:hover {
  filter: none;
  opacity: 1;
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Zig-Zag Feature Showcase (Screens 3, 7, 8) */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(60px, 8vw, 100px);
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row.reverse {
  direction: ltr;
}

.showcase-row.reverse .showcase-text {
  direction: rtl;
}

@media (max-width: 900px) {
  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: rtl;
  }
}

.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.3;
}

.showcase-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.showcase-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-text-body);
}

.showcase-features-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Interactive Pricing Switcher */
.pricing-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.switch-label {
  font-weight: 600;
  color: var(--color-text-title);
  cursor: pointer;
  user-select: none;
}

.switch-control {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #E2E8F0;
  transition: 0.3s;
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  right: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.switch-control input:checked + .slider-round {
  background-color: var(--color-primary);
}

.switch-control input:checked + .slider-round:before {
  transform: translateX(-26px);
}

/* Interactive Domain Search Results Widget */
.domain-results {
  margin-top: 16px;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-title);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.domain-results.show {
  display: flex;
}

/* Toast Notification (Pure JS) */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--color-dark-surface);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 0.3s ease;
  pointer-events: auto;
}

.toast-success {
  border-right: 4px solid var(--color-success);
}

.toast-info {
  border-right: 4px solid var(--color-primary-light);
}

/* About Page 3D Monument Letter Alef */
.alef-monument-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.alef-3d-letter {
  font-size: clamp(120px, 16vw, 240px);
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-family-arabic);
  background: linear-gradient(145deg, #A855F7 0%, #6B26D9 50%, #431407 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 20px 30px rgba(107, 38, 217, 0.3));
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform var(--transition-smooth);
}

.alef-monument-wrap:hover .alef-3d-letter {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* ========================================================
   FIGMA EXACT DESIGN SYSTEM & COMPONENTS (abjadi-client)
   ======================================================== */

/* --- Exact Figma Header & Navigation --- */
.figma-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(234, 229, 242, 0.8);
  height: 80px;
  display: flex;
  align-items: center;
}

.figma-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.figma-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.figma-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.figma-logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.figma-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.figma-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #848484;
  text-decoration: none;
  position: relative;
  padding: 8px 2px;
  transition: color 0.2s ease;
}

.figma-nav-link:hover {
  color: var(--color-primary);
}

.figma-nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

.figma-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 50%;
  transform: translateX(50%);
  width: 49px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg width='49' height='13' viewBox='0 0 49 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6.5H41' stroke='url(%23paint0_linear)' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M44.5 1.5C44.5 4.5 42 6.5 42 6.5C42 6.5 44.5 8.5 44.5 11.5C44.5 8.5 47 6.5 47 6.5C47 6.5 44.5 4.5 44.5 1.5Z' fill='%236B2C91'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear' x1='2' y1='6.5' x2='41' y2='6.5' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%236B2C91' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%236B2C91'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.figma-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.figma-link-login {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.figma-link-login:hover {
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.figma-btn-primary {
  background: var(--color-primary);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(107, 44, 145, 0.25);
}

.figma-btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 44, 145, 0.35);
}

.figma-btn-secondary {
  background: #ffffff;
  color: var(--color-primary) !important;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--color-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.figma-btn-secondary:hover {
  background: var(--color-primary-subtle);
  transform: translateY(-2px);
}

/* --- Hero Styles with Animated Figma Background Shapes (41:1888, 41:1889) --- */
.figma-hero {
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.figma-hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.figma-hero-orbit-1 {
  position: absolute;
  width: 635px;
  height: 536px;
  top: -60px;
  right: -80px;
  border-radius: 198px;
  border: 1.6px solid rgba(168, 85, 247, 0.12);
  box-shadow: 
    0 0 0 34px rgba(168, 85, 247, 0.035),
    0 0 0 70px rgba(107, 44, 145, 0.024);
  transform: rotate(32deg);
  animation: orbitFloat1 20s ease-in-out infinite alternate;
}

.figma-hero-orbit-2 {
  position: absolute;
  width: 610px;
  height: 590px;
  top: 180px;
  left: -100px;
  border-radius: 198px;
  border: 1.6px solid rgba(168, 85, 247, 0.12);
  box-shadow: 
    0 0 0 34px rgba(168, 85, 247, 0.035),
    0 0 0 70px rgba(107, 44, 145, 0.024);
  transform: rotate(-137.44deg);
  animation: orbitFloat2 24s ease-in-out infinite alternate;
}

.figma-hero-glow-1 {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(243, 232, 255, 0.08) 55%, transparent 75%);
  top: 15%;
  right: 10%;
  filter: blur(70px);
  opacity: 0.35;
  animation: glowBreathe1 14s ease-in-out infinite alternate;
}

.figma-hero-glow-2 {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.12) 0%, rgba(250, 245, 255, 0.06) 60%, transparent 75%);
  top: 40%;
  left: 5%;
  filter: blur(80px);
  opacity: 0.35;
  animation: glowBreathe2 16s ease-in-out infinite alternate;
}

.figma-hero-title {
  font-size: clamp(26px, 3.8vw, 56.68px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 auto 16px;
  max-width: 1280px;
  letter-spacing: 0;
}

@media (min-width: 1100px) {
  .figma-hero-title {
    white-space: nowrap;
    letter-spacing: -0.5px;
  }
}

.figma-hero-subtitle {
  font-size: clamp(15px, 1.85vw, 26px);
  font-weight: 500;
  color: #6d6d6d;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 36px;
}

@media (min-width: 1100px) {
  .figma-hero-subtitle {
    max-width: 1240px;
    white-space: nowrap;
  }
}

.figma-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.figma-hero-actions .figma-btn-primary,
.figma-hero-actions .figma-btn-secondary {
  padding: 12px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}

.figma-hero-preview {
  max-width: 1211px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(107, 44, 145, 0.08);
  border: 1px solid #EAE5F2;
  background: #ffffff;
}

.figma-hero-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Webmail Hero Preview Window --- */
.figma-preview-window {
  max-width: 1180px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #EAE5F2;
  box-shadow: 0 20px 60px rgba(107, 44, 145, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.figma-preview-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 75px rgba(107, 44, 145, 0.18);
}

.figma-window-bar {
  background: #F8F6FC;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #EAE5F2;
}

.figma-window-dots {
  display: flex;
  gap: 8px;
}

.figma-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.figma-dot.red { background: #FF5F56; }
.figma-dot.yellow { background: #FFBD2E; }
.figma-dot.green { background: #27C93F; }

.figma-window-title {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 8px;
}

.figma-window-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Numbered Feature Cards (01, 02, 03, 04) --- */
.figma-section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  color: #0F172A;
  text-align: center;
  margin: 0 auto 12px;
  line-height: 1.35;
  max-width: 100%;
}

.figma-section-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #475569;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Inner-page heroes (security / pricing / faq) */
.figma-hero.figma-hero-shapes-wrap {
  padding: 70px 0 60px;
}

.figma-hero.figma-hero-shapes-wrap .figma-hero-title,
.figma-hero.figma-hero-shapes-wrap .figma-hero-subtitle {
  white-space: normal;
}

.figma-hero.figma-hero-shapes-wrap .figma-hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #0f172a;
}

.figma-hero.figma-hero-shapes-wrap .figma-hero-subtitle {
  font-size: 18px;
  color: #475569;
  max-width: 790px;
  margin: 0 auto 32px;
}

.figma-security-explore {
  padding: 80px 0 90px;
  background: #FBF8FF;
  border-top: 1px solid #EAE5F2;
  border-bottom: 1px solid #EAE5F2;
  position: relative;
}

.figma-security-explore .figma-section-heading {
  margin-bottom: 48px;
}

.figma-security-explore .figma-section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  color: #0F172A;
}

.figma-security-explore .figma-section-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #475569;
  max-width: 640px;
  line-height: 1.65;
}

.figma-plans-section {
  padding: 88px 0 110px;
  background: #FBF8FF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #EAE5F2;
}

.figma-plans-section .figma-section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  color: #0F172A;
}

.figma-plans-section .figma-section-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #475569;
  line-height: 1.65;
}

.figma-section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.figma-section-heading .figma-section-subtitle {
  margin-bottom: 0;
}

.figma-section-heading--tight {
  margin-bottom: 0;
}

.figma-plans-section .figma-section-heading {
  margin-bottom: 56px;
}

.figma-plans-section .figma-section-subtitle {
  max-width: 600px;
}

.figma-features-header-text .figma-hero-cta {
  margin-bottom: 46px;
}

.figma-faq-hero-actions {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.figma-organize-section > .container {
  position: relative;
  z-index: 2;
}

/* Keep orbits clipped; padding-bottom leaves room for media shadow */
.figma-hero:has(.figma-faq-hero-media) {
  overflow: hidden;
  padding-bottom: 72px;
}

.figma-faq-hero-media {
  text-align: center;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E9D5FF;
  background: #ffffff;
  line-height: 0;
  box-shadow:
    0 28px 48px rgba(107, 44, 145, 0.16),
    0 10px 22px rgba(107, 44, 145, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.04);
}

.figma-faq-hero-media img {
  width: 100%;
  height: 546px;
  max-height: 546px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 0;
  box-shadow: none;
  border: none;
  display: block;
}

.figma-showcase-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid #EAE5F2;
}

/* --- Numbered Section Background Shapes (Figma 41:1923, 41:1924) --- */
.figma-section-numbered-wrap {
  position: relative;
  overflow: hidden;
  padding: 85px 0 75px;
  background: #ffffff;
  border-top: 1px solid #EAE5F2;
}

.figma-numbered-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.figma-numbered-ellipse-right {
  position: absolute;
  width: 389px;
  height: 395px;
  border-radius: 50%;
  background: rgba(107, 44, 145, 0.09);
  bottom: -204px;
  right: -136px;
}

.figma-numbered-ellipse-left {
  position: absolute;
  width: 389px;
  height: 395px;
  border-radius: 50%;
  background: rgba(107, 44, 145, 0.09);
  top: -138px;
  left: -176px;
}

.figma-grid-numbered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.figma-card-num {
  background: #ffffff;
  border: 1px solid #EAE5F2;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(107, 44, 145, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.figma-card-num:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-lavender);
  box-shadow: 0 12px 28px rgba(107, 44, 145, 0.08);
}

.figma-card-num-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.figma-card-big-number {
  font-size: 26px;
  font-weight: 800;
  color: #e9d5ff;
  line-height: 1;
}

.figma-card-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f3e8ff;
  color: #6b2c91;
  display: flex;
  align-items: center;
  justify-content: center;
}

.figma-card-num-title {
  font-size: 16px;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 8px;
}

.figma-card-num-desc {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
}

/* --- Target Audience Cards (الأفراد, المحترفون, الفرق والمؤسسات) --- */
.figma-grid-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1086px;
  margin: 0 auto;
}

.figma-card-audience {
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  border-radius: 18px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.figma-card-audience:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(107, 44, 145, 0.1);
}

.figma-audience-pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #6b2c91;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  border: 1px solid #e9d5ff;
}

.figma-audience-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.figma-audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.figma-audience-list li {
  font-size: 14px;
  font-weight: 400;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

.figma-audience-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b2c91;
  display: inline-block;
  flex-shrink: 0;
}

/* --- Section 3: Audience Section Background Shapes --- */
.figma-section-audience-wrap {
  position: relative;
  overflow: hidden;
  padding: 80px 0 95px;
  background: #f8fafc;
  border-top: 1px solid #EAE5F2;
}

.figma-audience-bg-shapes {
  display: none;
}

/* --- CTA Banner (Frame 78 - Exact Figma #552073 -> #6b2c91 -> #a855f7) --- */
.figma-cta-wrap {
  padding: 60px 0;
  position: relative;
  border-top: 1px solid #EAE5F2;
}

.figma-cta-box {
  max-width: 1320px;
  margin: 0 auto;
  background: linear-gradient(135deg, #552073 0%, #6b2c91 55%, #a855f7 100%);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(107, 44, 145, 0.25);
  color: #ffffff;
}

/* Stadium capsule shapes inside CTA (Figma 41:2025, 41:2026: exact 500x240 px, radius 173.2px, rotation 30deg) */
.figma-cta-bg-shape {
  position: absolute;
  width: 500px;
  height: 240px;
  border-radius: 173.2px;
  border: 1.6px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.035);
  pointer-events: none;
  z-index: 1;
}

.figma-cta-bg-shape.shape-1 {
  top: -34px;
  right: -8px;
  transform: rotate(30deg);
  animation: ctaFloat1 14s ease-in-out infinite alternate;
}

.figma-cta-bg-shape.shape-2 {
  top: 221px;
  left: -220px;
  transform: rotate(30deg);
  animation: ctaFloat2 16s ease-in-out infinite alternate;
}

@keyframes ctaFloat1 {
  0% { transform: rotate(30deg) translate(0, 0); }
  100% { transform: rotate(30deg) translate(6px, -8px); }
}

@keyframes ctaFloat2 {
  0% { transform: rotate(30deg) translate(0, 0); }
  100% { transform: rotate(30deg) translate(-6px, 8px); }
}

/* 3 Overlapping Square Icons (Group 5 in Figma) */
.figma-cta-group5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.figma-cta-icon-sq {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.figma-cta-icon-sq.side {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  z-index: 1;
}

.figma-cta-icon-sq.center {
  background: #ffffff;
  color: #6b2c91;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin: 0 -12px;
}

.figma-cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.figma-cta-sub {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  color: #eadcf4;
  margin-bottom: 36px;
}

.figma-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.figma-cta-btn-white {
  background: #ffffff;
  color: #6b2c91 !important;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.figma-cta-btn-white:hover {
  background: #f8f5ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.figma-cta-btn-outline {
  background: transparent;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  padding: 11px 32px;
  border-radius: 11px;
  border: 1.5px solid #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.figma-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* --- Dark Footer (Exact Figma #250a31) --- */
.figma-footer {
  background: #250a31;
  color: #ffffff;
  padding: 64px 0 32px;
  font-family: var(--font-family-arabic);
}

.figma-footer .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.figma-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.figma-footer-brand-title {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.figma-footer-logo-img {
  width: 142px;
  height: 54px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(168, 85, 247, 0.2));
}

.figma-footer-desc {
  font-size: 16px;
  color: #9ba5b5;
  line-height: 1.6;
  max-width: 300px;
}

.figma-footer-col-title {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 18px;
}

.figma-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.figma-footer-links a {
  font-size: 13px;
  color: #9ba5b5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.figma-footer-links a:hover {
  color: #ffffff;
}

.figma-footer-bottom {
  border-top: 1px solid #273145;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #7f899a;
}

.figma-footer-bottom-links {
  display: flex;
  gap: 24px;
}

.figma-footer-bottom-links a {
  color: #7f899a;
  text-decoration: none;
  font-size: 11px;
}
.figma-footer-bottom-links a:hover {
  color: #ffffff;
}

/* --- Mobile Drawer Navigation (Side Menu) --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 86vw);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: #ffffff;
  z-index: 2500;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  padding-bottom: 0;
  padding-right: calc(24px + env(safe-area-inset-right, 0px));
  padding-left: 24px;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #EAE5F2;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 26px;
  color: #64748B;
  cursor: pointer;
  line-height: 1;
}

.mobile-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-link {
  font-size: 18px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

.mobile-drawer-actions {
  flex-shrink: 0;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px) + 16px);
  border-top: 1px solid #EAE5F2;
  background: #ffffff;
}

/* --- About Page Hero: Frame 41 with Animated Background --- */
.figma-about-hero-section {
  position: relative;
  padding: 80px 0 70px;
  background: #ffffff;
  overflow: hidden;
}

.figma-about-bg-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Stadium capsule orbits matching Figma 41:4 and 41:5 */
.figma-about-orbit-shape {
  position: absolute;
  border-radius: 198px;
  border: 1.6px solid rgba(168, 85, 247, 0.12);
  box-shadow: 
    0 0 0 34px rgba(168, 85, 247, 0.035),
    0 0 0 70px rgba(107, 44, 145, 0.024);
}

.figma-about-orbit-shape.orbit-1 {
  width: 635px;
  height: 536px;
  top: -60px;
  left: -80px;
  transform: rotate(-32deg);
  animation: orbitFloat1 18s ease-in-out infinite alternate;
}

.figma-about-orbit-shape.orbit-2 {
  width: 610px;
  height: 590px;
  bottom: -80px;
  right: -80px;
  transform: rotate(25deg);
  animation: orbitFloat2 22s ease-in-out infinite alternate;
}

/* Ambient purple glow orbs that breathe and drift */
.figma-about-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}

.figma-about-glow-orb.glow-orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(233, 218, 242, 0.08) 50%, transparent 75%);
  top: 5%;
  right: 5%;
  animation: glowBreathe1 12s ease-in-out infinite alternate;
}

.figma-about-glow-orb.glow-orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.12) 0%, rgba(243, 232, 255, 0.06) 50%, transparent 75%);
  bottom: 2%;
  left: 5%;
  animation: glowBreathe2 15s ease-in-out infinite alternate;
}

@keyframes orbitFloat1 {
  0% {
    transform: rotate(-32deg) translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: rotate(-28deg) translateY(-18px) scale(1.03);
    opacity: 0.85;
  }
  100% {
    transform: rotate(-35deg) translateY(12px) scale(0.98);
    opacity: 0.6;
  }
}

@keyframes orbitFloat2 {
  0% {
    transform: rotate(28deg) translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: rotate(32deg) translateY(20px) scale(1.04);
    opacity: 0.9;
  }
  100% {
    transform: rotate(25deg) translateY(-14px) scale(0.97);
    opacity: 0.6;
  }
}

@keyframes glowBreathe1 {
  0% {
    transform: scale(0.9) translate(0, 0);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15) translate(-25px, 20px);
    opacity: 0.55;
  }
  100% {
    transform: scale(0.95) translate(15px, -15px);
    opacity: 0.4;
  }
}

@keyframes glowBreathe2 {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) translate(30px, -20px);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.9) translate(-15px, 25px);
    opacity: 0.35;
  }
}

.figma-about-hero-grid {
  display: grid;
  grid-template-columns: 328px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.figma-about-letter-card {
  width: 328px;
  height: 328px;
  border-radius: 40px;
  background: #ffffff;
  border: 1px solid rgba(234, 229, 242, 0.9);
  box-shadow: 0 20px 50px rgba(107, 44, 145, 0.06), 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.figma-about-letter-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 60px rgba(107, 44, 145, 0.12);
}

.figma-about-alif-img {
  height: 236px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.figma-about-letter-card:hover .figma-about-alif-img {
  transform: scale(1.04);
}

.figma-about-title-row {
  display: flex;
  align-items: flex-end;
  gap: 4px; /* Closely positioned next to 'من' matching Figma */
  margin-bottom: 24px;
}

.figma-about-title-text {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 4px; /* Baseline alignment */
}

.figma-about-title-logo {
  height: 66px; /* Bigger matching Figma 71px */
  width: auto;
  object-fit: contain;
  transform: translateY(6px); /* Shifted lower down matching reference */
}

.figma-about-desc {
  font-size: 24px;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: justify;
  text-justify: inter-word;
  max-width: 822px;
}

.figma-about-desc:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .figma-about-hero-section {
    padding: 48px 0 40px;
  }

  .figma-about-hero-section > .container {
    padding: 0 20px !important;
  }

  .figma-about-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 100%;
  }

  .figma-about-hero-grid > .reveal {
    max-width: 100% !important;
    width: 100%;
  }

  .figma-about-letter-card {
    width: min(240px, 72vw);
    height: min(240px, 72vw);
    border-radius: 28px;
    margin: 0 auto;
  }

  .figma-about-alif-img {
    height: min(160px, 48vw);
  }

  .figma-about-title-row {
    gap: 6px;
    margin-bottom: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .figma-about-title-text {
    font-size: 30px;
    margin-bottom: 2px;
  }

  .figma-about-title-logo {
    height: 42px;
    transform: translateY(3px);
  }

  .figma-about-desc {
    font-size: 15.5px;
    line-height: 1.75;
    text-align: right;
    text-justify: auto;
    margin-bottom: 16px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .figma-about-hero-section {
    padding: 36px 0 32px;
  }

  .figma-about-hero-grid {
    gap: 22px;
  }

  .figma-about-letter-card {
    width: min(200px, 64vw);
    height: min(200px, 64vw);
    border-radius: 24px;
  }

  .figma-about-alif-img {
    height: min(130px, 42vw);
  }

  .figma-about-title-text {
    font-size: 26px;
  }

  .figma-about-title-logo {
    height: 36px;
  }

  .figma-about-desc {
    font-size: 14.5px;
    line-height: 1.7;
  }
}

/* --- Section 2: Mind Map Section (Desktop - 3 in Figma 41:44) --- */
.figma-mindmap-section {
  padding: 85px 0 95px;
  background: #F8FAFC; /* Exact Figma solid color rgba(0.9725, 0.9803, 0.9882, 1) */
  position: relative;
  overflow: hidden;
  border-top: 1px solid #EAE5F2;
}

.figma-mindmap-wrap {
  position: relative;
  max-width: 1076px;
  min-height: 350px;
  margin: 0 auto;
}

.figma-mindmap-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.figma-mindmap-hub {
  position: absolute;
  top: 35px;
  left: 538px;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.figma-mindmap-hub-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(107, 44, 145, 0.15));
  transition: transform 0.3s ease;
}

.figma-mindmap-hub:hover .figma-mindmap-hub-logo {
  transform: scale(1.06);
}

.figma-mindmap-card {
  position: absolute;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  min-height: 82px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  text-align: right;
  box-shadow: 0 0 22px rgba(233, 218, 242, 1), 0 4px 14px rgba(107, 44, 145, 0.05);
  border: none;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.figma-mindmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.25);
}

.figma-mindmap-title {
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  margin: 0;
  line-height: 39.2px;
}

.figma-mindmap-desc {
  font-size: 14px;
  font-weight: 400;
  color: #475569;
  margin: 0;
  line-height: 23.1px;
}

/* 4 Cards Coordinates matching Figma Desktop - 3 (41:44) exactly */
/* Far Left visual (خصوصية و حماية) */
.node-top-left-visual {
  top: 140px;
  left: 0;
  width: 265px;
}

/* Inner Left visual (تنظيم أفضل) */
.node-inner-left-visual {
  top: 243px;
  left: 337px;
  width: 170px;
}

/* Inner Right visual (سهولة الاستخدام) */
.node-inner-right-visual {
  top: 243px;
  left: 555px;
  width: 183px;
}

/* Far Right visual (التكامل داخل مساحة واحدة) */
.node-top-right-visual {
  top: 140px;
  left: 813px;
  width: 263px;
}

.figma-mindmap-section .figma-section-title {
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.35;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet + phone: hub on top, cards in a readable grid (absolute Figma coords break below ~1076px) */
@media (max-width: 1140px) {
  .figma-mindmap-section {
    padding: 64px 0 72px;
  }

  .figma-mindmap-section .figma-section-title {
    margin-bottom: 32px !important;
  }

  .figma-mindmap-wrap {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 720px;
    padding-top: 0;
  }

  .figma-mindmap-svg {
    display: none;
  }

  .figma-mindmap-hub {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0 0 4px;
    background: #ffffff;
    padding: 14px 28px;
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(233, 218, 242, 0.9);
  }

  .figma-mindmap-hub-logo {
    height: 52px;
  }

  .figma-mindmap-card,
  .node-top-left-visual,
  .node-inner-left-visual,
  .node-inner-right-visual,
  .node-top-right-visual {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    min-height: 88px;
    padding: 14px 16px;
  }

  .figma-mindmap-title {
    font-size: 18px;
    line-height: 1.4;
  }

  .figma-mindmap-desc {
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (max-width: 560px) {
  .figma-mindmap-section {
    padding: 52px 0 60px;
  }

  .figma-mindmap-section .figma-section-title {
    margin-bottom: 24px !important;
  }

  .figma-mindmap-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 400px;
  }

  .figma-mindmap-hub {
    padding: 12px 22px;
    margin-bottom: 2px;
  }

  .figma-mindmap-hub-logo {
    height: 44px;
  }

  .figma-mindmap-card {
    min-height: 78px;
    padding: 12px 14px;
  }

  .figma-mindmap-title {
    font-size: 17px;
  }

  .figma-mindmap-desc {
    font-size: 12.5px;
  }
}

/* --- Section 3: Connected Workflow Row (Desktop - 4 in Figma 41:72) --- */
.figma-about-connect-section {
  padding: 85px 0 95px;
  background: #ffffff; /* Solid White background contrasting with #F8FAFC */
  position: relative;
  border-top: 1px solid #EAE5F2;
}

.figma-connect-title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 500;
  color: #0F172A;
  text-align: center;
  line-height: 1.35;
  max-width: 720px;
  margin: 0 auto 16px;
  white-space: normal;
}

.figma-connect-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  color: #475569;
  text-align: center;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 52px;
}

.figma-workflow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1246px;
  margin: 0 auto;
}

.figma-step-card {
  width: 244px;
  min-height: 207px;
  background: #ffffff;
  border: 0.8px solid #E5E7EB;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.figma-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 10px 26px rgba(107, 44, 145, 0.08);
}

.figma-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  direction: ltr;
}

.figma-step-badge {
  font-size: 26px;
  font-weight: 800;
  color: #E9D5FF;
  line-height: 1;
}

.figma-step-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #F3E8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B2C91;
}

.figma-step-card-title {
  font-size: 16px;
  font-weight: 400;
  color: #0F172A;
  margin-bottom: 3px;
  line-height: 26.4px;
  text-align: right;
}

.figma-step-card-desc {
  font-size: 13px;
  font-weight: 400;
  color: #475569;
  margin-bottom: 12px;
  line-height: 21.5px;
  text-align: right;
}

.figma-step-icon-box img,
.figma-chip img,
.figma-join-btn img {
  display: block;
}

.figma-join-btn img {
  filter: brightness(0) invert(1);
}

.figma-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  direction: ltr;
}

.figma-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
  background: #F8FAFC;
  color: #475569;
  font-size: 11px;
  font-weight: 400;
  line-height: 18px;
  padding: 7px;
  border-radius: 7px;
}

.figma-cal-preview {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  direction: ltr;
  padding: 10px;
  background: #FAF5FF;
  border-radius: 10px;
}

.figma-cal-meta {
  text-align: right;
  direction: rtl;
}

.figma-cal-meta div {
  font-size: 11px;
  font-weight: 400;
  color: #0F172A;
  line-height: 18px;
}

.figma-cal-num {
  font-size: 30px;
  font-weight: 700;
  color: #6B2C91;
  line-height: 1;
}

.figma-join-btn {
  width: 100%;
  height: 36px;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: ltr;
}

.figma-step-inner-box {
  margin-top: auto;
  padding: 8px 10px;
  background: #FAF5FF;
  border-radius: 10px;
}

/* 5 Connector Dots matching Figma Frame 65, 66, 67 (size 10x10, gap 4px) */
.figma-step-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.figma-step-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.figma-step-dots .dot.dot-active {
  background: #6B2C91;
}

.figma-step-dots .dot.dot-light {
  background: #E9D5FF;
}

@media (max-width: 1200px) {
  .figma-workflow-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .figma-step-dots {
    display: none;
  }
}

/* --- Section 4: Adaptive Workspace Cards (Desktop - 3 in Figma 41:192) --- */
.figma-about-adaptive-section {
  position: relative;
  overflow: hidden;
  padding: 85px 0 100px;
  background: #F8FAFC; /* Solid #F8FAFC matching Figma Desktop - 3 */
  border-top: 1px solid #EAE5F2;
}

/* Stadium capsule shapes in corners matching Figma 41:193 & 41:231 */
.figma-adaptive-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.figma-adaptive-stadium-top {
  position: absolute;
  width: 638px;
  height: 455px;
  top: -100px;
  right: -80px;
  border-radius: 198px;
  border: 1.6px solid rgba(168, 85, 247, 0.12);
  box-shadow: 
    0 0 0 34px rgba(168, 85, 247, 0.035), 
    0 0 0 70px rgba(107, 44, 145, 0.024);
  transform: rotate(20deg);
  animation: orbitFloat2 24s ease-in-out infinite alternate;
}

.figma-adaptive-stadium-bottom {
  position: absolute;
  width: 638px;
  height: 455px;
  bottom: -120px;
  left: -100px;
  border-radius: 198px;
  border: 1.6px solid rgba(168, 85, 247, 0.12);
  box-shadow: 
    0 0 0 34px rgba(168, 85, 247, 0.035), 
    0 0 0 70px rgba(107, 44, 145, 0.024);
  transform: rotate(-25deg);
  animation: orbitFloat1 20s ease-in-out infinite alternate;
}

.figma-grid-spheres {
  display: grid;
  grid-template-columns: repeat(3, 328px);
  justify-content: center;
  gap: 37px; /* Exact Figma gap between articles */
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.figma-sphere-card {
  width: 328px;
  height: 327px; /* Exact Figma dimensions 328x327 */
  background: #ffffff;
  border: 0.8px solid #E5E7EB;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.figma-sphere-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(107, 44, 145, 0.1);
  border-color: rgba(168, 85, 247, 0.35);
}

.figma-sphere-visual {
  width: 290px;
  height: 180px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.figma-sphere-visual.theme-purple {
  background: #FAF5FF; /* Exact Figma Frame 52 / Article 1 fill */
}

.figma-sphere-visual.theme-blue {
  background: #EEF6FF; /* Exact Figma Frame 52 / Article 2 fill */
}

.figma-sphere-visual.theme-gray {
  background: #F3F4F6; /* Exact Figma Frame 52 / Article 3 fill */
}

.figma-sphere-orbits-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.figma-sphere-circle {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(56, 25, 82, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.figma-sphere-card:hover .figma-sphere-circle {
  transform: scale(1.08);
}

.figma-sphere-letter {
  font-size: 26px;
  font-weight: 800;
  color: #6B2C91;
  line-height: 1;
}

.figma-sphere-card-title {
  font-size: 24px;
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.3;
}

.figma-sphere-card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
}

/* Preserving Card Shapes across tablet and mobile breakpoints */
@media (max-width: 1120px) {
  .figma-grid-spheres {
    grid-template-columns: repeat(auto-fit, 328px);
    gap: 28px;
    justify-content: center;
  }
}

@media (max-width: 740px) {
  .figma-grid-spheres {
    grid-template-columns: minmax(0, 328px);
    justify-content: center;
    gap: 24px;
  }
  
  .figma-sphere-card {
    width: 100%;
    max-width: 328px;
    height: auto;
    min-height: 320px;
    margin: 0 auto;
  }

  .figma-sphere-visual {
    width: 100%;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Pricing Grid & Cards (Figma baqa_1) --- */
.figma-grid-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 329px));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.figma-pricing-card {
  background: #FFFFFF;
  border: 1px solid #E9D5FF;
  border-radius: 24px;
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: right;
  box-shadow: 0 10px 32px rgba(107, 44, 145, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.figma-pricing-card:hover {
  transform: translateY(-4px);
  border-color: #D8B4FE;
  box-shadow: 0 16px 40px rgba(107, 44, 145, 0.12);
}

.figma-pricing-card.is-featured {
  border: 2px solid #6B2C91;
  box-shadow: 0 18px 48px rgba(107, 44, 145, 0.14);
  background: #FAF5FF;
  z-index: 1;
}

.figma-pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #6B2C91;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(107, 44, 145, 0.25);
}

.figma-pricing-card-title {
  font-size: 22px;
  font-weight: 500;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.3;
}

.figma-pricing-card-desc {
  font-size: 14.5px;
  font-weight: 400;
  color: #64748B;
  min-height: 44px;
  margin: 0 0 20px;
  line-height: 1.55;
}

.figma-pricing-price-box {
  background: #F3E8FF;
  border: none;
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
  margin-bottom: 20px;
}

.figma-pricing-card.is-featured .figma-pricing-price-box {
  background: #FFFFFF;
  border: 1px solid #E9D5FF;
}

.figma-pricing-price {
  font-size: 28px;
  font-weight: 700;
  color: #6B2C91;
  line-height: 1.2;
}

.figma-pricing-price-note {
  font-size: 12px;
  font-weight: 400;
  color: #64748B;
  margin-top: 6px;
}

.figma-pricing-card .figma-btn-primary,
.figma-pricing-card .figma-btn-secondary {
  width: 100%;
  margin-bottom: 24px;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  font-size: 15px;
}

.figma-pricing-card .figma-btn-secondary {
  background: #FFFFFF;
  border: 1.5px solid #6B2C91;
}

.figma-pricing-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.figma-pricing-list li {
  font-size: 14.5px;
  font-weight: 400;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.figma-pricing-list .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F3E8FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.figma-pricing-list .check-icon svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1100px) {
  .figma-grid-pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .figma-pricing-card {
    width: 329px;
    max-width: calc(50% - 12px);
    flex: 0 0 auto;
  }
}

@media (max-width: 700px) {
  .figma-pricing-card {
    width: 100%;
    max-width: 340px;
  }
}

/* --- Security & Privacy (Figma baqa_2 / 41:1439) --- */
.figma-security-features-wrap {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.figma-security-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.figma-security-row-single {
  grid-template-columns: minmax(0, 331px);
  justify-content: center;
}

.figma-security-card {
  background: #FFFFFF;
  border: 1px solid #E9D5FF;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: right;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 28px rgba(107, 44, 145, 0.06), 0 0 0 1px rgba(233, 213, 255, 0.35);
  min-height: 92px;
  box-sizing: border-box;
}

.figma-security-card:hover {
  transform: translateY(-3px);
  border-color: #D8B4FE;
  box-shadow: 0 14px 36px rgba(107, 44, 145, 0.10), 0 0 0 1px rgba(216, 180, 254, 0.5);
  background: #FAF5FF;
}

.figma-security-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F3E8FF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B2C91;
  flex-shrink: 0;
}

.figma-security-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #6B2C91;
}

.figma-security-card-content {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.figma-security-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  line-height: 1.35;
}

.figma-security-card-desc {
  font-size: 13.5px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

/* Organize Section / Constellation Stage (Figma Desktop - 7, 41:1532) */
.figma-organize-section {
  padding: 88px 0 120px;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #EAE5F2;
}

.figma-organize-section .figma-section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  color: #0F172A;
  line-height: 1.35;
  letter-spacing: 0;
}

.figma-organize-stage {
  max-width: 980px;
  width: 100%;
  margin: 56px auto 0;
  position: relative;
  min-height: 520px;
}

/* Central 3D Sphere & Shield Illustration */
.figma-organize-center-art {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 396px;
  max-width: 85%;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}

.figma-organize-center-art img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 45px rgba(107, 44, 145, 0.16));
  animation: floatSlow 6s ease-in-out infinite;
}

/* Individual Cards positioned in an arc around the center */
.figma-organize-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid #E9D5FF;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(107, 44, 145, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  z-index: 2;
  box-sizing: border-box;
  text-align: right;
}

.figma-organize-card:hover {
  transform: translateY(-4px);
  border-color: #D8B4FE;
  background: #FAF5FF;
  box-shadow: 0 14px 36px rgba(107, 44, 145, 0.10);
}

/* Card header: icon on the right, title wraps beside it */
.figma-organize-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.figma-organize-card-title {
  font-family: var(--font-family-arabic);
  font-size: 15px;
  font-weight: 500;
  color: #0F172A;
  margin: 0;
  line-height: 22px;
  flex: 1;
  min-width: 0;
}

.figma-organize-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F3E8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B2C91;
  flex-shrink: 0;
}

.figma-organize-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: #6B2C91;
}

.figma-organize-card-desc {
  font-size: 12.5px;
  font-weight: 400;
  color: #64748B;
  line-height: 20px;
  margin: 0 0 12px;
}

/* Badges with exact colors from Figma */
.figma-organize-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: auto;
  align-self: flex-start;
  line-height: 1.3;
}

.figma-organize-tag.tag-trusted {
  background: #F3E8FF;
  color: #6B2C91;
}

.figma-organize-tag.tag-personal {
  background: #EFF6FF;
  color: #3B82F6;
}

.figma-organize-tag.tag-protection {
  background: #FEF2F2;
  color: #EF4444;
}

.figma-organize-tag.tag-contacts {
  background: #FFF7ED;
  color: #C2410C;
}

.figma-organize-tag.tag-group {
  background: #F0FDF4;
  color: #15803D;
}

/* Specific Positions matching Figma Node 41:1532 exactly */
@media (min-width: 992px) {
  /* Top-Right: المرسلون الموثوقون */
  .figma-organize-card.node-trusted {
    top: 20px;
    right: 0;
    width: 228px;
  }
  
  /* Top-Left: العنوان الشخصي */
  .figma-organize-card.node-personal {
    top: 20px;
    left: 0;
    width: 210px;
  }
  
  /* Lower-Right: حماية الرسائل */
  .figma-organize-card.node-protection {
    top: 215px;
    right: 70px;
    width: 195px;
  }
  
  /* Lower-Left: دليل العناوين */
  .figma-organize-card.node-contacts {
    top: 215px;
    left: 70px;
    width: 195px;
  }
  
  /* Bottom-Center: المجموعات */
  .figma-organize-card.node-group {
    top: 320px;
    left: 50%;
    transform: translateX(-50%);
    width: 195px;
  }
  
  .figma-organize-card.node-group:hover {
    transform: translate(-50%, -4px);
  }
}

/* Tablet + phone: readable grid instead of scaled absolute constellation */
@media (max-width: 991px) {
  .figma-organize-section {
    padding: 64px 0 72px;
  }

  .figma-organize-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
    max-width: 720px;
  }

  .figma-organize-center-art {
    position: static;
    transform: none;
    width: 220px;
    max-width: 60%;
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0 0 8px;
  }

  .figma-organize-card,
  .figma-organize-card.node-trusted,
  .figma-organize-card.node-personal,
  .figma-organize-card.node-protection,
  .figma-organize-card.node-contacts,
  .figma-organize-card.node-group {
    position: static;
    transform: none !important;
    top: auto;
    left: auto;
    right: auto;
    width: 100% !important;
    max-width: none;
  }

  .figma-organize-card.node-group {
    grid-column: 1 / -1;
    max-width: 340px;
    justify-self: center;
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  .figma-organize-stage {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .figma-organize-card.node-group {
    max-width: none;
  }

  .figma-organize-center-art {
    width: 200px;
  }
}

@media (max-width: 680px) {
  .figma-security-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .figma-security-card {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  .figma-organize-grid {
    grid-template-columns: minmax(240px, 280px);
    justify-content: center;
    gap: 16px;
  }
  .figma-organize-card {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }
  .figma-organize-sphere-img {
    max-width: 280px;
  }
}

/* --- Features Hero & Interactive Cards (Figma Frame 36 / 41:283, 41:637, 41:937) --- */
.figma-features-hero {
  position: relative;
  padding: 60px 0 70px;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
}

.figma-features-hero > .container {
  position: relative;
  z-index: 2;
}

.figma-faq-section > .container {
  max-width: 1024px;
}

.figma-features-hero .figma-hero-title,
.figma-features-hero .figma-hero-subtitle {
  white-space: normal;
}

.figma-features-header-text {
  max-width: 900px;
  margin: 0 auto;
}

.figma-features-header-text .figma-hero-title {
  font-size: 46px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 1.25;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.figma-features-header-text .figma-hero-subtitle {
  font-size: 18px;
  color: #475569;
  line-height: 1.6;
  max-width: 790px;
  margin: 0 auto 32px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.figma-features-switch-hint {
  display: none;
}

.figma-grid-features-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 401px));
  gap: 24px;
  justify-content: center;
  max-width: 1260px;
  margin: 0 auto;
}

.figma-feature-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  padding: 24px;
  text-align: right;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
}

.figma-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(107, 44, 145, 0.08);
  border-color: #D8B4FE;
}

.figma-feature-card.active {
  border: 2px solid #6B2C91;
  box-shadow: 0 12px 32px rgba(107, 44, 145, 0.12);
}

.figma-card-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  direction: ltr;
  margin-bottom: 10px;
}

.figma-card-title {
  font-size: 24px;
  font-weight: 400;
  color: #0F172A;
  margin: 0;
  line-height: 38px;
}

.figma-card-icon-sq {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F3E8FF;
  color: #6B2C91;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.figma-card-icon-sq img,
.figma-mini-search-icon img,
.figma-mini-meetings-btn img {
  display: block;
  filter: brightness(0) invert(1);
}

.figma-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px 0;
  min-height: 45px;
}

/* MiniProduct Containers (Figma 41:981, 41:1027, 41:1073) */
.figma-mini-mockup {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  height: 235px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.figma-mini-mockup-header {
  height: 42px;
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  padding: 0 13px;
  font-weight: 700;
  font-size: 12px;
  color: #0F172A;
}

.figma-mini-search-icon {
  color: #64748B;
  display: flex;
  align-items: center;
}

/* Email Mini Mockup */
.figma-mini-email-item {
  padding: 9px 12px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
}

.figma-mini-email-item.active {
  background: #FAF5FF;
}

.figma-mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6B2C91;
  flex-shrink: 0;
}

.figma-mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.figma-mini-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 2px;
  overflow: hidden;
}

.figma-mini-subject {
  font-weight: 700;
  font-size: 12px;
  color: #0F172A;
  white-space: nowrap;
}

.figma-mini-subtext {
  font-size: 10px;
  color: #64748B;
  white-space: nowrap;
}

/* Meetings Mini Mockup */
.figma-mini-meetings-body {
  padding: 8px 10px 10px;
  display: flex;
  gap: 9px;
  flex: 1;
  align-items: center;
  direction: ltr;
}

.figma-mini-meetings-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.figma-mini-meetings-btn {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #293448;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.figma-mini-meetings-tiles {
  display: flex;
  gap: 8px;
  flex: 1;
}

.figma-mini-meetings-col-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.figma-mini-tile-sm {
  flex: 1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.figma-mini-tile-sm,
.figma-mini-tile-lg {
  border-radius: 9px;
  color: #ffffff;
}

.figma-mini-tile-lg {
  flex: 1;
  background: #362042;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.figma-mini-tile-sm .figma-mini-avatar,
.figma-mini-tile-lg .figma-mini-avatar {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.figma-mini-name {
  color: #ffffff;
  font-size: 10px;
  font-weight: 400;
  line-height: 16.5px;
}

/* Calendar Mini Mockup */
.figma-mini-calendar-days {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  padding: 6px 4px;
  text-align: center;
  align-items: center;
}

.figma-mini-cal-day-label {
  font-size: 9px;
  color: #64748B;
  margin-bottom: 2px;
}

.figma-mini-cal-day-num {
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
}

.figma-mini-cal-badge-active {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6B2C91;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 500;
  margin: 0 auto;
}

.figma-mini-cal-event {
  position: absolute;
  width: 69px;
  height: 40px;
  border-radius: 6px;
  padding: 6px;
  box-sizing: border-box;
  text-align: right;
}

.figma-mini-cal-event.ev-review {
  left: calc(100% - 77px);
  top: 8px;
  background: #F3E8FF;
  color: #6B2C91;
}

.figma-mini-cal-event.ev-plan {
  left: 47%;
  top: 59px;
  background: #E0F2FE;
  color: #0369A1;
}

.figma-mini-cal-event.ev-team {
  left: 18%;
  top: 113px;
  background: #FEF3C7;
  color: #92400E;
}

.figma-mini-calendar-body {
  position: relative;
  flex: 1;
  background: #F8FAFC;
  padding: 0;
}

.figma-mini-event-title {
  font-size: 8px;
  font-weight: 500;
  line-height: 15px;
}

.figma-mini-event-time {
  font-size: 8px;
  font-weight: 400;
  line-height: 13px;
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 1050px) {
  .figma-grid-features-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 20px;
  }
  .figma-features-header-text .figma-hero-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .figma-grid-features-cards {
    grid-template-columns: minmax(260px, 340px);
    gap: 16px;
  }
  .figma-features-header-text .figma-hero-title {
    font-size: 28px;
  }
  .figma-features-header-text .figma-hero-subtitle {
    font-size: 15px;
  }
}

/* --- Standardized Feature Showcase Rows (Figma Frames 41:282, 41:636, 41:936) --- */
.figma-showcase-section .container {
  max-width: 1320px;
}

.figma-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.figma-feature-img-box {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  border: none;
  background: #ffffff;
  width: 100%;
  line-height: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figma-feature-img-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(107, 44, 145, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.figma-feature-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.figma-feature-text-box {
  width: 100%;
  text-align: right;
}

.figma-feature-text-box h2 {
  font-size: 42px;
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 54.6px;
}

.figma-feature-text-box h2 .figma-accent-word {
  color: #6B2C91;
  font-weight: 700;
}

.figma-feature-text-box p {
  font-size: 18px;
  font-weight: 400;
  color: #475569;
  line-height: 28px;
  margin-bottom: 24px;
}

#pane-email .figma-feature-text-box p {
  font-weight: 500;
}

/* Feature Item with Icon */
.figma-feature-items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.figma-feature-items-list--compact {
  gap: 20px;
  margin-bottom: 28px;
}

.figma-feature-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
}

.figma-feature-item-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
  text-align: right;
}

/* Short calendar bullets stay closer to Figma card width */
#pane-calendar .figma-feature-items-list--compact .figma-feature-item-content {
  max-width: 260px;
}

.figma-feature-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #F3E8FF;
  color: #6B2C91;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.figma-feature-item-icon img,
.figma-feature-item-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.figma-feature-item:hover .figma-feature-item-icon {
  background: #E9D5FF;
  transform: scale(1.05);
}

.figma-feature-item-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px 0;
  line-height: 26.4px;
}

.figma-feature-item-content p {
  font-size: 14px;
  font-weight: 400;
  color: #64748B;
  line-height: 22px;
  margin: 0;
}

#pane-calendar .figma-feature-items-list--compact .figma-feature-item-content p {
  font-size: 12.8px;
  color: #94A3B8;
  line-height: 21.1px;
}

/* Feature Checklist (Email) */
.figma-feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.figma-feature-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 26.4px;
  color: #0F172A;
}

.figma-check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.figma-check-badge svg {
  display: block;
}

/* 2x2 Pills Grid (Calendar Import) */
.figma-feature-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 20px 28px;
  margin-top: 28px;
  justify-content: start;
}

.figma-pill-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.figma-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F3E8FF;
  color: #6B2C91;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.figma-pill-icon img,
.figma-pill-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.figma-pill-label {
  font-weight: 700;
  font-size: 16px;
  line-height: 26.4px;
  color: #0F172A;
  white-space: nowrap;
}

/* Calendar Outline Button (Frame 41:456) */
.figma-calendar-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 4px;
  border: none;
  border-radius: 8px;
  color: #6B2C91;
  font-weight: 700;
  font-size: 16px;
  line-height: 26.4px;
  text-decoration: none;
  background: transparent;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  margin-top: 4px;
}

.figma-calendar-outline-btn img,
.figma-calendar-outline-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.figma-calendar-outline-btn:hover {
  background: #FAF5FF;
  color: #5A247A;
}

/* Calendar showcase: media-weighted columns */
#pane-calendar .figma-feature-row {
  align-items: center;
  gap: 48px;
}

#pane-calendar .figma-feature-row:has(.figma-feature-img-box:first-child) {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

#pane-calendar .figma-feature-row:has(.figma-feature-text-box:first-child) {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

#pane-calendar .figma-feature-text-box {
  max-width: 480px;
}

#pane-calendar .figma-feature-img-box {
  max-width: 680px;
  width: 100%;
}

/* Meetings showcase (Figma 41:636): copy needs room — not squeezed */
#pane-meetings .figma-feature-row {
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1280px;
}

#pane-meetings .figma-feature-text-box {
  max-width: 580px;
  width: 100%;
}

#pane-meetings .figma-feature-text-box h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 54.6px;
  margin-bottom: 16px;
}

#pane-meetings .figma-feature-text-box > p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #475569;
  margin-bottom: 36px;
  max-width: 540px;
}

#pane-meetings .figma-feature-img-box {
  max-width: 640px;
  width: 100%;
}

#pane-meetings .figma-feature-items-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 540px;
  width: 100%;
}

#pane-meetings .figma-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

#pane-meetings .figma-feature-item-content {
  flex: 1 1 auto;
  max-width: none !important;
  width: auto;
  min-width: 0;
  text-align: right;
}

#pane-meetings .figma-feature-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F3E8FF;
  color: #6B2C91;
  flex-shrink: 0;
}

#pane-meetings .figma-feature-item-icon img,
#pane-meetings .figma-feature-item-icon svg {
  width: 22px;
  height: 22px;
}

#pane-meetings .figma-feature-item-content h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  margin: 0 0 8px;
  color: #0F172A;
}

#pane-meetings .figma-feature-item-content p {
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  color: #64748B;
  margin: 0;
  max-width: 460px;
}

@media (max-width: 992px) {
  .figma-feature-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
    text-align: right;
  }

  .figma-feature-text-box {
    order: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .figma-feature-text-box h2 {
    font-size: 28px !important;
    margin-bottom: 12px;
  }

  .figma-feature-text-box p {
    font-size: 16px !important;
    margin-bottom: 20px;
  }

  .figma-feature-img-box {
    order: 2 !important;
    max-width: 600px !important;
    width: 100% !important;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .figma-feature-pills-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .figma-pill-label {
    white-space: normal;
  }

  .figma-feature-text-box h2 {
    font-size: 24px !important;
  }

  .figma-feature-img-box {
    border-radius: 12px;
  }
}

/* --- Features Tabbed Bar --- */
.figma-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px auto 48px;
  max-width: 800px;
}

.figma-tab-btn {
  flex: 1;
  padding: 16px 20px;
  background: #FAF5FF;
  border: 1.5px solid #E9D5FF;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.figma-tab-btn:hover {
  background: #F3E8FF;
}

.figma-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(107, 44, 145, 0.25);
}

.figma-tab-pane {
  display: none;
}
.figma-tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* --- Modal Backdrop & Dialog (Global) --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3500 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-backdrop.open,
.modal-backdrop.active {
  display: flex !important;
  z-index: 3500 !important;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid #EAE5F2;
  animation: fadeInUp 0.3s ease;
  z-index: 3501 !important;
}

/* Modal Tab Switcher (ابدأ الآن / تسجيل الدخول) */
.modal-tabs {
  display: flex;
  background: #FAF5FF;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
  border: 1px solid #E9D5FF;
}

.modal-tab-btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-family-arabic);
  border: none;
  background: transparent;
  color: #64748B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.modal-tab-btn:hover {
  color: var(--color-primary);
}

.modal-tab-btn.active {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(107, 44, 145, 0.12);
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #94A3B8;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #0f172a;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 20px;
}

/* Mobile Toggle Hamburger (Global) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 99px;
  transition: all 0.3s ease;
}

/* --- Mobile & Tablet Responsiveness for Figma components --- */
@media (max-width: 1050px) {
  .figma-workflow-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 24px;
    justify-content: center;
  }
  .figma-workflow-card {
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .figma-grid-numbered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
  .figma-card-num {
    width: 260px;
    max-width: calc(50% - 9px);
    margin: 0;
    flex: 0 0 auto;
  }
  
  .figma-grid-audience {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .figma-card-audience {
    width: 330px;
    max-width: calc(50% - 12px);
    margin: 0;
    flex: 0 0 auto;
  }
  
  .figma-footer {
    padding: 48px 0 28px;
  }

  .figma-footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 20px;
    margin-bottom: 36px;
  }

  .figma-footer-grid > :first-child {
    grid-column: 1 / -1;
    margin-bottom: 6px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .figma-footer-desc {
    max-width: 520px;
  }
  
  .figma-tabs-bar {
    flex-direction: column;
  }
  
  .figma-nav-list {
    display: none;
  }

  .mobile-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .figma-header {
    height: 64px;
  }

  .figma-header .container {
    padding: 0 16px;
  }

  .figma-header-actions {
    gap: 10px !important;
  }

  /* Keep header clean: CTA lives in the drawer on phone */
  .figma-header-actions > .figma-btn-primary,
  .figma-link-login {
    display: none !important;
  }

  .figma-hero {
    padding: 28px 0 36px;
  }

  .figma-hero .container {
    padding: 0 16px !important;
  }

  .figma-hero-title {
    font-size: 26px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    max-width: 100%;
  }

  .figma-hero-subtitle {
    font-size: 15px !important;
    line-height: 1.75 !important;
    margin: 0 auto 22px !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .figma-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 28px !important;
    gap: 10px;
  }

  .figma-hero-actions .figma-btn-primary,
  .figma-hero-actions .figma-btn-secondary {
    width: 100%;
    padding: 13px 20px !important;
    font-size: 15px !important;
    text-align: center;
    justify-content: center;
  }

  .figma-hero-preview {
    border-radius: 12px;
    margin-inline: 0;
  }

  .figma-section-numbered-wrap,
  .figma-section-audience-wrap {
    padding: 48px 0 40px;
  }

  .figma-section-numbered-wrap .container,
  .figma-section-audience-wrap .container,
  .figma-cta-wrap .container {
    padding: 0 16px !important;
  }

  .figma-section-title {
    font-size: 24px !important;
    line-height: 1.45 !important;
    margin-bottom: 28px !important;
    max-width: 100% !important;
    padding-inline: 4px;
  }

  .figma-workflow-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-content: stretch;
    gap: 16px;
  }
  .figma-workflow-card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Force single-column cards on phone (override tablet flex rules) */
  .figma-grid-numbered,
  .figma-grid-audience {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-content: stretch;
    gap: 14px;
    max-width: 100% !important;
  }

  .figma-card-num,
  .figma-card-audience {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex: none !important;
  }

  .figma-card-num {
    padding: 20px 20px;
  }

  .figma-card-audience {
    padding: 24px 22px;
  }

  .figma-audience-title {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .figma-audience-list {
    font-size: 14.5px;
    line-height: 1.7;
    gap: 10px;
  }

  .figma-audience-list li {
    padding-inline-end: 2px;
  }

  .figma-cta-wrap {
    padding: 24px 0 40px;
  }

  .figma-cta-box {
    padding: 36px 18px;
    border-radius: 18px;
  }

  .figma-cta-bg-shape {
    width: 320px;
    height: 150px;
    border-radius: 100px;
  }

  .figma-cta-bg-shape.shape-1 {
    top: -20px;
    right: -40px;
  }

  .figma-cta-bg-shape.shape-2 {
    bottom: -30px;
    left: -100px;
    top: auto;
  }

  .figma-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .figma-cta-btn-white,
  .figma-cta-btn-outline {
    width: 100%;
  }

  .figma-footer {
    padding: 38px 0 22px;
  }

  .figma-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
    margin-bottom: 26px;
  }

  .figma-footer-grid > :first-child {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .figma-footer-brand-title {
    margin-bottom: 8px;
  }

  .figma-footer-logo-img {
    height: 38px;
    width: auto;
  }

  .figma-footer-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #9ba5b5;
    max-width: 100%;
  }

  .figma-footer-col-title {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
  }

  .figma-footer-links {
    gap: 8px;
  }

  .figma-footer-links a {
    font-size: 12.5px;
    color: #9ba5b5;
    display: inline-block;
    padding: 2px 0;
  }

  .figma-footer-links a[href^="mailto:"] {
    word-break: break-all;
    font-size: 12px;
  }

  .figma-footer-bottom {
    padding-top: 18px;
    flex-direction: column-reverse;
    gap: 10px;
    text-align: center;
    font-size: 11.5px;
  }

  .figma-footer-bottom-links {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .figma-hero-title {
    font-size: 24px !important;
  }

  .figma-hero-subtitle {
    font-size: 14.5px !important;
  }

  .figma-section-title {
    font-size: 22px !important;
  }

  .figma-cta-title {
    font-size: 22px !important;
    line-height: 1.4;
  }

  .figma-cta-sub {
    font-size: 14.5px !important;
  }

  .figma-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-drawer {
    width: min(86vw, 320px);
  }

  .modal-dialog {
    padding: 24px 18px !important;
    max-width: calc(100vw - 32px) !important;
    border-radius: 16px !important;
  }

  .figma-footer {
    padding: 30px 0 18px;
  }

  .figma-footer .container {
    padding: 0 16px;
  }

  .figma-footer-grid {
    gap: 18px 14px;
    margin-bottom: 20px;
  }

  .figma-footer-grid > :first-child {
    padding-bottom: 12px;
    margin-bottom: 2px;
  }

  .figma-footer-logo-img {
    height: 34px;
  }

  .figma-footer-desc {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .figma-footer-col-title {
    font-size: 13.5px;
    margin-bottom: 8px;
  }

  .figma-footer-links {
    gap: 7px;
  }

  .figma-footer-links a {
    font-size: 12px;
  }

  .figma-footer-bottom {
    padding-top: 14px;
    gap: 8px;
    font-size: 11px;
  }

  .figma-footer-bottom-links {
    gap: 16px;
  }
}

@media (max-width: 360px) {
  .figma-footer-grid {
    gap: 16px 10px;
  }

  .figma-footer-col-title {
    font-size: 13px;
  }

  .figma-footer-links a {
    font-size: 11.5px;
  }
}

/* --- FAQ Section & Accordion (Figma Desktop - 5 Frame 80, 41:1734) --- */
.figma-faq-section {
  padding: 85px 0 110px;
  background: #F8FAFC;
  border-top: 1px solid #EAE5F2;
  position: relative;
}

.figma-faq-section .figma-section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  color: #0F172A;
  text-align: center;
  margin-bottom: 12px;
}

.figma-faq-section .figma-section-subtitle {
  font-size: 17px;
  color: #475569;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}

.figma-faq-card-wrap {
  max-width: 1024px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #EAE5F2;
  border-radius: 16px;
  box-shadow:
    0 18px 48px rgba(107, 44, 145, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.figma-faq-item {
  border-bottom: 1px solid #E5E7EB;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.figma-faq-item:last-child {
  border-bottom: none;
}

.figma-faq-trigger {
  width: 100%;
  min-height: 70px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  border-bottom: none;
  border-radius: 0;
  cursor: pointer;
  text-align: right;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.figma-faq-trigger:hover {
  background-color: #FAF5FF;
}

.figma-faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  font-family: var(--font-family-arabic);
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.figma-faq-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6B2C91;
  position: relative;
}

.figma-faq-icon-box svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  overflow: visible;
  transition: transform 0.25s ease;
}

.figma-faq-icon-box::before,
.figma-faq-icon-box::after {
  content: none;
  display: none;
}

/* Open: + rotates 45° → × (not minus) */
.figma-faq-item.active .figma-faq-icon-box {
  background: transparent;
  border: none;
  color: #6B2C91;
}

.figma-faq-item.active .figma-faq-icon-box svg {
  transform: rotate(45deg);
}

.figma-faq-answer {
  padding: 0 28px 22px;
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  display: none;
  text-align: right;
}

.figma-faq-item.active .figma-faq-answer {
  display: block;
  animation: fadeIn 0.25s ease;
}

@media (max-width: 768px) {
  .figma-hero.figma-hero-shapes-wrap {
    padding: 28px 0 40px;
  }

  .figma-hero.figma-hero-shapes-wrap > .container {
    padding: 0 20px !important;
    max-width: 100%;
  }

  .figma-hero.figma-hero-shapes-wrap .figma-hero-title {
    font-size: 26px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    white-space: normal !important;
  }

  .figma-hero.figma-hero-shapes-wrap .figma-hero-subtitle {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 0 auto 20px !important;
    max-width: 100% !important;
  }

  .figma-faq-hero-actions {
    margin: 0 auto 24px !important;
    width: 100%;
    max-width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
  }

  .figma-faq-hero-actions .figma-btn-primary {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    margin-inline: auto;
    padding: 12px 28px;
    font-size: 15px;
  }

  .figma-hero:has(.figma-faq-hero-media) {
    padding-bottom: 48px;
  }

  .figma-faq-hero-media {
    max-width: 100%;
    border-radius: 14px;
  }

  .figma-faq-hero-media img {
    height: 240px;
    max-height: 240px;
  }

  .figma-faq-section {
    padding: 48px 0 64px;
  }

  .figma-faq-section > .container {
    padding: 0 20px !important;
  }

  .figma-faq-section .figma-section-title {
    font-size: 22px !important;
    line-height: 1.45;
    margin-bottom: 10px;
    padding-inline: 4px;
  }

  .figma-faq-section .figma-section-subtitle {
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 100%;
    padding-inline: 4px;
  }

  .figma-faq-card-wrap {
    margin-top: 0;
    border-radius: 14px;
    width: 100%;
  }

  .figma-faq-trigger {
    padding: 16px 16px;
    min-height: 56px;
    gap: 12px;
  }

  .figma-faq-question {
    font-size: 14.5px;
    line-height: 1.5;
  }

  .figma-faq-answer {
    padding: 0 16px 18px;
    font-size: 13.5px;
    line-height: 1.7;
  }
}

/* =========================================================
   Site-wide professional mobile scale (phones ≤ 768px)
   Smaller type, denser cards, less "zoomed" feel
   ========================================================= */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-size: 14px;
    line-height: 1.6;
  }

  .container,
  .container-narrow {
    padding-inline: 18px !important;
  }

  /* Header */
  .figma-header {
    height: 56px !important;
  }

  .figma-header .container {
    padding: 0 16px !important;
  }

  .figma-logo-wrap img {
    height: 26px !important;
  }

  .mobile-toggle {
    width: 24px;
    height: 18px;
  }

  /* Buttons — compact, not full-bleed bulky */
  .figma-btn-primary,
  .figma-btn-secondary {
    font-size: 14px !important;
    padding: 11px 18px !important;
    border-radius: 10px !important;
    min-height: 44px;
    box-shadow: 0 3px 10px rgba(107, 44, 145, 0.18);
  }

  .figma-btn-secondary {
    box-shadow: none;
  }

  /* Hero — all pages */
  .figma-hero,
  .figma-hero.figma-hero-shapes-wrap,
  .figma-features-hero,
  .figma-about-hero-section {
    padding: 20px 0 28px !important;
  }

  .figma-hero-title,
  .figma-hero.figma-hero-shapes-wrap .figma-hero-title,
  .figma-features-header-text .figma-hero-title,
  .figma-about-title-text {
    font-size: 22px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    letter-spacing: 0 !important;
  }

  .figma-hero-subtitle,
  .figma-hero.figma-hero-shapes-wrap .figma-hero-subtitle,
  .figma-features-header-text .figma-hero-subtitle {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    margin: 0 auto 18px !important;
    max-width: 32ch !important;
  }

  .figma-hero-actions {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto 20px !important;
  }

  .figma-hero-actions .figma-btn-primary,
  .figma-hero-actions .figma-btn-secondary {
    width: auto !important;
    flex: 1 1 calc(50% - 8px);
    max-width: 168px;
    min-width: 132px;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
  }

  .figma-hero-actions:has(> :only-child) .figma-btn-primary,
  .figma-hero-actions:has(> :only-child) .figma-btn-secondary,
  .figma-faq-hero-actions .figma-btn-primary {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 160px !important;
    max-width: 220px !important;
  }

  .figma-faq-hero-actions {
    flex-direction: row !important;
    justify-content: center !important;
  }

  .figma-hero-cta {
    text-align: center;
  }

  .figma-hero-preview {
    border-radius: 12px !important;
  }

  .figma-faq-hero-media {
    border-radius: 12px !important;
  }

  .figma-faq-hero-media img {
    height: 200px !important;
    max-height: 200px !important;
  }

  .figma-hero:has(.figma-faq-hero-media) {
    padding-bottom: 36px !important;
  }

  /* Section titles */
  .figma-section-title,
  .figma-faq-section .figma-section-title,
  .figma-plans-section .figma-section-title,
  .figma-security-explore .figma-section-title,
  .figma-mindmap-section .figma-section-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .figma-section-subtitle,
  .figma-faq-section .figma-section-subtitle,
  .figma-plans-section .figma-section-subtitle,
  .figma-security-explore .figma-section-subtitle {
    font-size: 13px !important;
    line-height: 1.65 !important;
    margin-bottom: 22px !important;
  }

  /* Index cards */
  .figma-section-numbered-wrap,
  .figma-section-audience-wrap {
    padding: 36px 0 32px !important;
  }

  .figma-card-num {
    padding: 14px 14px !important;
    border-radius: 12px !important;
  }

  .figma-card-icon-box {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }

  .figma-card-icon-box img {
    width: 16px !important;
    height: 16px !important;
  }

  .figma-card-big-number {
    font-size: 20px !important;
  }

  .figma-card-num-title {
    font-size: 14.5px !important;
    margin-bottom: 4px !important;
  }

  .figma-card-num-desc {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }

  .figma-card-audience {
    padding: 16px 16px !important;
    border-radius: 14px !important;
  }

  .figma-audience-pill {
    font-size: 12px !important;
    padding: 4px 10px !important;
  }

  .figma-audience-title {
    font-size: 15px !important;
    margin-bottom: 8px !important;
  }

  .figma-audience-list {
    font-size: 13px !important;
    gap: 7px !important;
  }

  .figma-grid-numbered,
  .figma-grid-audience {
    gap: 10px !important;
  }

  /* CTA */
  .figma-cta-wrap {
    padding: 16px 0 32px !important;
  }

  .figma-cta-box {
    padding: 28px 16px !important;
    border-radius: 14px !important;
  }

  .figma-cta-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  .figma-cta-sub {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  .figma-cta-icon-sq {
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
  }

  .figma-cta-icon-sq svg {
    width: 18px !important;
    height: 18px !important;
  }

  .figma-cta-btn-white,
  .figma-cta-btn-outline {
    font-size: 13.5px !important;
    padding: 11px 16px !important;
    min-height: 44px;
  }

  /* About */
  .figma-about-letter-card {
    width: min(168px, 48vw) !important;
    height: min(168px, 48vw) !important;
    border-radius: 20px !important;
  }

  .figma-about-alif-img {
    height: min(108px, 32vw) !important;
  }

  .figma-about-title-text {
    font-size: 24px !important;
  }

  .figma-about-title-logo {
    height: 34px !important;
  }

  .figma-about-desc {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    margin-bottom: 12px !important;
  }

  .figma-about-hero-grid {
    gap: 18px !important;
  }

  /* FAQ accordion — keep original mobile placement/spacing */
  .figma-faq-section {
    padding: 48px 0 64px !important;
  }

  .figma-faq-section > .container {
    padding: 0 20px !important;
    max-width: 1024px !important;
    margin-inline: auto !important;
  }

  .figma-faq-section .figma-section-title {
    font-size: 22px !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .figma-faq-section .figma-section-subtitle {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    margin: 0 auto 28px !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .figma-faq-card-wrap {
    border-radius: 14px !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .figma-faq-item {
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .figma-faq-trigger {
    padding: 16px 16px !important;
    min-height: 56px !important;
    gap: 12px !important;
  }

  .figma-faq-question {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }

  .figma-faq-answer {
    padding: 0 16px 18px !important;
    font-size: 13.5px !important;
    line-height: 1.7 !important;
  }

  .figma-faq-icon-box {
    width: 24px !important;
    height: 24px !important;
  }

  .figma-faq-icon-box svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Features */
  .figma-tabs-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 16px auto 24px !important;
    max-width: 100% !important;
    padding: 4px;
    background: #F3E8FF;
    border-radius: 14px;
  }

  .figma-tab-btn {
    padding: 10px 6px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    gap: 4px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0;
  }

  .figma-tab-btn.active {
    background: #6B2C91 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(107, 44, 145, 0.25) !important;
  }

  .figma-tab-btn svg,
  .figma-tab-btn img {
    width: 15px !important;
    height: 15px !important;
  }

  /* Features switcher: clear iOS-style segmented control */
  .figma-features-switch-hint {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #6B2C91;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
  }

  .figma-features-switch-hint::before,
  .figma-features-switch-hint::after {
    content: "";
    width: 18px;
    height: 1px;
    background: #D8B4FE;
  }

  .figma-grid-features-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 5px !important;
    background: #EDE4F7 !important;
    border-radius: 14px !important;
    border: 1px solid #D8B4FE !important;
    max-width: 100% !important;
    box-shadow: none;
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .figma-feature-card {
    padding: 10px 4px !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 48px !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important;
  }

  .figma-feature-card.reveal,
  .figma-feature-card.reveal:not(.active),
  .figma-feature-card.reveal.active,
  .figma-grid-features-cards.reveal,
  .figma-grid-features-cards.reveal:not(.active) {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .figma-feature-card:hover:not(.active) {
    transform: none !important;
    background: rgba(255, 255, 255, 0.55) !important;
    box-shadow: none !important;
    border-color: transparent !important;
  }

  /* Selected from first paint — solid purple so it's obvious */
  .figma-feature-card.active,
  .figma-feature-card.active:hover {
    background: #6B2C91 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(107, 44, 145, 0.3) !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .figma-feature-card .figma-card-top-row {
    flex-direction: column-reverse !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    margin-bottom: 0 !important;
    direction: rtl !important;
    width: 100%;
  }

  .figma-feature-card .figma-card-title {
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #475569 !important;
    white-space: normal;
  }

  .figma-feature-card.active .figma-card-title {
    color: #ffffff !important;
  }

  .figma-feature-card .figma-card-icon-sq {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    padding: 0 !important;
    flex-shrink: 0;
  }

  .figma-feature-card .figma-card-icon-sq img {
    width: 13px !important;
    height: 13px !important;
    filter: brightness(0) saturate(100%) invert(17%) sepia(45%) saturate(1800%) hue-rotate(258deg) brightness(0.95) !important;
    opacity: 1;
  }

  .figma-feature-card.active .figma-card-icon-sq {
    background: rgba(255, 255, 255, 0.22) !important;
  }

  .figma-feature-card.active .figma-card-icon-sq img {
    filter: brightness(0) invert(1) !important;
    opacity: 1;
  }

  .figma-feature-card .figma-card-desc,
  .figma-feature-card .figma-mini-mockup {
    display: none !important;
  }

  .figma-feature-row {
    gap: 22px !important;
  }

  .figma-feature-text-box h2 {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .figma-feature-text-box p {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 14px !important;
  }

  .figma-feature-img-box {
    border-radius: 12px !important;
    max-width: 100% !important;
  }

  .figma-feature-items-list,
  .figma-feature-items-list--compact {
    gap: 14px !important;
  }

  .figma-feature-item {
    gap: 10px !important;
  }

  .figma-showcase-section {
    padding: 36px 0 !important;
  }

  /* Features hero */
  .figma-features-hero {
    padding: 20px 0 28px !important;
  }

  .figma-hero-cta {
    margin-bottom: 16px !important;
  }

  .figma-hero-cta .figma-btn-primary {
    width: auto !important;
    display: inline-flex !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
  }

  .figma-card-icon-sq img,
  .figma-card-icon-sq svg {
    width: 15px !important;
    height: 15px !important;
  }

  /* Pricing */
  .figma-plans-section {
    padding: 36px 0 48px !important;
  }

  .figma-grid-pricing {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .figma-pricing-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .figma-pricing-card-title {
    font-size: 16px !important;
  }

  .figma-pricing-card-desc {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }

  .figma-pricing-price-box {
    padding: 12px 12px !important;
    border-radius: 12px !important;
    margin: 10px 0 12px !important;
  }

  .figma-pricing-price {
    font-size: 20px !important;
  }

  .figma-pricing-price-note {
    font-size: 11.5px !important;
  }

  .figma-pricing-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  .figma-pricing-list li {
    font-size: 12.5px !important;
    gap: 8px !important;
  }

  .figma-pricing-card .figma-btn-primary,
  .figma-pricing-card .figma-btn-secondary {
    min-height: 42px !important;
    font-size: 13.5px !important;
    margin-bottom: 14px !important;
  }

  /* Security */
  .figma-security-explore {
    padding: 36px 0 48px !important;
  }

  .figma-security-features-wrap {
    gap: 10px !important;
  }

  .figma-security-row,
  .figma-security-row-single {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .figma-security-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
    gap: 10px !important;
  }

  .figma-security-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    flex-shrink: 0;
  }

  .figma-security-card-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .figma-security-card-title {
    font-size: 14px !important;
    margin-bottom: 4px !important;
  }

  .figma-security-card-desc {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  /* Footer denser */
  .figma-footer {
    padding: 28px 0 18px !important;
  }

  .figma-footer-grid {
    gap: 16px 12px !important;
    margin-bottom: 18px !important;
  }

  .figma-footer-logo-img {
    height: 32px !important;
  }

  .figma-footer-desc {
    font-size: 12.5px !important;
  }

  .figma-footer-col-title {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  .figma-footer-links a {
    font-size: 12px !important;
  }

  .figma-footer-bottom {
    font-size: 11px !important;
    gap: 8px !important;
    padding-top: 14px !important;
  }

  /* Mindmap / about secondary */
  .figma-mindmap-section {
    padding: 36px 0 40px !important;
  }

  .figma-mindmap-wrap {
    border-radius: 14px;
  }
}

@media (max-width: 390px) {
  .figma-hero-title,
  .figma-hero.figma-hero-shapes-wrap .figma-hero-title,
  .figma-features-header-text .figma-hero-title {
    font-size: 20px !important;
  }

  .figma-section-title {
    font-size: 18px !important;
  }

  .container,
  .container-narrow {
    padding-inline: 16px !important;
  }

  .figma-hero-actions .figma-btn-primary,
  .figma-hero-actions .figma-btn-secondary {
    min-width: 0;
    max-width: none;
    flex: 1 1 calc(50% - 6px);
    padding: 10px 10px !important;
    font-size: 13px !important;
  }

  /* Compact feature preview lists on very small phones */
  .figma-mini-email-item:nth-child(n + 4),
  .figma-mini-mockup .figma-mini-email-item:last-child {
    display: none !important;
  }
}

/* =========================================================
   Section-by-section mobile card density
   Avoid tall one-card-per-row stacks where possible
   ========================================================= */
@media (max-width: 768px) {
  /* ---------- Index: numbered → compact horizontal rows ---------- */
  .figma-section-numbered-wrap {
    padding: 28px 0 24px !important;
  }

  .figma-section-numbered-wrap .figma-section-title {
    margin-bottom: 16px !important;
  }

  .figma-grid-numbered {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .figma-card-num {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 2px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    min-height: 0 !important;
  }

  .figma-card-num-header {
    grid-row: 1 / 3 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    margin-bottom: 0 !important;
  }

  .figma-card-num .figma-card-icon-box {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
  }

  .figma-card-num .figma-card-icon-box img {
    width: 14px !important;
    height: 14px !important;
  }

  .figma-card-num .figma-card-big-number {
    font-size: 13px !important;
    order: 1;
  }

  .figma-card-num .figma-card-num-title {
    grid-column: 2 !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
    align-self: end !important;
  }

  .figma-card-num .figma-card-num-desc {
    display: block !important;
    grid-column: 2 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    align-self: start !important;
    margin: 0 !important;
  }

  /* ---------- Index: audience → 3 equal stacked cards ---------- */
  .figma-section-audience-wrap {
    padding: 28px 0 32px !important;
  }

  .figma-section-audience-wrap > .container {
    padding: 0 16px !important;
  }

  .figma-section-audience-wrap .figma-section-title {
    margin-bottom: 16px !important;
  }

  .figma-grid-audience {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    overflow: visible !important;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }

  .figma-card-audience {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: #f3e8ff !important;
    border: 1px solid #e9d5ff !important;
    box-shadow: none !important;
  }

  .figma-card-audience::before {
    display: none !important;
  }

  .figma-audience-pill {
    width: fit-content !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
    background: #ffffff !important;
    color: #6b2c91 !important;
    border: 1px solid #e9d5ff !important;
    border-radius: 999px !important;
  }

  .figma-audience-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
    min-height: 0 !important;
    color: #0f172a !important;
  }

  .figma-audience-list {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 12px !important;
  }

  .figma-audience-list li {
    line-height: 1.4 !important;
    padding: 0 !important;
    gap: 8px !important;
    color: #475569 !important;
  }

  .figma-card-audience .figma-audience-list li::before {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #6b2c91 !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  .figma-card-audience .figma-audience-list li:nth-child(n + 3) {
    display: flex !important;
  }

  /* ---------- About: mindmap → hub + 2-col cards ---------- */
  .figma-mindmap-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    max-width: 100% !important;
  }

  .figma-mindmap-svg {
    display: none !important;
  }

  .figma-mindmap-hub {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    margin-bottom: 4px !important;
    padding: 10px 20px !important;
  }

  .figma-mindmap-hub-logo {
    height: 36px !important;
  }

  .figma-mindmap-card {
    position: static !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    width: 100% !important;
  }

  .figma-mindmap-title {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
  }

  .figma-mindmap-desc {
    font-size: 11px !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---------- About: workflow steps → 2×2 grid, all visible ---------- */
  .figma-about-connect-section > .container {
    padding: 0 16px !important;
  }

  .figma-workflow-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    overflow: visible !important;
    scroll-snap-type: none;
    padding-bottom: 0;
    justify-content: stretch !important;
  }

  .figma-workflow-row .figma-step-dots,
  .figma-workflow-row .figma-step-arrow,
  .figma-workflow-row .figma-arrow,
  .figma-workflow-row > svg {
    display: none !important;
  }

  .figma-step-card {
    flex: none !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 118px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  .figma-step-inner-box {
    display: none !important;
  }

  .figma-step-badge {
    font-size: 18px !important;
  }

  .figma-step-icon-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
  }

  .figma-step-card-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    min-height: 2.7em;
  }

  .figma-step-card-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
    margin-top: auto !important;
  }

  /* ---------- About: spheres → all visible, denser stack ---------- */
  .figma-about-adaptive-section > .container {
    padding: 0 16px !important;
  }

  .figma-grid-spheres {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    overflow: visible !important;
    scroll-snap-type: none;
    justify-content: stretch !important;
    padding-bottom: 0;
    max-width: 100% !important;
  }

  .figma-sphere-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px !important;
    display: grid !important;
    grid-template-columns: 88px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    align-items: center !important;
  }

  .figma-sphere-visual {
    width: 88px !important;
    height: 88px !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
    grid-row: 1 / 3 !important;
  }

  .figma-sphere-circle {
    width: 40px !important;
    height: 40px !important;
  }

  .figma-sphere-letter {
    font-size: 16px !important;
  }

  .figma-sphere-card-title {
    font-size: 14.5px !important;
    margin-bottom: 0 !important;
    grid-column: 2 !important;
    align-self: end !important;
  }

  .figma-sphere-card-desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
    grid-column: 2 !important;
    align-self: start !important;
    margin: 0 !important;
  }

  /* ---------- Pricing → all plans visible, denser stack ---------- */
  .figma-plans-section > .container {
    padding: 0 16px !important;
  }

  .figma-grid-pricing {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: visible !important;
    scroll-snap-type: none;
    justify-content: stretch !important;
    padding-bottom: 0;
  }

  .figma-pricing-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 14px !important;
  }

  .figma-pricing-list li:nth-child(n + 4) {
    display: flex !important;
  }

  .figma-pricing-price-box {
    padding: 10px !important;
    margin: 8px 0 10px !important;
  }

  .figma-pricing-price {
    font-size: 18px !important;
  }

  .figma-pricing-card-title {
    font-size: 16px !important;
  }

  .figma-pricing-card-desc {
    font-size: 12.5px !important;
  }

  .figma-pricing-list li {
    font-size: 12.5px !important;
  }

  /* ---------- Security → 2-col compact ---------- */
  .figma-security-features-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .figma-security-row,
  .figma-security-row-single {
    display: contents !important;
  }

  .figma-security-card {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 10px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }

  .figma-security-card-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .figma-security-card-title {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  .figma-security-card-desc {
    font-size: 11px !important;
    line-height: 1.45 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Last lone security card → centered */
  .figma-security-row-single .figma-security-card {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc(50% - 4px) !important;
    max-width: 180px !important;
  }

  /* ---------- Organize → keep 2-col on phones ---------- */
  .figma-organize-stage {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    max-width: 100% !important;
  }

  .figma-organize-center-art {
    width: 140px !important;
    max-width: 46% !important;
    margin-bottom: 4px !important;
  }

  .figma-organize-card {
    padding: 10px 10px !important;
    max-width: none !important;
    width: 100% !important;
    grid-column: auto !important;
    justify-self: stretch !important;
  }

  /* Last lone organize card → centered */
  .figma-organize-card.node-group {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc(50% - 4px) !important;
    max-width: 180px !important;
  }

  .figma-organize-card-header {
    margin-bottom: 6px !important;
    gap: 8px !important;
  }

  .figma-organize-card-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
  }

  .figma-organize-card-title {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
  }

  .figma-organize-card-desc {
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .figma-organize-tag {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

}

/* =========================================================
   Index mobile polish — visual effects only
   Scoped to home (numbered + audience sections). No content cuts.
   ========================================================= */
@media (max-width: 768px) {
  body:has(main > .figma-section-numbered-wrap):has(.figma-section-audience-wrap) {
    --index-ink: #0f172a;
    --index-muted: #64748b;
    --index-brand: #6b2c91;
    --index-soft: #f3e8ff;
    --index-line: #e9d5ff;
  }

  /* ---------- Hero ---------- */
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero {
    padding: 28px 0 36px !important;
    background:
      radial-gradient(120% 80% at 80% 0%, rgba(168, 85, 247, 0.12) 0%, transparent 55%),
      radial-gradient(100% 70% at 10% 40%, rgba(243, 232, 255, 0.55) 0%, transparent 50%),
      linear-gradient(180deg, #faf7ff 0%, #ffffff 55%, #ffffff 100%) !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-glow-1,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-glow-2 {
    opacity: 0.45 !important;
    filter: blur(40px) !important;
    animation: indexGlowSoft 10s ease-in-out infinite alternate !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-orbit-1 {
    opacity: 0.55;
    animation: indexOrbitSoft1 18s ease-in-out infinite alternate !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-orbit-2 {
    opacity: 0.55;
    animation: indexOrbitSoft2 20s ease-in-out infinite alternate !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-title {
    font-size: 24px !important;
    line-height: 1.45 !important;
    max-width: 18em;
    margin-inline: auto !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-subtitle {
    max-width: 34em !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: #5b6472 !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-actions {
    gap: 10px !important;
    margin-bottom: 24px !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-actions .figma-btn-primary,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-actions .figma-btn-secondary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-actions .figma-btn-primary:active,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-actions .figma-btn-secondary:active {
    transform: scale(0.97);
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-preview {
    border-radius: 16px !important;
    border: 1px solid rgba(233, 213, 255, 0.9) !important;
    box-shadow:
      0 18px 40px rgba(107, 44, 145, 0.14),
      0 4px 12px rgba(15, 23, 42, 0.04) !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-preview.reveal.active img {
    animation: none !important;
  }

  /* ---------- Numbered steps ---------- */
  body:has(main > .figma-section-numbered-wrap) .figma-section-numbered-wrap {
    padding: 32px 0 28px !important;
    background:
      linear-gradient(180deg, #ffffff 0%, #faf7ff 40%, #ffffff 100%);
  }

  body:has(main > .figma-section-numbered-wrap) .figma-section-numbered-wrap .figma-section-title {
    font-size: 21px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
    max-width: 16em;
    margin-inline: auto;
  }

  body:has(main > .figma-section-numbered-wrap) .figma-grid-numbered {
    gap: 10px !important;
    position: relative;
  }

  body:has(main > .figma-section-numbered-wrap) .figma-grid-numbered::before {
    content: "";
    position: absolute;
    inset-inline-start: 27px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(180deg, #e9d5ff 0%, rgba(233, 213, 255, 0.2) 100%);
    border-radius: 2px;
    pointer-events: none;
    z-index: 0;
  }

  body:has(main > .figma-section-numbered-wrap) .figma-card-num {
    position: relative;
    z-index: 1;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(233, 213, 255, 0.95) !important;
    box-shadow: 0 6px 18px rgba(107, 44, 145, 0.06) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  }

  body:has(main > .figma-section-numbered-wrap) .figma-card-num:active {
    transform: scale(0.985);
    box-shadow: 0 4px 12px rgba(107, 44, 145, 0.08) !important;
  }

  body:has(main > .figma-section-numbered-wrap) .figma-card-num .figma-card-icon-box {
    background: linear-gradient(145deg, #faf5ff, #f3e8ff) !important;
    box-shadow: inset 0 0 0 1px rgba(233, 213, 255, 0.8);
  }

  body:has(main > .figma-section-numbered-wrap) .figma-card-num .figma-card-big-number {
    color: #c4a3e0 !important;
    font-weight: 800 !important;
  }

  body:has(main > .figma-section-numbered-wrap) .figma-card-num .figma-card-num-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  body:has(main > .figma-section-numbered-wrap) .figma-card-num .figma-card-num-desc {
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #64748b !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }

  /* ---------- Audience ---------- */
  body:has(.figma-section-audience-wrap) .figma-section-audience-wrap {
    padding: 28px 0 36px !important;
    background:
      radial-gradient(90% 60% at 50% 0%, rgba(243, 232, 255, 0.65) 0%, transparent 60%),
      #f8fafc;
  }

  body:has(.figma-section-audience-wrap) .figma-section-audience-wrap .figma-section-title {
    font-size: 21px !important;
    margin-bottom: 18px !important;
  }

  body:has(.figma-section-audience-wrap) .figma-grid-audience {
    gap: 12px !important;
  }

  body:has(.figma-section-audience-wrap) .figma-card-audience {
    position: relative;
    padding: 16px 16px 14px !important;
    border-radius: 18px !important;
    background:
      linear-gradient(160deg, #faf5ff 0%, #f3e8ff 100%) !important;
    border: 1px solid #e9d5ff !important;
    box-shadow: 0 8px 22px rgba(107, 44, 145, 0.07) !important;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  body:has(.figma-section-audience-wrap) .figma-card-audience::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #a855f7, #6b2c91);
    opacity: 0.55;
  }

  body:has(.figma-section-audience-wrap) .figma-card-audience:active {
    transform: translateY(1px) scale(0.99);
  }

  body:has(.figma-section-audience-wrap) .figma-audience-pill {
    font-size: 10px !important;
    padding: 3px 11px !important;
    margin-bottom: 8px !important;
    box-shadow: 0 2px 8px rgba(107, 44, 145, 0.08);
  }

  body:has(.figma-section-audience-wrap) .figma-audience-title {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }

  body:has(.figma-section-audience-wrap) .figma-audience-list {
    gap: 8px !important;
    font-size: 12.5px !important;
  }

  body:has(.figma-section-audience-wrap) .figma-audience-list li {
    display: flex !important;
    align-items: flex-start !important;
    line-height: 1.5 !important;
  }

  html.js-ready body:has(.figma-section-audience-wrap) .figma-card-audience.reveal:not(.active) .figma-audience-list li {
    opacity: 0;
    transform: translateX(10px);
  }

  html.js-ready body:has(.figma-section-audience-wrap) .figma-card-audience.reveal.active .figma-audience-list li {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  html.js-ready body:has(.figma-section-audience-wrap) .figma-card-audience.reveal.active .figma-audience-list li:nth-child(1) {
    transition-delay: 0.08s;
  }
  html.js-ready body:has(.figma-section-audience-wrap) .figma-card-audience.reveal.active .figma-audience-list li:nth-child(2) {
    transition-delay: 0.16s;
  }
  html.js-ready body:has(.figma-section-audience-wrap) .figma-card-audience.reveal.active .figma-audience-list li:nth-child(3) {
    transition-delay: 0.24s;
  }

  /* ---------- CTA ---------- */
  body:has(.figma-cta-wrap) .figma-cta-wrap {
    padding: 12px 0 40px !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-box {
    padding: 32px 18px !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 40px rgba(85, 32, 115, 0.28) !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      transparent 30%,
      rgba(255, 255, 255, 0.12) 48%,
      transparent 66%
    );
    background-size: 200% 100%;
    animation: indexCtaShine 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
  }

  body:has(.figma-cta-wrap) .figma-cta-bg-shape {
    animation: indexCtaFloat 12s ease-in-out infinite alternate !important;
    opacity: 0.7;
  }

  body:has(.figma-cta-wrap) .figma-cta-group5 {
    margin-bottom: 18px !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-icon-sq {
    transition: transform 0.3s ease !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-icon-sq.center {
    animation: indexIconBob 3.2s ease-in-out infinite !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-sub {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 22px !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-btn-white,
  body:has(.figma-cta-wrap) .figma-cta-btn-outline {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  }

  body:has(.figma-cta-wrap) .figma-cta-btn-white:active,
  body:has(.figma-cta-wrap) .figma-cta-btn-outline:active {
    transform: scale(0.97);
  }
}

@keyframes indexGlowSoft {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.55; transform: scale(1.08); }
}

@keyframes indexOrbitSoft1 {
  0% { transform: rotate(32deg) translate(0, 0); }
  100% { transform: rotate(34deg) translate(-8px, 10px); }
}

@keyframes indexOrbitSoft2 {
  0% { transform: rotate(-137.44deg) translate(0, 0); }
  100% { transform: rotate(-135deg) translate(8px, -8px); }
}

@keyframes indexPreviewFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes indexCtaShine {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

@keyframes indexCtaFloat {
  0% { transform: rotate(30deg) translate(0, 0); }
  100% { transform: rotate(30deg) translate(5px, -7px); }
}

@keyframes indexIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-glow-1,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-glow-2,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-orbit-1,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-orbit-2,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-preview,
  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-preview img,
  body:has(.figma-cta-wrap) .figma-cta-box::before,
  body:has(.figma-cta-wrap) .figma-cta-bg-shape,
  body:has(.figma-cta-wrap) .figma-cta-icon-sq.center {
    animation: none !important;
  }

  html.js-ready body:has(.figma-section-audience-wrap) .figma-card-audience.reveal:not(.active) .figma-audience-list li {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   Site-wide professional motion layer
   Preserves layout/look — motion & micro-interactions only
   ========================================================= */

/* Smooth anchors + selection */
html {
  scroll-behavior: smooth;
}

/* Buttons */
.figma-btn-primary,
.figma-btn-secondary,
.figma-cta-btn-white,
.figma-cta-btn-outline,
.figma-link-login,
.mobile-drawer-actions a {
  transition:
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .figma-btn-primary:hover,
  .figma-cta-btn-white:hover {
    transform: translateY(-2px);
  }

  .figma-btn-secondary:hover,
  .figma-cta-btn-outline:hover {
    transform: translateY(-1px);
  }

  .figma-card-num:hover,
  .figma-card-audience:hover,
  .figma-pricing-card:hover,
  .figma-security-card:hover,
  .figma-feature-card:hover,
  .figma-mindmap-card:hover,
  .figma-workflow-step:hover {
    transform: translateY(-3px);
  }
}

.figma-btn-primary:active,
.figma-btn-secondary:active,
.figma-cta-btn-white:active,
.figma-cta-btn-outline:active {
  transform: scale(0.97);
}

/* Cards — shared transition */
.figma-card-num,
.figma-card-audience,
.figma-pricing-card,
.figma-security-card,
.figma-feature-card,
.figma-mindmap-card,
.figma-workflow-step,
.figma-hero-preview,
.figma-faq-hero-media,
.figma-feature-img-box,
.figma-organize-stage,
.figma-cta-box {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease !important;
}

/* FAQ items stay flat inside the unified card */
.figma-faq-item,
.figma-faq-item:hover,
.figma-faq-item.reveal,
.figma-faq-item.reveal.active {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Nav links */
.figma-nav-link,
.mobile-drawer-link {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .figma-nav-link:hover {
    transform: translateY(-1px);
  }
}

/* Header scroll polish */
.figma-header {
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease,
    height 0.25s ease !important;
}

.figma-header.scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* FAQ open/close feel */
.figma-faq-trigger,
.faq-trigger {
  transition: background-color 0.25s ease, color 0.25s ease !important;
}

.figma-faq-answer,
.faq-answer {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.figma-faq-item.active .figma-faq-answer,
.faq-item.active .faq-answer {
  animation: faqAnswerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes faqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Feature switcher cards */
.figma-feature-card {
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease !important;
}

.figma-feature-card:active {
  transform: scale(0.98);
}

/* Feature panes — stay visible when shown (no vanishing flash) */
.feature-pane.is-visible {
  animation: none;
}

/* Checklist / list items stagger helper */
html.js-ready:not(.reduce-motion) .anim-stagger:not(.is-inview) > * {
  opacity: 0;
  transform: translateY(10px);
}

html.js-ready:not(.reduce-motion) .anim-stagger.is-inview > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-ready:not(.reduce-motion) .anim-stagger.is-inview > *:nth-child(1) { transition-delay: 0.04s; }
html.js-ready:not(.reduce-motion) .anim-stagger.is-inview > *:nth-child(2) { transition-delay: 0.1s; }
html.js-ready:not(.reduce-motion) .anim-stagger.is-inview > *:nth-child(3) { transition-delay: 0.16s; }
html.js-ready:not(.reduce-motion) .anim-stagger.is-inview > *:nth-child(4) { transition-delay: 0.22s; }
html.js-ready:not(.reduce-motion) .anim-stagger.is-inview > *:nth-child(5) { transition-delay: 0.28s; }
html.js-ready:not(.reduce-motion) .anim-stagger.is-inview > *:nth-child(6) { transition-delay: 0.34s; }

/* Images soft zoom on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .figma-hero-preview img,
  .figma-faq-hero-media img,
  .figma-feature-img-box img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .figma-hero-preview:hover img,
  .figma-faq-hero-media:hover img,
  .figma-feature-img-box:hover img {
    transform: scale(1.015);
  }
}

/* Drawer polish */
.mobile-drawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

.mobile-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Icon bob for CTA (all pages, gentle) */
@media (min-width: 769px) {
  .figma-cta-icon-sq.center {
    animation: indexIconBob 3.6s ease-in-out infinite;
  }
}

/* Tablet tuning */
@media (max-width: 992px) and (min-width: 769px) {
  html.js-ready:not(.reduce-motion) .reveal:not(.active) {
    transform: translateY(20px);
    filter: blur(1px);
  }
}

/* Touch press feedback */
@media (hover: none) {
  .figma-card-num:active,
  .figma-card-audience:active,
  .figma-pricing-card:active,
  .figma-security-card:active,
  .figma-feature-card:active {
    transform: scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .figma-feature-card:hover,
  .figma-card-num:hover,
  .figma-card-audience:hover,
  .figma-pricing-card:hover,
  .figma-security-card:hover,
  .figma-cta-icon-sq.center,
  .feature-pane[style*="display: block"],
  .feature-pane.is-visible {
    animation: none !important;
    transform: none !important;
  }

  html.js-ready .anim-stagger > *,
  html.js-ready .anim-stagger.is-inview > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   Index phone-only polish (desktop uses original Figma layout)
   ========================================================= */

/* ----- PHONE: clearer hero + steps + audience ----- */
@media (max-width: 768px) {
  /* ===== HERO — text tight, image dominant ===== */
  body.index-reflow > main > .figma-hero {
    padding: 20px 0 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
  }

  body.index-reflow > main > .figma-hero .figma-hero-bg-shapes {
    opacity: 0.35;
  }

  body.index-reflow > main > .figma-hero > .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.index-reflow .figma-hero-intro {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 22px !important;
    order: 1;
  }

  body.index-reflow .figma-hero-title {
    margin: 0 !important;
    max-width: 15em !important;
    text-align: center !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  body.index-reflow .figma-hero-subtitle {
    margin: 0 auto !important;
    max-width: 28em !important;
    text-align: center !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #64748b !important;
  }

  body.index-reflow .figma-hero-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 22px 16px !important;
    order: 2;
    box-sizing: border-box !important;
  }

  body.index-reflow .figma-hero-actions .figma-btn-primary,
  body.index-reflow .figma-hero-actions .figma-btn-secondary {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: center !important;
    padding: 11px 10px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
  }

  /* Image: contained, natural ratio — no crop / no edge bleed */
  body.index-reflow .figma-hero-preview {
    order: 3;
    width: auto !important;
    max-width: calc(100% - 40px) !important;
    margin: 4px 20px 24px !important;
    border-radius: 14px !important;
    transform: none !important;
    overflow: hidden !important;
    border: 1px solid #e9d5ff !important;
    box-shadow: 0 12px 28px rgba(107, 44, 145, 0.12) !important;
    background: #ffffff !important;
    align-self: center !important;
  }

  body.index-reflow .figma-hero-preview img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
  }

  body.index-reflow > main > .figma-hero {
    padding: 24px 0 8px !important;
  }

  /* ===== NUMBERED — clear step list ===== */
  body.index-reflow .figma-section-numbered-wrap {
    padding: 28px 0 24px !important;
    background: #f8fafc !important;
    border-top: none !important;
  }

  body.index-reflow .figma-section-numbered-wrap > .container {
    padding: 0 18px !important;
  }

  body.index-reflow .figma-section-numbered-wrap .figma-section-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
    margin: 0 auto 16px !important;
    text-align: center !important;
    max-width: 15em !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  body.index-reflow .figma-grid-numbered {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e8e0f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  }

  body.index-reflow .figma-grid-numbered::before {
    display: none !important;
  }

  body.index-reflow .figma-card-num {
    display: grid !important;
    grid-template-columns: 52px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 3px !important;
    align-items: start !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f1eaf8 !important;
    box-shadow: none !important;
    padding: 14px 14px !important;
    transform: none !important;
  }

  body.index-reflow .figma-card-num:last-child {
    border-bottom: none !important;
  }

  body.index-reflow .figma-card-num:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  body.index-reflow .figma-card-num-header {
    grid-column: 1;
    grid-row: 1 / 3;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    align-self: center !important;
  }

  body.index-reflow .figma-card-num .figma-card-icon-box {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    background: #f3e8ff !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.index-reflow .figma-card-num .figma-card-icon-box img {
    width: 16px !important;
    height: 16px !important;
  }

  body.index-reflow .figma-card-num .figma-card-big-number {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #6b2c91 !important;
    background: transparent !important;
    padding: 0 !important;
    letter-spacing: 0.02em;
  }

  body.index-reflow .figma-card-num-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    align-self: end !important;
    color: #0f172a !important;
  }

  body.index-reflow .figma-card-num-desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    color: #64748b !important;
  }

  /* ===== AUDIENCE — clear white panels ===== */
  body.index-reflow .figma-section-audience-wrap {
    padding: 28px 0 32px !important;
    background: #ffffff !important;
  }

  body.index-reflow .figma-section-audience-wrap > .container {
    padding: 0 18px !important;
  }

  body.index-reflow .figma-section-audience-wrap .figma-section-title {
    margin: 0 auto 16px !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    max-width: 13em !important;
    color: #0f172a !important;
  }

  body.index-reflow .figma-grid-audience {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  body.index-reflow .figma-card-audience,
  body.index-reflow .figma-card-audience:first-child,
  body.index-reflow .figma-card-audience:nth-child(2),
  body.index-reflow .figma-card-audience:nth-child(3),
  body.index-reflow .figma-card-audience:not(:first-child) {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    background: #ffffff !important;
    border: 1px solid #ebe4f4 !important;
    border-radius: 16px !important;
    border-inline-start: 4px solid #6b2c91 !important;
    border-bottom: 1px solid #ebe4f4 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04) !important;
    padding: 14px 14px 14px 16px !important;
    transform: none !important;
    min-height: 0 !important;
  }

  body.index-reflow .figma-card-audience:nth-child(2) {
    border-inline-start-color: #9333ea !important;
  }

  body.index-reflow .figma-card-audience:nth-child(3) {
    border-inline-start-color: #a855f7 !important;
  }

  body.index-reflow .figma-card-audience::before,
  body.index-reflow .figma-card-audience::after {
    display: none !important;
  }

  body.index-reflow .figma-audience-pill {
    width: fit-content !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    padding: 3px 10px !important;
    margin-bottom: 6px !important;
    background: #f3e8ff !important;
    color: #6b2c91 !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  body.index-reflow .figma-card-audience:first-child .figma-audience-title,
  body.index-reflow .figma-card-audience:not(:first-child) .figma-audience-title,
  body.index-reflow .figma-audience-title {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    color: #0f172a !important;
  }

  body.index-reflow .figma-audience-list,
  body.index-reflow .figma-card-audience:not(:first-child) .figma-audience-list {
    width: 100% !important;
    gap: 6px !important;
    font-size: 13px !important;
  }

  body.index-reflow .figma-audience-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    line-height: 1.45 !important;
    color: #475569 !important;
  }

  body.index-reflow .figma-audience-list li::before {
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    margin-top: 0.4em;
    border-radius: 50% !important;
    background: #6b2c91 !important;
    flex-shrink: 0;
  }

  /* CTA keep tidy */
  body.index-reflow .figma-cta-wrap {
    padding: 8px 0 36px !important;
  }

  body.index-reflow .figma-cta-wrap > .container {
    padding: 0 18px !important;
  }

  body.index-reflow .figma-cta-box {
    padding: 28px 16px !important;
    border-radius: 18px !important;
  }

  body.index-reflow .figma-cta-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }

  body.index-reflow .figma-cta-sub {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }
}
