/* ========================================
   SCROLLYTELLING FOUNDATION
   Gen Z Premium Aesthetic
   ======================================== */

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  cursor: none;
  /* Custom cursor */
}

/* Smooth scroll container */
.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #FF3B5C;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: all 0.15s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background: #FF3B5C;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transition: transform 0.15s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 59, 92, 0.2);
  border-color: #FF3B5C;
}

.custom-cursor-dot.hover {
  transform: translate(-50%, -50%) scale(0);
}

/* Hide default cursor on desktop */
@media (min-width: 768px) {
  * {
    cursor: none !important;
  }
}

/* ===== TYPOGRAPHY ===== */
:root {
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --color-primary: #FF3B5C;
  --color-secondary: #6366F1;
  --color-accent: #F59E0B;
  --color-success: #10B981;

  --bg-dark: #FFFFFF;
  --bg-darker: #F9FAFB;
  --bg-card: #FFFFFF;

  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #6B7280;

  /* Spacing */
  --section-padding: 180px;
  --container-width: 1400px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }
}

/* Smooth transitions for dark mode */
* {
  transition: background-color 0.3s ease;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ===== SECTION SPACING ===== */
section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

/* ===== HEADLINE STYLES ===== */
.headline-massive {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 0;
  overflow: hidden;
}

.headline-large {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.headline-medium {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.body-large {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, #FF3B5C 0%, #6366F1 50%, #F59E0B 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Text reveal animation */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}

.text-reveal-inner {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* ===== BUTTONS (Gen Z Style) ===== */
.btn-primary {
  position: relative;
  padding: 20px 48px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF3B5C, #FF1744);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(255, 59, 92, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF1744, #FF3B5C);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(255, 59, 92, 0.4);
}

.btn-secondary {
  padding: 20px 48px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* ===== MAGNETIC EFFECT ===== */
.magnetic {
  position: relative;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 9999;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, #FF3B5C, #6366F1, #F59E0B);
  transform-origin: left;
  transform: scaleX(0);
}

/* ===== NOISE TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ===== GRID BACKGROUND ===== */
.grid-background {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 0;
  pointer-events: none;
}

/* ===== GRADIENT ORBS (Animated) ===== */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
  animation: floatOrb 20s ease-in-out infinite;
}

.gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #FF3B5C 0%, transparent 70%);
  top: -300px;
  right: -200px;
  animation-delay: 0s;
}

.gradient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366F1 0%, transparent 70%);
  bottom: -250px;
  left: -150px;
  animation-delay: -10s;
}

.gradient-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #F59E0B 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(100px, -100px) scale(1.1);
  }

  50% {
    transform: translate(-50px, 50px) scale(0.9);
  }

  75% {
    transform: translate(50px, 100px) scale(1.05);
  }
}

/* ===== CARDS ===== */
.card-premium {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.05), rgba(99, 102, 241, 0.05));
  opacity: 0;
  transition: opacity 0.4s;
}

.card-premium:hover::before {
  opacity: 1;
}

.card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-fade {
  opacity: 0;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(60px);
}

/* ===== PARALLAX LAYERS ===== */
.parallax-layer {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== STATS COUNTER ===== */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #FF3B5C, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-rows: 300px;
}

.bento-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.bento-item-large {
  grid-column: span 8;
  grid-row: span 2;
}

.bento-item-medium {
  grid-column: span 6;
}

.bento-item-small {
  grid-column: span 4;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-item-large {
    grid-column: span 6;
  }

  .bento-item-medium {
    grid-column: span 6;
  }

  .bento-item-small {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-item-large,
  .bento-item-medium,
  .bento-item-small {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF3B5C, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(0.95);
  }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {

  /* Show default cursor on mobile */
  body {
    cursor: auto !important;
  }

  * {
    cursor: auto !important;
  }

  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }

  /* Reduce animations on mobile */
  .gradient-orb {
    animation: none;
  }

  /* Simpler parallax */
  .parallax-layer {
    transform: none !important;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid #FF3B5C;
  outline-offset: 4px;
}

/* ========================================
   SCROLLYTELLING HERO
   ======================================== */

.hero-scrollytelling {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-content-scroll {
  text-align: left;
  position: relative;
  z-index: 2;
  max-width: 55%;
}

/* Badge */
.hero-badge-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.badge-pulse {
  width: 10px;
  height: 10px;
  background: #FF3B5C;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.7);
  }

  50% {
    opacity: 0.8;
    transform: scale(0.95);
    box-shadow: 0 0 0 10px rgba(255, 59, 92, 0);
  }
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Headline animation setup */
.headline-line {
  overflow: hidden;
  padding: 8px 0;
}

/* CTA */
.hero-cta-scroll {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin: 60px 0;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 80px 0 0 0;
}

.stat-item {
  text-align: center;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Phone mockup */
.hero-visual-scroll {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  z-index: 1;
}

.phone-mockup-scroll {
  position: relative;
  width: 100%;
  height: 750px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 50px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

.phone-screen-scroll {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FFFFFF, #F9FAFB);
  border-radius: 42px;
  overflow: hidden;
  position: relative;
}

/* Chat demo */
.chat-demo {
  padding: 80px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-message {
  display: flex;
}

.chat-message.them {
  justify-content: flex-start;
}

.chat-message.you {
  justify-content: flex-end;
}

.message-bubble {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.05);
  color: #111827;
}

.chat-message.them .message-bubble {
  border-bottom-left-radius: 4px;
}

.chat-message.you .message-bubble {
  background: linear-gradient(135deg, #FF3B5C, #6366F1);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.message-bubble.improved {
  box-shadow: 0 0 30px rgba(255, 59, 92, 0.4);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 59, 92, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 59, 92, 0.6);
  }
}

.chat-ai-suggestion {
  padding: 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 2px dashed rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  text-align: center;
}

.suggestion-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366F1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  animation: float 3s ease-in-out infinite;
}

.badge-1 {
  top: 100px;
  left: -120px;
}

.badge-2 {
  bottom: 120px;
  right: -100px;
  animation-delay: 1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.badge-icon {
  font-size: 1.2em;
}

/* Scroll indicator — fixed so it persists while scrolling */
.scroll-down-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
  z-index: 500;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--text-secondary);
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: #FF3B5C;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}


/* Mobile responsive */
@media (max-width: 1200px) {
  .hero-visual-scroll {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-scrollytelling {
    padding: 80px 0 60px;
  }

  .hero-stats-scroll {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-cta-scroll {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

/* ========================================
   HORIZONTAL SCROLLING FEATURES
   ======================================== */

.features-horizontal-scroll {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.section-header-scroll {
  text-align: center;
  margin-bottom: 80px;
}

/* Horizontal scroll container */
.horizontal-scroll-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  padding: 40px 0;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.horizontal-scroll-content {
  display: flex;
  gap: 40px;
  padding: 0 max(40px, calc(50vw - 700px));
  width: fit-content;
}

/* Feature cards */
.feature-card-horizontal {
  flex-shrink: 0;
  width: 500px;
  height: 700px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 32px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.feature-card-horizontal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--card-color, #FF3B5C) 0%, transparent 60%);
  opacity: 0.1;
  transition: opacity 0.4s;
}

.feature-card-horizontal:hover::before {
  opacity: 0.2;
}

.feature-card-horizontal:hover {
  transform: translateY(-12px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Dynamic color */
.feature-card-horizontal[data-color] {
  --card-color: attr(data-color);
}

.feature-card-horizontal[data-color="#FF3B5C"] {
  --card-color: #FF3B5C;
}

.feature-card-horizontal[data-color="#6366F1"] {
  --card-color: #6366F1;
}

.feature-card-horizontal[data-color="#F59E0B"] {
  --card-color: #F59E0B;
}

.feature-card-horizontal[data-color="#10B981"] {
  --card-color: #10B981;
}

.feature-card-horizontal[data-color="#EC4899"] {
  --card-color: #EC4899;
}

.feature-card-horizontal[data-color="#EF4444"] {
  --card-color: #EF4444;
}

/* Feature number */
.feature-number-big {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 40px;
  right: 40px;
  opacity: 0.5;
}

/* Feature icon */
.feature-icon-big {
  font-size: 5rem;
  margin-bottom: 32px;
}

/* Title */
.feature-card-horizontal .headline-medium {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

/* Description */
.feature-card-horizontal .body-large {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: auto;
}

/* Inline stat */
.feature-stat-inline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-big {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--card-color, #FF3B5C), var(--text-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-inline {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Button */
.btn-feature {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

/* Scroll progress */
.scroll-progress-horizontal {
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 0 40px;
}

.scroll-track {
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  height: 100%;
  background: linear-gradient(90deg, #FF3B5C, #6366F1);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Mobile */
@media (max-width: 768px) {
  .horizontal-scroll-content {
    padding: 0 20px;
  }

  .feature-card-horizontal {
    width: 340px;
    height: auto;
    padding: 40px 32px;
  }

  .feature-number-big {
    font-size: 5rem;
    top: 20px;
    right: 20px;
  }

  .feature-icon-big {
    font-size: 3.5rem;
  }
}

/* ========================================
   MOBILE-SPECIFIC OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {

  /* Reduce section padding */
  section {
    padding: 80px 0;
  }

  /* Simplify headlines */
  .headline-massive {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  /* Stack CTAs */
  .hero-cta-scroll {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 18px 32px;
  }

  /* Simplify animations */
  .gradient-orb {
    display: none;
    /* Too heavy for mobile */
  }

  /* Simpler cards */
  .card-premium {
    padding: 24px;
  }

  /* Disable horizontal scroll on mobile */
  .horizontal-scroll-wrapper {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .feature-card-horizontal {
    scroll-snap-align: center;
  }

  /* Touch-friendly spacing */
  .btn-primary,
  .btn-secondary,
  .magnetic {
    min-height: 48px;
  }

  /* Reduce motion for performance */
  * {
    animation-duration: 0.5s !important;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-visual-scroll {
    width: 300px;
    right: 5%;
  }

  .phone-mockup-scroll {
    height: 600px;
  }
}