

/* === 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;
}
/* 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;
  overflow-x: hidden;
  max-width: 100%;
}

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;
  max-width: 100%;
  position: relative;
}

/* 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;
}

/* Layout Containers */
.container{
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section{
  padding-block: clamp(60px, 8vw, 110px);
  position: relative;
}

/* Helper Flex & Grid Utilities */
.flex{ display: flex; }

.grid{ display: grid; }

@media (max-width: 640px) {
  .container{ padding-inline: 16px; }}
/* 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);
  }
}

/*
 * 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; }

/* 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;
  }}

/* Stronger ambient motion on phones */
@media (max-width: 768px) {
  html.js-ready:not(.reduce-motion) .reveal:not(.active){
    transform: translateY(28px);
    filter: none;
  }

  .figma-hero-orbit-1,
.figma-hero-orbit-2,
.figma-about-orbit-shape{
    animation-duration: 12s !important;
    opacity: 0.65;
  }

  .figma-hero-glow-1,
.figma-hero-glow-2,
.figma-about-glow-orb{
    animation-duration: 8s !important;
    filter: blur(28px);
    opacity: 0.42;
  }

  .figma-cta-bg-shape{
    animation-duration: 10s !important;
  }

  body.motion-gsap .figma-hero-bg-shapes,
body.motion-gsap .figma-about-bg-motion{
    opacity: 0.7;
  }

  /* Punchier card pop feedback on touch */
  body.motion-gsap .figma-card-num,
body.motion-gsap .figma-card-audience,
body.motion-gsap .figma-pricing-card,
body.motion-gsap .figma-security-card,
body.motion-gsap .figma-sphere-card,
body.motion-gsap .figma-faq-item{
    transition: transform 0.28s cubic-bezier(0.22, 1.2, 0.36, 1) !important;
  }}

/* 3D stage for uncommon GSAP section motions */
body.motion-gsap .figma-grid-numbered,
body.motion-gsap .figma-grid-audience,
body.motion-gsap .figma-workflow-row,
body.motion-gsap .figma-grid-pricing,
body.motion-gsap .figma-security-features-wrap,
body.motion-gsap .figma-organize-stage,
body.motion-gsap .figma-grid-features-cards,
body.motion-gsap .figma-grid-spheres{
  perspective: 1100px;
  transform-style: preserve-3d;
}

body.motion-gsap .figma-card-num,
body.motion-gsap .figma-card-audience,
body.motion-gsap .figma-step-card,
body.motion-gsap .figma-pricing-card,
body.motion-gsap .figma-security-card,
body.motion-gsap .figma-feature-card,
body.motion-gsap .figma-sphere-card{
  backface-visibility: hidden;
}

/* Feature tab cards — never invisible from motion layer */
body.motion-gsap .figma-feature-card,
body.motion-gsap .figma-grid-features-cards{
  opacity: 1 !important;
  visibility: visible !important;
}
/* 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);
}

/* 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%;
}

/* 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;
  }}
/* 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;
}

/* Sizes */
.btn-sm{
  padding: 8px 18px;
  font-size: 0.88rem;
}
/* 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);
}

/* 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);
}

.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);
}

/* Stat Card */

.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;
}

/* Control Panel / Webmail Dashboard Body */

.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);
}

/* Dashboard Main Content Area */

.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-subject{
  color: var(--color-text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Security Network Shield Visualization (Screen 6) */

.orbit-1{ width: 220px; height: 220px; }
.orbit-2{ width: 340px; height: 340px; }
/* FAQ Accordion Component */

.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);
}

/* Category Filter Tabs */

.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);
}
/* 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-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;
}

/* 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);
}

/* --- 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;
  /* Keep sticky reliable — avoid transform/opacity from motion */
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.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-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;
}

/* Compact / tablet: Features + Pricing beside hamburger when main nav hides */
.header-phone-nav{
  display: none;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Match desktop nav link look */
.header-phone-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  padding: 8px 2px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: #848484;
  background: transparent;
  border: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-phone-link:hover{
  color: var(--color-primary);
  background: transparent;
  border: none;
}

.header-phone-link.active{
  color: var(--color-primary);
  font-weight: 700;
  background: transparent;
  border: none;
}

.header-phone-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-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;
}

/* --- 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;
  overflow: hidden;
}

.figma-audience-list li{
  font-size: 14px;
  font-weight: 400;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.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;
}

/* --- 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) — rotating spotlight */
.figma-cta-group5{
  --cta-icon-size: 48px;
  --cta-icon-spread: 58px;
  position: relative;
  display: inline-block;
  width: calc(var(--cta-icon-size) + var(--cta-icon-spread) * 2);
  height: calc(var(--cta-icon-size) + 20px);
  margin-bottom: 24px;
  vertical-align: top;
}

.figma-cta-icon-sq{
  position: absolute;
  top: 10px;
  left: 50%;
  width: var(--cta-icon-size);
  height: var(--cta-icon-size);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  will-change: transform, background-color, box-shadow, color;
  transition:
    transform 0.85s cubic-bezier(0.22, 1.2, 0.36, 1),
    background-color 0.55s ease,
    color 0.55s ease,
    border-color 0.55s ease,
    box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

/* GSAP owns transforms on index orbit */
.figma-cta-group5.cta-gsap-orbit .figma-cta-icon-sq{
  transition:
    background-color 0.45s ease,
    color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease;
  left: 50%;
  transform: none;
}

.figma-cta-group5.cta-gsap-orbit .figma-cta-icon-sq[data-slot="0"],
.figma-cta-group5.cta-gsap-orbit .figma-cta-icon-sq[data-slot="1"],
.figma-cta-group5.cta-gsap-orbit .figma-cta-icon-sq[data-slot="2"]{
  transform: none;
}

/* Slot 0 = right side, 1 = center (white), 2 = left side */
.figma-cta-icon-sq[data-slot="0"]{
  transform: translateX(calc(-50% + var(--cta-icon-spread))) scale(0.95);
  z-index: 1;
}

.figma-cta-icon-sq[data-slot="1"]{
  transform: translateX(-50%) scale(1.08);
  z-index: 3;
}

.figma-cta-icon-sq[data-slot="2"]{
  transform: translateX(calc(-50% - var(--cta-icon-spread))) scale(0.95);
  z-index: 1;
}

.figma-cta-icon-sq.side{
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: none;
  filter: saturate(0.92);
}

.figma-cta-icon-sq.center{
  background: #ffffff;
  color: #6b2c91;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(255, 255, 255, 0.12);
  filter: none;
}

.figma-cta-group5.is-rotating .figma-cta-icon-sq.center{
  animation: ctaIconArrive 0.85s cubic-bezier(0.22, 1.35, 0.36, 1) both;
}

.figma-cta-group5.is-rotating .figma-cta-icon-sq.side{
  animation: ctaIconDepart 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ctaIconArrive {
  0% {
    filter: brightness(1.15);
  }
  45% {
    filter: brightness(1.25);
  }
  100% {
    filter: none;
  }
}

@keyframes ctaIconDepart {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
  }
}

.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;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer{
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  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;
  /* Fully off-canvas when closed — visibility prevents peek/glitch */
  transform: translate3d(110%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    visibility 0.35s ease;
  overflow: hidden;
  will-change: transform;
}

.mobile-drawer.open{
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.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;
}
/* 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-orbits-svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

.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;
  will-change: transform;
}

.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;
  display: inline-block;
  transform-origin: 50% 50%;
}

.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) and (min-width: 741px) {
  .figma-grid-spheres{
    grid-template-columns: repeat(2, 328px);
    gap: 28px;
    justify-content: center;
  }

  /* للفرق والمؤسسات بالنص لما يلف لصف ثاني */
  .figma-sphere-card:nth-child(3){
    grid-column: 1 / -1;
    justify-self: 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;
  }}

/* --- About Section 4: Hosted in Saudi Arabia --- */
.figma-hosting-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.figma-hosting-lead{
  font-size: 20px;
  font-weight: 400;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 26px;
}

.figma-hosting-points{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.figma-hosting-points li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
}

.figma-hosting-point-icon{
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F3E8FF;
  color: #6B2C91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.figma-hosting-point-icon svg{
  width: 14px;
  height: 14px;
}

.figma-hosting-map{
  background: #ffffff;
  border: 0.8px solid #E5E7EB;
  border-radius: 20px;
  padding: 32px 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  text-align: center;
}

.figma-ksa-map{
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.figma-ksa-label{
  font-size: 7px;
  font-weight: 700;
  fill: #6B2C91;
}

.figma-ksa-pulse{
  transform-origin: 1259.5px 440.4px;
  animation: ksaPulse 2.4s ease-out infinite;
}

@keyframes ksaPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.figma-hosting-map-caption{
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: #6B2C91;
}

@media (max-width: 900px) {
  .figma-hosting-grid{
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }}

/* --- 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-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;
  background-image: url("../assets/icons/check.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.figma-pricing-list .check-icon svg{
  width: 14px;
  height: 14px;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .figma-grid-pricing{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    justify-content: center;
    max-width: 100%;
    align-items: stretch;
  }

  .figma-grid-pricing .figma-pricing-card{
    width: auto;
    max-width: none;
    flex: none;
    padding: 22px 16px 18px;
  }

  .figma-pricing-card-title{
    font-size: 18px;
  }

  .figma-pricing-price{
    font-size: 22px;
  }}

@media (max-width: 700px) {
  .figma-grid-pricing:not(.pricing-marquee) .figma-pricing-card{
    width: 100%;
    max-width: 340px;
  }}

/* Horizontal pricing marquee — phones only, seamless loop */
@media (max-width: 768px) {
  .figma-grid-pricing.pricing-marquee{
    display: block !important;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    direction: ltr;
    touch-action: pan-y;
    cursor: grab;
    mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
  }

  .figma-grid-pricing.pricing-marquee.is-dragging{
    cursor: grabbing;
    touch-action: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .pricing-marquee-track{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: max-content;
    will-change: transform;
    padding: 12px 0 20px;
    gap: 0;
    animation: none !important; /* JS drives transform */
  }

  .pricing-marquee-set{
    display: flex;
    flex-direction: row; /* natural order — auto scroll left→right */
    align-items: stretch;
    gap: 14px;
    padding-right: 14px; /* gap between duplicated sets */
    flex-shrink: 0;
    direction: ltr;
  }

  .pricing-marquee-track.is-paused{
    transition: none;
  }

  .pricing-marquee-set .figma-pricing-card{
    direction: rtl; /* keep Arabic card content RTL */
  }

  .pricing-marquee-track .figma-pricing-card,
.pricing-marquee-set .figma-pricing-card{
    flex: 0 0 auto !important;
    width: min(280px, 78vw) !important;
    max-width: 280px !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .figma-grid-pricing.pricing-marquee.is-dragging .figma-pricing-card{
    cursor: grabbing;
  }

  .figma-grid-pricing.pricing-marquee-static{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .figma-grid-pricing.pricing-marquee-static .pricing-marquee-track{
    transform: none !important;
  }

  .figma-grid-pricing.pricing-marquee .figma-pricing-card.is-clone{
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }}


/* Desktop/tablet: never use marquee layout even if class leftover */
@media (min-width: 769px) {
  .figma-grid-pricing.pricing-marquee{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 329px));
    gap: 24px;
    justify-content: center;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .figma-grid-pricing.pricing-marquee .pricing-marquee-track,
.figma-grid-pricing.pricing-marquee .pricing-marquee-set{
    display: contents;
    transform: none !important;
    animation: none !important;
    padding: 0 !important;
  }

  .figma-grid-pricing.pricing-marquee .figma-pricing-card.is-clone,
.figma-grid-pricing.pricing-marquee .is-clone-set{
    display: none !important;
  }

  .figma-grid-pricing.pricing-marquee .figma-pricing-card{
    width: auto;
    max-width: none;
  }}

/* --- 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 !important;
    width: 220px;
    max-width: 60%;
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0 0 8px;
  }

  .figma-organize-center-art img{
    transform: none !important;
    animation: none;
  }

  .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-card{
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }}

/* --- 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:not(.is-selected){
  transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border-color: #E2E8F0;
}

/* Dark purple border ONLY on the selected card (email by default) */
.figma-feature-card.is-selected{
  border: 2px solid #6B2C91;
  box-shadow: 0 12px 32px rgba(107, 44, 145, 0.12);
}

.figma-feature-card.is-selected:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(107, 44, 145, 0.16);
  border-color: #6B2C91;
}

.figma-feature-card:not(.is-selected){
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.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-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-btn > img{
  filter: brightness(0) invert(1);
}

.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) and (min-width: 769px) {
  .figma-grid-features-cards{
    grid-template-columns: repeat(2, minmax(280px, 340px));
    gap: 20px;
    justify-content: center;
  }

  /* التقويم بالنص لما يلف لصف ثاني */
  .figma-feature-card[data-feature-tab="calendar"]{
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 340px;
  }

  .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 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;
  }}

/* --- 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: 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-nav-list{
    display: none;
  }

  .mobile-toggle{
    display: flex !important;
  }

  /* Tablet + phone: hide header auth CTAs (Start / Login) */
  .figma-header-actions > .figma-btn-primary,
.figma-link-login{
    display: none !important;
  }

  /* Tablet + phone: Features + Pricing stay visible beside hamburger */
  .header-phone-nav{
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0 !important;
    gap: 20px;
  }

  .header-phone-link{
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }}

@media (max-width: 768px) {
  .figma-header{
    height: 64px;
  }

  .figma-header .container{
    padding: 0 16px;
  }

  .figma-header-actions{
    gap: 6px !important;
    flex-shrink: 0 !important;
    max-width: none !important;
  }

  /* Keep header clean: auth CTA lives in the drawer on phone */
  .figma-header-actions > .figma-btn-primary,
.figma-link-login{
    display: none !important;
  }

  /* Features + Pricing beside hamburger — desktop nav style */
  .header-phone-nav{
    display: inline-flex !important;
    flex-shrink: 0 !important;
    gap: 16px !important;
  }

  .header-phone-link{
    display: inline-flex !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 8px 2px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #848484 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
  }

  .header-phone-link.active{
    color: var(--color-primary) !important;
    font-weight: 700 !important;
  }

  .figma-logo-wrap{
    min-width: 0;
    flex-shrink: 1;
  }

  .figma-logo-wrap img{
    height: 28px !important;
    max-width: 96px;
  }

  .mobile-toggle{
    flex-shrink: 0 !important;
  }

  /* Index hero CTAs: ابدأ الآن + استكشف المنصة on all screens */
  .figma-hero-actions .figma-btn-primary,
.figma-hero-actions .figma-btn-secondary{
    display: inline-flex !important;
    visibility: visible !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;
  }

  /* 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{
    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{
    --cta-icon-size: 40px;
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
  }

  .figma-cta-group5{
    --cta-icon-size: 40px;
    --cta-icon-spread: 48px;
  }

  .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 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(.is-selected),
.figma-feature-card.reveal.is-selected,
.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(.is-selected){
    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.is-selected,
.figma-feature-card.is-selected: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.is-selected .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.is-selected .figma-card-icon-sq{
    background: rgba(255, 255, 255, 0.22) !important;
  }

  .figma-feature-card.is-selected .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:not(.pricing-marquee){
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .figma-grid-pricing.pricing-marquee{
    display: block !important;
    grid-template-columns: none !important;
  }

  .figma-pricing-card{
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .figma-pricing-card-title{
    font-size: 16px !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{
    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 > 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:not(.pricing-marquee){
    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-grid-pricing.pricing-marquee{
    display: block !important;
    overflow: hidden !important;
  }

  .figma-grid-pricing.pricing-marquee .figma-pricing-card,
.figma-grid-pricing.pricing-marquee .pricing-marquee-track .figma-pricing-card{
    flex: 0 0 auto !important;
    width: min(280px, 78vw) !important;
    max-width: 280px !important;
  }

  .figma-grid-pricing:not(.pricing-marquee) .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-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: 16px 0 12px !important;
    background:
      radial-gradient(120% 80% at 80% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 55%),
      linear-gradient(180deg, #faf7ff 0%, #ffffff 60%, #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.28 !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.35;
    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.35;
    animation: indexOrbitSoft2 20s ease-in-out infinite alternate !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-title{
    font-size: 19px !important;
    line-height: 1.4 !important;
    max-width: 16em;
    margin-inline: auto !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-subtitle{
    max-width: 32em !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    color: #5b6472 !important;
  }

  body:has(main > .figma-section-numbered-wrap) > main > .figma-hero .figma-hero-actions{
    gap: 8px !important;
    margin-bottom: 12px !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;
    font-size: 13px !important;
    padding: 10px 12px !important;
    min-height: 42px !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: 12px !important;
    border: 1px solid rgba(233, 213, 255, 0.9) !important;
    box-shadow:
      0 12px 28px rgba(107, 44, 145, 0.1),
      0 2px 8px rgba(15, 23, 42, 0.03) !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: 22px 0 20px !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: 17px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !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.center{
    animation: none !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 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); }
}

@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;
  }}

/* 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.is-selected: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: don't fight accordion — keep filter clear but allow interaction motion on trigger */
.figma-faq-item.reveal,
.figma-faq-item.reveal.active{
  filter: none !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{
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.figma-faq-item.active .figma-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 pane content — GSAP owns entrance on tab switch */
body.motion-gsap .feature-pane .figma-feature-img-box,
body.motion-gsap .feature-pane .figma-feature-text-box,
body.motion-gsap .feature-pane .figma-feature-text-box h2,
body.motion-gsap .feature-pane .figma-feature-text-box p,
body.motion-gsap .feature-pane .figma-feature-check-item,
body.motion-gsap .feature-pane .figma-feature-checklist li,
body.motion-gsap .feature-pane .figma-showcase-section{
  transition: none !important;
}

body.motion-gsap .feature-pane .anim-stagger:not(.is-inview) > *{
  opacity: inherit;
  transform: 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.25s ease,
    visibility 0.35s ease !important;
}

.mobile-drawer:not(.open){
  transform: translate3d(110%, 0, 0) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.mobile-drawer.open{
  transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

.mobile-overlay{
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.mobile-overlay:not(.open){
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Icon bob disabled — CTA icons use slot rotation instead */
@media (min-width: 769px) {
  .figma-cta-icon-sq.center{
    animation: none;
  }}

/* 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,
.feature-pane[style*="display: block"],
.feature-pane.is-visible{
    animation: none !important;
    transform: none !important;
  }

  .figma-cta-icon-sq.center,
.figma-cta-icon-sq,
.figma-cta-group5.is-rotating .figma-cta-icon-sq.center,
.figma-cta-group5.is-rotating .figma-cta-icon-sq.side{
    animation: none !important;
  }

  .figma-cta-icon-sq{
    transition: none !important;
  }

  html.js-ready .anim-stagger > *,
html.js-ready .anim-stagger.is-inview > *{
    opacity: 1 !important;
    transform: none !important;
  }}

/* ----- PHONE: clearer hero + steps + audience ----- */
@media (max-width: 768px) {
  /* ===== HERO — image float stays visible, never clipped away ===== */
  body.index-reflow > main > .figma-hero{
    padding: 14px 0 28px !important;
    overflow: visible !important;
    background: #ffffff !important;
  }

  body.index-reflow > main > .figma-hero .figma-hero-bg-shapes{
    opacity: 0.22;
  }

  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: 6px !important;
    width: 100% !important;
    padding: 0 18px !important;
    order: 1;
  }

  body.index-reflow .figma-hero-title,
body.index-reflow > main > .figma-hero .figma-hero-title{
    margin: 0 !important;
    max-width: 16em !important;
    text-align: center !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  body.index-reflow .figma-hero-subtitle,
body.index-reflow > main > .figma-hero .figma-hero-subtitle{
    margin: 0 auto !important;
    max-width: 34em !important;
    text-align: center !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
  }

  body.index-reflow .figma-hero-actions,
body.index-reflow > main > .figma-hero .figma-hero-actions{
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 18px 12px !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,
body.index-reflow > main > .figma-hero .figma-hero-actions .figma-btn-primary,
body.index-reflow > main > .figma-hero .figma-hero-actions .figma-btn-secondary{
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: center !important;
    padding: 10px 10px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    min-height: 42px !important;
    display: inline-flex !important;
  }

  /* Drawer keeps auth CTAs too; Features/Pricing live in header beside menu */
  body.index-reflow .mobile-drawer-actions{
    display: flex !important;
  }

  /* Image: room to float up; bottom padding in hero clips any spill */
  body.index-reflow .figma-hero-preview{
    order: 3;
    width: auto !important;
    max-width: calc(100% - 32px) !important;
    margin: 8px 16px 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e9d5ff !important;
    box-shadow: 0 10px 22px rgba(107, 44, 145, 0.1) !important;
    background: #ffffff !important;
    align-self: center !important;
    will-change: transform;
  }

  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: 14px 0 28px !important;
    overflow: visible !important;
  }

  /* ===== NUMBERED — clear step list ===== */
  body.index-reflow .figma-section-numbered-wrap{
    padding: 20px 0 18px !important;
    background: #f8fafc !important;
    border-top: none !important;
  }

  body.index-reflow .figma-section-numbered-wrap > .container{
    padding: 0 16px !important;
  }

  body.index-reflow .figma-section-numbered-wrap .figma-section-title{
    font-size: 17px !important;
    line-height: 1.4 !important;
    margin: 0 auto 12px !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: 44px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 2px !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: 11px 12px !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: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    background: #f3e8ff !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.index-reflow .figma-card-num .figma-card-icon-box img{
    width: 14px !important;
    height: 14px !important;
  }

  body.index-reflow .figma-card-num .figma-card-big-number{
    font-size: 11px !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: 13.5px !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: 11.5px !important;
    line-height: 1.5 !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: 20px 0 22px !important;
    background: #ffffff !important;
  }

  body.index-reflow .figma-section-audience-wrap > .container{
    padding: 0 16px !important;
  }

  body.index-reflow .figma-section-audience-wrap .figma-section-title{
    margin: 0 auto 12px !important;
    text-align: center !important;
    font-size: 17px !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: 10px !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: 14px !important;
    border-inline-start: 3px solid #6b2c91 !important;
    border-bottom: 1px solid #ebe4f4 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03) !important;
    padding: 12px 12px 12px 14px !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: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !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: 5px !important;
    font-size: 12px !important;
  }

  body.index-reflow .figma-audience-list li{
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    line-height: 1.4 !important;
    color: #475569 !important;
  }

  body.index-reflow .figma-audience-list li::before{
    content: "" !important;
    width: 5px !important;
    height: 5px !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: 6px 0 28px !important;
  }

  body.index-reflow .figma-cta-wrap > .container{
    padding: 0 16px !important;
  }

  body.index-reflow .figma-cta-box{
    padding: 22px 14px !important;
    border-radius: 16px !important;
  }

  body.index-reflow .figma-cta-title{
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  body.index-reflow .figma-cta-sub{
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }}

/* =========================================================
   Landing motion polish (GSAP + CSS micro-interactions)
   ========================================================= */

body.motion-gsap .figma-hero .reveal,
body.motion-gsap .figma-section-numbered-wrap .reveal,
body.motion-gsap .figma-section-audience-wrap .reveal,
body.motion-gsap .figma-cta-box.reveal{
  /* GSAP owns entrance — keep CSS reveal from double-hiding */
  opacity: 1;
  filter: none;
}

.figma-btn-primary,
.figma-cta-btn-white{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.figma-btn-primary::after,
.figma-cta-btn-white::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 70%
  );
  transform: translateX(-130%);
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .figma-btn-primary:hover::after,
.figma-cta-btn-white:hover::after{
    animation: btnShineSweep 0.75s ease forwards;
  }

  .figma-card-num:hover,
.figma-card-audience:hover{
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 18px 40px rgba(85, 32, 115, 0.14);
  }}

@keyframes btnShineSweep {
  to { transform: translateX(130%); }
}

/* Stronger hero ambient on landing (incl. phones) */
body.index-reflow .figma-hero-orbit-1,
body.index-reflow .figma-hero-orbit-2{
  animation-duration: 18s !important;
  opacity: 0.7;
}

body.index-reflow .figma-hero-glow-1,
body.index-reflow .figma-hero-glow-2{
  animation-duration: 10s !important;
  opacity: 0.45;
}

@media (max-width: 768px) {
  body.index-reflow > main > .figma-hero .figma-hero-bg-shapes{
    opacity: 0.55 !important;
  }

  body.index-reflow .figma-hero-actions .figma-btn-primary{
    box-shadow: 0 8px 22px rgba(107, 44, 145, 0.32);
  }

  body.index-reflow .figma-card-num,
body.index-reflow .figma-card-audience{
    transition:
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.35s ease !important;
  }

  body.index-reflow .figma-card-num:active,
body.index-reflow .figma-card-audience:active{
    transform: scale(0.98);
  }}

@media (prefers-reduced-motion: reduce) {
  .figma-btn-primary::after,
.figma-cta-btn-white::after{
    display: none;
  }}

/* Split-word motion helpers (unused but safe if present) */

.figma-hero-preview{
  transform-style: preserve-3d;
  will-change: transform;
}

.figma-card-num,
.figma-card-audience{
  will-change: transform;
}

/* Never let motion layer leave copy faded */
body.motion-gsap .figma-hero .reveal,
body.motion-gsap .figma-hero .reveal.active,
body.motion-gsap .figma-hero-title,
body.motion-gsap .figma-hero-subtitle,
body.motion-gsap .figma-hero-intro{
  transition: none !important;
}

body.motion-gsap .figma-hero-subtitle{
  color: inherit;
}

@media (max-width: 768px) {
  html,
body{
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  main,
.figma-header,
.figma-features-hero,
.figma-hero,
.figma-showcase-section,
.figma-cta-wrap{
    max-width: 100vw;
    overflow-x: clip;
  }

  /* Allow feature pane slide-in animations */
  .feature-pane,
.feature-pane.is-visible,
.figma-feature-row{
    overflow: visible !important;
  }

  .figma-header .container{
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-phone-nav{
    max-width: calc(100vw - 140px);
  }}

/* =========================================================
   Interactive feedback — cards, buttons, FAQ (all screens)
   ========================================================= */
:root{
  --press-ease: cubic-bezier(0.22, 1.2, 0.36, 1);
  --press-duration: 0.28s;
}

.figma-btn-primary,
.figma-btn-secondary,
.figma-cta-btn-white,
.figma-cta-btn-outline,
.header-phone-link,
.figma-card-num,
.figma-card-audience,
.figma-pricing-card,
.figma-security-card,
.figma-sphere-card,
.figma-mindmap-card,
.figma-step-card,
.figma-feature-card,
.figma-organize-card,
.figma-faq-trigger,
.figma-faq-icon-box,
.mobile-drawer-link,
.figma-nav-link{
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.figma-btn-primary,
.figma-btn-secondary,
.figma-cta-btn-white,
.figma-cta-btn-outline{
  transition:
    transform var(--press-duration) var(--press-ease),
    box-shadow 0.3s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease !important;
}

.figma-btn-primary:active,
.figma-btn-secondary:active,
.figma-cta-btn-white:active,
.figma-cta-btn-outline:active,
.figma-btn-primary.is-press,
.figma-btn-secondary.is-press,
.figma-cta-btn-white.is-press,
.figma-cta-btn-outline.is-press{
  transform: scale(0.95) translateY(1px) !important;
}

@media (hover: hover) and (pointer: fine) {
  .figma-btn-primary:hover{
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(107, 44, 145, 0.38);
  }

  .figma-btn-secondary:hover{
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 22px rgba(107, 44, 145, 0.14);
  }

  .figma-cta-btn-white:hover,
.figma-cta-btn-outline:hover{
    transform: translateY(-3px) scale(1.03);
  }}

.figma-card-num,
.figma-card-audience,
.figma-pricing-card,
.figma-security-card,
.figma-sphere-card,
.figma-mindmap-card,
.figma-step-card,
.figma-feature-card,
.figma-organize-card{
  transition:
    transform var(--press-duration) var(--press-ease),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background-color 0.3s ease !important;
  cursor: pointer;
}

.figma-security-card-icon,
.figma-card-big-number,
.figma-sphere-letter,
.figma-sphere-circle{
  transition: transform 0.35s var(--press-ease), color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .figma-card-num:hover,
.figma-card-audience:hover,
.figma-pricing-card:hover,
.figma-security-card:hover,
.figma-sphere-card:hover,
.figma-mindmap-card:hover,
.figma-step-card:hover{
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 18px 40px rgba(107, 44, 145, 0.14);
  }

  .figma-feature-card:hover:not(.is-selected){
    transform: translateY(-4px) scale(1.01);
  }

  .figma-feature-card.is-selected:hover{
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(107, 44, 145, 0.2);
  }

  .figma-pricing-card.is-featured:hover{
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 22px 48px rgba(107, 44, 145, 0.2);
  }

  .figma-security-card:hover .figma-security-card-icon{
    transform: scale(1.12) rotate(-6deg);
  }

  .figma-card-num:hover .figma-card-big-number{
    transform: scale(1.08);
    color: #6B2C91;
  }

  .figma-sphere-card:hover .figma-sphere-letter{
    transform: scale(1.15);
  }}

.figma-card-num:active,
.figma-card-audience:active,
.figma-pricing-card:active,
.figma-security-card:active,
.figma-sphere-card:active,
.figma-mindmap-card:active,
.figma-step-card:active,
.figma-feature-card:active,
.figma-organize-card:active,
.figma-card-num.is-press,
.figma-card-audience.is-press,
.figma-pricing-card.is-press,
.figma-security-card.is-press,
.figma-sphere-card.is-press,
.figma-feature-card.is-press,
.figma-mindmap-card.is-press,
.figma-step-card.is-press{
  transform: scale(0.97) translateY(2px) !important;
  box-shadow: 0 4px 14px rgba(107, 44, 145, 0.1) !important;
}

.figma-faq-item{
  transition: background-color 0.25s ease;
}

.figma-faq-item.active{
  background: linear-gradient(180deg, rgba(250, 245, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
}

.figma-faq-trigger{
  transition:
    background-color 0.25s ease,
    transform var(--press-duration) var(--press-ease) !important;
}

.figma-faq-trigger:active,
.figma-faq-trigger.is-press{
  transform: scale(0.985);
  background-color: #F3E8FF !important;
}

.figma-faq-icon-box{
  transition:
    transform 0.4s var(--press-ease),
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease !important;
  border-radius: 8px !important;
}

.figma-faq-item.active .figma-faq-icon-box{
  background: #6B2C91 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(107, 44, 145, 0.35);
  transform: scale(1.08);
}

.figma-faq-item.active .figma-faq-icon-box svg{
  transform: rotate(45deg);
  stroke: #ffffff;
}

.figma-faq-question{
  transition: color 0.25s ease;
}

.figma-faq-item.active .figma-faq-question{
  color: #6B2C91;
}

.figma-faq-item.active .figma-faq-answer{
  animation: faqAnswerPop 0.45s var(--press-ease) both;
}

@keyframes faqAnswerPop {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.figma-feature-card.is-selected{
  /* selection pulse handled in JS — avoid CSS animation hiding cards */
  animation: none;
}

@media (max-width: 768px) {
  .figma-card-num:active,
.figma-card-audience:active,
.figma-pricing-card:active,
.figma-security-card:active,
.figma-sphere-card:active,
.figma-feature-card:active,
.figma-mindmap-card:active,
.figma-step-card:active{
    transform: scale(0.96) !important;
  }

  .figma-btn-primary:active,
.figma-btn-secondary:active{
    transform: scale(0.94) !important;
  }}

@media (prefers-reduced-motion: reduce) {
  .figma-feature-card.is-selected,
.figma-faq-item.active .figma-faq-answer{
    animation: none !important;
  }

  .figma-btn-primary:hover,
.figma-btn-secondary:hover,
.figma-card-num:hover,
.figma-card-audience:hover,
.figma-pricing-card:hover,
.figma-security-card:hover,
.figma-sphere-card:hover,
.figma-feature-card:hover,
.figma-feature-card.is-selected:hover{
    transform: none !important;
  }}




/* --- Legal Pages (Terms / Privacy) --- */
.figma-legal-section{
  padding: 85px 0 110px;
  background: #F8FAFC;
  border-top: 1px solid #EAE5F2;
  position: relative;
}

.figma-legal-card{
  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;
  padding: 56px 64px;
}

.figma-legal-updated{
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: #6B2C91;
  background: #F3E8FF;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.figma-legal-card h2{
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin: 40px 0 14px;
  line-height: 1.5;
}

.figma-legal-card h2:first-of-type{
  margin-top: 0;
}

.figma-legal-card p{
  font-size: 15.5px;
  font-weight: 400;
  color: #475569;
  line-height: 1.95;
  margin: 0 0 14px;
}

.figma-legal-card ul{
  margin: 0 0 14px;
  padding-inline-start: 24px;
}

.figma-legal-card li{
  font-size: 15.5px;
  font-weight: 400;
  color: #475569;
  line-height: 1.95;
  margin-bottom: 8px;
}

.figma-legal-card a{
  color: #6B2C91;
  font-weight: 600;
  text-decoration: none;
}

.figma-legal-card a:hover{
  text-decoration: underline;
}

@media (max-width: 768px) {
  .figma-legal-section{
    padding: 48px 0 64px;
  }

  .figma-legal-section > .container{
    padding: 0 20px !important;
  }

  .figma-legal-card{
    padding: 28px 22px;
    border-radius: 14px;
  }

  .figma-legal-card h2{
    font-size: 18px;
    margin: 30px 0 10px;
  }

  .figma-legal-card p,
.figma-legal-card li{
    font-size: 14px;
    line-height: 1.9;
  }}
