/* ==========================================================================
   ROJIFY • PORTAL HERO & LUXURY WHITE LANDING PAGE
   Theme: Pure White & Apple Liquid Glassmorphism + Rose Accents
   Typography: Syne (English Display), Vazirmatn (Persian), Sora & Plus Jakarta
   ========================================================================== */

:root {
  /* Clean White Palette */
  --bg-page: #FFFFFF;
  --bg-secondary: #FAFAFD;
  --bg-blush: #FFF6FA;
  --bg-card: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  
  --ink-primary: #111419;
  --ink-body: #424952;
  --ink-secondary: #636D77;
  --ink-muted: #8C96A1;
  --ink-light: #B4BCC4;

  /* Accents */
  --pink-primary: #FF2A7A;
  --pink-vibrant: #FF1472;
  --pink-soft: #FF68A2;
  --pink-glow: rgba(255, 42, 122, 0.25);
  --pink-light: rgba(255, 42, 122, 0.08);

  --teal-accent: #2E6B72;
  --amber-accent: #E8913C;

  /* Hairlines & Borders */
  --hairline: rgba(0, 0, 0, 0.07);
  --hairline-soft: rgba(0, 0, 0, 0.04);
  --hairline-glass: rgba(255, 255, 255, 0.9);

  /* Fonts */
  --font-display: 'Syne', -apple-system, sans-serif;
  --font-persian: 'Vazirmatn', -apple-system, sans-serif;
  --font-mono: 'Sora', monospace;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--ink-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-persian), var(--font-sans), sans-serif;
  line-height: 1.6;
  background-color: var(--bg-page);
  color: var(--ink-body);
  overflow-x: clip;
  position: relative;
}

/* Accessibility: focus ring */
:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: 4px;
}

/* Selection */
::selection {
  background: var(--pink-primary);
  color: #FFFFFF;
}

/* Container */
.section-container {
  width: min(92%, 1240px);
  margin-inline: auto;
  position: relative;
}

/* Typography Helpers */
.highlight-pink {
  color: var(--pink-primary);
  background: linear-gradient(135deg, #FF1A75 0%, #FA2E86 50%, #FF599A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 42, 122, 0.08);
  border: 1px solid rgba(255, 42, 122, 0.22);
  color: var(--pink-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-primary);
  box-shadow: 0 0 8px var(--pink-primary);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   FLOATING APPLE LIQUID GLASS NAVBAR (Pure Refractive Crystal Glass)
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  box-sizing: border-box;
}

.liquid-glass-nav {
  pointer-events: auto;
  width: min(100%, 1180px);
  height: 54px;
  padding: 0 22px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: visible !important;
}

.liquid-glass-nav.agentic-liquid-glass {
  overflow: visible !important;
}

/* ==========================================================================
   AGENTIC LIQUID GLASS ENGINE (Pure Crystal Translucent Refraction)
   ========================================================================== */
.agentic-liquid-glass {
  position: relative;
  overflow: hidden;
  /* Pure translucent refractive crystal body (refracts underlying pink/white) */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 248, 252, 0.36) 100%) !important;
  backdrop-filter: blur(26px) saturate(185%) contrast(102%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(185%) contrast(102%) !important;

  /* Crisp frosted white rim — strictly NO colored borders */
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 
    0 12px 34px rgba(17, 20, 25, 0.06),
    0 2px 6px rgba(17, 20, 25, 0.02),
    /* Top directional specular edge */
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.96),
    /* Soft bottom frosted bounce */
    inset 0 -1px 2px 0 rgba(255, 255, 255, 0.35),
    /* Subtle internal glow */
    inset 0 0 14px 0 rgba(255, 255, 255, 0.22) !important;

  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.agentic-liquid-glass:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 250, 253, 0.48) 100%) !important;
  box-shadow: 
    0 16px 42px rgba(17, 20, 25, 0.08),
    0 3px 10px rgba(17, 20, 25, 0.03),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 18px 1px rgba(255, 255, 255, 0.35) !important;
}

/* 1. Dynamic Convex Optical Sheen Layer */
.glass-optical-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at var(--glint-x, 30%) var(--glint-y, 20%), rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.05) 55%, transparent 80%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* 2. Interactive Specular Glint (Tracking Cursor along Rim) */
.glass-dynamic-glint {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 75px at var(--glint-x, 50%) var(--glint-y, 0%), rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.22) 45%, transparent 80%);
  opacity: var(--glint-opacity, 0.65);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.15s ease;
}

/* 3. Pure Frosted White Specular Rim Reflection (No Colored Edge Lines) */
.glass-prism-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  padding: 1px;
  background: linear-gradient(var(--dynamic-angle, 135deg), rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Ensure contents stay above glass optical overlays */
.liquid-glass-nav > *:not(.glass-optical-sheen):not(.glass-dynamic-glint):not(.glass-prism-border),
.underlay-bottom-bar > *:not(.glass-optical-sheen):not(.glass-dynamic-glint):not(.glass-prism-border) {
  position: relative;
  z-index: 4;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-brand .brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink-primary);
  display: inline-block;
  margin-right: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-body);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--pink-primary) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  font-family: var(--font-persian);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-body);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.sound-btn:hover {
  border-color: rgba(255, 42, 122, 0.35);
  color: var(--pink-primary);
  background: rgba(255, 255, 255, 0.85);
}

.cta-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, #FF2A7A 0%, #FA1973 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255, 42, 122, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 42, 122, 0.45);
}

.pill-arrow {
  transition: transform 0.2s ease;
}

.cta-pill-btn:hover .pill-arrow {
  transform: translate(-2px, -2px);
}

/* ==========================================================================
   SECTION 1: THE PORTAL HERO
   ========================================================================== */
.portal-hero-section {
  position: relative;
  width: 100%;
  height: 280vh; /* Smooth, locked scroll track for full portal parting */
  background-color: var(--bg-page);
}

.portal-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg-page);
}

/* LAYER 0: The Underlay (Idea 1: Soft Studio White with Feathered Rose Backlight) */
.portal-underlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  overflow: hidden;
}

.ambient-backlight {
  position: absolute;
  width: min(90vw, 1000px);
  height: min(85vh, 650px);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(254, 141, 187, 0.42) 0%, rgba(253, 160, 205, 0.2) 48%, rgba(255, 255, 255, 0) 75%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 1;
}

/* The Reveal Media Container */
.reveal-media-wrap {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
}

.hero-picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-img {
  width: 100%;
  height: 100%;
  /* Fills screen completely edge-to-edge; on small devices shows phones at full readable prominence, on larger devices reveals the extra margins */
  object-fit: cover;
  object-position: center center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.image-sheen {
  display: none;
}

/* Responsive Bottom Exploration Capsule Bar */
.underlay-bottom-bar {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  padding: 8px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.05),
    0 2px 6px rgba(255, 42, 122, 0.06),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.stage-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-primary);
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 42, 122, 0.08);
}

.stage-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-body);
}

.underlay-cta-btn {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, #FF2A7A 0%, #FA1973 100%);
  box-shadow: 0 4px 12px rgba(255, 42, 122, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.underlay-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 42, 122, 0.45);
}

/* ==========================================================================
   LAYER 1: THE SPLITTING PORTAL DOORS (PURE WHITE, ZERO BORDER)
   ========================================================================== */
.portal-door {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100vh;
  background-color: #FFFFFF !important;
  z-index: 20;
  will-change: transform;
  pointer-events: none;
  overflow: hidden;

  /* Absolutely ZERO border/line as requested */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.door-left {
  left: 0;
  width: calc(50vw + 1px);
}

.door-right {
  right: 0;
  width: calc(50vw + 1px);
}

/* ==========================================================================
   LAYER 2: DEAD-CENTER WORDMARK STAGE (ROJ + IFY)
   ========================================================================== */
.portal-brand-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  direction: ltr !important; /* CRITICAL: ensures left half (ROJ) is on left and right half (IFY) is on right */
  z-index: 25;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.brand-half-wrap {
  display: inline-flex;
  align-items: center;
  will-change: transform, opacity;
}

.brand-half-wrap .brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  /* Dynamic font size: massive and impactful */
  font-size: clamp(52px, 13vw, 190px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  white-space: nowrap;
  
  /* Bold luxury pink gradient text */
  color: var(--pink-primary);
  background: linear-gradient(135deg, #FF1A75 0%, #FA2E86 50%, #FF599A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  display: inline-block;
  will-change: transform;
}

/* Bottom Scroll Prompt with Mouse Icon */
.portal-scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hint-mouse {
  width: 20px;
  height: 32px;
  border-radius: 18px;
  border: 2px solid var(--pink-primary);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.hint-wheel {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--pink-primary);
  animation: wheel-bounce 1.6s infinite ease-in-out;
}

@keyframes wheel-bounce {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.hint-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-body);
  letter-spacing: 0.02em;
}

.hint-en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
}

/* ==========================================================================
   PAGE CONTENT WRAPPER (ALL WHITE THEME)
   ========================================================================== */
.page-content {
  position: relative;
  z-index: 10;
  background-color: var(--bg-page);
}



/* ==========================================================================
   MEGA MENUS & EXPANDED NAVIGATION
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 50%;
  transform: translateX(50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
}

/* Invisible bridge so hover is preserved across the gap */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 22px;
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown:focus-within .mega-menu,
.nav-item-dropdown.is-open .mega-menu {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(50%) translateY(0) !important;
}

.mega-menu-features {
  width: 620px;
}

.mega-menu-tools {
  width: 560px;
}

.mega-menu-inner {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(35px) saturate(190%);
  -webkit-backdrop-filter: blur(35px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 25px 60px rgba(232, 91, 145, 0.14), 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.mega-menu-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-primary);
  letter-spacing: 0.04em;
}

.mega-subtitle {
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mega-grid-2col {
  grid-template-columns: 1fr 1fr;
}

.mega-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.mega-card:hover {
  background: rgba(255, 42, 122, 0.06);
  border-color: rgba(255, 42, 122, 0.2);
  transform: translateY(-2px);
}

.mega-icon-box {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.mega-content {
  display: flex;
  flex-direction: column;
}

.mega-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
}

.mega-card-desc {
  font-size: 11px;
  color: var(--ink-secondary);
  line-height: 1.4;
  margin-top: 2px;
}

/* Mobile Toggle & Drawer */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn .bar {
  width: 20px;
  height: 2px;
  background: var(--ink-primary);
  border-radius: 2px;
  transition: 0.3s ease;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  pointer-events: none;
}

.mobile-drawer.active {
  transform: translateX(0);
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.drawer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--pink-primary);
}

.drawer-close-btn {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-primary);
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-primary);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.drawer-download-btn {
  display: inline-block;
  margin-top: 20px;
  text-align: center;
  padding: 14px 24px;
  border-radius: 100px;
  background: var(--pink-primary);
  color: #FFF;
  text-decoration: none;
  font-weight: 700;
}

/* ==========================================================================
   COMMON EDITORIAL SECTION STYLING
   ========================================================================== */
.section-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(232, 91, 145, 0.08);
  border: 1px solid rgba(232, 91, 145, 0.22);
  color: var(--pink-primary);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ==========================================================================
   SECTION 02 — PHILOSOPHY (ANIMATION #18: TEXT SCROLL REVEAL)
   ========================================================================== */
.philosophy-section {
  padding: 120px 0 100px;
  background: #FFFFFF;
  position: relative;
  border-top: 1px solid var(--hairline);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.philosophy-headline {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.philosophy-headline .rw {
  display: inline-block;
  opacity: 0.22;
  filter: blur(1.5px);
  transform: translateY(3px);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.philosophy-headline .rw.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.philosophy-narrative {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
  color: var(--ink-body);
  margin-bottom: 40px;
}

.philosophy-narrative .rw {
  display: inline-block;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.philosophy-narrative .rw.is-revealed {
  opacity: 1;
  color: var(--ink-primary);
}

.philosophy-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #FCFAFA;
  border: 1px solid rgba(232, 91, 145, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 91, 145, 0.08);
}

.pillar-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.pillar-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 4px;
}

.pillar-info p {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

/* Editorial Frame Wheel */
.editorial-glass-frame {
  position: relative;
  background: linear-gradient(145deg, #FCFAFA 0%, #F9DCE8 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  padding: 36px 28px;
  box-shadow: 0 20px 50px rgba(232, 91, 145, 0.12);
  text-align: center;
}

.frame-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-primary);
  letter-spacing: 0.12em;
}

.rhythm-visual-wheel {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(232, 91, 145, 0.35);
  margin: 28px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-arc {
  position: absolute;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-primary);
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.arc-menstrual { top: -14px; color: #E85B91; }
.arc-follicular { right: -18px; color: #B69AE8; }
.arc-ovulatory { bottom: -14px; color: #E8913C; }
.arc-luteal { left: -18px; color: #2E6B72; }

.wheel-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.wheel-icon {
  font-size: 32px;
}

.wheel-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.frame-caption {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 03 — APP FEATURES (ANIMATION #14: GSAP STACKED CARDS)
   ========================================================================== */
.features-section {
  padding: 100px 0 120px;
  background: #FCFAFA;
  position: relative;
}

.features-headline-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.features-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.features-subtitle {
  font-size: 16px;
  color: var(--ink-secondary);
}

.features-stack-container {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-stack-card {
  position: sticky;
  top: 90px;
  border-radius: 32px;
  background: #FFFFFF;
  border: 1px solid rgba(232, 91, 145, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
  padding: 44px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, opacity 0.4s ease;
}

.card-pink { border-top: 4px solid #E85B91; }
.card-lavender { border-top: 4px solid #B69AE8; }
.card-blue { border-top: 4px solid #48A9C5; }

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-badge-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-primary);
  background: rgba(255, 42, 122, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
}

.card-index {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-light);
}

.card-main-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.card-feature-title {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.card-feature-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-body);
  margin-bottom: 20px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-check-list li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.card-inline-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pink-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.card-inline-cta:hover {
  transform: translateX(-4px);
}

/* Visual Mockups inside feature cards */
.phone-mockup-frame, .meal-preview-box, .fitness-preview-box, .mood-tracker-preview, .zen-audio-card, .noti-stack-preview {
  background: #FCFAFA;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.circle-dial-visual {
  text-align: center;
  padding: 24px 0;
  position: relative;
}

.dial-large-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--pink-primary);
  display: block;
}

.dial-unit {
  font-size: 13px;
  color: var(--ink-secondary);
  display: block;
}

.dial-phase-name {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #B69AE8;
  background: #FFF;
  padding: 4px 12px;
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.food-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.food-item-row:last-child { border-bottom: none; }

.food-icon { font-size: 22px; }

.food-txt { display: flex; flex-direction: column; }
.food-txt strong { font-size: 13px; color: var(--ink-primary); }
.food-txt span { font-size: 11.5px; color: var(--ink-secondary); }

.energy-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.energy-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.energy-fill {
  height: 100%;
  background: linear-gradient(90deg, #48A9C5, #E85B91);
}

.energy-val { font-size: 12px; font-weight: 600; color: var(--ink-secondary); }

.workout-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wtag { font-size: 12px; padding: 4px 10px; border-radius: 100px; background: #FFF; box-shadow: 0 2px 6px rgba(0,0,0,0.03); }

.mood-emojis-row { display: flex; gap: 8px; margin: 12px 0; }
.emoji-chip { font-size: 12px; padding: 6px 12px; border-radius: 100px; background: #FFF; border: 1px solid rgba(0,0,0,0.06); }
.emoji-chip.active { border-color: var(--pink-primary); color: var(--pink-primary); font-weight: 700; }

.soundwave-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 48px;
  margin-bottom: 14px;
}

.bar-anim {
  width: 4px;
  height: 14px;
  background: #B69AE8;
  border-radius: 2px;
  animation: soundwave 1.2s infinite ease-in-out alternate;
}

.bar-anim:nth-child(2) { animation-delay: 0.2s; height: 32px; }
.bar-anim:nth-child(3) { animation-delay: 0.4s; height: 42px; }
.bar-anim:nth-child(4) { animation-delay: 0.1s; height: 26px; }
.bar-anim:nth-child(5) { animation-delay: 0.5s; height: 38px; }
.bar-anim:nth-child(6) { animation-delay: 0.3s; height: 18px; }

@keyframes soundwave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.noti-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #FFF;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.noti-item strong { display: block; font-size: 12.5px; color: var(--ink-primary); }
.noti-item span { font-size: 11px; color: var(--ink-secondary); }

/* ==========================================================================
   SECTION 04 — INTEGRATED EXPERIENCE (ANIMATION #16: 3D SPATIAL SCROLL ZOOM)
   ========================================================================== */
.experience-section {
  padding: 120px 0 100px;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.experience-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.experience-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.experience-subtitle {
  font-size: 16px;
  color: var(--ink-secondary);
}

.spatial-3d-stage {
  position: relative;
  height: 600px;
  width: 100%;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spatial-camera {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.spatial-core-phone {
  position: relative;
  z-index: 10;
  width: 280px;
  height: 480px;
  border-radius: 40px;
  background: #FFFFFF;
  border: 4px solid #111419;
  box-shadow: 0 30px 80px rgba(232, 91, 145, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.core-screen {
  flex: 1;
  border-radius: 28px;
  background: linear-gradient(180deg, #FCFAFA 0%, #F9DCE8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
  text-align: center;
}

.core-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--pink-primary);
  letter-spacing: 0.1em;
}

.ring-pulse-aura {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #E85B91;
  box-shadow: 0 0 25px rgba(232, 91, 145, 0.35);
  animation: pulse-ring 3s infinite ease-in-out;
  margin: 0 auto 12px;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.ring-core-text { font-size: 13px; font-weight: 700; color: var(--ink-primary); }
.core-status-pill { font-size: 11px; padding: 4px 10px; border-radius: 100px; background: #FFF; color: #2E6B72; font-weight: 600; }

/* 3D Floating Spatial Nodes */
.spatial-node {
  position: absolute;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-inner { display: flex; align-items: center; gap: 12px; }
.node-icon { font-size: 24px; }
.node-txt strong { display: block; font-size: 13.5px; color: var(--ink-primary); }
.node-txt span { font-size: 11.5px; color: var(--ink-secondary); }

.node-cycle { top: 15%; right: 18%; transform: translateZ(60px); }
.node-nutrition { bottom: 20%; right: 15%; transform: translateZ(100px); }
.node-mind { top: 22%; left: 16%; transform: translateZ(80px); }
.node-privacy { bottom: 18%; left: 18%; transform: translateZ(120px); }

.spatial-caption-bar {
  text-align: center;
  margin-top: 24px;
}

.spatial-hint {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ==========================================================================
   SECTION 05 — ONLINE TOOLS (ANIMATION #8: STICKY STACKING ON SCROLL)
   ========================================================================== */
.tools-section {
  padding: 110px 0 100px;
  background: #FCFAFA;
  position: relative;
}

.tools-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.tools-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.tools-subtitle {
  font-size: 16px;
  color: var(--ink-secondary);
}

.tools-stack-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tool-sticky-card {
  position: sticky;
  top: 96px;
  border-radius: 30px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  padding: 38px;
  margin-bottom: 24px;
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tool-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tool-icon {
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #FCFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 91, 145, 0.15);
}

.tool-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-primary);
}

.tool-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-top: 3px;
}

.tool-status-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #2E6B72;
  background: rgba(46, 107, 114, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pink-primary);
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #FCFAFA;
  font-family: var(--font-persian);
  font-size: 14px;
  color: var(--ink-primary);
}

.form-slider {
  width: 100%;
  accent-color: var(--pink-primary);
  height: 6px;
  cursor: pointer;
}

.tool-submit-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 100px;
  border: none;
  background: linear-gradient(135deg, #FF2A7A 0%, #FA1973 100%);
  color: #FFFFFF;
  font-family: var(--font-persian);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 42, 122, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 42, 122, 0.45);
}

.result-display-card {
  background: #FCFAFA;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(232, 91, 145, 0.12);
}

.result-item-highlight {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(232, 91, 145, 0.2);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.result-item:last-child { border-bottom: none; }

.res-label { font-size: 13px; color: var(--ink-secondary); }
.res-value { font-size: 14px; font-weight: 700; color: var(--ink-primary); }

.phase-badge {
  background: #F9DCE8;
  color: #E85B91;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
}

/* BMI Gauge */
.bmi-score-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.bmi-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--pink-primary);
  display: block;
}

.bmi-category {
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
}

.status-normal { background: #E6F7EC; color: #1E8E3E; }

.bmi-gauge-track {
  position: relative;
  height: 12px;
  border-radius: 6px;
  display: flex;
  overflow: hidden;
  margin: 16px 0 24px;
}

.gauge-section { height: 100%; flex: 1; }
.sec-under { background: #64B5F6; }
.sec-normal { background: #81C784; }
.sec-over { background: #FFB74D; }
.sec-obese { background: #E57373; }

.gauge-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 5px;
  background: #111419;
  border-radius: 3px;
  transform: translateX(-50%);
  transition: left 0.3s ease;
}

/* Water & Calorie Dual */
.dual-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
  text-align: center;
}

.stat-col { display: flex; flex-direction: column; align-items: center; }
.stat-big-num { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--pink-primary); }
.stat-unit { font-size: 13px; font-weight: 700; color: var(--ink-primary); }
.stat-sub { font-size: 11.5px; color: var(--ink-secondary); }
.stat-divider-vert { width: 1px; height: 60px; background: rgba(0, 0, 0, 0.08); }

/* Live Breathing Stage */
.breathing-stage-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.breathing-orb-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breathing-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(232, 91, 145, 0.25);
  box-shadow: 0 0 35px rgba(232, 91, 145, 0.15);
  transition: transform 1s ease;
}

.breathing-center-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #FF2A7A 0%, #FA1973 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(255, 42, 122, 0.35);
  transition: transform 1s ease;
}

.breathing-phase-text { font-size: 14px; font-weight: 700; }
.breathing-counter { font-family: var(--font-display); font-size: 32px; font-weight: 800; }

.breathing-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.b-step {
  font-size: 13.5px;
  color: var(--ink-body);
  padding: 10px 14px;
  border-radius: 12px;
  background: #FCFAFA;
}

.breathing-cycles-count {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--ink-secondary);
  margin-top: 10px;
}

.tools-disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 18px;
  background: #FFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 24px;
}

.disclaimer-icon { font-size: 20px; flex-shrink: 0; }
.disclaimer-text { font-size: 12.5px; color: var(--ink-secondary); line-height: 1.6; }

/* ==========================================================================
   SECTION 06 — ROJIFY MAGAZINE (ANIMATION #19: SCROLL-TRIGGERED CMS CARDS)
   ========================================================================== */
.magazine-section {
  padding: 110px 0 100px;
  background: #FFFFFF;
}

.magazine-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.magazine-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.magazine-subtitle { font-size: 16px; color: var(--ink-secondary); }

.magazine-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.mag-tab-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FCFAFA;
  color: var(--ink-body);
  font-family: var(--font-persian);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mag-tab-btn.active, .mag-tab-btn:hover {
  background: var(--pink-primary);
  color: #FFFFFF;
  border-color: var(--pink-primary);
  box-shadow: 0 4px 14px rgba(255, 42, 122, 0.25);
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mag-card {
  border-radius: 24px;
  background: #FCFAFA;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mag-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.mag-card-media {
  height: 160px;
  background: linear-gradient(135deg, #F9DCE8 0%, #EDE5FA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mag-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.tag-nutrition { color: #E85B91; }
.tag-cycle { color: #B69AE8; }
.tag-fitness { color: #48A9C5; }
.tag-mind { color: #E8913C; }
.tag-health { color: #2E6B72; }

.mag-card-icon-art { font-size: 48px; }

.mag-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mag-meta-row {
  font-size: 11.5px;
  color: var(--ink-muted);
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.mag-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.45;
  margin-bottom: 10px;
}

.mag-card-excerpt {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.mag-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
}

.mag-date { font-size: 12px; color: var(--ink-muted); }
.mag-read-link { font-size: 12.5px; font-weight: 700; color: var(--pink-primary); text-decoration: none; }

/* ==========================================================================
   SECTION 07 — METRICS & COMMUNITY (REAL PRODUCT CAPABILITIES)
   ========================================================================== */
.metrics-section {
  padding: 100px 0;
  background: #FCFAFA;
}

.metrics-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.metrics-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.metrics-subtitle { font-size: 16px; color: var(--ink-secondary); }

.metrics-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-counter-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 24px;
  border: 1px solid rgba(232, 91, 145, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.25s ease;
}

.metric-counter-card:hover { transform: translateY(-4px); }

.counter-icon { font-size: 32px; margin-bottom: 12px; }

.counter-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--pink-primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
  display: block;
  margin-bottom: 6px;
}

.counter-sub {
  font-size: 12px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 08 — SMART PERSONALIZATION (ANIMATION #6: STICKY FULL PAGE SLIDES)
   ========================================================================== */
.slides-section {
  padding: 110px 0 0;
  background: #FFFFFF;
}

.slides-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.slides-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.slides-subtitle { font-size: 16px; color: var(--ink-secondary); }

.sticky-slides-container {
  position: relative;
  height: 280vh;
  width: 100%;
}

.sticky-slides-viewport {
  position: sticky;
  top: 90px;
  height: calc(100vh - 120px);
  width: min(92%, 1100px);
  margin: 0 auto;
  border-radius: 36px;
  background: linear-gradient(145deg, #FCFAFA 0%, #F9DCE8 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 80px rgba(232, 91, 145, 0.12);
  overflow: hidden;
}

.full-slide-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.full-slide-item.slide-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide-inner-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.slide-phase-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pink-primary);
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}

.slide-headline {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.slide-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-body);
  margin-bottom: 24px;
}

.slide-perk-row { display: flex; flex-wrap: wrap; gap: 10px; }
.perk-chip { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; background: #FFF; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

.slide-card-glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(25px);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.visual-pill { display: inline-block; font-size: 12px; font-weight: 700; color: #B69AE8; background: #FCFAFA; padding: 4px 12px; border-radius: 100px; margin-bottom: 18px; }

.visual-chart-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--pink-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.ring-pct { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--pink-primary); }
.ring-desc { font-size: 11.5px; color: var(--ink-secondary); }
.visual-note { font-size: 13px; color: var(--ink-secondary); line-height: 1.5; }

.slides-dots-bar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-dot {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  border: none;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slide-dot.active {
  width: 48px;
  background: var(--pink-primary);
}

/* ==========================================================================
   SECTION 09 — WHY ROJIFY (BRAND VALUES)
   ========================================================================== */
.why-section {
  padding: 120px 0 100px;
  background: #FCFAFA;
}

.why-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.why-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.why-subtitle { font-size: 16px; color: var(--ink-secondary); }

.why-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.25s ease;
}

.value-card:hover { transform: translateY(-4px); }

.value-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-light);
  position: absolute;
  top: 24px;
  left: 24px;
}

.value-icon { font-size: 32px; margin-bottom: 18px; }
.value-title { font-size: 16.5px; font-weight: 700; color: var(--ink-primary); margin-bottom: 10px; }
.value-desc { font-size: 13.5px; color: var(--ink-secondary); line-height: 1.6; }

/* ==========================================================================
   SECTION 10 — FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 110px 0 100px;
  background: #FFFFFF;
}

.faq-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.faq-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.faq-subtitle { font-size: 16px; color: var(--ink-secondary); }

.faq-accordion-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  background: #FCFAFA;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item.active {
  border-color: rgba(232, 91, 145, 0.3);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(232, 91, 145, 0.06);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: right;
  font-family: var(--font-persian);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
  cursor: pointer;
}

.faq-toggle-icon {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--pink-primary);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-body);
}

/* ==========================================================================
   SECTION 11 — FINAL CTA
   ========================================================================== */
.download-section {
  padding: 100px 0 110px;
  background: #FFFFFF;
}

.download-card-hero {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(135deg, #FF2A7A 0%, #FA1973 50%, #C41656 100%);
  padding: 70px 48px;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(255, 42, 122, 0.35);
}

.download-badge-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.download-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.download-lead {
  font-size: clamp(15px, 1.8vw, 18px);
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.download-buttons-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.app-dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--ink-primary);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.dl-icon { font-size: 26px; }
.dl-text { display: flex; flex-direction: column; text-align: right; }
.dl-sub { font-size: 10.5px; color: var(--ink-secondary); }
.dl-main { font-size: 13.5px; font-weight: 700; }

.download-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-pill {
  font-size: 12.5px;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ==========================================================================
   SECTION 12 — MAIN FOOTER
   ========================================================================== */
.main-footer {
  background: #FCFAFA;
  border-top: 1px solid var(--hairline);
  padding: 80px 0 40px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink-primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
}

.brand-pink-dot { color: var(--pink-primary); }

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  font-size: 12.5px;
  color: var(--ink-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: var(--pink-primary);
  border-color: var(--pink-primary);
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 13px;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--pink-primary);
}

.footer-medical-disclaimer {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
}

.disclaimer-badge {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #D32F2F;
  margin-bottom: 6px;
}

.footer-medical-disclaimer p {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.footer-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.copyright-text {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-primary);
  text-decoration: none;
}

.back-to-top-btn:hover {
  color: var(--pink-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .card-main-layout { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .breathing-stage-layout { grid-template-columns: 1fr; }
  .slide-inner-content { grid-template-columns: 1fr; }
  .metrics-counter-grid { grid-template-columns: repeat(2, 1fr); }
  .magazine-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-wrapper { top: 10px; padding: 0 12px; }
  .liquid-glass-nav { width: 100%; height: 48px; padding: 0 14px; gap: 8px; }
  .nav-brand { font-size: 16px; }
  .nav-actions { gap: 6px; }
  .sound-btn { padding: 6px 9px; font-size: 11px; }
  .sound-btn .sound-label { display: none; }
  .cta-pill-btn { padding: 6px 11px; font-size: 11px; gap: 4px; }
  .mobile-menu-btn { padding: 4px; }
  .magazine-grid { grid-template-columns: 1fr; }
  .metrics-counter-grid { grid-template-columns: 1fr; }
  .footer-main-grid { grid-template-columns: 1fr; }
  .feature-stack-card { padding: 24px; top: 70px; }
  .tool-sticky-card { padding: 24px; top: 70px; }
  .download-card-hero { padding: 40px 20px; }
  .spatial-3d-stage { height: 480px; }
  .spatial-core-phone { width: 220px; height: 380px; }
  .node-cycle, .node-nutrition, .node-mind, .node-privacy { display: none; }
  .sticky-slides-viewport { height: 80vh; }
  .full-slide-item { padding: 24px; }
}


/* =========================================================================
   3D SPATIAL SCROLL ZOOM (ADAM ARGYLE EFFECT — ZEdrzJZ)
   White Background, Luxury Pink Typography, 3D Perspective Flight
   ========================================================================= */
.spatial-zoom-section {
  position: relative;
  width: 100%;
  height: 260vh;
  background: #FFFFFF;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.spatial-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  contain: paint layout;
}

/* Ambient Radial Glow and Orbital Rings */
.spatial-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spatial-glow-radial {
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 220, 232, 0.45) 0%, rgba(255, 240, 246, 0.2) 45%, rgba(255, 255, 255, 0) 70%);
  filter: blur(40px);
}

.spatial-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(232, 91, 145, 0.12);
  pointer-events: none;
}

.ring-sm {
  width: 320px;
  height: 320px;
  animation: spatialRingSpin 60s linear infinite;
}

.ring-md {
  width: 580px;
  height: 580px;
  border-color: rgba(232, 91, 145, 0.08);
  animation: spatialRingSpin 90s linear infinite reverse;
}

.ring-lg {
  width: 900px;
  height: 900px;
  border-color: rgba(232, 91, 145, 0.05);
}

@keyframes spatialRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 3D World Container */
.spatial-world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Center Brand Anchor */
.spatial-center-anchor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  pointer-events: auto;
  transform-style: preserve-3d;
  width: max-content;
  max-width: 90vw;
  padding: 10px;
}

.spatial-center-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(232, 91, 145, 0.08);
  border: 1px solid rgba(232, 91, 145, 0.2);
  color: var(--pink-primary);
  font-family: var(--font-fa);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}

.badge-pulsing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF1A75;
  box-shadow: 0 0 8px rgba(255, 26, 117, 0.7);
  animation: pulseDot 2s infinite ease-in-out;
}

.spatial-center-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 8.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--pink-primary);
  background: linear-gradient(135deg, #FF1A75 0%, #FA2E86 50%, #FF599A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(232, 91, 145, 0.2));
}

.spatial-center-tagline {
  font-family: var(--font-fa);
  font-size: clamp(14px, 1.8vw, 21px);
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: 10px;
  letter-spacing: -0.01em;
}

/* Spatial Items (Floating 3D Words) */
.spatial-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  pointer-events: auto;
  user-select: none;
}

.spatial-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 91, 145, 0.24);
  box-shadow: 0 12px 32px -6px rgba(232, 91, 145, 0.16), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.spatial-pill:hover {
  border-color: rgba(232, 91, 145, 0.5);
  box-shadow: 0 16px 40px -4px rgba(232, 91, 145, 0.28);
  transform: scale(1.05);
}

.spatial-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF1A75, #FA2E86);
  box-shadow: 0 0 10px rgba(255, 26, 117, 0.6);
  flex-shrink: 0;
}

.spatial-pill-text {
  font-family: var(--font-fa);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 17px);
  color: #E85B91;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Scroll Hint Pill */
.spatial-hint-pill {
  position: absolute;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 91, 145, 0.2);
  color: #77717C;
  font-family: var(--font-fa);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(232, 91, 145, 0.1);
  z-index: 10;
  transition: opacity 0.3s ease;
}

.hint-dot-radar {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E85B91;
  animation: pulseDot 1.5s infinite;
}

/* Mobile Responsiveness for Spatial Section */
@media (max-width: 768px) {
  .spatial-zoom-section {
    height: 220vh;
  }

  .spatial-center-logo {
    font-size: clamp(34px, 10vw, 48px);
  }

  .spatial-center-tagline {
    font-size: 14px;
    margin-top: 6px;
  }

  .spatial-center-badge {
    padding: 4px 12px;
    font-size: 11px;
    margin-bottom: 8px;
  }

  .spatial-pill {
    padding: 6px 14px;
    gap: 7px;
  }

  .spatial-pill-text {
    font-size: 12px;
  }

  .spatial-pill-dot {
    width: 6px;
    height: 6px;
  }

  .spatial-hint-pill {
    bottom: 16px;
    font-size: 11px;
    padding: 6px 14px;
  }
}


/* =========================================================================
   SECTION 03: INTERACTIVE 3D STORYTELLING WITH REAL APP MOCKUPS
   Awwwards Liquid Glass Showcase + Enlarged Tilted 3D Device Stage
   ========================================================================= */
.storytelling-features-section {
  position: relative;
  width: 100%;
  height: 550vh; /* Smooth, locked 6-stage storytelling track */
  background: #FFFFFF;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.storytelling-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  contain: paint layout;
}

/* Ambient Subtle Silk Backdrop Orbs & Wave */
.storytelling-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.story-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.65;
}

.glow-top {
  top: -12%;
  left: 8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 165, 206, 0.36) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-bottom {
  bottom: -15%;
  left: 18%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214, 184, 247, 0.28) 0%, rgba(255, 255, 255, 0) 70%);
}

.story-silk-wave {
  position: absolute;
  top: 10%;
  left: -8%;
  width: 56%;
  height: 82%;
  border-radius: 48% 52% 62% 38% / 44% 56% 44% 56%;
  background: radial-gradient(ellipse at 45% 45%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 214, 233, 0.28) 55%, transparent 80%);
  transform: rotate(-10deg);
  filter: blur(22px);
}

.storytelling-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  height: 100%;
  max-height: 920px;
  margin: 0 auto;
  padding: 76px 48px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Top Meta Bar */
.storytelling-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 42, 122, 0.1);
  margin-bottom: 10px;
  flex-shrink: 0;
}

.story-header-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-persian);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pink-primary);
}

.story-progress-indicator {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 3px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(255, 42, 122, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.story-step-now {
  font-size: 17px;
  color: var(--pink-primary);
}

.story-step-slash {
  font-size: 13px;
  color: var(--ink-muted);
}

.story-step-total {
  font-size: 12.5px;
  color: var(--ink-secondary);
}

/* Main Split Grid (Desktop: Right = Editorial Liquid Rows, Left = Enlarged 3D Phone) */
.storytelling-split-grid {
  display: grid;
  grid-template-columns: 1.15fr minmax(380px, 490px);
  gap: 40px;
  align-items: center;
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* In RTL: order 1 is RIGHT (Text & Glass Feature Rows), order 2 is LEFT (Mockup) */
.storytelling-content-col {
  order: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 0;
}

.storytelling-mockup-col {
  order: 2;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  perspective-origin: 50% 48%;
}

/* Soft Artistic Silhouette & Floating Liquid Glass Ornaments */
.mockup-silhouette-svg {
  position: absolute;
  top: 4%;
  right: 2%;
  width: clamp(200px, 19vw, 270px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
  filter: drop-shadow(0 8px 24px rgba(255, 104, 162, 0.14));
}

.float-glass-ornament {
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 240, 248, 0.45) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow:
    0 16px 36px rgba(232, 91, 145, 0.14),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  pointer-events: none;
  animation: glassOrnFloat 5.5s ease-in-out infinite;
}

.float-orn-calendar {
  top: 32%;
  left: 4%;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  transform: rotate(-10deg);
  padding: 12px;
}

.orn-inner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 100%;
}

.orn-inner-grid span {
  height: 7px;
  border-radius: 3px;
  background: rgba(182, 154, 232, 0.45);
}

.orn-inner-grid span.active-dot {
  background: var(--pink-primary);
}

.orn-check-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ADE80, #22C55E);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
}

.float-orn-leaf {
  top: 52%;
  right: 4%;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  transform: rotate(12deg);
  animation-delay: -2.2s;
}

.float-lotus-accent {
  position: absolute;
  bottom: 4%;
  left: 6%;
  z-index: 25;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(244, 114, 182, 0.35));
  animation: glassOrnFloat 6.5s ease-in-out infinite reverse;
}

@keyframes glassOrnFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-9px) rotate(-2deg); }
}

/* Enlarged Tightly-Cropped 3D Mockup Viewport */
.mockup-3d-viewport {
  position: relative;
  height: clamp(470px, 72vh, 650px);
  aspect-ratio: 389 / 811;
  width: auto;
  max-width: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mockup-aura-shadow {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 115%;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 42, 122, 0.32) 0%, rgba(17, 20, 25, 0.1) 45%, transparent 75%);
  filter: blur(18px);
  pointer-events: none;
}

/* 3D Mockup Device Card */
.mockup-device-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  transition: transform 0.08s linear, opacity 0.12s linear, filter 0.12s linear;
  pointer-events: none;
}

.device-screen-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 52px rgba(255, 42, 122, 0.2)) drop-shadow(0 10px 24px rgba(17, 20, 25, 0.16));
  user-select: none;
  -webkit-user-drag: none;
}

.device-reflection-sheen {
  position: absolute;
  inset: 2%;
  border-radius: 36px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
  opacity: 0.5;
}

/* Right Column: Open Editorial Narrative + Frosted Glass Feature Rows (Grid Overlay = Zero Void) */
.story-panels-stack {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
}

.story-panel-item {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  pointer-events: none;
}

.story-panel-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

/* Category Pill (Frosted Liquid Capsule) */
.panel-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 236, 245, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(255, 42, 122, 0.08), inset 0 1px 1px #FFFFFF;
  width: max-content;
  margin-bottom: 10px;
}

.category-sparkle {
  color: var(--pink-primary);
  font-size: 13px;
}

.category-tag-fa {
  font-family: var(--font-persian);
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-primary);
}

/* Two-Tone Editorial Title */
.panel-main-title {
  font-family: var(--font-persian);
  font-size: clamp(25px, 2.7vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  color: var(--ink-primary);
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.panel-main-title .highlight-pink {
  background: linear-gradient(135deg, #FF1A75 0%, #E01164 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.panel-description {
  font-family: var(--font-persian);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0 0 14px 0;
  max-width: 600px;
}

/* Features List: 5 Liquid Glass Pill Cards (3-Col: Icon Badge | Title + Subtitle | Chevron) */
.panel-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-persian);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 245, 250, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  padding: 9px 14px;
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 
    0 10px 26px rgba(232, 91, 145, 0.06),
    0 2px 6px rgba(17, 20, 25, 0.02),
    inset 0 1.5px 2px rgba(255, 255, 255, 1),
    inset 0 -1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.p-feature-item:hover {
  transform: translateX(-5px);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 240, 247, 0.88) 100%);
  border-color: rgba(255, 42, 122, 0.28);
  box-shadow: 0 14px 32px rgba(255, 42, 122, 0.12), inset 0 1.5px 2px #FFFFFF;
}

/* Pastel Glowing Circular Icon Badges */
.feat-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05), inset 0 1.5px 2px rgba(255, 255, 255, 0.9);
}

.badge-pink { background: linear-gradient(145deg, #FFD6E8, #FFEBF4); color: #E82479; }
.badge-green { background: linear-gradient(145deg, #D8FAD6, #ECFFEE); color: #1FA855; }
.badge-purple { background: linear-gradient(145deg, #E8DCFF, #F4EDFF); color: #7C3AED; }
.badge-amber { background: linear-gradient(145deg, #FFE4C2, #FFF2DF); color: #D97706; }
.badge-blue { background: linear-gradient(145deg, #D6EBFF, #ECF5FF); color: #2563EB; }
.badge-coral { background: linear-gradient(145deg, #FFD8DC, #FFECEE); color: #E11D48; }

.feat-text-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.feat-item-title {
  font-size: clamp(13px, 1.05vw, 14.5px);
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.3;
}

.feat-item-desc {
  font-size: clamp(11px, 0.92vw, 12px);
  font-weight: 400;
  color: var(--ink-secondary);
  line-height: 1.4;
}

/* Key Takeaway Strip: Lightweight Liquid Glass Pill */
.panel-key-takeaway {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 238, 246, 0.85) 0%, rgba(246, 238, 255, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(232, 91, 145, 0.06), inset 0 1px 1px #FFFFFF;
}

.takeaway-badge {
  font-family: var(--font-persian);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--pink-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.takeaway-text {
  font-family: var(--font-persian);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink-body);
  margin: 0;
}

/* =========================================================================
   RESPONSIVENESS (TABLET & MOBILE — FULL CONTENT VISIBLE, ZERO EMPTY VOIDS)
   ========================================================================= */
@media (max-width: 1024px) {
  .storytelling-container {
    padding: 70px 24px 18px;
    max-height: none;
  }

  .storytelling-split-grid {
    grid-template-columns: 1.15fr 320px;
    gap: 24px;
  }

  .mockup-3d-viewport {
    height: clamp(420px, 64vh, 560px);
  }
}

@media (max-width: 768px) {
  .storytelling-features-section {
    height: 480vh; /* Smooth, locked 6-stage storytelling track */
  }

  .storytelling-sticky-stage {
    justify-content: flex-start;
    padding-top: 64px;
    height: 100vh;
    height: 100dvh;
  }

  .storytelling-container {
    padding: 6px 14px max(12px, env(safe-area-inset-bottom));
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    box-sizing: border-box;
  }

  .storytelling-top-bar {
    padding-bottom: 5px;
    margin-bottom: 2px;
    flex-shrink: 0;
  }

  .story-section-title {
    font-size: 10.5px;
  }

  .story-progress-indicator {
    padding: 2px 10px;
    font-size: 11px;
  }

  .story-step-now {
    font-size: 14px;
  }

  .storytelling-split-grid {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 6px;
    justify-content: flex-start;
    height: auto;
  }

  /* 1. TOP MOCKUP: Enlarged Tightly-Cropped 3D Phone + Orbiting Glass Ornaments */
  .storytelling-mockup-col {
    order: 1;
    flex: 1 1 0;
    height: auto;
    min-height: 190px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
    overflow: visible;
  }

  .mockup-silhouette-svg {
    top: 2%;
    right: 16%;
    width: 130px;
    opacity: 0.75;
  }

  .float-orn-calendar {
    top: 28%;
    left: 14%;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    padding: 7px;
  }

  .orn-inner-grid {
    gap: 3px;
  }

  .orn-inner-grid span {
    height: 4px;
  }

  .orn-check-badge {
    width: 15px;
    height: 15px;
  }

  .float-orn-leaf {
    top: 48%;
    right: 14%;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .float-orn-leaf svg {
    width: 20px;
    height: 20px;
  }

  .float-lotus-accent {
    bottom: 2%;
    left: 15%;
    transform: scale(0.75);
  }

  .mockup-3d-viewport {
    height: 100%;
    aspect-ratio: 389 / 811;
    width: auto;
    max-height: 100%;
  }

  .mockup-aura-shadow {
    bottom: -10px;
    width: 120%;
    height: 22px;
    filter: blur(10px);
  }

  .device-reflection-sheen {
    border-radius: 24px;
  }

  /* 2. BOTTOM CONTENT: Tight Hugging Layout — ALL 5 Liquid Glass Feature Rows Visible, ZERO Empty Gaps */
  .storytelling-content-col {
    order: 2;
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding: 0;
    overflow: visible;
  }

  .story-panels-stack {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    width: 100%;
    height: auto;
  }

  .story-panel-item {
    grid-area: 1 / 1;
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .panel-category-pill {
    padding: 2px 10px;
    margin-bottom: 4px;
    gap: 5px;
  }

  .category-sparkle {
    font-size: 10px;
  }

  .category-tag-fa {
    font-size: 10px;
  }

  .panel-main-title {
    font-size: 18px;
    margin-bottom: 3px;
    line-height: 1.25;
  }

  .panel-description {
    font-size: 11px;
    line-height: 1.48;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .panel-features-list {
    gap: 5px;
    margin-bottom: 6px;
  }

  /* Show ALL 5 Liquid Glass Feature Rows cleanly on Mobile */
  .p-feature-item {
    display: flex !important;
    padding: 5px 10px;
    border-radius: 13px;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(232, 91, 145, 0.05), inset 0 1px 1px #FFFFFF;
  }

  .feat-icon-badge {
    width: 28px;
    height: 28px;
  }

  .feat-icon-badge svg {
    width: 15px;
    height: 15px;
  }

  .feat-item-title {
    font-size: 11.5px;
    line-height: 1.25;
  }

  .feat-item-desc {
    font-size: 9.8px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .panel-key-takeaway {
    padding: 5px 10px;
    border-radius: 12px;
    gap: 5px;
    flex-wrap: wrap;
  }

  .takeaway-badge {
    font-size: 10px;
  }

  .takeaway-text {
    font-size: 10px;
    line-height: 1.4;
  }

}

/* =========================================================================
   SECTION 03 · V3 REFINEMENTS
   Feathered backdrop edges · Live feature shimmer · Staggered copy reveal
   Mobile liquid-glass header & counter · Full-screen responsive fit
   ========================================================================= */

/* 1. Feathered pink atmosphere: fades softly into the white sections around it */
.storytelling-backdrop {
  background:
    radial-gradient(circle at 22% 48%, rgba(255, 206, 229, 0.52) 0%, rgba(253, 236, 245, 0.66) 38%, rgba(255, 250, 253, 0.9) 72%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #FFF6FA 0%, #FFF9FC 50%, #FFF6FA 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.55) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.55) 93%, transparent 100%);
}

/* 2. Live, very light shimmer sweeping across every feature card */
.p-feature-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.p-feature-item > * {
  position: relative;
  z-index: 1;
}

.p-feature-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.85) 48%, rgba(255, 214, 233, 0.45) 52%, transparent 62%, transparent 100%);
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  animation: featShimmer 6.5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.p-feature-item:nth-child(2)::after { animation-delay: 0.55s; }
.p-feature-item:nth-child(3)::after { animation-delay: 1.1s; }
.p-feature-item:nth-child(4)::after { animation-delay: 1.65s; }
.p-feature-item:nth-child(5)::after { animation-delay: 2.2s; }

.feat-icon-badge {
  animation: featBadgeGlow 6.5s ease-in-out infinite;
}

.p-feature-item:nth-child(2) .feat-icon-badge { animation-delay: 0.55s; }
.p-feature-item:nth-child(3) .feat-icon-badge { animation-delay: 1.1s; }
.p-feature-item:nth-child(4) .feat-icon-badge { animation-delay: 1.65s; }
.p-feature-item:nth-child(5) .feat-icon-badge { animation-delay: 2.2s; }

@keyframes featShimmer {
  0%   { background-position: 130% 0; }
  32%  { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}

@keyframes featBadgeGlow {
  0%, 100% { box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05), inset 0 1.5px 2px rgba(255, 255, 255, 0.9); }
  16%      { box-shadow: 0 6px 18px rgba(255, 42, 122, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.55), inset 0 1.5px 2px #FFFFFF; }
}

/* 3. Staggered copy reveal (blur → sharp, rise in) on enter and on every step change */
.storytelling-features-section:not(.is-inview) .story-panel-item.active > *,
.storytelling-features-section:not(.is-inview) .story-panel-item.active .p-feature-item {
  opacity: 0;
}

.storytelling-features-section.is-inview .story-panel-item.active > * {
  animation: storyCopyRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.storytelling-features-section.is-inview .story-panel-item.active > .panel-main-title    { animation-delay: 0.07s; }
.storytelling-features-section.is-inview .story-panel-item.active > .panel-description   { animation-delay: 0.14s; }
.storytelling-features-section.is-inview .story-panel-item.active > .panel-features-list { animation: none; }
.storytelling-features-section.is-inview .story-panel-item.active > .panel-key-takeaway  { animation-delay: 0.56s; }

.storytelling-features-section.is-inview .story-panel-item.active .p-feature-item {
  animation: featCardRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.storytelling-features-section.is-inview .story-panel-item.active .p-feature-item:nth-child(1) { animation-delay: 0.2s; }
.storytelling-features-section.is-inview .story-panel-item.active .p-feature-item:nth-child(2) { animation-delay: 0.27s; }
.storytelling-features-section.is-inview .story-panel-item.active .p-feature-item:nth-child(3) { animation-delay: 0.34s; }
.storytelling-features-section.is-inview .story-panel-item.active .p-feature-item:nth-child(4) { animation-delay: 0.41s; }
.storytelling-features-section.is-inview .story-panel-item.active .p-feature-item:nth-child(5) { animation-delay: 0.48s; }

@keyframes storyCopyRise {
  from { opacity: 0; transform: translateY(16px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes featCardRise {
  from { opacity: 0; transform: translateY(14px) scale(0.97); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Counter pop whenever the step changes */
.story-progress-indicator.is-ticking .story-step-now {
  display: inline-block;
  animation: counterTick 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes counterTick {
  0%   { transform: translateY(6px) scale(0.8); opacity: 0.2; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* 4. Mobile: live Apple-style liquid glass header + counter, full-screen fit */
@media (max-width: 768px) {
  .storytelling-top-bar {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 4px;
    gap: 8px;
  }

  .story-header-meta,
  .story-progress-indicator {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 240, 248, 0.36) 100%);
    backdrop-filter: blur(22px) saturate(185%);
    -webkit-backdrop-filter: blur(22px) saturate(185%);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow:
      0 8px 22px rgba(232, 91, 145, 0.1),
      0 2px 6px rgba(17, 20, 25, 0.03),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.96),
      inset 0 -1px 2px rgba(255, 255, 255, 0.4),
      inset 0 0 12px rgba(255, 255, 255, 0.25);
    animation: glassBreath 5s ease-in-out infinite;
  }

  .story-header-meta {
    padding: 6px 12px;
    min-width: 0;
    flex: 0 1 auto;
  }

  .story-progress-indicator {
    padding: 4px 12px;
    flex-shrink: 0;
    animation-delay: -2.5s;
  }

  .story-header-meta > *,
  .story-progress-indicator > * {
    position: relative;
    z-index: 2;
  }

  /* Convex top specular highlight */
  .story-header-meta::before,
  .story-progress-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 55%;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
  }

  /* Travelling glint */
  .story-header-meta::after,
  .story-progress-indicator::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 200, 226, 0.35) 54%, transparent 70%);
    background-size: 280% 100%;
    background-position: 140% 0;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: soft-light;
    animation: glassGlint 4.8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  }

  .story-progress-indicator::after {
    animation-delay: 1.4s;
  }

  .story-section-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  @keyframes glassBreath {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-1.5px); }
  }

  @keyframes glassGlint {
    0%   { background-position: 140% 0; }
    38%  { background-position: -40% 0; }
    100% { background-position: -40% 0; }
  }

  /* Mockup absorbs all free height; copy sits low on the screen */
  .storytelling-split-grid {
    gap: 10px;
  }

  .storytelling-mockup-col {
    max-height: 60dvh;
  }

  /* Shorter, content-hugging feature cards */
  .panel-features-list {
    align-items: flex-start;
  }

  .p-feature-item {
    width: fit-content;
    max-width: min(100%, 320px);
    padding: 5px 12px 5px 14px;
  }
}

/* Very short phones (e.g. iPhone SE): keep everything on one screen */
@media (max-width: 768px) and (max-height: 700px) {
  .panel-description {
    -webkit-line-clamp: 1;
    margin-bottom: 5px;
  }

  .panel-key-takeaway {
    display: none;
  }

  .storytelling-mockup-col {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-feature-item::after,
  .feat-icon-badge,
  .story-header-meta,
  .story-progress-indicator,
  .story-header-meta::after,
  .story-progress-indicator::after,
  .storytelling-features-section.is-inview .story-panel-item.active > *,
  .storytelling-features-section.is-inview .story-panel-item.active .p-feature-item,
  .story-progress-indicator.is-ticking .story-step-now {
    animation: none !important;
  }
}

/* Mobile fix: copy column hugs its content so the mockup takes all remaining height */
@media (max-width: 768px) {
  .storytelling-content-col {
    height: auto;
  }
}

/* =========================================================================
   SECTION 03 · V4
   Glass header on every screen · Apple-style page dots under the mockup
   Per-step floating glass chips & icon tiles · Slow, soft edge fade
   ========================================================================= */

/* 1. Slow, soft edge fade: tinted section base + atmosphere eased in/out by scroll (JS) */
.storytelling-features-section {
  background: linear-gradient(180deg, #FFFFFF 0, #FFF7FB 95vh, #FFF7FB calc(100% - 95vh), #FFFFFF 100%);
}

.storytelling-backdrop {
  background: radial-gradient(ellipse 75% 55% at 28% 50%, rgba(255, 200, 226, 0.5) 0%, rgba(253, 232, 243, 0.42) 45%, rgba(255, 246, 250, 0) 100%);
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 0;
  will-change: opacity;
}

.glow-top { top: 10%; }
.glow-bottom { bottom: 8%; }

/* 2. Live liquid-glass header pill on desktop too */
.storytelling-top-bar {
  border-bottom: none;
  padding-bottom: 0;
}

.story-header-meta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 240, 248, 0.36) 100%);
  backdrop-filter: blur(22px) saturate(185%);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 8px 22px rgba(232, 91, 145, 0.1),
    0 2px 6px rgba(17, 20, 25, 0.03),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.96),
    inset 0 -1px 2px rgba(255, 255, 255, 0.4),
    inset 0 0 12px rgba(255, 255, 255, 0.25);
  animation: lgBreath 5s ease-in-out infinite;
}

.story-header-meta > * {
  position: relative;
  z-index: 2;
}

.story-header-meta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 55%;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Shared live glass for dots and floating chips/tiles */
.story-dots,
.ff-glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 240, 248, 0.5) 100%);
  backdrop-filter: blur(18px) saturate(175%);
  -webkit-backdrop-filter: blur(18px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 14px 32px rgba(232, 91, 145, 0.15),
    0 2px 6px rgba(17, 20, 25, 0.04),
    inset 0 1.5px 2px #FFFFFF,
    inset 0 -1px 2px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  isolation: isolate;
}

.story-header-meta::after,
.story-dots::after,
.ff-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 200, 226, 0.35) 54%, transparent 70%);
  background-size: 280% 100%;
  background-position: 140% 0;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: soft-light;
  animation: lgGlint 4.8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.story-dots::after { animation-delay: 1.2s; }

/* 3. Apple-style page dots under the mockup (replace the numeric counter) */
.story-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  margin-inline: auto;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 40;
  direction: rtl;
  animation: lgBreath 5s ease-in-out infinite;
  animation-delay: -1.6s;
}

.story-dot {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(232, 91, 145, 0.28);
  cursor: pointer;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.story-dot::before {
  content: '';
  position: absolute;
  inset: -8px -4px;
}

.story-dot:hover {
  background: rgba(232, 91, 145, 0.5);
}

.story-dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, #FF3385 0%, #E61568 100%);
  box-shadow: 0 0 10px rgba(255, 42, 122, 0.45);
}

.story-dot:focus-visible {
  outline: 2px solid rgba(255, 42, 122, 0.5);
  outline-offset: 3px;
}

/* 4. Per-step floating glass: 1 title chip + 3 feature icon tiles, new positions each step */
.mockup-float-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.float-set {
  position: absolute;
  inset: 0;
}

.ff-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

.ff-body {
  opacity: 0;
  transform: translateY(12px) scale(0.62);
  filter: blur(6px);
  transition: opacity 0.28s ease, transform 0.3s ease, filter 0.28s ease;
}

.float-set.is-active .ff-body {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.55s ease var(--d, 0s),
    transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s),
    filter 0.55s ease var(--d, 0s);
}

.ff-glass {
  position: relative;
  rotate: var(--r, 0deg);
  animation: ffFloat 5.6s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}

.ff-tile .ff-glass {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-tile svg {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
}

.ff-chip .ff-glass {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-persian);
  font-size: 13px;
  font-weight: 800;
  color: var(--pink-primary);
}

.ff-chip .ff-glass > * {
  position: relative;
  z-index: 2;
}

.ff-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FF3385, #E61568);
  animation: ffPulse 2.4s ease-in-out infinite;
}

.ff-pink   { color: #E82479; }
.ff-purple { color: #7C3AED; }
.ff-green  { color: #1FA855; }
.ff-amber  { color: #D97706; }
.ff-blue   { color: #2563EB; }
.ff-coral  { color: #E11D48; }

/* Desktop feature cards hug their text like the mobile version */
.panel-features-list {
  align-items: flex-start;
}

.p-feature-item {
  width: fit-content;
  min-width: min(100%, 440px);
  max-width: 100%;
}

@keyframes ffFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes ffPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 42, 122, 0.16); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 42, 122, 0.05); }
}

@keyframes lgBreath {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.5px); }
}

@keyframes lgGlint {
  0%   { background-position: 140% 0; }
  38%  { background-position: -40% 0; }
  100% { background-position: -40% 0; }
}

@media (max-width: 768px) {
  .panel-category-pill {
    display: none;
  }

  .p-feature-item {
    min-width: 0;
  }

  .storytelling-mockup-col {
    box-sizing: border-box;
    padding-bottom: 30px;
  }

  .mockup-float-layer {
    bottom: 30px;
  }

  .story-dots {
    bottom: -27px;
    padding: 6px 10px;
    gap: 6px;
  }

  .story-dot {
    width: 6px;
    height: 6px;
  }

  .story-dot.is-active {
    width: 18px;
  }

  .ff-tile .ff-glass {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .ff-tile svg {
    width: 19px;
    height: 19px;
  }

  .ff-chip .ff-glass {
    font-size: 11px;
    padding: 6px 11px;
    gap: 5px;
  }

  .ff-chip-dot {
    width: 6px;
    height: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-header-meta,
  .story-header-meta::after,
  .story-dots,
  .story-dots::after,
  .ff-glass,
  .ff-glass::after,
  .ff-chip-dot {
    animation: none !important;
  }

  .ff-body,
  .float-set.is-active .ff-body {
    transition: opacity 0.2s ease !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Mobile: equal-width feature cards per step, sized by the longest feature */
@media (max-width: 768px) {
  .panel-features-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: flex-start;
    width: fit-content;
    max-width: min(100%, 320px);
  }

  .p-feature-item {
    width: auto;
    min-width: 0;
    max-width: none;
  }
}

/* =========================================================================
   PERFORMANCE PASS (visuals unchanged)
   GPU-only shimmer & glint · no box-shadow animation · animations paused
   while off-screen or hidden
   ========================================================================= */

/* Feature shimmer: same sweep, driven by transform instead of background-position */
.p-feature-item::after {
  inset: 0 auto 0 0;
  width: 260%;
  border-radius: 0;
  background-size: 100% 100%;
  background-position: 0 0;
  transform: translate3d(-80%, 0, 0);
  animation: featShimmerT 6.5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes featShimmerT {
  0%   { transform: translate3d(-80%, 0, 0); }
  32%  { transform: translate3d(18.46%, 0, 0); }
  100% { transform: translate3d(18.46%, 0, 0); }
}

/* Glass glint on header, dots and floating chips/tiles: same sweep, transform-driven */
.story-header-meta::after,
.story-dots::after,
.ff-glass::after {
  inset: 0 auto 0 0;
  width: 280%;
  border-radius: 0;
  background-size: 100% 100%;
  background-position: 0 0;
  transform: translate3d(-90%, 0, 0);
  animation: lgGlintT 4.8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.story-dots::after { animation-delay: 1.2s; }

@keyframes lgGlintT {
  0%   { transform: translate3d(-90%, 0, 0); }
  38%  { transform: translate3d(25.71%, 0, 0); }
  100% { transform: translate3d(25.71%, 0, 0); }
}

/* Icon badge glow: fade a pre-drawn glow instead of animating box-shadow */
.feat-icon-badge {
  position: relative;
  animation: none;
}

.feat-icon-badge::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(255, 42, 122, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: featBadgeGlowT 6.5s ease-in-out infinite;
}

.p-feature-item:nth-child(2) .feat-icon-badge::after { animation-delay: 0.55s; }
.p-feature-item:nth-child(3) .feat-icon-badge::after { animation-delay: 1.1s; }
.p-feature-item:nth-child(4) .feat-icon-badge::after { animation-delay: 1.65s; }
.p-feature-item:nth-child(5) .feat-icon-badge::after { animation-delay: 2.2s; }

@keyframes featBadgeGlowT {
  0%, 100% { opacity: 0; }
  16%      { opacity: 1; }
}

/* Chip pulse dot: scale/fade a ring instead of animating box-shadow */
.ff-chip-dot {
  position: relative;
  animation: none;
}

.ff-chip-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(255, 42, 122, 0.16);
  animation: ffPulseT 2.4s ease-in-out infinite;
}

@keyframes ffPulseT {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.35; }
}

/* Don't spend GPU time on things nobody can see */
.is-offscreen,
.is-offscreen *,
.is-offscreen *::before,
.is-offscreen *::after,
.story-panel-item:not(.active) *,
.story-panel-item:not(.active) *::after,
.float-set:not(.is-active) *,
.float-set:not(.is-active) *::after {
  animation-play-state: paused !important;
}

.float-set {
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}

.float-set.is-active {
  visibility: visible;
  transition: visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .p-feature-item::after,
  .story-header-meta::after,
  .story-dots::after,
  .ff-glass::after,
  .feat-icon-badge::after,
  .ff-chip-dot::after {
    animation: none !important;
  }
}

/* =========================================================================
   MOBILE GPU LITE MODE (phones / touch screens)
   Same look, far less GPU work: no live backdrop blur on moving layers,
   no blend-mode compositing, no blur filters during scroll-driven motion
   ========================================================================= */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  /* 3D words + ROJIFY badge: they sit on a white stage, so the backdrop blur was invisible but costly */
  .spatial-pill {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
    transition: none;
  }

  .spatial-center-badge {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(253, 236, 244, 0.95);
  }

  .spatial-item,
  .mockup-device-card {
    will-change: transform, opacity;
  }

  .spatial-glow-radial {
    filter: none;
    background: radial-gradient(circle, rgba(249, 220, 232, 0.4) 0%, rgba(255, 240, 246, 0.18) 40%, rgba(255, 255, 255, 0) 68%);
  }

  .story-glow-orb {
    filter: none;
  }

  .glow-top {
    background: radial-gradient(circle, rgba(255, 165, 206, 0.26) 0%, rgba(255, 210, 230, 0.1) 40%, rgba(255, 255, 255, 0) 68%);
  }

  .glow-bottom {
    background: radial-gradient(circle, rgba(214, 184, 247, 0.2) 0%, rgba(230, 214, 250, 0.08) 40%, rgba(255, 255, 255, 0) 68%);
  }

  .story-silk-wave {
    filter: none;
  }

  /* Storytelling glass: frosted look kept with denser fills instead of live backdrop blur */
  .p-feature-item,
  .ff-glass,
  .story-dots,
  .story-header-meta,
  .panel-category-pill,
  .panel-key-takeaway {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .p-feature-item {
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 245, 250, 0.9) 100%);
  }

  .ff-glass,
  .story-dots {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 248, 0.86) 100%);
  }

  .story-header-meta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 240, 248, 0.82) 100%);
  }

  /* Shimmer & glint: normal blending (blend modes force full-layer compositing on phones) */
  .p-feature-item::after,
  .story-header-meta::after,
  .story-dots::after,
  .ff-glass::after {
    mix-blend-mode: normal;
    opacity: 0.55;
    will-change: transform;
  }

  /* Phone screenshots: one light shadow instead of two stacked drop-shadow filters */
  .device-screen-img {
    filter: drop-shadow(0 16px 28px rgba(255, 42, 122, 0.18));
  }

  /* Copy reveal: same rise & fade, without per-frame blur on seven layers at once */
  @keyframes storyCopyRise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes featCardRise {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .ff-body,
  .float-set.is-active .ff-body {
    filter: none;
  }
}

/* =========================================================================
   SECTION 07 · TRUST GRID — "Rojify در مسیر همراهی با زنان"
   Glossy 3D icon bubbles · frosted cards · count-up stats · staged reveal
   ========================================================================= */
.trust-section {
  position: relative;
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF6FA 16%, #FDF1F7 58%, #FFF8FB 86%, #FFFFFF 100%);
  overflow: hidden;
  isolation: isolate;
}

.trust-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.trust-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.trust-blob.blob-a {
  width: 680px;
  height: 680px;
  top: -220px;
  right: -200px;
  background: radial-gradient(circle, rgba(255, 182, 214, 0.36) 0%, rgba(255, 214, 232, 0.14) 42%, rgba(255, 255, 255, 0) 70%);
}

.trust-blob.blob-b {
  width: 620px;
  height: 620px;
  bottom: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(214, 196, 255, 0.3) 0%, rgba(232, 222, 255, 0.12) 42%, rgba(255, 255, 255, 0) 70%);
}

.trust-petal {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  opacity: 0.75;
  animation: trustPetalDrift 16s ease-in-out infinite;
}

.trust-petal.p1 { top: 40px; left: 3%; width: 120px; rotate: -24deg; }
.trust-petal.p2 { top: 34%; right: 1.5%; width: 90px; rotate: 38deg; animation-delay: -5s; animation-duration: 19s; }
.trust-petal.p3 { bottom: 60px; right: 7%; width: 150px; rotate: 64deg; opacity: 0.55; animation-delay: -9s; animation-duration: 22s; }
.trust-petal.p4 { bottom: 18%; left: 1%; width: 70px; rotate: -70deg; opacity: 0.5; animation-delay: -3s; }

@keyframes trustPetalDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(10px, -16px, 0) rotate(6deg); }
}

.trust-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.trust-head {
  text-align: center;
  margin-bottom: 8px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(232, 91, 145, 0.18);
  box-shadow: 0 8px 22px -10px rgba(232, 91, 145, 0.35), inset 0 1px 0 #FFFFFF;
  color: #E0256F;
  font-family: var(--font-persian, 'Vazirmatn', sans-serif);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.trust-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.trust-title {
  font-family: var(--font-persian, 'Vazirmatn', sans-serif);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #1F1A2E;
  margin: 0 0 14px;
}

.trust-brand {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-weight: 800;
  background: linear-gradient(135deg, #FF1A75 0%, #E8237E 50%, #C21E74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-subtitle {
  max-width: 660px;
  margin: 0 auto;
  font-family: var(--font-persian, 'Vazirmatn', sans-serif);
  font-size: 15.5px;
  line-height: 1.95;
  color: #6B6575;
}

.trust-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px auto 48px;
}

.trust-divider-line {
  width: 72px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(232, 91, 145, 0), rgba(232, 91, 145, 0.45));
  transform-origin: left center;
}

.trust-divider-line:last-child {
  background: linear-gradient(270deg, rgba(232, 91, 145, 0), rgba(232, 91, 145, 0.45));
  transform-origin: right center;
}

.trust-divider-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF3385, #E61568);
}

.trust-divider-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 42, 122, 0.35);
  animation: trustDotRing 2.6s ease-out infinite;
}

@keyframes trustDotRing {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Tones */
.trust-card.tone-orange  { --t1: #FF6A3D; --t2: #FFE6D8; --t4: #FFC7AA; --t3: rgba(255, 106, 61, 0.28); }
.trust-card.tone-mint    { --t1: #0FAE96; --t2: #D3F7EE; --t4: #A2EED8; --t3: rgba(16, 185, 160, 0.26); }
.trust-card.tone-purple  { --t1: #6D4AFF; --t2: #E8E1FF; --t4: #CBBDFF; --t3: rgba(109, 74, 255, 0.26); }
.trust-card.tone-magenta { --t1: #D3248F; --t2: #FCE0F1; --t4: #F5B5DC; --t3: rgba(211, 36, 143, 0.26); }
.trust-card.tone-violet  { --t1: #7C3AED; --t2: #EDE4FF; --t4: #D4C2FF; --t3: rgba(124, 58, 237, 0.26); }
.trust-card.tone-blue    { --t1: #2F6BFF; --t2: #DFEAFF; --t4: #B6D0FF; --t3: rgba(47, 107, 255, 0.26); }
.trust-card.tone-pink    { --t1: #FF2D6F; --t2: #FFE0EA; --t4: #FFB9CE; --t3: rgba(255, 45, 111, 0.28); }

.trust-card {
  position: relative;
  min-width: 0;
}

.trust-card-inner {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 18px;
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 20px 46px -22px var(--t3),
    0 2px 8px rgba(31, 26, 46, 0.04),
    inset 0 1px 0 #FFFFFF;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

/* Soft tone wash in the icon corner */
.trust-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 85% at 0% 0%, var(--t2) 0%, rgba(255, 255, 255, 0) 58%);
  opacity: 0.6;
}

/* Cursor spotlight (desktop) */
.trust-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--t2) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.trust-card-inner > *:not(.trust-card-glow) {
  position: relative;
  z-index: 1;
}

.trust-card-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  min-height: 82px;
  margin-bottom: 16px;
}

/* Glossy 3D icon bubble */
.trust-icon {
  position: relative;
  flex-shrink: 0;
  margin-inline-start: auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 26%, #FFFFFF 0%, var(--t2) 46%, var(--t4) 100%);
  box-shadow:
    0 16px 30px -12px var(--t3),
    inset 0 -8px 16px var(--t3),
    inset 0 6px 12px rgba(255, 255, 255, 0.95);
}

/* little accent strokes next to the bubble */
.trust-icon::before,
.trust-icon::after {
  content: '';
  position: absolute;
  border-radius: 2px;
  background: var(--t1);
  pointer-events: none;
}

.trust-icon::before {
  top: 2px;
  right: -20px;
  width: 15px;
  height: 2px;
  opacity: 0.32;
  transform: rotate(-42deg);
}

.trust-icon::after {
  top: 14px;
  right: -12px;
  width: 6px;
  height: 2px;
  opacity: 0.22;
  transform: rotate(-42deg);
}

.trust-icon-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

.trust-icon-shine::after {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translate3d(-160%, 0, 0) skewX(-14deg);
  animation: trustShine 6s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  animation-delay: calc(var(--i, 0) * 0.6s + 1.6s);
}

@keyframes trustShine {
  0%   { transform: translate3d(-160%, 0, 0) skewX(-14deg); }
  24%  { transform: translate3d(330%, 0, 0) skewX(-14deg); }
  100% { transform: translate3d(330%, 0, 0) skewX(-14deg); }
}

.trust-icon svg {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 6px 8px var(--t3));
  animation: trustBob 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.75s);
}

@keyframes trustBob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, -4px, 0) rotate(-3deg); }
}

.trust-pulse-line {
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
  animation: trustPulseDraw 2.8s ease-in-out infinite;
}

@keyframes trustPulseDraw {
  0%   { stroke-dashoffset: 64; }
  45%  { stroke-dashoffset: 0; }
  75%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.trust-stat {
  font-family: var(--font-persian, 'Vazirmatn', sans-serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--t1);
  padding-bottom: 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.trust-card-title {
  font-family: var(--font-persian, 'Vazirmatn', sans-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: #1F1A2E;
  margin: 0 0 8px;
}

.trust-card-desc {
  font-family: var(--font-persian, 'Vazirmatn', sans-serif);
  font-size: 13px;
  line-height: 1.85;
  color: #6B6575;
  margin: 0 0 16px;
}

.trust-card-arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--t2);
  color: var(--t1);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 6px 14px -6px var(--t3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, color 0.35s ease;
}

.trust-card-arrow svg {
  width: 15px;
  height: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .trust-card:hover .trust-card-inner {
    --lift: -6px;
    transition-duration: 0.18s, 0.4s;
    box-shadow:
      0 30px 60px -24px var(--t3),
      0 4px 12px rgba(31, 26, 46, 0.05),
      inset 0 1px 0 #FFFFFF;
  }

  .trust-card:hover .trust-card-glow {
    opacity: 1;
  }

  .trust-card:hover .trust-card-arrow {
    background: var(--t1);
    color: #FFFFFF;
    transform: translateX(4px);
  }
}

/* ------------------------------------------------------------- reveal */
.trust-armed .trust-reveal {
  opacity: 0;
}

.trust-armed.is-revealed .trust-reveal {
  animation: trustRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0s);
}

.trust-armed.is-revealed .trust-divider-line {
  animation: trustLineDraw 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.trust-armed .trust-card:not(.is-in) {
  opacity: 0;
}

.trust-card.is-in {
  animation: trustCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--stagger, 0s);
}

.trust-card.is-in .trust-icon {
  animation: trustIconPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--stagger, 0s) + 0.28s);
}

.trust-card.is-in .trust-card-arrow {
  animation: trustArrowIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--stagger, 0s) + 0.55s);
}

@keyframes trustRise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes trustLineDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes trustCardIn {
  from { opacity: 0; transform: perspective(1000px) translate3d(0, 46px, 0) rotateX(16deg) scale(0.95); }
  to   { opacity: 1; transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0deg) scale(1); }
}

@keyframes trustIconPop {
  from { transform: scale(0.4) rotate(-16deg); }
  to   { transform: scale(1) rotate(0deg); }
}

@keyframes trustArrowIn {
  from { opacity: 0; transform: translateX(-10px) scale(0.6); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .trust-section {
    padding: 72px 0 80px;
  }

  .trust-container {
    padding: 0 14px;
  }

  .trust-pill {
    font-size: 11.5px;
    padding: 6px 13px;
    margin-bottom: 14px;
  }

  .trust-title {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .trust-subtitle {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .trust-divider {
    margin: 18px auto 26px;
  }

  .trust-divider-line {
    width: 52px;
  }

  .trust-grid {
    gap: 10px;
  }

  .trust-card-inner {
    padding: 14px 12px 12px;
    border-radius: 20px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(165deg, #FFFFFF 0%, rgba(255, 255, 255, 0.92) 100%);
  }

  .trust-card-top {
    min-height: 56px;
    margin-bottom: 10px;
    gap: 6px;
  }

  .trust-icon {
    width: 56px;
    height: 56px;
  }

  .trust-icon::before {
    right: -14px;
    width: 11px;
  }

  .trust-icon::after {
    right: -8px;
    top: 11px;
  }

  .trust-icon svg {
    width: 31px;
    height: 31px;
    filter: none;
  }

  .trust-stat {
    font-size: 20px;
    padding-bottom: 4px;
  }

  .trust-card-title {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .trust-card-desc {
    font-size: 11px;
    line-height: 1.75;
    margin-bottom: 10px;
  }

  .trust-card-arrow {
    width: 26px;
    height: 26px;
  }

  .trust-card-arrow svg {
    width: 12px;
    height: 12px;
  }

  .trust-petal.p1 { width: 70px; top: 18px; }
  .trust-petal.p2 { width: 54px; }
  .trust-petal.p3 { width: 84px; }
  .trust-petal.p4 { display: none; }

  .trust-blob.blob-a { width: 420px; height: 420px; }
  .trust-blob.blob-b { width: 380px; height: 380px; }
}

@media (max-width: 339px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-petal,
  .trust-divider-dot::after,
  .trust-icon-shine::after,
  .trust-icon svg,
  .trust-pulse-line,
  .trust-card.is-in,
  .trust-card.is-in .trust-icon,
  .trust-card.is-in .trust-card-arrow,
  .trust-armed.is-revealed .trust-reveal,
  .trust-armed.is-revealed .trust-divider-line {
    animation: none !important;
  }

  .trust-pulse-line {
    stroke-dashoffset: 0;
  }

  .trust-armed .trust-reveal,
  .trust-armed .trust-card:not(.is-in) {
    opacity: 1;
  }
}

/* FIX: seamless portal doors (overlap kills center hairline) */
.portal-door{width:50.6% !important;will-change:transform;backface-visibility:hidden}
.portal-door.door-left{left:0 !important;right:auto !important}
.portal-door.door-right{right:0 !important;left:auto !important}
/* FIX: page dots sit below the mockup, never under cards */
.story-dots{position:absolute !important;top:calc(100% + 14px) !important;bottom:auto !important;left:0 !important;right:0 !important;margin:0 auto !important;z-index:30 !important}


/* FIX: stat numbers sit beside the icon inside each card, never drop below */
.trust-card-top{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;gap:10px;flex-wrap:nowrap !important}
.trust-card-top .trust-stat{position:static !important;order:2;padding:0 !important;font-size:clamp(22px,2.2vw,30px)}
.trust-card-top .trust-icon{order:1;flex:0 0 auto}
