/* ============================================================
   AppsnGO — Ultra-Premium CSS
   Studio digital rapide et abordable
   ============================================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --violet: #3A0C43;
  --violet-light: #5A1C6B;
  --violet-dark: #1E0622;
  --orange: #FF6B00;
  --orange-glow: rgba(255, 107, 0, 0.4);
  --white: #ffffff;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-400: #A3A3A3;
  --gray-600: #525252;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --section-gap: 80px;

  --x: 0px;
  --y: 0px;
  --r: 0deg;
  --s: 1;
  --phone-height: min(60vh, 480px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--violet);
  color: var(--white);
}

body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--gray-600);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* ---------- ACCESSIBILITY UTILITIES ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- FOCUS STYLES ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.nav-logo:focus-visible,
.nav-cta:focus-visible {
  outline-color: var(--white);
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(58, 12, 67, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.35s var(--ease-out-expo), background 0.35s ease;
}

.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-scrolled {
  background: rgba(30, 6, 34, 0.95);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  min-height: 44px;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.85;
}

.logo-app {
  color: var(--white);
}

.logo-n {
  color: var(--gray-400);
  font-size: 0.85em;
  font-weight: 500;
}

.logo-go {
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s var(--ease-out-expo), border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.15);
}

.whatsapp-icon-sm {
  width: 18px;
  height: 18px;
}

/* ============================================================
   HERO ANIMATED HEADER
   ============================================================ */
.hero-header {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  padding-top: 64px;
}

.header-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 800;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #0f0a1e 0%, #050208 70%, #000 100%);
}

/* Icon layers */
.header-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Icon layers — GPU composite the whole layer, not each icon */
.header-layer {
  transform: translate3d(0,0,0);
  contain: layout style;
}

/* Individual icon (sprite-based) */
.header-icon {
  position: absolute;
  border-radius: 14%;
  backface-visibility: hidden;
  background-image: url('assets/sprite.webp');
  background-size: 1300% 1300%;
  background-repeat: no-repeat;
}

/* ── Phone silhouette (mobile header) ── */
.header-phone-silhouette { display: none; }

/* ── Floating Phone Overlay ── */
.product-float {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0) translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s));
  transition: opacity 500ms ease;
  will-change: transform;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
}

.product-float.is-entered { opacity: 1; }

.product-float__phone {
  height: var(--phone-height);
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.45));
}

/* Screen content — precisely mapped to the iPhone screen area
   Phone image is 1536x1024 (3:2). The screen sits roughly at:
   x: 36.5%–63.5%, y: 5%–96% of the image */
.product-float__screen-content {
  position: absolute;
  top: 5%; left: 37%; width: 26%; height: 90%;
  overflow: hidden;
  pointer-events: none;
  border-radius: 6.5% / 3.5%;
  opacity: 0;
  transition: opacity 800ms ease;
  transition-delay: 500ms;
}
.product-float.is-entered .product-float__screen-content { opacity: 1; }

/* ── Phone screen: slide layers ── */

.screen-home {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 8vh, 76px) clamp(10px, 4vw, 50px) clamp(10px, 3vh, 32px);
  transition: opacity 0.6s ease;
}
.screen-home.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.screen-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  overflow: hidden;
}
.screen-slider.is-active {
  opacity: 1;
}

.screen-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a2e;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.screen-slider img.is-visible {
  opacity: 1;
}

/* ── Phone screen: iOS-style home screen ── */

/* iOS-style status bar */
.screen-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: white;
  padding: 0 2%;
}

.screen-clock {
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: clamp(5px, 0.75vw, 11px);
  letter-spacing: 0.3px;
}

.screen-status-icons {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.3vw, 5px);
}

.screen-status-icon {
  width: clamp(8px, 0.8vw, 14px);
  height: auto;
}

.screen-status-icon--battery {
  width: clamp(12px, 1.1vw, 18px);
}

/* Weather widget — iOS-style home screen card */
.screen-widget-weather {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.4vw, 6px);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 4% 6%;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  color: white;
  width: 75%;
  align-self: center;
}

.screen-widget-weather__icon {
  width: clamp(10px, 1vw, 16px); height: auto;
  color: #FFD700;
  flex-shrink: 0;
}

.screen-widget-weather__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.screen-widget-weather__temp {
  font-weight: 500;
  font-size: clamp(5px, 0.7vw, 12px);
  line-height: 1;
}

.screen-widget-weather__city {
  font-weight: 400;
  font-size: clamp(4px, 0.55vw, 10px);
  opacity: 0.7;
}

.product-float__logo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  font-family: 'Montserrat', -apple-system, 'Helvetica Neue', sans-serif;
  font-weight: 800;
  line-height: 0.85;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.6));
}

.screen-logo-app {
  font-size: clamp(10px, 3vw, 36px);
  color: var(--white);
}

.screen-logo-n {
  font-size: clamp(8px, 2.2vw, 28px);
  color: var(--gray-400);
  font-weight: 500;
  text-transform: lowercase;
  line-height: 1;
}

.screen-logo-go {
  font-size: clamp(10px, 3vw, 36px);
  color: var(--orange);
}

/* ── Floating App Rain Overlay ── */
.app-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 45;
  overflow: hidden;
}

.app-rain__icon {
  position: fixed;
  left: 0;
  top: 0;
  width: clamp(28px, 3.5vw, 46px);
  aspect-ratio: 1;
  border-radius: 14%;
  background-image: url('assets/sprite.webp');
  background-size: 1300% 1300%;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.3));
  pointer-events: none;
}

@media (max-width: 767px) {
  .app-rain {
    display: none;
  }
}

/* Phone zoom-in entry animation */
@keyframes phoneZoomIn {
  0%   { opacity: 0; transform: translate3d(-50%,-50%,0) scale(0.3); }
  100% { opacity: 1; transform: translate3d(-50%,-50%,0) scale(1); }
}

.product-float.is-animating-in {
  animation: phoneZoomIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Step-driven phone positioning — micro-rotate + zoom for natural feel */
body[data-step="0"] { --x: 0px;   --y: 0px;  --r: -1deg; --s: 1; }
body[data-step="1"] { --x: -30vw; --y: 30vh; --r: 2deg;  --s: 1.6; }

/* ── Floating keyframes — GPU-only translate3d, no rotation change ── */
@keyframes iconFloat1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6px, -10px, 0); }
}
@keyframes iconFloat2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8px, 7px, 0); }
}
@keyframes iconFloat3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(5px, 8px, 0); }
}
@keyframes iconFloat4 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-6px, -7px, 0); }
}
@keyframes iconFloat5 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(4px, -6px, 0); }
  66% { transform: translate3d(-4px, 5px, 0); }
}
@keyframes iconFloat6 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-5px, 4px, 0); }
  66% { transform: translate3d(5px, -4px, 0); }
}

.header-icon.anim-1 { animation-name: iconFloat1; }
.header-icon.anim-2 { animation-name: iconFloat2; }
.header-icon.anim-3 { animation-name: iconFloat3; }
.header-icon.anim-4 { animation-name: iconFloat4; }
.header-icon.anim-5 { animation-name: iconFloat5; }
.header-icon.anim-6 { animation-name: iconFloat6; }

/* ============================================================
   INTRO SECTION (moved hero text)
   ============================================================ */
.section-intro {
  background: linear-gradient(135deg, var(--violet-dark) 0%, #2A0933 40%, var(--violet) 100%);
  padding: 5rem 0 4rem;
  position: relative;
}

/* Two-column layout for intro */
.intro-layout {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.intro-phone-spacer {
  display: none;
}

.intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Title */
.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--orange);
  text-shadow: 0 0 60px rgba(255, 107, 0, 0.2);
}

.title-dot {
  color: var(--orange);
}

/* Subtitle */
.hero-subtitle {
  font-family: var(--font-body);
  color: var(--gray-200);
  max-width: 500px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 auto;
}

.hero-subtitle strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* CTA area */
.hero-cta {
  margin-top: 2.5rem;
}

/* Trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  flex-shrink: 0;
}

/* Scroll indicator */
.hero-header .hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: none;
  transition: all 0.4s var(--ease-out-expo);
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

/* Primary */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 25px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(255, 107, 0, 0.5), 0 0 0 1px rgba(255, 107, 0, 0.1);
  background: #ff7c1a;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

/* Outline */
.btn-outline {
  border: 2px solid rgba(255, 107, 0, 0.4);
  background: transparent;
  color: var(--orange);
}

.btn-outline:hover {
  background: rgba(255, 107, 0, 0.08);
  border-color: var(--orange);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.15);
}

.btn-outline:active {
  transform: translateY(-1px) scale(1);
}

/* Large */
.btn-large {
  padding: 18px 42px;
  font-size: 1.15rem;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-heading);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--violet);
  margin-top: 1rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.text-accent {
  color: var(--orange);
}

.section-desc {
  font-family: var(--font-body);
  color: var(--gray-600);
  max-width: 500px;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================================
   SECTION DIVIDERS — clip-path wave transitions
   ============================================================ */
.section-pricing::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--violet);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.section-services::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 100%, 0 40%);
}

.section-why::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.section-steps::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--violet-dark);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.section-proof::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.section-pricing {
  background: var(--white);
  padding-top: calc(var(--section-gap) + 40px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pricing-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(58, 12, 67, 0.12);
  border-color: rgba(255, 107, 0, 0.3);
}

/* 3D tilt effect — applied via JS data-tilt, but we provide the CSS foundation */
.pricing-card[data-tilt] {
  transform-style: preserve-3d;
}

/* Glowing border on hover */
.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.pricing-card:hover::after {
  border-color: rgba(255, 107, 0, 0.25);
  box-shadow: inset 0 0 30px rgba(255, 107, 0, 0.03), 0 0 20px rgba(255, 107, 0, 0.06);
}

/* Featured card */
.pricing-card-featured {
  border: 2px solid var(--orange);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.03), rgba(58, 12, 67, 0.03));
}

.pricing-card-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, var(--orange), var(--violet-light), var(--orange));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientShift 4s ease infinite;
  pointer-events: none;
  z-index: 1;
}

.pricing-card-featured:hover {
  box-shadow: 0 25px 60px rgba(255, 107, 0, 0.15), 0 0 40px rgba(255, 107, 0, 0.05);
}

.pricing-card-inner {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-weight: 600;
  font-family: var(--font-heading);
}

.badge-featured {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(255, 107, 0, 0.3);
}

.pricing-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--violet);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  margin: 1.5rem 0;
}

.price-amount {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--violet);
  line-height: 1;
  letter-spacing: -2px;
}

.price-currency {
  font-size: 1.5rem;
  color: var(--gray-400);
  margin-left: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.price-plus {
  font-size: 2rem;
  color: var(--orange);
  margin-right: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.5rem 0 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  color: var(--gray-600);
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.pricing-card:hover .pricing-features li {
  transform: translateX(2px);
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 3rem;
}

.pricing-note a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s, text-underline-offset 0.2s;
}

.pricing-note a:hover {
  text-underline-offset: 5px;
  color: #ff8533;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.section-services {
  background: var(--gray-50);
  padding-top: calc(var(--section-gap) + 30px);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(58, 12, 67, 0.1);
  border-color: rgba(255, 107, 0, 0.2);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(58, 12, 67, 0.05));
  color: var(--orange);
  margin-bottom: 1rem;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
  transition: transform 0.4s var(--ease-spring);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.18), rgba(58, 12, 67, 0.08));
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--violet);
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.service-card:hover h3 {
  color: var(--violet-light);
}

.service-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.section-why {
  background: var(--violet-dark);
  padding-top: calc(var(--section-gap) + 40px);
}

.section-why .section-title {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.why-item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--violet-dark);
  transition: background 0.4s ease, padding-left 0.3s ease;
}

.why-item:hover {
  background: rgba(90, 28, 107, 0.2);
  padding-left: 2.5rem;
}

.why-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.8s var(--ease-out-expo);
}
.why-item:hover::after,
.why-item.animated::after {
  width: 100%;
}

.why-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--orange);
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

.why-item:hover .why-number {
  opacity: 1;
}

.why-content h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-content p {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   STEPS SECTION
   ============================================================ */
.section-steps {
  background: var(--white);
  padding-top: calc(var(--section-gap) + 30px);
}

.steps-container {
  position: relative;
}

.steps-line {
  display: none;
}

.steps-svg {
  width: 100%;
  height: 8px;
}

.steps-progress {
  stroke-dasharray: 8 4;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.5s var(--ease-out-expo);
}

.steps-progress.active {
  stroke-dashoffset: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 0, 0.2);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: rgba(58, 12, 67, 0.04);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}

.step-card:hover .step-icon {
  background: rgba(255, 107, 0, 0.06);
  transform: scale(1.05);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-card p {
  font-family: var(--font-body);
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================
   PROOF SECTION
   ============================================================ */
.section-proof {
  background: var(--gray-50);
  padding-top: calc(var(--section-gap) + 30px);
}

.proof-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.proof-stat {
  text-align: center;
}

.proof-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--violet);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.proof-divider {
  width: 60px;
  height: 1px;
  background: var(--gray-200);
}

/* ============================================================
   CTA FINAL SECTION
   ============================================================ */
.section-cta {
  background: linear-gradient(135deg, var(--violet-dark) 0%, #2A0933 40%, var(--violet) 80%, var(--violet-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-shapes {
  position: absolute;
  inset: 0;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
}

.cta-shape-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.12;
  top: -20%;
  left: -5%;
  animation: float 10s ease-in-out infinite;
}

.cta-shape-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--violet-light) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.15;
  bottom: -10%;
  right: -5%;
  animation: float 8s ease-in-out infinite reverse;
}

.cta-shape-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite 1s;
}

/* Pause GPU-heavy animations when section is offscreen */
.anim-paused .cta-shape,
.anim-paused .header-icon {
  animation-play-state: paused !important;
}

.cta-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 100px 0;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.cta-subtitle {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin: 1rem 0 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0D0311;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  text-align: center;
  padding: 3rem 0;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-text {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.footer-copy {
  color: var(--gray-600);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ============================================================
   STICKY WHATSAPP
   ============================================================ */
.whatsapp-sticky {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-sticky:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.55);
}

.whatsapp-sticky:active {
  transform: scale(1.05);
}

.whatsapp-sticky::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulse 2s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-sticky svg {
  width: 26px;
  height: 26px;
}

/* ============================================================
   ANIMATIONS / KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    translate: 0 0;
  }
  50% {
    translate: 0 -20px;
  }
  100% {
    translate: 0 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes subtleGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.2);
  }
}

@keyframes pricePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow); }
  50% { box-shadow: 0 0 30px 8px var(--orange-glow); }
}
.pricing-card-featured.animated {
  animation: pricePulse 2.5s ease-in-out 1s 1;
}

/* Scroll-triggered animation initial states */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* ── Punchy animation variants ── */
[data-animate="scale-spring"] {
  opacity: 0;
  transform: scale(0.82);
  filter: blur(4px);
}
[data-animate="scale-spring"].animated {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.9s var(--ease-spring),
              filter 0.6s var(--ease-out-expo);
}

[data-animate="slam-down"] {
  opacity: 0;
  transform: translateY(-40px) scale(1.08);
}
[data-animate="slam-down"].animated {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.5s var(--ease-out-expo),
              transform 0.6s cubic-bezier(0.22, 1.2, 0.36, 1);
}

[data-animate="slide-right"] {
  opacity: 0;
  transform: translateX(-60px) rotate(-2deg);
}
[data-animate="slide-right"].animated {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.8s var(--ease-spring);
}

[data-animate="pop-in"] {
  opacity: 0;
  transform: scale(0.3);
}
[data-animate="pop-in"].animated {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s var(--ease-out-expo),
              transform 0.6s var(--ease-spring);
}

[data-animate="flip-up"] {
  opacity: 0;
  transform: perspective(800px) rotateX(30deg) translateY(40px);
  transform-origin: bottom center;
}
[data-animate="flip-up"].animated {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) translateY(0);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.8s var(--ease-spring);
}

[data-animate="punch-left"] {
  opacity: 0;
  transform: translateX(80px);
}
[data-animate="punch-left"].animated {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s var(--ease-out-expo),
              transform 0.7s cubic-bezier(0.22, 1.3, 0.36, 1);
}

[data-animate="blur-in"] {
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.06);
}
[data-animate="blur-in"].animated {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition: opacity 0.8s var(--ease-out-expo),
              filter 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

/* Staggered delays */
[data-animate][data-delay="0"].animated   { transition-delay: 0ms; }
[data-animate][data-delay="50"].animated  { transition-delay: 50ms; }
[data-animate][data-delay="100"].animated { transition-delay: 100ms; }
[data-animate][data-delay="150"].animated { transition-delay: 150ms; }
[data-animate][data-delay="200"].animated { transition-delay: 200ms; }
[data-animate][data-delay="250"].animated { transition-delay: 250ms; }
[data-animate][data-delay="300"].animated { transition-delay: 300ms; }
[data-animate][data-delay="350"].animated { transition-delay: 350ms; }
[data-animate][data-delay="400"].animated { transition-delay: 400ms; }
[data-animate][data-delay="450"].animated { transition-delay: 450ms; }
[data-animate][data-delay="500"].animated { transition-delay: 500ms; }
[data-animate][data-delay="600"].animated { transition-delay: 600ms; }

/* ============================================================
   RESPONSIVE — MOBILE: hide phone overlay + tame animations
   ============================================================ */
@media (max-width: 767px) {
  .product-float {
    display: none;
  }

  /* ── Mobile explosion header ── */
  .hero-header { padding-top: 0; }

  .header-canvas {
    aspect-ratio: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-scroll-indicator { display: none; }

  .header-phone-silhouette {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 26vw;
    max-width: 140px;
    aspect-ratio: 9 / 19.5;
    background: #1a1a22;
    border: 2px solid #333;
    border-radius: 18px;
    z-index: 10;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.3);
  }

  .header-phone-silhouette__screen {
    position: absolute;
    inset: 6px;
    border-radius: 13px;
    background: radial-gradient(ellipse at 50% 40%, #1e1433 0%, #0d0a18 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .header-phone-silhouette__logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(0.7rem, 3vw, 1.1rem);
    letter-spacing: -0.5px;
    text-align: center;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.3));
  }

  .header-layer-front { z-index: 20; }
  .header-layer-back { z-index: 5; }

  .header-icon {
    border-radius: 18%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  }

  /* Softer animations on mobile — reduce translateX to avoid overflow, remove blur for perf */
  [data-animate="slide-right"] {
    transform: translateX(-30px);
  }
  [data-animate="punch-left"] {
    transform: translateX(30px);
  }
  [data-animate="slam-down"] {
    transform: translateY(-20px) scale(1.04);
  }
  [data-animate="scale-spring"] {
    filter: none;
    transform: scale(0.9);
  }
  [data-animate="scale-spring"].animated {
    filter: none;
  }
  [data-animate="blur-in"] {
    filter: none;
    transform: translateY(20px);
  }
  [data-animate="blur-in"].animated {
    filter: none;
  }
  [data-animate="flip-up"] {
    transform: translateY(30px);
  }
  [data-animate="flip-up"].animated {
    transform: translateY(0);
  }

  /* Disable GPU-heavy CTA shapes on mobile */
  .cta-shape {
    filter: none !important;
    animation: none !important;
  }

  /* Ensure pricing-note link has adequate touch target */
  .pricing-note a {
    display: inline-block;
    padding: 8px 4px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --section-gap: 100px;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    perspective: 1200px;
  }

  .pricing-card {
    transform-style: preserve-3d;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-line {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
  }

  .proof-grid {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
  }

  .proof-divider {
    width: 1px;
    height: 60px;
  }

  .intro-phone-spacer {
    display: block;
    flex: 0 0 35%;
  }

  .intro-layout .intro-content {
    text-align: left;
    max-width: none;
    margin: 0;
    flex: 1;
  }

  .intro-layout .hero-trust {
    justify-content: flex-start;
  }

  .intro-layout .hero-subtitle {
    margin: 0;
  }

  .whatsapp-sticky {
    width: 52px;
    height: 52px;
  }

  .whatsapp-sticky svg {
    width: 24px;
    height: 24px;
  }

  .section-why::before,
  .section-steps::before,
  .section-cta::before {
    height: 80px;
  }

  .section-services::before,
  .section-proof::before {
    height: 70px;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
  :root {
    --section-gap: 120px;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .navbar-inner {
    height: 72px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .intro-phone-spacer {
    flex: 0 0 40%;
  }

  :root {
    --phone-height: min(65vh, 560px);
  }

  .cta-content {
    padding: 120px 0;
  }

  .whatsapp-sticky {
    width: 60px;
    height: 60px;
    bottom: 32px;
    right: 32px;
  }

  .whatsapp-sticky svg {
    width: 28px;
    height: 28px;
  }

  .section-why::before,
  .section-steps::before,
  .section-cta::before {
    height: 100px;
  }

  .section-services::before,
  .section-proof::before {
    height: 80px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .product-float {
    opacity: 1;
    animation: none !important;
    transform: translate3d(-50%,-50%,0);
  }

  .product-float__screen-content {
    opacity: 1;
  }
}
