/* ==========================================================================
   ENGINE PRIME LANDING PAGE STYLES
   Design System, Apple-Style Minimal Light Theme & Components
   ========================================================================== */

:root {
  /* Color Tokens - Apple / GGLATAM Light Minimal Style */
  --bg-dark: #F7F7FA;
  --bg-light: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-card-solid: #F5F5F7;
  --bg-card-alt: #FAFAFC;
  
  --accent-magenta: #862359;
  --accent-pink-bright: #A52A6F;
  --accent-lime: #B7B932;
  --accent-lime-hover: #9E9F2C;
  --accent-purple: #862359;
  
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --text-sub: #515154;
  
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-lime: rgba(183, 185, 50, 0.35);
  --border-magenta: rgba(134, 35, 89, 0.25);

  /* Typography */
  --font-heading: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows - Apple Style */
  --shadow-apple-s: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-apple-m: 0 10px 25px rgba(0, 0, 0, 0.07);
  --shadow-apple-l: 0 20px 40px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  max-width: 100vw;
}

/* AMBIENT GLOW EFFECTS - Liquid Glass Animated Haze */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  animation: float-glow 18s infinite alternate ease-in-out;
}

@keyframes float-glow {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
  25%  { transform: translate(70px, -40px) scale(1.15); opacity: 1; }
  50%  { transform: translate(40px, 60px) scale(1.05); opacity: 0.7; }
  75%  { transform: translate(-60px, 30px) scale(1.2); opacity: 0.9; }
  100% { transform: translate(-20px, -50px) scale(0.9); opacity: 0.75; }
}

.glow-pink {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(134, 35, 89, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  top: -250px;
  left: -200px;
  animation-delay: 0s;
  animation-duration: 22s;
}

.glow-lime {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(183, 185, 50, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  top: 30%;
  right: -300px;
  animation-delay: -6s;
  animation-duration: 18s;
}

.glow-purple {
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(134, 35, 89, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: -10%;
  left: 5%;
  animation-delay: -12s;
  animation-duration: 26s;
}

.glow-accent {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100, 80, 200, 0.09) 0%, rgba(255, 255, 255, 0) 70%);
  top: 60%;
  left: 40%;
  animation-delay: -8s;
  animation-duration: 20s;
}

/* UTILITY & TYPOGRAPHY */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.highlight-pink {
  background: linear-gradient(90deg, #862359, #B7B932);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.highlight-lime { color: var(--accent-magenta); }
.text-lime { color: var(--accent-magenta) !important; }

/* BUTTONS - Apple Pill Style (GGLATAM) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-lime {
  background: var(--text-main);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-lime:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
}

.btn-ghost:hover {
  color: var(--accent-magenta);
  background: rgba(0, 0, 0, 0.04);
}

.btn-glass {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-apple-s);
}

.btn-glass:hover {
  background: #F5F5F7;
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-apple-m);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.pulse-hover:hover {
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(134, 35, 89, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(134, 35, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(134, 35, 89, 0); }
}

/* NAVIGATION NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.brand-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease, height 0.25s ease;
}

.navbar.scrolled .brand-logo-img {
  height: 50px;
}

.footer-brand .brand-logo-img {
  height: 64px;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.03);
}

.logo-text {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  white-space: nowrap;
}

.badge-tag {
  background: rgba(134, 35, 89, 0.08);
  color: var(--accent-magenta);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(134, 35, 89, 0.18);
  margin-left: 6px;
  white-space: nowrap;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--accent-magenta);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn {
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
}

.lang-switch-btn {
  background: #F5F5F7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-main);
  padding: 7px 14px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switch-btn:hover {
  background: #EEEEF0;
  border-color: var(--accent-magenta);
}

/* LANGUAGE DROPDOWN MENU */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 6px;
  min-width: 155px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  z-index: 1001;
}

.lang-dropdown.active .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 10px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.lang-dropdown-menu a:hover {
  background: #F5F5F7;
  color: var(--accent-magenta);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5F5F7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-magenta);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-magenta);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-magenta);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

/* 4 Pillars in Hero (From Flyer) */
.hero-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-apple-s);
  transition: var(--transition-smooth);
}

.pillar-item:hover {
  transform: translateY(-3px);
  border-color: rgba(134, 35, 89, 0.25);
  box-shadow: var(--shadow-apple-m);
}

.pillar-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.pillar-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.icon-magenta { background: rgba(134, 35, 89, 0.08); color: var(--accent-magenta); }
.icon-purple { background: rgba(134, 35, 89, 0.08); color: var(--accent-magenta); }
.icon-lime { background: rgba(183, 185, 50, 0.12); color: var(--accent-lime); }
.icon-pink { background: rgba(165, 42, 111, 0.08); color: var(--accent-pink-bright); }

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-guarantee {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* HERO VISUAL & FLOATING CARDS */
.hero-visual {
  position: relative;
}

.laptop-frame-wrapper {
  position: relative;
  width: 100%;
}

.glass-card {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: var(--transition-smooth);
  color: var(--text-main);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(134, 35, 89, 0.25);
  box-shadow: var(--shadow-apple-l);
}

/* Floating Card 1: Appointment Scheduled (Top Right) */
.float-card-appointment {
  top: -20px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  animation: floatAnim 6s ease-in-out infinite;
}

.check-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent-magenta);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.card-title {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
}

.card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Floating Card 2: Deal in Progress 95% (Middle Right) */
.float-card-deal {
  top: 140px;
  right: -30px;
  min-width: 170px;
  text-align: center;
  animation: floatAnim 7s ease-in-out infinite 1s;
}

.deal-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.deal-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-magenta);
  font-family: var(--font-heading);
  margin: 2px 0;
}

.deal-bar {
  height: 6px;
  background: #E5E5E7;
  border-radius: 10px;
  overflow: hidden;
}

.deal-progress-fill {
  width: 95%;
  height: 100%;
  background: linear-gradient(90deg, #862359, #B7B932);
}

/* Floating Card 3: Live Status (Bottom Left) */
.float-card-status {
  bottom: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: floatAnim 8s ease-in-out infinite 2s;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.red-dot {
  width: 8px;
  height: 8px;
  background: #FF5F56;
  border-radius: 50%;
  box-shadow: 0 0 8px #FF5F56;
  animation: blink 1s infinite;
}

.live-timer {
  background: rgba(134, 35, 89, 0.08);
  color: var(--accent-magenta);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

/* LAPTOP MOCKUP UI - macOS Apple Style */
.laptop-screen {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.mock-header {
  background: #F5F5F7;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mock-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF5F56;
  margin-right: 4px;
}

.mock-dots span:nth-child(2) { background: #FFBD2E; }
.mock-dots span:nth-child(3) { background: #27C93F; }

.mock-url {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-grow: 1;
  text-align: center;
}

.mock-body {
  display: flex;
  min-height: 320px;
}

.hero-screenshot-wrapper {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.hero-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.laptop-screen:hover .hero-screenshot-img {
  transform: scale(1.02);
}

.mock-sidebar {
  width: 140px;
  background: #F5F5F7;
  padding: 16px 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.mock-brand {
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 20px;
  color: var(--accent-magenta);
}

.mock-nav {
  font-size: 0.75rem;
  color: var(--text-sub);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-nav.active {
  background: rgba(134, 35, 89, 0.08);
  color: var(--accent-magenta);
  font-weight: 700;
}

.mock-content {
  flex-grow: 1;
  padding: 16px;
  background: #FFFFFF;
}

.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mock-topbar h3 {
  font-size: 0.95rem;
  color: var(--text-main);
}

.mock-topbar h3 span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.mock-btn-pink {
  background: var(--text-main);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-calendar-grid {
  background: #F5F5F7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 14px;
}

.mock-cal-header {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.mock-cal-days {
  display: flex;
  gap: 8px;
}

.mock-cal-days span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mock-cal-days .active-day {
  background: var(--accent-magenta);
  color: white;
  font-weight: 700;
  border-color: var(--accent-magenta);
}

.mock-table {
  font-size: 0.7rem;
}

.mock-th, .mock-tr {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mock-th {
  font-weight: 700;
  color: var(--text-muted);
}

.status-green { color: var(--accent-magenta); font-weight: 700; }
.status-pink { color: var(--accent-lime); font-weight: 700; }

.laptop-base {
  height: 12px;
  background: #E5E5E7;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 0 12px 12px;
  width: 90%;
  margin: 0 auto;
}

/* TRUST BAR */
.trust-bar {
  padding: 40px 0;
  background: #F5F5F7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-title {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 24px;
}

.brand-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brand-item {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.brand-item:hover {
  opacity: 1;
  color: var(--accent-magenta);
}

/* SECTIONS COMMON */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.sub-badge {
  display: inline-block;
  background: rgba(134, 35, 89, 0.08);
  color: var(--accent-magenta);
  border: 1px solid rgba(134, 35, 89, 0.18);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 50px auto;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  border-radius: 24px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 35, 89, 0.25);
  background: #F5F5F7;
  box-shadow: var(--shadow-apple-l);
}

.card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.bg-magenta { background: rgba(134, 35, 89, 0.08); color: var(--accent-magenta); }
.bg-purple { background: rgba(134, 35, 89, 0.08); color: var(--accent-magenta); }
.bg-lime { background: rgba(183, 185, 50, 0.12); color: var(--accent-lime); }
.bg-pink { background: rgba(165, 42, 111, 0.08); color: var(--accent-pink-bright); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-checklist {
  list-style: none;
}

.feature-checklist li {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* DEMO SIMULATOR SECTION */
.demo-box {
  padding: 50px;
}

.demo-header {
  margin-bottom: 40px;
}

.demo-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.control-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.industry-selector-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ind-btn {
  background: #F5F5F7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ind-btn.active, .ind-btn:hover {
  background: var(--text-main);
  color: white;
  border-color: var(--text-main);
  box-shadow: var(--shadow-apple-m);
}

.agent-mode-select {
  margin-top: 20px;
}

.mode-pills {
  display: flex;
  gap: 12px;
}

.pill {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pill.active {
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
  background: rgba(134, 35, 89, 0.08);
  font-weight: 700;
}

/* DEMO PLAYER CARD */
.demo-player-box {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-apple-m);
  border-radius: 20px;
  padding: 28px;
}

.agent-avatar-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.avatar-circle {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #862359, #B7B932);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  position: relative;
}

.agent-details h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 700;
}

.agent-details p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.waveform-container {
  background: #F5F5F7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
}

#waveCanvas {
  width: 100%;
  height: 60px;
}

.btn-play {
  width: 100%;
  padding: 14px;
}

.demo-transcript-preview {
  margin-top: 16px;
  background: #F5F5F7;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-sub);
  border-left: 3px solid var(--accent-magenta);
}

.speaker-label {
  font-weight: 800;
  color: var(--accent-magenta);
}

/* SHOWCASE GRID */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.showcase-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow-apple-s);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(134, 35, 89, 0.25);
  box-shadow: var(--shadow-apple-l);
}

.img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.showcase-card:hover img {
  transform: scale(1.05);
}

.img-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-magenta);
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.showcase-card:hover .img-hover-overlay {
  opacity: 1;
}

.showcase-card h4 {
  padding: 16px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 700;
}

/* STEPS SECTION */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-card {
  padding: 36px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-magenta);
  opacity: 0.9;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* PRICING SECTION */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

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

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-apple-s);
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-apple-l);
  border-color: rgba(134, 35, 89, 0.25);
}

.plan-featured {
  border: 2px solid var(--accent-magenta);
  background: #FAFAFC;
  box-shadow: var(--shadow-apple-m);
}

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-magenta);
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 100px;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.plan-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.plan-price {
  margin: 24px 0;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
  color: var(--text-main);
}

.plan-price .amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.plan-price .amount-custom {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-magenta);
}

.plan-price .period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* FAQ ACCORDION */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-apple-s);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(134, 35, 89, 0.25);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  transition: var(--transition-smooth);
  color: var(--accent-magenta);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA BANNER - Signature GGLATAM High Contrast Dark Apple Card */
.cta-banner-box {
  padding: 70px 40px;
  background: linear-gradient(135deg, #1a0a12 0%, #111827 60%, #1a0a12 100%) !important;
  color: #FFFFFF !important;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(134, 35, 89, 0.25), 0 4px 16px rgba(0,0,0,0.3);
  border: 1px solid rgba(134, 35, 89, 0.3) !important;
  /* Override glass-panel */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.cta-banner-box h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-banner-box p {
  color: #FFFFFF !important;
  opacity: 0.9;
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER - Signature GGLATAM Dark Card Bottom Contrast */
.footer {
  background: #1d1d1f;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #86868b;
  margin-top: 16px;
  font-size: 0.85rem;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: white;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: #86868b;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: #B7B932;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  color: #86868b;
  font-size: 0.8rem;
}

/* IMAGE MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-content-box {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-apple-l);
  border-radius: 20px;
  padding: 20px;
  max-width: 900px;
  width: 100%;
  position: relative;
  color: var(--text-main);
}

.modal-content-box img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .demo-interactive-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  section, .section, footer {
    overflow-x: hidden;
  }

  .section-title {
    font-size: 2.1rem;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .nav-menu {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .mobile-nav-actions {
    display: flex !important;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
  }

  .hero-content, .hero-cta-group {
    display: contents;
  }

  .hero-badge { order: 1; }
  .hero-title { 
    order: 2; 
    font-size: 2.3rem; 
    line-height: 1.1;
    padding: 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.03); 
  }
  .hero-subtitle { 
    order: 3; 
    margin-bottom: 30px; 
    padding: 0 15px; 
  }
  .hero-visual { order: 4; margin-bottom: 40px; margin-top: 10px; }
  .hero-cta-group .btn-glass { order: 5; margin-bottom: 35px; width: 100%; text-align: center; }
  .hero-pillars-grid { order: 6; grid-template-columns: 1fr; gap: 20px; }
  .hero-cta-group .btn-lime { order: 7; margin-top: 35px; width: 100%; text-align: center; }
  .hero-guarantee { order: 8; margin-top: 10px; }

  .hero-section {
    padding-top: 130px;
    background: radial-gradient(circle at top center, rgba(134, 35, 89, 0.06) 0%, transparent 80%);
    overflow: hidden;
  }

  .pillar-item {
    background: #FFFFFF;
    border: 1px solid rgba(134, 35, 89, 0.12);
    box-shadow: 0 8px 25px rgba(134, 35, 89, 0.08);
  }

  .float-card-appointment, .float-card-deal, .float-card-status {
    display: none; /* Hide floating cards on small screens for clarity */
  }

  .demo-box {
    padding: 24px;
  }
}

/* =========================================================
   GLASSMORPHISM OVERRIDES (FORCE APPLY)
   ========================================================= */
.glass-panel,
.glass-card,
.feature-card,
.pricing-card,
.step-card {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05) !important;
}

.plan-featured {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 2px solid var(--accent-magenta) !important;
}

.navbar {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(30px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
}

/* ============================================================
   SCROLLYTELLING — Reveal on Scroll (IntersectionObserver)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="fade-up"]    { transform: translateY(52px); }
[data-reveal="fade-down"]  { transform: translateY(-40px); }
[data-reveal="fade-left"]  { transform: translateX(-52px); }
[data-reveal="fade-right"] { transform: translateX(52px); }
[data-reveal="scale-in"]   { transform: scale(0.88); }
[data-reveal="fade"]       { transform: none; }

[data-reveal].revealed {
  opacity: 1;
  transform: none !important;
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* Animated accent underline for sub-badges */
.animated-divider {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #862359, #B7B932);
  border-radius: 2px;
  margin: 12px auto 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.animated-divider.revealed { width: 72px; }

/* Pricing card pop on reveal */
.pricing-card[data-reveal].revealed {
  animation: price-pop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes price-pop {
  0%   { transform: scale(0.93); }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Cursor glow follower */
#cursorGlow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134,35,89,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.16s ease, top 0.16s ease;
  filter: blur(55px);
}

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ambient-glow { animation: none !important; }
  #particleCanvas, #cursorGlow { display: none; }
}

/* ============================================================
   FEATURES HORIZONTAL SCROLL CAROUSEL
   Vertical scroll is hijacked → cards slide right-to-left
   ============================================================ */

/* Remove old section padding */
.features-carousel-section {
  padding: 0;
  overflow: visible;
}

/* Outer tall track — JS sets height = vh + rail overflow */
.fcarousel-track {
  position: relative;
}

/* Sticky panel pinned at top:0 for the duration of the track */
.fcarousel-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0 0 20px;
}

/* Section header */
.fcarousel-header {
  text-align: center;
  padding: 36px 24px 16px;
  flex-shrink: 0;
}
.fcarousel-header .section-title { margin-bottom: 8px; }
.fcarousel-header .section-subtitle { margin-bottom: 12px; }

/* Viewport clips the rail horizontally */
.fcarousel-viewport {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 0;
}

/* Rail: a horizontal flex row; JS translates this on scroll */
.fcarousel-rail {
  display: flex;
  gap: 24px;
  padding: 0 60px;
  will-change: transform;
  transition: transform 0.05s linear; /* very slight smoothing */
  perspective: 1200px;
  perspective-origin: 50% 50%;
}

/* Individual feature cards */
.fcard {
  flex-shrink: 0;
  width: 360px;
  min-height: 340px;
  padding: 32px 28px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1, 1, 1);
  transition: transform 0.15s ease-out, box-shadow 0.55s ease, border-color 0.55s ease;
}

.fcard:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1.02, 1.02, 1.02);
  box-shadow: 
    -10px 20px 30px rgba(134, 35, 89, 0.15),
    10px 30px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  z-index: 10;
  border-color: rgba(183, 185, 50, 0.5);
}

/* 3D floating inner content */
.fcard > * {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 3;
}
.fcard:hover .card-icon-box {
  transform: translate3d(0, 0, 45px);
}
.fcard:hover h3, .fcard:hover p {
  transform: translate3d(0, 0, 30px);
}
.fcard:hover .feature-checklist {
  transform: translate3d(0, 0, 20px);
}

/* Multi-layer floating logo & glass effect */
.ux-glass {
    position: absolute !important;
    inset: 8px;
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.15) 100%);
    transform: translate3d(0, 0, 15px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
    z-index: 1 !important;
}


.fcard-bg {
    position: absolute !important;
    inset: 0;
    border-radius: inherit;
    z-index: 0 !important;
    pointer-events: none;
}


.fcard:hover .ux-glass { transform: translate3d(-10px, 10px, 25px); }
.fcard h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.fcard p  { font-size: 0.92rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.fcard .card-icon-box { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.fcard .feature-checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fcard .feature-checklist li { font-size: 0.88rem; display: flex; align-items: flex-start; gap: 8px; }
.fcard .feature-checklist i { color: #862359; margin-top: 2px; font-size: 0.8rem; flex-shrink: 0; }

/* Progress bar + counter at bottom of sticky panel */
.fcarousel-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 60px;
  flex-shrink: 0;
}
.fcarousel-bar {
  flex: 1;
  height: 3px;
  background: rgba(134, 35, 89, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.fcarousel-fill {
  height: 100%;
  background: linear-gradient(90deg, #862359, #B7B932);
  border-radius: 2px;
  width: 0%;
  transition: width 0.2s ease;
}
.fcarousel-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Mobile: fall back to a swipeable horizontal scroll */
@media (max-width: 768px) {
  .fcarousel-track { height: auto !important; }
  .fcarousel-sticky {
    position: relative;
    height: auto;
    overflow: visible;
    padding-bottom: 24px;
  }
  .fcarousel-viewport { overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; padding: 12px 0; }
  .fcarousel-rail { transform: none !important; padding: 0 24px; }
  .fcard { width: 300px; }
  .fcarousel-progress { padding: 0 24px; }
}

/* Keep old scroll-lock CSS classes neutral (no effect) */
.scroll-scene-track, .scroll-scene-sticky,
.scroll-scene, .scroll-scene__pin, .scroll-scene__content,
.scene-dots, .scene-dot { display: none; }

/* --- HERO SHAPES & ANIMATIONS --- */
.hero__visual {
    position: absolute;
    inset: -80px;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
}

.hero-blob,
.hero-pill,
.hero-ring,
.hero-hex,
.hero-slab {
    position: absolute;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-blob--a {
    width: clamp(100px, 22vw, 160px);
    height: clamp(100px, 22vw, 160px);
    left: 8%;
    top: 15%;
    border-radius: 58% 42% 62% 38% / 48% 52% 48% 52%;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 45%),
        linear-gradient(145deg, #862359, #6450c8);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(134, 35, 89, 0.25);
    transform: translate(var(--hx, 0), var(--hy, 0)) rotate(-8deg);
}

.hero-blob--b {
    width: clamp(72px, 14vw, 110px);
    height: clamp(72px, 14vw, 110px);
    right: 12%;
    top: 25%;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #6450c8, #862359, #B7B932, #6450c8);
    opacity: 0.92;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transform: translate(calc(var(--hx, 0) * -1.1), calc(var(--hy, 0) * 0.9)) scale(1.02);
}

.hero-blob--c {
    width: clamp(56px, 11vw, 86px);
    height: clamp(56px, 11vw, 86px);
    left: 38%;
    bottom: 12%;
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    background: linear-gradient(160deg, rgba(134, 35, 89, 0.95), #B7B932);
    box-shadow: 0 16px 36px rgba(134, 35, 89, 0.35);
    transform: translate(calc(var(--hx, 0) * 0.85), calc(var(--hy, 0) * -1.05));
}

.hero-pill--wide {
    width: clamp(140px, 38vw, 220px);
    height: clamp(36px, 5vw, 48px);
    left: 22%;
    bottom: 28%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(183, 185, 50, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    transform: translate(calc(var(--hx, 0) * 0.4), calc(var(--hy, 0) * 0.35)) rotate(-6deg);
}

.hero-pill--tall {
    width: clamp(28px, 5vw, 40px);
    height: clamp(100px, 18vw, 150px);
    right: 28%;
    bottom: 12%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(100, 80, 200, 0.35), rgba(134, 35, 89, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translate(calc(var(--hx, 0) * -0.5), calc(var(--hy, 0) * -0.4));
}

.hero-ring--outer {
    width: clamp(160px, 36vw, 240px);
    height: clamp(160px, 36vw, 240px);
    left: 50%;
    top: 42%;
    margin-left: calc(clamp(160px, 36vw, 240px) / -2);
    margin-top: calc(clamp(160px, 36vw, 240px) / -2);
    border-radius: 50%;
    border: 2px solid rgba(134, 35, 89, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 48px rgba(134, 35, 89, 0.12);
    transform: translate(var(--hx, 0), var(--hy, 0)) rotate(12deg);
}

.hero-ring--inner {
    width: clamp(96px, 22vw, 140px);
    height: clamp(96px, 22vw, 140px);
    left: 50%;
    top: 42%;
    margin-left: calc(clamp(96px, 22vw, 140px) / -2);
    margin-top: calc(clamp(96px, 22vw, 140px) / -2);
    border-radius: 50%;
    border: 2px dashed rgba(183, 185, 50, 0.2);
    transform: translate(calc(var(--hx, 0) * 0.6), calc(var(--hy, 0) * 0.5)) rotate(-18deg);
}

.hero-hex {
    width: clamp(64px, 12vw, 92px);
    height: clamp(64px, 12vw, 92px);
    right: 6%;
    bottom: 38%;
    background: linear-gradient(135deg, rgba(183, 185, 50, 0.9), rgba(134, 35, 89, 0.75));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 18px 40px rgba(134, 35, 89, 0.28);
    transform: translate(calc(var(--hx, 0) * -0.7), calc(var(--hy, 0) * 0.65));
}

.hero-slab {
    width: clamp(72px, 16vw, 112px);
    height: clamp(48px, 8vw, 64px);
    left: 4%;
    top: 52%;
    border-radius: 12px 28px 18px 24px;
    background: linear-gradient(125deg, rgba(100, 80, 200, 0.85), rgba(85, 22, 56, 0.45));
    border: 1px solid rgba(100, 80, 200, 0.35);
    transform: translate(calc(var(--hx, 0) * 0.55), calc(var(--hy, 0) * -0.35)) skewX(-6deg);
}

[data-hero-motion]:hover .hero-blob--a {
    transform: translate(var(--hx, 0), var(--hy, 0)) rotate(-8deg) scale(1.03);
}
