/* ============================================
   PYMBÚ REAL ESTATE — Design System & Styles
   LIGHT THEME — v2.0 Major Redesign
   ============================================ */

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

/* --- Design Tokens --- */
:root {
  /* Colors — Light Theme */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-hover: #F1F5F9;
  --bg-dark-section: #0F172A;
  --accent-blue: #2563EB;
  --accent-violet: #6366F1;
  --accent-cyan: #0891B2;
  --accent-green: #059669;
  --accent-orange: #EA580C;
  --gradient-primary: linear-gradient(135deg, #2563EB, #6366F1);
  --gradient-hero: linear-gradient(135deg, #2563EB 0%, #6366F1 50%, #8B5CF6 100%);
  --gradient-light: linear-gradient(135deg, #EFF6FF, #EDE9FE);
  --gradient-surface: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-accent: #2563EB;
  --text-white: #FFFFFF;
  --border-subtle: #E2E8F0;
  --border-accent: rgba(37, 99, 235, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-btn: 0 4px 14px rgba(37, 99, 235, 0.25);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.08);

  /* Typography — ~14% larger than original */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-xs: 0.85rem;
  --fs-sm: 1rem;
  --fs-base: 1.14rem;
  --fs-lg: 1.28rem;
  --fs-xl: 1.42rem;
  --fs-2xl: 1.7rem;
  --fs-3xl: 2.14rem;
  --fs-4xl: 2.56rem;
  --fs-5xl: 3.42rem;
  --fs-6xl: 4.28rem;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --navbar-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  padding: 6px 16px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  max-width: 750px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 650px;
  line-height: var(--lh-normal);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.highlight-box {
  background: rgba(99, 102, 241, 0.15);
  padding: 2px 10px;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2), 0 0 40px rgba(99, 102, 241, 0.08);
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--fs-lg);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-slow);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.navbar-logo img {
  height: 120px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.navbar-links a:hover {
  color: var(--accent-blue);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
  background: var(--gradient-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: var(--fs-6xl);
  font-weight: 900;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-md);
  max-width: 520px;
}

.hero-subtitle-agent {
  font-size: var(--fs-lg);
  color: var(--accent-blue);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  padding: var(--space-md);
  background: rgba(37, 99, 235, 0.05);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: nowrap;
  align-items: center;
}

.hero-trust {
  display: none;
  /* Moved to floating badges */
}

/* Floating metric badges around the phone mockup */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 10;
  animation: badge-float 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #EFF6FF;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.float-badge-content {
  display: flex;
  flex-direction: column;
}

.float-badge-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.float-badge-value {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Position each badge at a corner */
.float-tl {
  top: 5%;
  left: -8%;
  animation-delay: 0s;
}

.float-tr {
  top: 10%;
  right: -10%;
  animation-delay: 1s;
}

.float-bl {
  bottom: 20%;
  left: -12%;
  animation-delay: 2s;
}

.float-br {
  bottom: 8%;
  right: -8%;
  animation-delay: 3s;
}

@keyframes badge-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
}

.trust-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual — WhatsApp mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
  padding: 2rem 4rem;
}

.phone-mockup {
  width: 340px;
  background: #FFFFFF;
  border-radius: 32px;
  border: 1px solid var(--border-subtle);
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
}

/* 3D effect for hero mockup */
.phone-3d {
  transform: rotateY(-5deg) rotateX(2deg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.03),
    -10px 10px 30px rgba(37, 99, 235, 0.1);
  transition: transform 0.4s ease;
}

.phone-3d:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  background: #0b141a;
  border-radius: 22px;
  overflow: hidden;
}

.phone-header {
  background: #1f2c33;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: white;
  overflow: hidden;
}

.phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-contact {
  flex: 1;
}

.phone-contact-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #e9edef;
}

.phone-contact-status {
  font-size: 11px;
  color: #8696a0;
}

.phone-chat {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 380px;
}

.chat-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.chat-msg.incoming {
  background: #1f2c33;
  color: #e9edef;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.chat-msg.outgoing {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-msg .msg-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  margin-top: 4px;
}

/* Chat animation */
.chat-anim {
  opacity: 0;
  transform: translateY(10px);
  animation: chatAppear 0.4s ease forwards;
  animation-delay: calc(var(--delay) * 0.8s + 0.5s);
}

@keyframes chatAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Photo carousel in chat */
.chat-photo-carousel {
  margin-bottom: 8px;
  border-radius: 6px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 4px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.carousel-placeholder {
  width: 100%;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 6px;
}

.carousel-placeholder span {
  font-size: 2rem;
}

.carousel-placeholder small {
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.8;
}

.carousel-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.carousel-dots .dot.active {
  background: white;
}

.chat-msg.typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8696a0;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* --- Solution Phone: flat front-facing variant with glow --- */
.phone-flat {
  transform: none;
  border: 2px solid rgba(99, 102, 241, 0.25);
  box-shadow:
    0 25px 80px rgba(99, 102, 241, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(99, 102, 241, 0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.phone-flat:hover {
  box-shadow:
    0 30px 90px rgba(99, 102, 241, 0.22),
    0 10px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

/* Auto-scrolling chat for solution mockup */
.phone-chat-scroll {
  max-height: 480px;
  overflow: hidden;
  position: relative;
}

.phone-chat-scroll .phone-chat {
  min-height: auto;
  animation: chatScroll 12s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes chatScroll {

  0%,
  8% {
    transform: translateY(0);
  }

  25%,
  35% {
    transform: translateY(-120px);
  }

  55%,
  65% {
    transform: translateY(-280px);
  }

  85%,
  100% {
    transform: translateY(0);
  }
}

/* WhatsApp audio bubble */
.audio-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.audio-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00a884;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audio-play-btn svg {
  width: 12px;
  height: 12px;
  fill: white;
}

.audio-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 24px;
}

.audio-waveform .wave-bar {
  width: 3px;
  border-radius: 2px;
  background: #8696a0;
  animation: waveAnim 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

.wave-bar:nth-child(2) {
  height: 14px;
  animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
  height: 6px;
  animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
  height: 18px;
  animation-delay: 0.15s;
}

.wave-bar:nth-child(5) {
  height: 10px;
  animation-delay: 0.25s;
}

.wave-bar:nth-child(6) {
  height: 16px;
  animation-delay: 0.05s;
}

.wave-bar:nth-child(7) {
  height: 7px;
  animation-delay: 0.3s;
}

.wave-bar:nth-child(8) {
  height: 12px;
  animation-delay: 0.12s;
}

.wave-bar:nth-child(9) {
  height: 5px;
  animation-delay: 0.22s;
}

.wave-bar:nth-child(10) {
  height: 15px;
  animation-delay: 0.08s;
}

.wave-bar:nth-child(11) {
  height: 9px;
  animation-delay: 0.18s;
}

.wave-bar:nth-child(12) {
  height: 11px;
  animation-delay: 0.28s;
}

@keyframes waveAnim {
  0% {
    transform: scaleY(0.5);
  }

  100% {
    transform: scaleY(1.3);
  }
}

.audio-duration {
  font-size: 10px;
  color: #8696a0;
  white-space: nowrap;
}

/* Floating glow behind phone */
.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

/* Hero watermark */
.hero-watermark {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 280px;
  height: 280px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  animation: float-rotate 20s ease-in-out infinite;
}

.hero-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
}

@keyframes float-rotate {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(3deg);
  }

  50% {
    transform: translateY(0) rotate(0deg);
  }

  75% {
    transform: translateY(10px) rotate(-3deg);
  }
}

/* --- FEATURE BAR (cinematic marquee) --- */
.feature-bar {
  background: var(--bg-dark-section);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

/* Fade edges for cinematic feel */
.feature-bar::before,
.feature-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.feature-bar::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark-section), transparent);
}

.feature-bar::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark-section), transparent);
}

.feature-bar-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.feature-bar-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.feature-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #CBD5E1;
  white-space: nowrap;
  flex-shrink: 0;
}

.feature-bar-item svg {
  color: var(--accent-blue);
  flex-shrink: 0;
}

.feature-bar-separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  flex-shrink: 0;
  user-select: none;
}

/* --- PROBLEMS SECTION --- */
.problems {
  background: var(--bg-primary);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.problem-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

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

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: var(--fs-xl);
}

.problem-icon.red {
  background: #FEF2F2;
  color: #DC2626;
}

.problem-icon.orange {
  background: #FFF7ED;
  color: #EA580C;
}

.problem-icon.yellow {
  background: #FEFCE8;
  color: #CA8A04;
}

.problem-icon.violet {
  background: #F5F3FF;
  color: #7C3AED;
}

.problem-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.problem-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

/* --- SOLUTION SECTION --- */
.solution {
  background: var(--bg-secondary);
}

.solution .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.solution-content {
  max-width: 520px;
}

.solution-content h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-lg);
}

.solution-content>p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
}

.solution-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.highlight-item:hover {
  box-shadow: var(--shadow-card);
}

.highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: var(--fs-xl);
}

.highlight-item h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.highlight-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0;
}

.solution-visual {
  display: flex;
  justify-content: center;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet), var(--accent-cyan), var(--accent-blue), var(--accent-violet));
  opacity: 0.2;
}

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

.step-number {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--accent-blue);
  background: #EFF6FF;
  border: 2px solid #BFDBFE;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-number.active {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.step-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.6s;
}

/* --- FEATURES SECTION --- */
.features {
  background: var(--bg-secondary);
}

.features-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.feat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
  min-height: 240px;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feat-card:hover::before {
  opacity: 1;
}

.feat-text {
  flex: 1;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-text h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-weight: 700;
}

.feat-text p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

.feat-illust {
  width: 300px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  position: relative;
  overflow: visible;
}

.feat-card:hover .feat-illust {
  background: linear-gradient(135deg, #e8ecff 0%, #dce2f8 100%);
}

/* Floating animation for illustrations */
.feat-illust-inner {
  animation: floatY 4s ease-in-out infinite;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.feat-card:nth-child(2) .feat-illust-inner {
  animation-delay: -0.5s;
  align-items: center;
  justify-content: center;
}

.feat-card:nth-child(3) .feat-illust-inner {
  animation-delay: -1s;
}

.feat-card:nth-child(4) .feat-illust-inner {
  animation-delay: -1.5s;
}

.feat-card:nth-child(5) .feat-illust-inner {
  animation-delay: -2s;
}

.feat-card:nth-child(6) .feat-illust-inner {
  animation-delay: -2.5s;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* --- Mini-Mockup: Chat Bubbles --- */
.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mini-chat-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.4;
  color: #333;
  max-width: 85%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.mini-chat-bubble.out {
  background: #dcf8c6;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.mini-chat-bubble.in {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mini-chat-bubble .mini-time {
  font-size: 9px;
  color: #999;
  text-align: right;
  margin-top: 3px;
}

.mini-chat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #25D366;
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  align-self: center;
  margin-bottom: 4px;
}

/* --- Mini-Mockup: Funnel --- */
.mini-funnel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.funnel-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.feat-card:hover .funnel-tier {
  transform: scale(1.03);
}

.funnel-tier.t1 {
  background: linear-gradient(135deg, #a5b4fc, #818cf8);
  width: 100%;
}

.funnel-tier.t2 {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  width: 82%;
}

.funnel-tier.t3 {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  width: 65%;
}

.funnel-tier.t4 {
  background: linear-gradient(135deg, #4f46e5, #3730a3);
  width: 50%;
  border-radius: 10px 10px 16px 16px;
}

.funnel-tier .tier-count {
  background: rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

/* --- Mini-Mockup: Avatar Flow --- */
.mini-avatar-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mini-avatar.a1 {
  background: #6366f1;
}

.mini-avatar.a2 {
  background: #ec4899;
}

.mini-avatar.a3 {
  background: #f59e0b;
}

.mini-avatar.a4 {
  background: #10b981;
}

.mini-badge {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  color: white;
}

.mini-badge.sale {
  background: #10b981;
}

.mini-badge.rent {
  background: #6366f1;
}

.mini-badge.support {
  background: #f59e0b;
}

.flow-arrow {
  color: #c7d2fe;
  font-size: 18px;
  line-height: 1;
}

/* --- Mini-Mockup: Property Card --- */
.mini-property {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  width: 100%;
}

.mini-property-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.mini-property-info {
  padding: 10px 14px;
}

.mini-property-info h5 {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
}

.mini-property-info span {
  font-size: 11px;
  color: #64748b;
}

.mini-property-price {
  display: block;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #4f46e5 !important;
  margin-top: 4px;
}

/* --- Mini-Mockup: Dashboard --- */
.mini-dashboard {
  background: white;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 185px;
}

.mini-dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.mini-dash-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mini-dash-dot.green {
  background: #10b981;
}

.mini-dash-dot.yellow {
  background: #f59e0b;
}

.mini-dash-dot.red {
  background: #ef4444;
}

.mini-dash-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 9px;
  color: #475569;
}

.mini-dash-row:last-child {
  border: none;
}

.mini-dash-status {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
}

.mini-dash-status.active {
  background: #dcfce7;
  color: #166534;
}

.mini-dash-status.pending {
  background: #fef3c7;
  color: #92400e;
}

/* --- Mini-Mockup: Sync Icon --- */
.mini-sync {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.sync-sources {
  display: flex;
  gap: 12px;
}

.sync-node {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.sync-node.ml {
  background: #FFE600;
}

.sync-node.gs {
  background: #0f9d58;
}

.sync-node.crm {
  background: #6366f1;
}

.sync-node svg {
  width: 26px;
  height: 26px;
}

.sync-arrow-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #a5b4fc;
  font-size: 18px;
}

.sync-center {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.sync-center svg {
  width: 28px;
  height: 28px;
  stroke: white;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- Mini-Mockup: Notification Card (Derivation) --- */
.notif-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 248px;
  overflow: hidden;
}

.notif-header {
  background: #25D366;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notif-header svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.notif-header span {
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.notif-body {
  padding: 12px;
}

.notif-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.notif-msg {
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
}

.notif-msg strong {
  color: #4f46e5;
}

.notif-footer {
  padding: 8px 12px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notif-action {
  background: #4f46e5;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
}

.notif-time {
  font-size: 9px;
  color: #94a3b8;
  margin-left: auto;
}

/* --- Mini-Mockup: Supervision Chat Scroll --- */
.supervision-chat-scroll {
  width: 100%;
  max-width: 248px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.sup-header {
  background: #1e293b;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sup-header-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.sup-header span {
  font-size: 10px;
  color: #cbd5e1;
  font-weight: 600;
}

.sup-header .sup-live {
  margin-left: auto;
  font-size: 8px;
  color: #10b981;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sup-chat-window {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.sup-chat-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  animation: supScroll 10s linear infinite;
}

@keyframes supScroll {
  0% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-50%);
  }

  95% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.sup-msg {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.4;
  max-width: 88%;
}

.sup-msg.client {
  background: #dcf8c6;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.sup-msg.agent {
  background: #e8ecff;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.sup-msg .sup-time {
  font-size: 8px;
  color: #94a3b8;
  text-align: right;
  margin-top: 2px;
}

.sup-msg .sup-label {
  font-size: 8px;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 2px;
}

/* --- Mini-Mockup: Sync Properties --- */
.sync-properties {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.sync-prop-mini {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  width: 84px;
  animation: fadeInSync 1.5s ease-in-out infinite alternate;
}

.sync-prop-mini:nth-child(2) {
  animation-delay: 0.5s;
}

.sync-prop-mini:nth-child(3) {
  animation-delay: 1s;
}

@keyframes fadeInSync {
  0% {
    opacity: 0.5;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.sync-prop-img {
  width: 100%;
  height: 44px;
  object-fit: cover;
  display: block;
}

.sync-prop-label {
  padding: 4px 6px;
  font-size: 8px;
  color: #475569;
  text-align: center;
  font-weight: 600;
}

/* --- INTEGRATIONS --- */
.integrations {
  background: var(--bg-primary);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  justify-items: center;
}

.integration-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  background: var(--bg-primary);
}

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

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  height: 48px;
}

.integration-logo img {
  max-height: 48px;
  width: auto;
}

.integration-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 4px;
}

.integration-card p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- RESULTS --- */
.results {
  background: var(--bg-dark-section);
  color: white;
}

.results .section-label {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.results .section-title {
  color: white;
}

.results .section-subtitle {
  color: #94A3B8;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.result-card {
  text-align: center;
  padding: var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-base);
}

.result-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-4px);
}

.result-number {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 900;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.result-label {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: var(--space-sm);
}

.result-detail {
  font-size: var(--fs-sm);
  color: #64748B;
  line-height: var(--lh-normal);
}

/* --- CREDIBILITY --- */
.credibility {
  background: var(--bg-dark-section);
  color: white;
}

.credibility .section-label {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.credibility .section-title {
  color: white;
}

.credibility-content {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.credibility-text {
  margin-bottom: var(--space-2xl);
}

.credibility-lead {
  font-size: var(--fs-xl);
  color: #CBD5E1;
  line-height: var(--lh-normal);
  margin-bottom: var(--space-lg);
}

.credibility-text p {
  font-size: var(--fs-lg);
  color: #94A3B8;
  line-height: var(--lh-normal);
}

.credibility-quote {
  margin-bottom: var(--space-2xl);
}

.credibility-quote blockquote {
  font-size: var(--fs-xl);
  font-style: italic;
  color: #E2E8F0;
  line-height: var(--lh-normal);
  padding: var(--space-2xl);
  background: rgba(202, 138, 4, 0.15);
  border-left: 4px solid #CA8A04;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.credibility-stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

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

.cred-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 900;
  color: white;
}

.cred-stat-label {
  font-size: var(--fs-sm);
  color: #64748B;
}

/* --- ASSOCIATION BADGES --- */
.association-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.credibility-media {
  text-align: center;
}

.media-intro {
  font-size: var(--fs-lg);
  color: #94A3B8;
  margin-bottom: var(--space-2xl);
}

.media-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.media-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: all var(--transition-base);
  cursor: default;
}

.media-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.media-logo-item img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}

a.media-logo-item {
  cursor: pointer;
}

/* --- ROADMAP --- */
.roadmap {
  background: var(--bg-secondary);
}

.roadmap-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  font-size: var(--fs-sm);
}

.roadmap-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.roadmap-item-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.roadmap-item-text {
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.vote-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-violet);
  background: #EDE9FE;
  border: 1px solid #C4B5FD;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  margin-left: var(--space-xs);
}

.vote-btn-sm:hover {
  background: var(--accent-violet);
  color: white;
}

.vote-btn-sm.voted {
  background: var(--accent-violet);
  color: white;
  pointer-events: none;
}

/* Roadmap SVG icon styling */
.roadmap-item-icon svg {
  color: var(--accent-blue);
}

.vote-btn-sm svg {
  flex-shrink: 0;
}

/* Community suggestions container */
.roadmap-community {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-md);
}

.roadmap-community .roadmap-item {
  border-style: dashed;
  border-color: var(--accent-violet);
  background: #F5F3FF;
}

/* Suggestion form */
.suggestion-form-wrapper {
  margin-top: var(--space-2xl);
  padding: var(--space-2xl);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}

.suggestion-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.suggestion-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.suggestion-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.suggestion-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.suggestion-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: border-color var(--transition-base);
}

.suggestion-input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.suggestion-details {
  min-height: 100px;
  max-height: 200px;
  resize: vertical;
  line-height: var(--lh-normal);
}

.char-counter {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}

.char-counter .char-limit {
  color: var(--accent-orange);
  font-weight: 600;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.suggestion-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  align-self: center;
}

.suggestion-submit:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

.suggestion-note {
  margin-top: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  min-height: 1.2em;
}

.suggestion-note.success {
  color: #059669;
  font-weight: 500;
}

/* --- FAQ --- */
.faq {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  border-color: var(--border-accent);
}

.faq-question {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-icon {
  flex-shrink: 0;
  font-size: var(--fs-xl);
  color: var(--accent-blue);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* --- CTA + Form --- */
.cta-section {
  background: var(--gradient-light);
  padding-bottom: var(--space-4xl);
}

.cta-content {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.cta-content h2 {
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.demo-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.demo-form-wrapper h3 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: var(--space-sm);
}

.form-submit .btn {
  width: 100%;
}

.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* --- HERO PILOT BANNER --- */
.hero-pilot-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: 16px 24px;
  background: rgba(37, 99, 235, 0.07);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.pilot-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.12);
  padding: 6px 14px;
  border-radius: 24px;
  white-space: nowrap;
}

.pilot-text {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin: 0;
}

.pilot-text strong {
  color: var(--text-primary);
}

/* --- TYPE SELECTOR (Radio cards) --- */
.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.type-card {
  position: relative;
  cursor: pointer;
}

.type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.type-card-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.type-card-content svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.type-card-content span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.type-card:hover .type-card-content {
  border-color: var(--accent-blue);
}

.type-card input[type="radio"]:checked+.type-card-content {
  border-color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.type-card input[type="radio"]:checked+.type-card-content svg {
  color: var(--accent-blue);
}

.type-card input[type="radio"]:checked+.type-card-content span {
  color: var(--accent-blue);
  font-weight: 600;
}

/* --- CONDITIONAL FIELDS --- */
.conditional-field {
  grid-column: 1 / -1;
  overflow: hidden;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
  }

  to {
    opacity: 1;
    max-height: 300px;
    margin-top: 0;
  }
}

.form-grid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.form-grid-inner .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-grid-inner .form-group label {
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
}

/* --- PILOT INTEGRATIONS BADGE --- */
.pilot-integrations-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #92400E;
  line-height: 1.5;
}

.pilot-integrations-badge svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #D97706;
}

.pilot-integrations-badge strong {
  color: #78350F;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-dark-section);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 220px;
  height: 220px;
  background: url('img/isotipo.jpg') no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
  filter: grayscale(1) brightness(3);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand-logo img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  opacity: 0.85;
  transition: opacity var(--transition-base);
}

.footer-brand-logo img:hover {
  opacity: 1;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-base);
  color: #CBD5E1;
  line-height: 1.2;
}

.footer-brand-text span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: #64748B;
  margin-top: 2px;
}

.footer-copyright {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #64748B;
  font-size: var(--fs-xs);
  margin-top: var(--space-xs);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-links span {
  font-size: var(--fs-sm);
  color: #94A3B8;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-base);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.whatsapp-float::before {
  content: 'Hablá con un asesor';
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.whatsapp-float:hover::before {
  opacity: 1;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* --- RESPONSIVE --- */

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

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    margin-top: var(--space-2xl);
  }

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

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

  .solution-content {
    max-width: 100%;
    text-align: center;
  }

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

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

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

  .credibility-stats-row {
    flex-wrap: wrap;
    gap: var(--space-xl);
  }

  .steps-grid::before {
    display: none;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --fs-6xl: 2.5rem;
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
    --fs-2xl: 1.35rem;
    --fs-xl: 1.2rem;
    --fs-lg: 1.1rem;
    --fs-base: 1.05rem;
    --fs-sm: 0.95rem;
    --fs-xs: 0.85rem;
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  .navbar-links {
    display: none;
  }

  .navbar-cta .btn-secondary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    gap: var(--space-md);
    box-shadow: var(--shadow-card);
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .features-showcase {
    grid-template-columns: 1fr;
  }

  .feat-card {
    flex-direction: column;
    min-height: auto;
  }

  .feat-illust {
    width: 100%;
    height: 180px;
  }

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

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

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

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

  .phone-mockup {
    width: 260px;
  }

  .phone-3d {
    transform: rotateY(-3deg) rotateX(1deg);
  }

  .media-logos {
    gap: var(--space-xl);
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .footer-brand {
    justify-content: center;
  }

  .type-selector {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

  .type-card-content {
    padding: 12px 10px;
    gap: 6px;
  }

  .type-card-content span {
    font-size: 0.85rem;
  }

  .form-grid-inner {
    grid-template-columns: 1fr;
  }

  .form-grid-inner .form-group label {
    min-height: auto;
  }

  .demo-form-wrapper {
    padding: var(--space-lg);
  }

  .cta-content h2 {
    font-size: var(--fs-3xl);
  }

  .whatsapp-float::before {
    display: none;
  }

  .pilot-integrations-badge {
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  .hero-pilot-banner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
    width: auto;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .feat-illust {
    overflow: hidden;
    height: auto;
    min-height: 200px;
  }

  .feat-illust-inner {
    padding: 16px;
  }

  .feat-illust-inner img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .roadmap-item {
    width: 100%;
    max-width: 100%;
  }

  .roadmap-item-text {
    white-space: normal;
    word-break: break-word;
  }

  .faq-question {
    padding: var(--space-md) var(--space-md);
    gap: var(--space-sm);
  }

  .faq-icon {
    margin-left: var(--space-sm);
  }

  .faq-answer-inner {
    padding: 0 var(--space-md) var(--space-md);
  }

  .phone-mockup {
    width: 260px;
    margin: 0 auto;
  }

  .phone-screen {
    overflow: hidden;
  }

  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 2rem 2rem;
  }

  .hero-float-badge {
    padding: 6px 10px;
    gap: 6px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .hero-float-badge .float-badge-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .hero-float-badge .float-badge-icon svg {
    width: 13px;
    height: 13px;
  }

  .float-badge-value {
    font-size: 0.9rem;
  }

  .float-badge-label {
    font-size: 7px;
  }

  .float-badge-content {
    gap: 0;
  }

  .float-tl {
    top: 2%;
    left: 0;
  }

  .float-tr {
    top: 8%;
    right: 0;
  }

  .float-bl {
    bottom: 25%;
    left: 0;
  }

  .float-br {
    bottom: 12%;
    right: 0;
  }

  #formSuccess .btn {
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
  }

  .hero-subtitle,
  .hero-subtitle-agent {
    padding: 0 var(--space-sm);
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

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

  .footer-links a,
  .footer-links span {
    white-space: nowrap;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .cta-section {
    padding: var(--space-3xl) 0;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --fs-6xl: 2rem;
    --fs-5xl: 1.75rem;
    --fs-4xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-md);
  }

  .credibility-stats-row {
    flex-direction: column;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }

  .footer-brand-logo {
    flex-direction: column;
    align-items: center;
  }

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

  .type-selector {
    grid-template-columns: 1fr;
  }

  .type-card-content {
    padding: 12px 14px;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .section-title {
    font-size: var(--fs-3xl);
  }

  .hero-subtitle,
  .hero-subtitle-agent {
    font-size: 0.95rem;
  }

  .phone-mockup {
    width: 240px;
  }

  .media-logos {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .media-logo-item img {
    max-height: 45px;
  }
}

/* --- VIDEO MODAL --- */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal {
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: visible;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.video-modal-overlay.active .video-modal {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.video-modal-content {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .chat-anim {
    opacity: 1;
    transform: none;
  }
}