/* ============================================
   AGENTAR LANDING PAGE — STYLES
   Soporta modo oscuro y claro automáticamente
   via @media (prefers-color-scheme)
   ============================================ */

/* ---- TOKENS ---- */
:root {
  /* Light mode */
  --bg: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-2: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.14);

  --accent: #007AFF;
  --accent-2: #5856D6;
  --accent-3: #34C759;
  --glow-color: rgba(0, 122, 255, 0.18);

  --nav-bg: rgba(255, 255, 255, 0.25);
  --nav-border: rgba(0, 0, 0, 0.04);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.4);
  --nav-scrolled-border: rgba(0, 0, 0, 0.08);

  --orbit-bg: rgba(0, 0, 0, 0.04);
  --icon-bg: rgba(255, 255, 255, 0.92);
  --icon-shadow: rgba(0, 0, 0, 0.12);

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-secondary: #1c1c1e;
    --bg-card: #1c1c1e;
    --bg-card-2: #2c2c2e;
    --text: #f5f5f7;
    --text-secondary: #aeaeb2;
    --text-muted: #636366;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-lg: rgba(0, 0, 0, 0.6);

    --glow-color: rgba(0, 122, 255, 0.25);

    --nav-bg: rgba(22, 22, 23, 0.2);
    --nav-border: rgba(255, 255, 255, 0.04);
    --nav-scrolled-bg: rgba(22, 22, 23, 0.35);
    --nav-scrolled-border: rgba(255, 255, 255, 0.08);

    --orbit-bg: rgba(255, 255, 255, 0.05);
    --icon-bg: rgba(40, 40, 45, 0.95);
    --icon-shadow: rgba(0, 0, 0, 0.5);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

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

ul {
  list-style: none;
}

img {
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: var(--nav-scrolled-bg);
  border-bottom: 1px solid var(--nav-scrolled-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02),
    0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

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

.btn-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 30px;
  transition: color 0.2s;
}

.btn-login:hover {
  color: var(--text);
}

.btn-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 30px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 14px;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center;
}

.mobile-menu.open {
  display: flex;
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 60px;
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}

.hero-bg-blur {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--glow-color), transparent),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(88, 86, 214, 0.1), transparent),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(52, 199, 89, 0.06), transparent);
  pointer-events: none;
}

/* ---- ORBIT SYSTEM ---- */
.orbit-system {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

@media (max-width: 540px) {
  .orbit-system {
    width: 250px;
    height: 250px;
  }
}

.logo-center {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-hero {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 122, 255, 0.25));
  opacity: 0;
  transform: scale(0);
  animation: logoEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    logoPulse 4s ease-in-out infinite 1s;
}

@media (max-width: 540px) {
  .logo-hero {
    width: 80px;
    height: 80px;
  }
}

@keyframes logoEntrance {
  0% {
    transform: scale(0);
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(0, 122, 255, 0));
  }

  70% {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 12px 40px rgba(0, 122, 255, 0.3));
  }

  100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 12px 40px rgba(0, 122, 255, 0.25));
  }
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 12px 40px rgba(0, 122, 255, 0.25));
  }

  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 18px 60px rgba(0, 122, 255, 0.4));
  }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}

.orbit-1 {
  width: 220px;
  height: 220px;
  animation: orbitEntrance 1.2s ease-out 0.2s forwards,
    spin 28s linear infinite 0.2s;
}

.orbit-2 {
  width: 350px;
  height: 350px;
  animation: orbitEntrance 1.2s ease-out 0.3s forwards,
    spin 44s linear infinite 0.3s;
}

@media (max-width: 540px) {
  .orbit-1 {
    width: 150px;
    height: 150px;
  }

  .orbit-2 {
    width: 240px;
    height: 240px;
  }
}

@keyframes orbitEntrance {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

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

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

.orbit-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  --n: 4;
  --pos: var(--angle, calc(var(--i) * (1turn / var(--n))));
  transform:
    rotate(var(--pos)) translateX(calc(50%)) rotate(calc(-1 * var(--pos)));
  margin-top: calc(-24px);
  margin-left: calc(-24px);
  opacity: 0;
}

/* Variación dinámica de tamaños y ángulos de iconos */
.orbit-1 .orbit-icon:nth-child(1) {
  --angle: 15deg;
  --scale: 1.18;
  --delay: 0.35s;
}

.orbit-1 .orbit-icon:nth-child(2) {
  --angle: 80deg;
  --scale: 0.88;
  --delay: 0.6s;
}

.orbit-1 .orbit-icon:nth-child(3) {
  --angle: 185deg;
  --scale: 1.12;
  --delay: 0.2s;
}

.orbit-1 .orbit-icon:nth-child(4) {
  --angle: 290deg;
  --scale: 1.0;
  --delay: 0.45s;
}

.orbit-2 .orbit-icon:nth-child(1) {
  --angle: 135deg;
  --scale: 1.1;
  --delay: 0.5s;
}

.orbit-2 .orbit-icon:nth-child(2) {
  --angle: 240deg;
  --scale: 0.84;
  --delay: 0.25s;
}

.orbit-2 .orbit-icon:nth-child(3) {
  --angle: 335deg;
  --scale: 1.06;
  --delay: 0.65s;
}

.orbit-2 .orbit-icon:nth-child(4) {
  --angle: 50deg;
  --scale: 0.94;
  --delay: 0.3s;
}

/* Counter-rotate so icons stay upright on orbit-1 */
.orbit-1 .orbit-icon {
  animation: popOut1 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay, 0.2s) forwards;
}

.orbit-2 .orbit-icon {
  animation: popOut2 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay, 0.3s) forwards;
}

@keyframes popOut1 {
  0% {
    transform: rotate(var(--pos)) translateX(0px) rotate(calc(-1 * var(--pos))) scale(0);
    opacity: 0;
  }

  75% {
    transform: rotate(var(--pos)) translateX(120px) rotate(calc(-1 * var(--pos))) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: rotate(var(--pos)) translateX(110px) rotate(calc(-1 * var(--pos))) scale(1);
    opacity: 1;
  }
}

@keyframes popOut2 {
  0% {
    transform: rotate(var(--pos)) translateX(0px) rotate(calc(-1 * var(--pos))) scale(0);
    opacity: 0;
  }

  75% {
    transform: rotate(var(--pos)) translateX(190px) rotate(calc(-1 * var(--pos))) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: rotate(var(--pos)) translateX(175px) rotate(calc(-1 * var(--pos))) scale(1);
    opacity: 1;
  }
}

@media (max-width: 540px) {
  @keyframes popOut1 {
    0% {
      transform: rotate(var(--pos)) translateX(0px) rotate(calc(-1 * var(--pos))) scale(0);
      opacity: 0;
    }

    75% {
      transform: rotate(var(--pos)) translateX(85px) rotate(calc(-1 * var(--pos))) scale(1.1);
      opacity: 1;
    }

    100% {
      transform: rotate(var(--pos)) translateX(75px) rotate(calc(-1 * var(--pos))) scale(1);
      opacity: 1;
    }
  }

  @keyframes popOut2 {
    0% {
      transform: rotate(var(--pos)) translateX(0px) rotate(calc(-1 * var(--pos))) scale(0);
      opacity: 0;
    }

    75% {
      transform: rotate(var(--pos)) translateX(130px) rotate(calc(-1 * var(--pos))) scale(1.1);
      opacity: 1;
    }

    100% {
      transform: rotate(var(--pos)) translateX(120px) rotate(calc(-1 * var(--pos))) scale(1);
      opacity: 1;
    }
  }
}

.icon-spin-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 48px;
  height: 48px;
}

.orbit-1 .icon-spin-wrapper {
  animation: counterSpin 28s linear infinite 0.2s;
}

.orbit-2 .icon-spin-wrapper {
  animation: counterSpin 44s linear infinite 0.3s;
}

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

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

.icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--icon-bg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px var(--icon-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  backdrop-filter: blur(12px);
  transform: scale(var(--scale, 1));
  transition: transform 0.2s;
}

.icon-bubble:hover {
  transform: scale(calc(var(--scale, 1) * 1.15));
}

.icon-label {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.orbit-icon:hover .icon-label {
  opacity: 1;
}

@media (max-width: 540px) {
  .icon-bubble {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 10px;
  }
}

/* ---- HERO CONTENT ---- */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-title {
  font-size: clamp(60px, 10vw, 100px);
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--text);
  line-height: 1;
}

.btn-hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid rgba(96, 165, 250, 0.4);
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
  overflow: hidden;
  z-index: 1;
}

.btn-hero-cta::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(37, 99, 235, 0.05) 90deg,
    rgba(59, 130, 246, 0.25) 180deg,
    rgba(96, 165, 250, 0.65) 260deg,
    rgba(147, 197, 253, 0.95) 310deg,
    rgba(59, 130, 246, 0.4) 340deg,
    transparent 360deg
  );
  filter: blur(8px);
  animation: auroraCometTravel 3.8s linear infinite;
  z-index: -2;
}

.btn-hero-cta::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  background: var(--bg-card);
  border-radius: 28.5px;
  z-index: -1;
  transition: background 0.3s ease;
}

.btn-hero-cta:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5), inset 0 0 15px rgba(96, 165, 250, 0.15);
}

.btn-hero-cta:hover::after {
  background: var(--bg-card-2);
}

@keyframes auroraCometTravel {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 560px;
}

/* ---- TICKER ---- */
.ticker-section {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.ticker-track {
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  will-change: transform;
}

.ticker-inner span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0 16px;
  flex-shrink: 0;
}

.ticker-inner .dot {
  color: var(--text-muted);
  padding: 0 4px;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

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

/* ---- SECTION LABELS & TITLES ---- */
.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 56px;
}

/* ---- FEATURES ---- */
.features-section {
  padding: 100px 0;
  background: var(--bg);
}

.features-section .container {
  text-align: center;
}

.features-section .section-title {
  margin-bottom: 56px;
}

.features-vertical-layout {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 56px;
}

.feature-vertical-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.feature-vertical-text {
  max-width: 860px;
  width: 100%;
  text-align: center;
  margin-bottom: 56px;
}

.feature-header-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.feature-vertical-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: -0.8px;
}

.feature-vertical-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.centered-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  text-align: left;
  margin: 0 auto;
  width: 100%;
  max-width: 820px;
}

.feature-vertical-visual {
  position: relative;
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Maqueta de MacBook */
.macbook-mockup {
  position: relative;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.macbook-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0d0d0e;
  border-radius: 12px 12px 0 0;
  padding: 4px 4px 4px 4px;
  box-shadow: 0 16px 40px var(--shadow-lg);
  border: 2px solid #2c2c2e;
  border-bottom: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}



.macbook-screen img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.macbook-base {
  position: relative;
  width: 114%;
  height: 8px;
  background: linear-gradient(to bottom, #a0a0a5, #707075);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.macbook-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 4px;
  background: #555558;
  border-radius: 0 0 4px 4px;
}

/* Contenedor de Celular Superpuesto */
.screenshot-mobile-container {
  position: absolute;
  right: -2%;
  bottom: -3%;
  width: 21%;
  aspect-ratio: 9 / 19.5;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  border: 4px solid #3a3a3c;
  background: #000;
  overflow: hidden;
  z-index: 5;
}

.screenshot-mobile-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

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

.feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.feature-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .features-vertical-layout {
    gap: 80px;
  }

  .feature-vertical-text {
    margin-bottom: 32px;
  }

  .feature-vertical-text h3 {
    font-size: 24px;
  }

  .feature-vertical-text p {
    font-size: 14px;
  }

  .centered-list {
    grid-template-columns: 1fr;
    /* Volver a una sola columna en móviles */
    gap: 8px;
  }

  .screenshot-mobile-container {
    width: 20%;
    right: -2%;
    bottom: -3%;
  }
}

/* ---- FOR WHO ---- */
.for-who-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 48px 0;
}

.industry-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, background 0.2s;
  cursor: default;
}

.industry-chip:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px var(--shadow-lg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.for-who-cta {
  margin-top: 40px;
}

/* ---- HOW IT WORKS ---- */
.how-section {
  padding: 100px 0;
  background: var(--bg);
  text-align: center;
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-lg);
}

.step-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  font-size: 28px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }
}

/* ---- PRICING ---- */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px var(--shadow);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-lg);
}

.pricing-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 8px 32px rgba(0, 122, 255, 0.18);
  transform: scale(1.02);
}

.pricing-popular:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 30px;
  white-space: nowrap;
}

.plan-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.plan-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.plan-price small {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-features li.disabled {
  opacity: 0.4;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.2s;
}

.btn-plan:hover {
  background: var(--bg-card-2);
  transform: translateY(-1px);
}

.btn-plan-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-plan-primary:hover {
  background: #0066d6;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-popular {
    transform: none;
  }

  .pricing-popular:hover {
    transform: translateY(-4px);
  }
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-lg);
}

.stars {
  font-size: 18px;
  color: #FF9F0A;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author div strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.testimonial-author div span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- FINAL CTA ---- */
.final-cta-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.final-cta-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 40px var(--shadow-lg);
}

.final-cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--glow-color), transparent);
  pointer-events: none;
}

.final-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 24px rgba(0, 122, 255, 0.25));
}

.final-cta-card h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.final-cta-card p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn-primary-lg {
  display: inline-flex;
  padding: 14px 32px;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary-lg:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 122, 255, 0.4);
}

.btn-secondary-lg {
  display: inline-flex;
  padding: 13px 28px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px var(--shadow);
}

.btn-secondary-lg:hover {
  background: var(--bg-card-2);
  transform: translateY(-2px);
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.footer-banner {
  height: 36px;
  object-fit: contain;
  display: block;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
  transform: scale(1.1);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 100%);
  border-top: 1px solid rgba(0, 122, 255, 0.08);
  border-bottom: 1px solid rgba(0, 122, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(0, 122, 255, 0.1);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--accent), #5856D6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 122, 255, 0.1);
  }
}

/* ============================================================
   APP PREVIEW SECTION
   ============================================================ */
.app-preview-section {
  padding: 120px 0;
  background: var(--bg-white);
  overflow: hidden;
}

/* --- TABS --- */
.app-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 48px 0 40px;
}

.app-tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.app-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 122, 255, 0.05);
}

.app-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

/* --- SCREEN CONTAINER --- */
.app-screen-container {
  position: relative;
  min-height: 560px;
}

.app-screen {
  display: none;
  animation: screenFadeIn 0.4s ease;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.app-screen.active {
  display: flex;
}

@keyframes screenFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

/* --- SCREEN CAPTION --- */
.screen-caption {
  max-width: 300px;
  flex-shrink: 0;
}

.screen-caption h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.screen-caption p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PHONE FRAME (mockup móvil oscuro)
   ============================================================ */
.phone-frame {
  width: 260px;
  flex-shrink: 0;
  background: #1c1c1e;
  border-radius: 38px;
  padding: 12px 10px;
  box-shadow:
    0 0 0 2px #3a3a3c,
    0 32px 80px rgba(0, 0, 0, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: transform 0.3s ease;
}

.phone-frame:hover {
  transform: scale(1.02) translateY(-4px);
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: #1c1c1e;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  height: 460px;
  overflow-y: auto;
  scrollbar-width: none;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.phone-dark {
  background: #000;
  color: #fff;
  padding: 16px 12px;
}

/* Phone screen internals */
.ps-header {
  margin-bottom: 14px;
}

.ps-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.ps-subtitle {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

.ps-toggle {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 12px;
}

.ps-tog-opt {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  padding: 4px 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
}

.ps-tog-opt.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
}

.ps-date-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
}

.ps-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  color: #fff;
  cursor: pointer;
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
  padding: 0;
}

.ps-today-pill {
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 0.6rem;
  font-weight: 600;
}

.ps-date-txt {
  color: rgba(255, 255, 255, 0.6);
}

.ps-professionals {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  overflow-x: auto;
}

.ps-pro-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 44px;
}

.ps-pro-active .ps-pro-avatar {
  box-shadow: 0 0 0 2px var(--accent);
}

.ps-clock-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.ps-pro-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.ps-pro-name {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.6);
}

.ps-time-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-time-row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 4px;
  align-items: center;
}

.ps-time {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
}

.ps-slot {
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.ps-slot-booked {
  border-style: solid;
  border-color: transparent;
}

/* Finance cards (Resumen tab) */
.ps-finance-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ps-finance-card {
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-finance-icon {
  font-size: 1.2rem;
}

.ps-finance-info {
  flex: 1;
}

.ps-finance-label {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.ps-finance-value {
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================================
   DESKTOP FRAME (mockup escritorio claro)
   ============================================================ */
.desktop-frame {
  width: 580px;
  max-width: 100%;
  flex-shrink: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  overflow: hidden;
  height: 400px;
  transition: transform 0.3s ease;
}

.desktop-frame:hover {
  transform: scale(1.01) translateY(-4px);
}

/* Sidebar */
.df-sidebar {
  width: 140px;
  flex-shrink: 0;
  background: #f5f5f7;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.df-nav-item {
  font-size: 0.75rem;
  font-weight: 500;
  color: #555;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s;
}

.df-nav-active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* Content area */
.df-content {
  flex: 1;
  padding: 20px 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.df-page-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

/* Gestión menu list */
.df-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.df-menu-item {
  padding: 10px 14px;
  border-radius: 10px;
  background: #f5f5f7;
  font-size: 0.8rem;
  font-weight: 500;
  color: #3a3a3c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: default;
  transition: background 0.15s;
}

.df-menu-item:hover {
  background: #eaeaec;
}

.df-toggle {
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: #ccc;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.df-toggle::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
}

.df-toggle.on {
  background: #34C759;
}

.df-toggle.on::after {
  left: 16px;
}

/* Finanzas / Caja */
.df-caja {
  background: #f9f9fb;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.df-caja-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.df-caja-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.df-input-group {
  flex: 1;
}

.df-input-label {
  font-size: 0.65rem;
  color: #888;
  margin-bottom: 4px;
  font-weight: 500;
}

.df-input-field {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.7rem;
  color: #aaa;
}

.df-pago-btns {
  display: flex;
  gap: 6px;
}

.df-pago-btn {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  background: #eaeaec;
  color: #555;
  cursor: default;
}

.df-pago-btn.active {
  background: var(--accent);
  color: #fff;
}

.df-total-box {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #888;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.df-total-num {
  font-size: 1.2rem;
  color: #1d1d1f;
  display: block;
}

.df-registrar-btn {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
  cursor: default;
}

.df-resumen-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1d1d1f;
}

.df-resumen-card {
  background: linear-gradient(135deg, #f0fff4, #e8fdf0);
  border: 1px solid rgba(52, 199, 89, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
}

.df-rs-val {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Clientes / Buscar */
.df-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.df-chip {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  background: #f0f0f5;
  color: #555;
  cursor: default;
  border: 1.5px solid transparent;
}

.df-chip.active {
  background: rgba(0, 122, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.df-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.df-business-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.df-business-item {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f5f5f7;
  font-size: 0.75rem;
  color: #3a3a3c;
  cursor: default;
}

.df-services-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.df-service-item {
  padding: 8px 12px;
  border-radius: 8px;
  background: #f5f5f7;
  font-size: 0.75rem;
  color: #3a3a3c;
  cursor: default;
}

/* --- Responsive App Preview --- */
@media (max-width: 900px) {
  .app-screen {
    flex-direction: column;
    align-items: center;
  }

  .screen-caption {
    text-align: center;
    max-width: 400px;
  }

  .desktop-frame {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 540px) {
  .app-tabs {
    gap: 6px;
  }

  .app-tab {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .desktop-frame {
    height: 340px;
  }

  .df-sidebar {
    width: 100px;
  }

  .df-nav-item {
    font-size: 0.65rem;
    padding: 6px 8px;
  }

  .phone-frame {
    width: 220px;
  }

  .phone-screen {
    height: 380px;
  }
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 540px) {
  .hero {
    padding-top: 80px;
  }

  .hero-title {
    letter-spacing: -2px;
  }

  .final-cta-card {
    padding: 48px 24px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 32px;
  }
}

/* ---- LEGAL MODAL STYLES ---- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

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

.modal-container {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #cbd5e1;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-content-scroll {
  padding: 32px;
  overflow-y: auto;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.modal-content-scroll h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 24px;
  padding-right: 32px;
}

.modal-content-scroll h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.modal-content-scroll p {
  margin-bottom: 16px;
}

.modal-content-scroll ol,
.modal-content-scroll ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.modal-content-scroll li {
  margin-bottom: 8px;
}