/* ============================================
   apartalo.cr — Premium Landing Page Styles
   Design System & Global Tokens
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
  --navy: #0D1B3D;
  --navy-mid: #142151;
  --navy-light: #1d2f6a;
  --orange: #FF7A00;
  --orange-light: #FF9A33;
  --orange-pale: #FFF3E6;
  --gray-light: #F2F4F7;
  --gray-mid: #E5E8EF;
  --gray-text: #6B7280;
  --gray-dark: #374151;
  --white: #FFFFFF;
  --green-check: #22C55E;
  --red-x: #EF4444;
  --whatsapp: #25D366;

  --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(13, 27, 61, 0.08);
  --shadow-md: 0 8px 32px rgba(13, 27, 61, 0.12);
  --shadow-lg: 0 20px 60px rgba(13, 27, 61, 0.18);
  --shadow-orange: 0 8px 32px rgba(255, 122, 0, 0.3);
  --shadow-card: 0 4px 24px rgba(13, 27, 61, 0.1);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --header-h: 72px;
  --container-max: 1200px;
  --section-pad: 96px;
  --section-pad-sm: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

input, select, textarea, button {
  font-family: var(--font);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9A33 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 122, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.btn-product {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  width: 100%;
  border-color: transparent;
}

.btn-product:hover {
  background: var(--orange);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 15px 36px;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 10px 20px;
}

.btn-full {
  width: 100%;
}

/* Pulse animation for hero CTA */
.pulse-btn {
  animation: pulseCta 2.5s ease-in-out infinite;
}

@keyframes pulseCta {
  0%, 100% { box-shadow: var(--shadow-orange); }
  50% { box-shadow: 0 8px 48px rgba(255, 122, 0, 0.6), 0 0 0 8px rgba(255, 122, 0, 0.1); }
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-tag {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.light .section-tag {
  background: rgba(255, 122, 0, 0.2);
  color: var(--orange-light);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.highlight-orange {
  color: var(--orange);
  position: relative;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--header-h);
  background: rgba(13, 27, 61, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.logo-link {
  flex-shrink: 0;
}

.header-logo {
  height: 42px;
  width: 180px;
  max-width: 180px;
  background: transparent;
  display: block;
  overflow: visible;
}

@media (max-width: 640px) {
  .header-logo {
    width: 145px;
    height: 36px;
  }
}

.nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px 28px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--orange);
}

.mobile-cta {
  margin-top: 16px;
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--navy);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 122, 0, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(255, 122, 0, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, #0D1B3D 0%, #142151 50%, #1a2a5e 100%);
  z-index: 0;
}

/* Animated particles */
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatParticle linear infinite;
}
.p1 { width: 6px; height: 6px; background: var(--orange); top: 20%; left: 15%; animation-duration: 8s; animation-delay: 0s; }
.p2 { width: 10px; height: 10px; background: var(--orange); top: 60%; left: 8%; animation-duration: 12s; animation-delay: 2s; }
.p3 { width: 4px; height: 4px; background: var(--white); top: 35%; right: 20%; animation-duration: 10s; animation-delay: 1s; }
.p4 { width: 8px; height: 8px; background: var(--orange); top: 75%; right: 12%; animation-duration: 9s; animation-delay: 3s; }
.p5 { width: 5px; height: 5px; background: var(--white); top: 15%; right: 35%; animation-duration: 11s; animation-delay: 0.5s; }

@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
  50% { opacity: 0.3; }
  100% { transform: translateY(-80px) rotate(360deg); opacity: 0.15; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px 60px;
  flex: 1;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 122, 0, 0.15);
  border: 1px solid rgba(255, 122, 0, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  color: var(--orange-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-subheadline strong {
  color: var(--white);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-aparti-wrap {
  position: relative;
  z-index: 2;
}

.aparti-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* ============ MASCOTA APARTI — CLASE GLOBAL ============ */
/* Aplica a todas las instancias de Aparti en la página */
.mascota-aparti {
  background: transparent !important;
  object-fit: contain;
  display: block;
  /* NO usar mix-blend-mode ni filter brightness/contrast */
  /* El PNG ya tiene canal alfa real — solo usar drop-shadow */
}

.hero-aparti {
  width: 400px;
  max-width: 90%;
  height: auto;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.22));
  animation: heroFloat 4s ease-in-out infinite;
  display: block;
  position: relative;
  z-index: 2;
}

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

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: floatCard ease-in-out infinite;
}

.floating-card .fc-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.floating-card strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.floating-card small {
  display: block;
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
}

.card-laptop {
  top: 10%;
  left: -60px;
  animation-duration: 3.5s;
  animation-delay: 0s;
}

.card-phone {
  bottom: 25%;
  left: -80px;
  animation-duration: 4s;
  animation-delay: 0.7s;
}

.card-tv {
  top: 30%;
  right: -50px;
  animation-duration: 3.8s;
  animation-delay: 1.2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

/* Hero Stats Bar */
.hero-stats {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  gap: 4px;
}

.stat-item strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
}

.stat-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ============================================
   SIMULATOR SECTION
   ============================================ */
.simulator-section {
  padding: var(--section-pad) 0;
  background: var(--gray-light);
  position: relative;
}

.simulator-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-lg);
}

.simulator-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.simulator-aparti {
  width: 220px;
  height: auto;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(13, 27, 61, 0.18));
  animation: heroFloat 4.5s ease-in-out infinite;
  display: block;
}

.simulator-bubble {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  position: relative;
}

.simulator-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.simulator-subtitle {
  color: var(--gray-text);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* Form Styles */
.simulator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.input-icon-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-text);
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--navy);
  background: var(--gray-light);
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--gray-text);
  text-align: center;
  margin-top: -8px;
}

/* Simulator Result */
.simulator-result {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  animation: slideInResult 0.4s ease;
}

@keyframes slideInResult {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-check);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.result-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  transition: var(--transition);
  cursor: default;
}

.product-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.product-card.featured {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.product-emoji {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 4px;
}

.product-badge-hot {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), #FF9A33);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.product-tagline {
  font-size: 0.82rem;
  color: var(--gray-text);
  font-style: italic;
  line-height: 1.4;
}

.product-price-example {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: auto;
}

.price-from {
  font-size: 0.75rem;
  color: var(--gray-text);
}

.price-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
}

.price-period {
  font-size: 0.75rem;
  color: var(--gray-text);
}

.products-cta-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.products-cta-text {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
  padding: var(--section-pad) 0;
  background: var(--gray-light);
}

.steps-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: default;
}

.step-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.steps-visual {
  position: relative;
}

.steps-aparti-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.steps-aparti {
  width: 300px;
  height: auto;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(13, 27, 61, 0.18));
  animation: heroFloat 4s ease-in-out infinite;
  display: block;
}

.steps-card {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
}

.scard-icon {
  font-size: 1.6rem;
}

.scard-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scard-content strong {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 700;
}

.scard-content span {
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* ============================================
   CONTRAST SECTION
   ============================================ */
.contrast-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.contrast-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(255, 122, 0, 0.08) 0%, transparent 60%);
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}

.contrast-vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 0 16px;
}

.contrast-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contrast-card.bad {
  background: rgba(239, 68, 68, 0.08);
  border: 2px solid rgba(239, 68, 68, 0.2);
}

.contrast-card.good {
  background: rgba(34, 197, 94, 0.08);
  border: 2px solid rgba(34, 197, 94, 0.2);
}

.contrast-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.contrast-icon {
  font-size: 2rem;
}

.contrast-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.contrast-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contrast-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
}

.x-mark {
  color: var(--red-x);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.check-mark {
  color: var(--green-check);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contrast-cta {
  text-align: center;
}

/* ============================================
   EXCLUSIVE SECTION
   ============================================ */
.exclusive-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.exclusive-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.exclusive-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.exclusive-seal {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exclusive-seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.seal-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seal-content strong {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.seal-content span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.exclusive-desc {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.exclusive-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.sector-chip {
  background: var(--orange-pale);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 122, 0, 0.2);
  transition: var(--transition-fast);
}

.sector-chip:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.exclusive-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.excl-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-dark);
}

/* ============================================
   APARTI SECTION
   ============================================ */
.aparti-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--orange-pale) 100%);
}

.aparti-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: center;
}

.aparti-mascot-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aparti-mascot-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aparti-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 122, 0, 0.2);
  animation: ringPulse ease-in-out infinite;
}

.ring-1 {
  width: 320px;
  height: 320px;
  animation-duration: 3s;
}

.ring-2 {
  width: 260px;
  height: 260px;
  animation-duration: 3s;
  animation-delay: 0.5s;
  border-color: rgba(255, 122, 0, 0.15);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

.aparti-main-img {
  width: 280px;
  height: auto;
  background: transparent;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 48px rgba(13, 27, 61, 0.18));
  animation: heroFloat 4.2s ease-in-out infinite;
  display: block;
}

.aparti-desc {
  color: var(--gray-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.aparti-phrases {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.phrase-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange);
  transition: var(--transition);
}

.phrase-chip:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.phrase-emoji {
  font-size: 1.4rem;
}

.aparti-philosophy {
  font-size: 0.9rem;
  color: var(--gray-text);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.benefit-card:hover {
  background: var(--white);
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.benefit-card.highlight-benefit {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-color: transparent;
}

.benefit-card.highlight-benefit .benefit-title {
  color: var(--white);
}

.benefit-card.highlight-benefit .benefit-desc {
  color: rgba(255,255,255,0.75);
}

.benefit-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  line-height: 1;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: var(--section-pad) 0;
  background: var(--gray-light);
}

.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.testimonial-card.featured-testi {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
}

.featured-testi .testi-text,
.featured-testi .testi-author strong {
  color: var(--white);
}

.featured-testi .testi-author span {
  color: rgba(255,255,255,0.6);
}

.testi-stars {
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.testi-author span {
  font-size: 0.77rem;
  color: var(--gray-text);
}

.testimonials-aparti {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.testi-aparti {
  width: 220px;
  height: auto;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(13, 27, 61, 0.18));
  animation: heroFloat 4s ease-in-out infinite;
  display: block;
}

.testi-aparti-quote {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px 16px 4px 16px;
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
  font-style: italic;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.faq-grid {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--orange);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-light);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--orange);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--gray-text);
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--navy);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #1a2a6e 100%);
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(255, 122, 0, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 30%, rgba(255, 122, 0, 0.06) 0%, transparent 60%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: center;
}

.final-cta-logo {
  margin-bottom: 28px;
}

.cta-logo-img {
  height: 48px;
  width: 200px;
  max-width: 200px;
  background: transparent;
  display: block;
  overflow: visible;
}

.final-cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.final-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.final-cta-micro {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.final-aparti {
  width: 260px;
  height: auto;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.3));
  animation: heroFloat 4s ease-in-out infinite;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080E20;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 36px;
  width: 160px;
  max-width: 160px;
  background: transparent;
  display: block;
  margin-bottom: 16px;
  overflow: visible;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--orange);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.footer-contact-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

.footer-wa-btn {
  width: 100%;
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-exclusive {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  padding: 14px 20px 14px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
}

.float-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.float-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 48px rgba(37, 211, 102, 0.55);
}

.float-wa-label {
  font-size: 0.88rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px;
  }

  .nav, .header-ctas { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px 40px;
    gap: 40px;
  }

  .hero-headline { font-size: 2.5rem; }
  .hero-subheadline { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }

  .hero-visual { justify-content: center; }
  .hero-aparti { width: 280px; }
  .card-laptop { left: -20px; }
  .card-phone { left: -30px; }
  .card-tv { right: -20px; }

  .simulator-wrapper {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .simulator-left {
    flex-direction: row;
    align-items: center;
  }

  .simulator-aparti { width: 130px; }

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

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

  .steps-visual { display: none; }

  .exclusive-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aparti-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .aparti-phrases { align-items: center; }

  .testimonials-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-aparti {
    flex-direction: row;
    justify-content: center;
    position: static;
  }

  .contrast-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contrast-vs { transform: rotate(90deg); }

  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .final-cta-btns { justify-content: center; }
  .final-aparti { width: 200px; }

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

/* ============================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================ */
@media (max-width: 640px) {
  :root {
    --section-pad: 56px;
    --header-h: 64px;
  }

  .hero-headline { font-size: 1.9rem; }
  .hero-aparti { width: 220px; }

  .floating-card {
    display: none;
  }

  .stats-row { gap: 0; }
  .stat-item { padding: 0 20px; }
  .stat-item strong { font-size: 1.4rem; }
  .stat-divider { height: 28px; }

  .simulator-wrapper { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; }

  .products-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .float-wa-label { display: none; }
  .float-wa { padding: 16px; border-radius: 50%; }

  .section-title { font-size: 1.7rem; }
  .final-cta-headline { font-size: 1.8rem; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .final-cta-btns { flex-direction: column; align-items: stretch; }

  .aparti-ring.ring-1 { width: 220px; height: 220px; }
  .aparti-ring.ring-2 { width: 180px; height: 180px; }
  .aparti-main-img { width: 200px; }
}
