/* =============================================================================
   styles.css — RentManager landing page
   ============================================================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── DESIGN TOKENS ─── */
:root {
    --blue: #1A9CC8;
    --blue-dark: #147aA0;
    --purple: #5B5BD6;
    --purple-light: #7C7CE8;
    --navy: #0D1117;
    --navy-soft: #14191F;
    --white: #F8F7F3;
    --off-white: #F2F0EA;
    --text: #1A1A2E;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.18);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.caveat {
    font-family: 'Caveat', cursive;
}

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

.purple {
    color: var(--purple);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes floatYCenter {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(91, 91, 214, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(91, 91, 214, 0);
    }
}

@keyframes shimmer {
    from {
        background-position: -200% center;
    }
    to {
        background-position: 200% center;
    }
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(60px, -80px) scale(1.15);
    }
    66% {
        transform: translate(-40px, 60px) scale(0.9);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    40% {
        transform: translate(-70px, 50px) scale(1.1);
    }
    70% {
        transform: translate(50px, -60px) scale(0.95);
    }
}

@keyframes orbFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 70px) scale(1.2);
    }
}

@keyframes noiseScroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-256px, -256px);
    }
}

@keyframes beamRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.6);
    }
}

@keyframes lineSlide {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100vw);
    }
}

@keyframes gridFade {
    0%, 100% {
        opacity: 0.04;
    }
    50% {
        opacity: 0.09;
    }
}

/* ─── SCROLL REVEAL ───
   Los elementos con .reveal, .reveal-left o .reveal-right parten ocultos.
   El script de IntersectionObserver agrega .visible cuando entran al viewport,
   disparando la transición. Los .delay-N escalonan la animación entre hermanos. */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: none;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* stagger delays */
.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

.delay-5 {
    transition-delay: 0.5s !important;
}

.delay-6 {
    transition-delay: 0.6s !important;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

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

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


/* Estado al hacer scroll: fondo translúcido con blur */
nav.scrolled {
    background: rgba(248, 247, 243, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

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

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

.nav-logo {
    height: 32px;
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

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

.nav-links .nav-plans-link {
    color: var(--purple);
    background: rgba(91, 91, 214, 0.09);
    border: 1.5px solid rgba(91, 91, 214, 0.22);
    border-radius: 8px;
    padding: 5px 14px;
}

.nav-links .nav-plans-link:hover {
    background: rgba(91, 91, 214, 0.16);
    color: var(--purple);
}

nav.scrolled .nav-links .nav-plans-link {
    color: var(--purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 36px;
}

/* ─── BOTONES ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(.22, 1, .36, 1);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    background: var(--off-white);
    border-color: rgba(0, 0, 0, 0.15);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
}

.btn-dark:hover {
    background: #1d2535;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--purple);
    color: #fff;
}

.btn-primary:hover {
    background: #4a4abf;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(91, 91, 214, 0.35);
}

.btn-primary-outline {
    background: transparent;
    color: var(--purple);
    border: 1.5px solid var(--purple);
}

.btn-primary-outline:hover {
    background: rgba(91, 91, 214, 0.06);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 12px;
}

/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
    background: #f7f5ff;
    position: relative;
    overflow: hidden;
}

/* orbs decorativos de fondo — luz difusa animada */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(91, 91, 214, 0.32) 0%, transparent 65%);
    top: -180px;
    left: -180px;
    animation: orbFloat1 14s ease-in-out infinite;
}

.hero-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 156, 200, 0.25) 0%, transparent 65%);
    top: 0;
    right: -140px;
    animation: orbFloat2 18s ease-in-out infinite;
}

.hero-orb-3 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 100, 180, 0.22) 0%, transparent 65%);
    bottom: -80px;
    left: 28%;
    animation: orbFloat3 20s ease-in-out infinite;
}

.hero-orb-4 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 160, 60, 0.18) 0%, transparent 65%);
    bottom: 80px;
    right: 8%;
    animation: orbFloat1 16s ease-in-out infinite;
    animation-delay: -5s;
}

/* grilla de líneas animada */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(91, 91, 214, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 91, 214, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: gridFade 5s ease-in-out infinite;
}

/* barra de luz que recorre el hero horizontalmente */
.hero-beam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(91, 91, 214, 0.5), rgba(26, 156, 200, 0.5), transparent);
    animation: lineSlide 5s linear infinite;
    z-index: 1;
}

/* degradado base animado que da el fondo colorido */
.hero-grad-base {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ece8ff 0%, #f7f5ff 20%, #fff 45%, #edf8ff 65%, #fff4fb 85%, #ece8ff 100%);
    background-size: 400% 400%;
    animation: gradShift 10s ease infinite;
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 64px;
    min-height: calc(100vh - 120px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 91, 214, 0.08);
    border: 1px solid rgba(91, 91, 214, 0.15);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
    display: inline-block;
    animation: pulse 2s infinite;
}

.hero-content {
    text-align: left;
    flex: 0 0 44%;
    max-width: 44%;
    margin: 0;
    min-height: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero-title-accent {
    color: var(--purple);
    display: block;
}

.hero-subtitle {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
    margin: 20px 0 36px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-ctas .btn-dark {
    background: repeating-linear-gradient(
        90deg,
        #6C5CFF 0%,
        #C94BEF 50%,
        #FF6B4A 100%,
        #FF6B4A 100%
    );
    border: none;
}

.hero-ctas .btn-dark:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(108, 92, 255, 0.45);
    background: repeating-linear-gradient(
        90deg,
        #6C5CFF 0%,
        #C94BEF 50%,
        #FF6B4A 100%,
        #FF6B4A 100%
    );
}

.hero-screen-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.hero-screen-bg {
    position: absolute;
    inset: -40px;
    background: linear-gradient(135deg, #e8e4ff 0%, #fce8f3 40%, #ffe8d6 70%, #e8f4ff 100%);
    border-radius: 32px;
    filter: blur(60px);
    opacity: 0.55;
    z-index: 0;
}

.hero-screen-main {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}


/* tarjetas flotantes sobre el mockup del hero */
.hero-float-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 14px 18px;
    z-index: 3;
    pointer-events: none;
}

.hero-float-card.card-left {
    left: -20px;
    top: 38%;
    max-width: 185px;
    animation: floatY 5s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-float-card.card-right {
    right: -20px;
    top: 25%;
    max-width: 210px;
    animation: floatY 5.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.hero-float-card.card-bottom {
    right: 60px;
    bottom: -10px;
    max-width: 230px;
    animation: floatY 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Nueva card flotante — esquina superior derecha del mockup */
/* Sin card — anotación editorial flotante sobre el mockup */
.hero-float-card.card-new {
    right: 40px;
    top: -52px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    animation: floatY 4.8s ease-in-out infinite;
    animation-delay: 0.8s;
    z-index: 4;
}

.fc-new-label {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

.fc-new-arrow {
    display: block;
    align-self: flex-end;
    color: var(--navy);
    opacity: 0.7;
    margin-right: 8px;
}

.fc-avatars {
    display: flex;
    margin-bottom: 6px;
}

.fc-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.fc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.fc-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.fc-quote {
    font-size: 12px;
    color: var(--navy);
    line-height: 1.4;
    font-style: italic;
}

.fc-author {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.fc-lightning {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}

.fc-lightning-icon {
    background: #FFF3C4;
    border-radius: 8px;
    padding: 5px;
    font-size: 16px;
    line-height: 1;
}

.fc-lightning-sub {
    font-size: 10px;
    color: #10b981;
    font-weight: 500;
}

/* ─── INTRO SECTION ─── */
#intro {
    padding: 120px 0 100px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.intro-orb-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 91, 214, 0.13) 0%, transparent 60%);
    top: -250px;
    right: -250px;
    pointer-events: none;
    animation: orbFloat2 16s ease-in-out infinite;
}

.intro-orb-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.13) 0%, transparent 60%);
    bottom: -150px;
    left: -180px;
    pointer-events: none;
    animation: orbFloat1 20s ease-in-out infinite;
}

#intro .container {
    position: relative;
    z-index: 1;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 156, 200, 0.08);
    border: 1px solid rgba(26, 156, 200, 0.15);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.intro-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.intro-title {
    /*font-size: clamp(38px, 5vw, 62px);*/
    font-size: 40px;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--navy);
    text-wrap: balance;
    max-width: 700px;
    margin: 0 auto 28px;
    text-align: center;
}

.intro-body {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.intro-body p + p {
    margin-top: 16px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    /*background: linear-gradient(135deg, #cdc3ff, #f5beed, #ffc9a0, #bce8ff, #cdc3ff);*/
    background: linear-gradient(135deg, #cdc3ff, #ea13ca, #ffc9a0, #3086b2, #4d39b1);
    background-size: 300% 300%;
    animation: gradShift 8s ease infinite;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 48px;
}

.intro-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    transition: transform 0.25s cubic-bezier(.22, 1, .36, 1), box-shadow 0.25s;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(91, 91, 214, 0.14);
}

.intro-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
}

.intro-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 8px;
}

.intro-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

.intro-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.intro-cta-text {
    font-size: 15px;
    color: var(--text-muted);
}

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

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* la última stat card tiene fondo degradado para destacar */
.stat-card:last-child {
    background: linear-gradient(135deg, #c45cfc, #b931e5, #4c88f5, #1a9cc8);
    background-size: 300% 300%;
    animation: gradShift 6s ease infinite;
    border: none;
    color: #fff;
}

.stat-card:last-child .stat-label {
    color: rgba(255, 255, 255, 0.75);
}

.stat-value {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 900;
    line-height: 1;
    color: var(--navy);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.stat-card:last-child .stat-value {
    color: #fff;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.45;
    margin-top: 2px;
}

.stat-sparkline {
    margin-top: 12px;
    opacity: 0.3;
}

.stat-card:last-child .stat-sparkline {
    opacity: 0.4;
}

/* ─── FEATURES ─── */
#features {
    padding: 120px 0 100px;
    background: #0d1117;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* overrides para la sección oscura de features */
#features .features-badge {
    background: rgba(91, 91, 214, 0.18);
    border-color: rgba(91, 91, 214, 0.3);
    color: #a8a8ff;
}

#features .features-badge-dot {
    background: #a8a8ff;
}

#features .features-title {
    color: #fff;
}

#features .features-title .purple {
    color: #baabf7;
}

#features .features-desc {
    color: rgba(255, 255, 255, 0.88);
}

#features .feature-btn {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#features .feature-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#features .feature-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(168, 168, 255, 0.45);
    border-left: 3px solid #a8a8ff;
    box-shadow: 0 0 28px rgba(91, 91, 214, 0.25), 0 4px 20px rgba(0, 0, 0, 0.3);
}

#features .feature-btn-title {
    color: #fff;
}

#features .feature-btn-desc {
    color: rgba(255, 255, 255, 0.78);
}

#features .feature-num {
    color: rgba(255, 255, 255, 0.35);
}

#features .feature-btn.active .feature-num {
    color: #a8a8ff;
}

#features .feature-btn.active .feature-icon-wrap {
    background: rgba(168, 168, 255, 0.15);
}

.features-orb-1 {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 91, 214, 0.30) 0%, transparent 55%);
    top: -250px;
    right: -350px;
    pointer-events: none;
    animation: orbFloat2 18s ease-in-out infinite;
}

.features-orb-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 156, 200, 0.24) 0%, transparent 55%);
    bottom: 0;
    left: -240px;
    pointer-events: none;
    animation: orbFloat3 22s ease-in-out infinite;
}

.features-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridFade 6s ease-in-out infinite;
}

#features .container {
    position: relative;
    z-index: 1;
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 91, 214, 0.08);
    border: 1px solid rgba(91, 91, 214, 0.15);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 11px;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.features-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
}

.features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.features-header-left {
    max-width: 640px;
}

.features-title {
    /*font-size: clamp(34px, 4vw, 52px);*/
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 0;
}

.features-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0;
    max-width: 600px;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 56px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-btn {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(91, 91, 214, 0.14);
    background: rgba(255, 255, 255, 0.55);
    text-align: left;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.feature-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(91, 91, 214, 0.28);
    box-shadow: 0 4px 16px rgba(91, 91, 214, 0.1);
    transform: translateX(4px);
}

.feature-btn.active {
    background: #fff;
    border-color: rgba(91, 91, 214, 0.25);
    border-left: 3px solid var(--purple);
    box-shadow: 0 6px 28px rgba(91, 91, 214, 0.16);
}

.feature-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 24px;
    padding-top: 1px;
    letter-spacing: 0.04em;
}

.feature-btn.active .feature-num {
    color: var(--purple);
}

.feature-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.feature-btn.active .feature-icon-wrap {
    background: rgba(91, 91, 214, 0.1);
}

.feature-text-col {
    flex: 1;
}

.feature-btn-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.35;
}

.feature-btn-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* solo el botón activo muestra la descripción */
.feature-btn:not(.active) .feature-btn-desc {
    display: none;
}

.features-preview {
    position: sticky;
    top: 100px;
}

/* ─── PROGRESS BAR en botones ─── */
.feature-btn-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--purple), var(--blue));
    border-radius: 0 2px 2px 0;
    pointer-events: none;
    display: block;
}

.feature-btn-progress.running {
    animation: btnProgress 10s linear forwards;
}

@keyframes btnProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* ─── CAROUSEL DE SCREENSHOTS ─── */

/* Wrapper exterior con el borde degradado animado */
.feature-screens-outer {
    padding: 8px;
    border-radius: 30px;
    background: linear-gradient(
            135deg,
            #7c5cfc 0%,
            #c45cfc 18%,
            #fc5cb8 36%,
            #fc8c5c 55%,
            #fccc5c 72%,
            #5cb8fc 88%,
            #7c5cfc 100%
    );
    background-size: 300% 300%;
    animation: gradShift 5s ease infinite;
    box-shadow: 0 0 50px rgba(124, 92, 252, 0.35),
    0 0 100px rgba(252, 92, 184, 0.2),
    0 24px 70px rgba(0, 0, 0, 0.45);
}

/* Contenedor que recorta el carrusel */
.feature-screens-wrapper {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    aspect-ratio: 1 / 1;
}

/* Track deslizable con todos los screens lado a lado */
.feature-screens-track {
    display: flex;
    width: 600%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.feature-screen {
    width: calc(100% / 6);
    height: 100%;
    flex-shrink: 0;
    background: #fff;
    overflow: hidden;
}

.feature-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ─── SLIDER NAV ─── */
.feature-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.12);
    color: #fff;
    box-shadow: 0 4px 20px rgba(168, 168, 255, 0.25);
}

.slider-btn:active {
    transform: scale(0.94);
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(.22, 1, .36, 1);
    padding: 0;
}

.slider-dot.active {
    background: #a8a8ff;
    width: 28px;
    border-radius: 4px;
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.25);
}

/* ─── PRICING ─── */
#pricing {
    padding: 120px 0 100px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.pricing-animated-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ddd5ff, #f9d0f5, #fff, #c8eaff, #fff0d0, #ddd5ff);
    background-size: 400% 400%;
    animation: gradShift 9s ease infinite;
    pointer-events: none;
}

.pricing-orb-1 {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 91, 214, 0.16) 0%, transparent 60%);
    top: -220px;
    left: -120px;
    pointer-events: none;
    animation: orbFloat1 18s ease-in-out infinite;
}

.pricing-orb-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 160, 60, 0.14) 0%, transparent 60%);
    bottom: -180px;
    right: -120px;
    pointer-events: none;
    animation: orbFloat2 22s ease-in-out infinite;
}

#pricing .container {
    position: relative;
    z-index: 1;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 91, 214, 0.08);
    border: 1px solid rgba(91, 91, 214, 0.15);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 11px;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pricing-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
}

.pricing-title {
    /*font-size: clamp(38px, 5vw, 60px);*/
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy);
    text-align: center;
    text-wrap: balance;
    margin-bottom: 12px;
}

.pricing-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 36px;
}

.billing-toggle {
    display: inline-flex;
    background: var(--off-white);
    border-radius: 12px;
    padding: 4px;
    margin: 0 auto 48px;
    gap: 0;
    border: 1px solid var(--border);
}

.billing-btn {
    padding: 8px 22px;
    border-radius: 9px;
    border: none;
    background: transparent;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-btn.active {
    background: var(--purple);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.billing-badge {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.billing-btn:not(.active) .billing-badge {
    background: rgba(91, 91, 214, 0.1);
    color: var(--purple);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.25s cubic-bezier(.22, 1, .36, 1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(91, 91, 214, 0.18);
    border-color: var(--purple);
    background: #fff;
}

.pricing-card-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.pricing-range {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.4;
}

.pricing-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.pricing-amount {
    font-size: 38px;
    font-weight: 900;
    color: var(--purple);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-period {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-card-custom {
    background: linear-gradient(135deg, rgba(91, 91, 214, 0.07) 0%, rgba(26, 156, 200, 0.07) 100%);
    border-color: rgba(91, 91, 214, 0.28);
}

.pricing-card-custom .pricing-card-icon i {
    color: var(--blue);
}

.pricing-custom-label {
    font-size: 22px;
    font-weight: 900;
    color: var(--purple);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 14px 0 10px;
}

.pricing-custom-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

.pricing-setup-note-wrap {
    text-align: center;
    margin-top: 28px;
    margin-bottom: 40px;
}

.pricing-setup-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 auto;
    padding: 12px 22px;
    background: rgba(91, 91, 214, 0.06);
    border: 1px solid rgba(91, 91, 214, 0.15);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text);
    text-align: left;
}

.pricing-setup-note i {
    color: var(--purple);
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-setup-note strong {
    color: var(--navy);
    font-weight: 700;
}

.pricing-setup-note .setup-note-plans {
    display: block;
    text-align: center;
    color: var(--purple);
    font-weight: 600;
}

.pricing-migration-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 50%, #ffeaa0 100%);
    border-radius: var(--radius);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255, 200, 0, 0.2);
}

.migration-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 190, 0, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.migration-content {
    flex: 1;
}

.migration-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.migration-title a {
    color: var(--purple);
    text-decoration: none;
}

.migration-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-divider {
    width: 1.5px;
    align-self: stretch;
    background: rgba(255, 200, 0, 0.2);
}

/* ─── DEMO / CTA ─── */
#demo {
    padding: 100px 0;
    background: #0a0d14;
    position: relative;
    overflow: hidden;
}

.demo-orb-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 91, 214, 0.32) 0%, transparent 58%);
    top: -220px;
    left: -220px;
    pointer-events: none;
    animation: orbFloat1 16s ease-in-out infinite;
}

.demo-orb-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 156, 200, 0.26) 0%, transparent 58%);
    bottom: -160px;
    right: -120px;
    pointer-events: none;
    animation: orbFloat2 20s ease-in-out infinite;
}

.demo-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: gridFade 5s ease-in-out infinite;
}

#demo .container {
    position: relative;
    z-index: 1;
}

.demo-wrapper {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.demo-left {
    background: linear-gradient(135deg, #e8e4ff 0%, #fce8f3 40%, #ffe8d6 70%, #e8f4ff 100%);
    background-size: 300% 300%;
    animation: gradShift 8s ease infinite;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 91, 214, 0.12);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
    width: fit-content;
}

.demo-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1.0;
    margin-bottom: 12px;
}

.demo-title .purple {
    color: var(--purple);
    display: block;
}

.demo-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.demo-illustration {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.demo-illus-screen {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.demo-illus-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--purple);
    margin-bottom: 6px;
    opacity: 0.7;
}

.demo-illus-bar:nth-child(2) {
    width: 75%;
    opacity: 0.4;
}

.demo-illus-bar:nth-child(3) {
    width: 55%;
    opacity: 0.25;
}

.demo-illus-chart {
    margin-top: 10px;
    height: 40px;
    background: linear-gradient(180deg, rgba(91, 91, 214, 0.15) 0%, transparent 100%);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.demo-illus-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
}

.demo-illus-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(var(--purple) 70%, #e8e4ff 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.demo-illus-circle::after {
    content: '';
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    position: absolute;
}

.demo-right {
    padding: 56px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 0 24px 24px 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    color: var(--navy);
    background: #fafafa;
    transition: all 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--purple);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.08);
}

.form-input::placeholder {
    color: #bbb;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23888' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(.22, 1, .36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    text-transform: uppercase;
}

.form-submit:hover {
    background: #4a4abf;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(91, 91, 214, 0.4);
}

.form-submit .btn-label-loading,
.form-submit .btn-spinner {
    display: none;
}

.form-submit.loading {
    background: linear-gradient(135deg, var(--purple), var(--blue));
    background-size: 200% 200%;
    animation: gradShift 1.5s ease infinite;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.form-submit.loading .btn-label,
.form-submit.loading .btn-arrow {
    display: none;
}

.form-submit.loading .btn-label-loading {
    display: inline;
}

.form-submit.loading .btn-spinner {
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-reset {
    margin-top: 4px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(91, 91, 214, 0.35);
    border-radius: var(--radius-sm);
    color: var(--purple);
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset:hover {
    background: rgba(91, 91, 214, 0.08);
    border-color: var(--purple);
}

/* ─── FOOTER ─── */
footer {
    background: #060810;
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-orb {
    position: absolute;
    width: 600px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(91, 91, 214, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    animation: orbFloat3 20s ease-in-out infinite;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
}

.footer-logo {
    height: 28px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    max-width: 280px;
}

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

.footer-social {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-social:hover {
    background: rgba(91, 91, 214, 0.3);
    color: #fff;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 18px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

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

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-country {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ─── SECTION SHARED ─── */
.section-center {
    text-align: center;
}

.section-billing-toggle-wrap {
    display: flex;
    justify-content: center;
}

/* ─── GRADIENT BORDER FRAME ───
   Técnica: el wrapper tiene el gradiente como fondo, y un elemento interior
   cubre el centro con fondo blanco, dejando visible solo el borde colorido. */
@keyframes borderRotate {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.gradient-frame {
    position: relative;
    border-radius: 26px;
    padding: 7px;
    background: linear-gradient(
            135deg,
            #7c5cfc 0%,
            #c45cfc 20%,
            #fc5cb8 40%,
            #fc8c5c 60%,
            #fccc5c 80%,
            #5cb8fc 90%,
            #7c5cfc 100%
    );
    background-size: 300% 300%;
    animation: gradShift 5s ease infinite;
    box-shadow: 0 0 50px rgba(124, 92, 252, 0.45),
    0 0 90px rgba(252, 92, 184, 0.28),
    0 0 140px rgba(252, 140, 92, 0.2);
}

.gradient-frame-inner {
    border-radius: 19px;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 1;
}

/* variante más pequeña para las pantallas de features */
.feature-screen-grad {
    position: relative;
    border-radius: 22px;
    padding: 3px;
    background: linear-gradient(
            135deg,
            #7c5cfc 0%,
            #c45cfc 20%,
            #fc5cb8 40%,
            #fc8c5c 60%,
            #fccc5c 80%,
            #5cb8fc 90%,
            #7c5cfc 100%
    );
    background-size: 300% 300%;
    animation: gradShift 6s ease infinite;
    box-shadow: 0 0 50px rgba(124, 92, 252, 0.3),
    0 0 100px rgba(252, 92, 184, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.25);
}

/* estado de éxito del formulario */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 32px;
}

.form-success.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.form-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.form-success p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */

/* ── Tablet (≤ 1100px) ── */
@media (max-width: 1100px) {
    .features-layout {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ── Tablet/Mobile (≤ 900px) ── */
@media (max-width: 900px) {
    /* Hero: stack vertical en tablet/móvil */
    #hero .container {
        flex-direction: column;
        min-height: unset;
        gap: 40px;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .hero-content {
        flex: none;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .hero-subtitle {
        margin: 20px auto 36px;
    }

    .hero-ctas {
        justify-content: center;
        margin-bottom: 0;
    }

    .hero-screen-wrap {
        flex: none;
        width: 100%;
        max-width: 680px;
    }

    /* ── Hero móvil: variantes alternables ──
       El bloque inicial se solapa en móvil. Para probar la mejor solución,
       cambia la clase en <section id="hero" class="..."> entre:
         · hero-m-lower   (A) baja la imagen y muestra "Toda tu gestión en un
                              solo lugar" como leyenda centrada, debajo del
                              botón "Agendar demo" (sin solaparse).
         · hero-m-no-img  (B) oculta la imagen del hero en móvil.
         · hero-m-no-text (C) mantiene la imagen y oculta el texto flotante.
       Las tarjetas decorativas (testimonios, +200, etc.) se ocultan siempre. */
    .hero-float-card.card-left,
    .hero-float-card.card-right,
    .hero-float-card.card-bottom {
        display: none;
    }

    /* Por defecto el texto flotante queda oculto en móvil; cada variante decide. */
    .hero-float-card.card-new {
        display: none;
    }

    /* (B) Quitar la imagen del bloque hero */
    #hero.hero-m-no-img .hero-screen-wrap {
        display: none;
    }

    /* (A) Bajar la imagen y mostrar el texto como leyenda estática centrada */
    #hero.hero-m-lower .hero-screen-wrap {
        margin-top: 24px;
    }

    #hero.hero-m-lower .hero-float-card.card-new {
        display: flex;
        position: static;
        right: auto;
        top: auto;
        align-items: center;
        margin: 0 auto 14px;
        animation: none;
    }

    #hero.hero-m-lower .fc-new-label {
        white-space: normal;
        text-align: center;
        font-size: 24px;
    }

    /* La flecha manuscrita apunta al mockup de escritorio; no aplica apilada */
    #hero.hero-m-lower .fc-new-arrow {
        display: none;
    }

    /* Intro */
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Features: stack vertical, carousel arriba */
    .features-header {
        gap: 16px;
    }

    .features-header-left {
        max-width: 100%;
    }

    .features-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .features-preview {
        position: static;
        order: -1;
    }

    /* Pricing: bloques apilados tipo KPI (2 columnas), todos los planes a la
       vista sin scroll lateral. El plan "Más de 300" ocupa la fila completa. */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pricing-card {
        min-width: 0;
    }

    .pricing-card-custom {
        grid-column: 1 / -1;
    }

    /* Demo: mostrar título arriba del formulario */
    .demo-wrapper {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .demo-left {
        display: flex;
        padding: 40px 40px 28px;
        justify-content: flex-start;
    }

    .demo-illustration {
        display: none;
    }

    .demo-subtitle {
        margin-bottom: 0;
    }

    .demo-right {
        border-radius: 0 0 24px 24px;
        padding: 32px 40px 48px;
    }

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

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
    /* Nav */
    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    /* General */
    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

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

    /* Intro */
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    /* Features: sin perspectiva 3D, botones compactos */
    .feature-screens-outer {
        transform: none;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(124, 92, 252, 0.2);
    }

    .feature-screens-outer:hover {
        transform: none;
    }

    .features-list {
        gap: 6px;
    }

    .feature-btn {
        padding: 12px 14px;
    }

    /* Pricing */
    .pricing-card {
        min-width: 0;
        padding: 20px 12px;
    }

    .pricing-amount {
        font-size: 30px;
    }

    .pricing-migration-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    /* Demo */
    .demo-left {
        padding: 28px 24px 20px;
    }

    .demo-right {
        padding: 24px 24px 40px;
    }

    .demo-title {
        font-size: 30px;
    }

    .demo-badge {
        margin-bottom: 16px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ─── ICONOS Font Awesome ─── */

/* Contenedores de fondo coloreado → icono blanco */
.intro-card-icon i,
.intro-card-icon {
    color: #fff;
}

/* Pricing → icono con color de marca */
.pricing-card-icon i {
    color: var(--purple);
}

.pricing-card-icon {
    line-height: 1;
}

/* Migration → icono ámbar */
.migration-icon i {
    color: #d97706;
    font-size: 26px;
}

/* Feature icon wrap → muted en reposo, coloreado al activar */
.feature-icon-wrap i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.feature-btn.active .feature-icon-wrap i {
    color: #a8a8ff;
}

/* Form success → verde */
.form-success-icon i {
    color: #10b981;
    font-size: 28px;
}

/* Lightning bolt en hero card → ámbar */
.fc-lightning-icon i {
    color: #d97706;
}

/* ─── FABs flotantes ─── */

/* Grupo: siempre fijo en la esquina inferior derecha */
.fab-group {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Propiedades visuales compartidas (sin display — cada variante lo controla) */
.fab {
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 100px;
    transition: transform 0.2s cubic-bezier(.22, 1, .36, 1), box-shadow 0.2s ease;
}

.fab:hover,
.fab:active {
    transform: scale(1.07) translateY(-2px);
}

/* WhatsApp FAB — siempre visible en todas las pantallas */
.fab-whatsapp {
    display: flex;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    font-size: 24px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85),
    0 8px 32px rgba(37, 211, 102, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.25);
}

.fab-whatsapp i {
    padding-top: 8px;
    padding-left: 11px;
    font-size: 35px;
}

.fab-whatsapp:hover {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95),
    0 12px 40px rgba(37, 211, 102, 0.65),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Forzar Onest en todo el contenido del FAB demo */
.fab-demo,
.fab-demo span {
    font-family: 'Onest', sans-serif !important;
}

/* Demo FAB — estilos visuales (display controlado solo por media queries) */
.fab-demo {
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #5B5BD6 0%, #1A9CC8 100%);
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    letter-spacing: -0.01em;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85),
    0 8px 32px rgba(91, 91, 214, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.25);
}

.fab-demo:hover {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95),
    0 12px 40px rgba(91, 91, 214, 0.65),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
    position: fixed;
    bottom: 92px;
    right: 20px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85),
    0 8px 28px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #1d2535;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95),
    0 12px 36px rgba(0, 0, 0, 0.38);
}

/* ─── CAMPOS REQUERIDOS ─── */
.form-label.required::after {
    content: ' *';
    color: #ef4444;
    font-weight: 700;
}

/* Mobile ≤ 900px: mostrar Demo FAB y ocultar nav CTA */
@media (max-width: 900px) {
    .nav-cta {
        display: none;
    }

    .fab-demo {
        display: flex;
    }
}

/* Desktop > 900px: ocultar Demo FAB */
@media (min-width: 901px) {
    .fab-demo {
        display: none;
    }
}

