:root {
    --bg-color: #FFFFFF;
    --text-color: #1D1D1F;
    --text-secondary: #6E6E73;
    --accent-blue: #0071E3;
    --accent-dark-blue: #2997FF;
    --accent-yellow: #0071E3;
    --hover-yellow: #0066CC;
    --shadow-color: rgba(0, 0, 0, 0.06);
    --shadow-color-hover: rgba(0, 0, 0, 0.10);
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: #FBFBFD;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .main-brand, .badge, .btn {
    font-family: var(--font-heading);
}

h1, h2 {
    letter-spacing: -0.025em;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
    background-color: #0077ED;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.32);
}

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

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
     left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo-group {
    display: flex;
    flex-direction: column;
}

.sub-brand {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.6;
    letter-spacing: 0.5px;
}

.main-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1.2;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 52px;
}

.navbar nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.navbar nav a.btn {
    padding: 8px 20px;
    font-size: 0.95rem;
}

/* Botón de Menú Móvil */
.mobile-menu-btn {
    display: none;
    position: relative;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    overflow: visible;
}

.mobile-menu-btn span {
    position: absolute;
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    left: 0;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 9px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 18px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-btn.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
    left: 50%;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Overlay de Menú Móvil */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 21, 40, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section — Apple-style refined */
.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: visible;
}

.hero-background-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,86,210,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .hero-content .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image-wrapper {
        max-width: 520px;
        margin: 0 auto;
    }
}

.hero-content {
    animation: fadeUp 0.8s ease forwards;
}

.expansion-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 59, 142, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ca51;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(0, 202, 81, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 202, 81, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0, 202, 81, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 202, 81, 0); }
}

.expansion-text {
    color: var(--accent-blue);
    font-weight: 700;
    margin-left: 4px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    border-radius: 980px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: clamp(2.6rem, 5vw, 3.9rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
    color: var(--text-color);
    padding-bottom: 6px;
    overflow: visible;
}

.hero-subheadline {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: rgba(45, 45, 45, 0.68);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.55;
    font-weight: 400;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 16px 12px 24px;
    animation: fadeInScale 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
    animation-delay: 0.15s;
    opacity: 0;
    perspective: 1200px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16), 0 6px 20px rgba(0, 0, 0, 0.08);
    z-index: 2;
    position: relative;
    transform: rotateY(-5deg) rotateX(1deg);
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s ease;
    will-change: transform;
}

.hero-image:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-4px) scale(1.02);
    box-shadow: 0 36px 84px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.10);
}

@media (max-width: 900px) {
    .hero-image {
        transform: none;
        max-width: 520px;
    }
    .hero-image:hover {
        transform: translateY(-3px) scale(1.015);
    }
}

.glow-effect {
    display: none;
}

/* Payment Methods Banner */
.payment-methods-banner {
    background-color: var(--bg-color);
    padding: 24px 0;
    border-bottom: 1px solid rgba(45, 45, 45, 0.05);
}

.payment-methods-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.payment-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(45, 45, 45, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-logos {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.carousel-wrapper:hover .payment-logos {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .payment-logos {
        animation: none;
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .logos-group {
        padding-right: 0;
    }

    .logos-group:not(:first-child) {
        display: none;
    }
}

.logos-group {
    display: flex;
    gap: 16px;
    padding-right: 16px; /* Actúa como el gap entre grupos */
}

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

.carousel-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 70px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff 20%, transparent);
}
.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff 20%, transparent);
}

@media (max-width: 768px) {
    .carousel-wrapper::before,
    .carousel-wrapper::after {
        width: 32px;
    }
}

.payment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(45, 45, 45, 0.03);
    border: 1px solid rgba(45, 45, 45, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    cursor: default;
}

.payment-icon {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.codi-styled {
    display: flex;
    align-items: center;
    gap: 8px;
}
.codi-styled span {
    color: #003b8e;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.payment-badge:hover {
    border-color: rgba(0, 86, 210, 0.4);
    background-color: rgba(0, 86, 210, 0.05);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: rgba(0, 86, 210, 0.02);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-color);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 45, 45, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color-hover);
    border-color: rgba(0, 86, 210, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 86, 210, 0.08);
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    width: 32px;
    height: 32px;
    background-color: var(--accent-blue);
    mask-size: cover;
    -webkit-mask-size: cover;
}

/* Basic mask icons (would use SVGs in prod) */
.icon-hardware::after {
    background-color: var(--accent-blue);
    border-radius: 4px;
    opacity: 0.8;
}
.icon-experience::after {
    background-color: var(--accent-yellow);
    border-radius: 50%;
}
.icon-backend::after {
    background-color: var(--text-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: rgba(45, 45, 45, 0.7);
}

.metrics-row {
    display: flex;
    justify-content: space-around;
    background: var(--text-color);
    padding: 60px 40px;
    border-radius: 24px;
    color: #FFFFFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 8px;
    white-space: nowrap;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.metric-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Use Cases Section */
.use-cases-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.use-case-card {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 86, 210, 0.05);
    border: 1px solid rgba(0, 86, 210, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 86, 210, 0.12);
    border-color: var(--accent-blue);
}

.use-case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.use-case-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
}

.use-case-card h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 16px;
}

.use-case-card p {
    color: rgba(45, 45, 45, 0.8);
    font-size: 1.05rem;
}

.use-case-card p strong {
    color: var(--accent-blue);
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background-color: rgba(0, 86, 210, 0.02);
}

.how-it-works-content {
    display: flex;
    justify-content: center;
}

.how-it-works-content .steps-list {
    max-width: 820px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .how-it-works-content .steps-list {
        grid-template-columns: 1fr;
    }
}

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

.how-it-works-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.how-it-works-image {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 45, 45, 0.05);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-yellow);
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 5px 15px rgba(0, 113, 227, 0.25);
}

/* Animated Phone Demo */
.demo-section {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 30%, rgba(0, 86, 210, 0.06) 0%, transparent 55%);
}

.demo-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-content h2 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.demo-sub {
    color: rgba(45, 45, 45, 0.65);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.demo-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.demo-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    opacity: 0.45;
}

.demo-steps li.active {
    opacity: 1;
    background: #fff;
    border-color: rgba(0, 86, 210, 0.25);
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.08);
}

.step-dot {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 86, 210, 0.1);
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.demo-steps li.active .step-dot {
    background: var(--accent-blue);
    color: #fff;
}

.demo-steps strong {
    display: block;
    font-size: 1rem;
}

.demo-steps p {
    font-size: 0.88rem;
    color: rgba(45, 45, 45, 0.6);
    margin: 2px 0 0;
}

/* Phone frame */
.phone-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(0, 86, 210, 0.18) 0%, transparent 70%);
    z-index: 0;
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: 300px;
    height: 620px;
    background: #10131A;
    border-radius: 46px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #2A2F3A;
}

.phone-notch {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 26px;
    background: #10131A;
    border-radius: 20px;
    z-index: 5;
}

.phone-home-indicator {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    z-index: 5;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
    background: #F7F9FC;
}

.app-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 32px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.app-screen.active {
    opacity: 1;
    transform: translateX(0);
}

/* Screen 1: Scan */
.screen-scan {
    background: linear-gradient(180deg, #14181F 0%, #232B38 100%);
}

.scan-viewfinder {
    position: relative;
    width: 170px;
    height: 170px;
}

.scan-viewfinder .corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 4px solid var(--accent-dark-blue);
}

.corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 10px 0 0 0; }
.corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 10px 0 0; }
.corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 10px; }
.corner.br { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 10px 0; }

.qr-fake {
    position: absolute;
    inset: 28px;
    background:
        conic-gradient(#fff 25%, transparent 0) 0 0/20px 20px,
        conic-gradient(transparent 75%, #fff 0) 10px 10px/20px 20px;
    opacity: 0.85;
    border-radius: 8px;
}

.scan-line {
    position: absolute;
    left: 6%;
    width: 88%;
    height: 3px;
    background: var(--accent-dark-blue);
    box-shadow: 0 0 12px rgba(41, 151, 255, 0.8);
    border-radius: 2px;
    animation: scanMove 2.2s ease-in-out infinite;
}

@keyframes scanMove {
    0%, 100% { top: 12%; }
    50% { top: 84%; }
}

.scan-caption {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Screen 2: Bill */
.screen-bill {
    justify-content: flex-start;
    padding-top: 56px;
    background: #fff;
}

.bill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(45, 45, 45, 0.08);
}

.bill-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-blue), #7FA9E8);
}

.bill-header strong { display: block; font-size: 1rem; }
.bill-header small { color: rgba(45, 45, 45, 0.5); font-size: 0.78rem; }

.bill-items {
    list-style: none;
    width: 100%;
    padding: 14px 0;
}

.bill-items li {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 0.92rem;
    color: rgba(45, 45, 45, 0.8);
    border-bottom: 1px dashed rgba(45, 45, 45, 0.1);
}

.bill-total {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    margin-top: auto;
    background: rgba(0, 86, 210, 0.06);
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Screen 3: Tip */
.screen-tip {
    background: #fff;
}

.screen-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.screen-subtitle {
    color: rgba(45, 45, 45, 0.55);
    font-size: 0.9rem;
    margin: 4px 0 22px;
}

.tip-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.tip-options button {
    padding: 16px 8px;
    border-radius: 14px;
    border: 2px solid rgba(45, 45, 45, 0.12);
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.tip-options button.selected {
    border-color: var(--accent-blue);
    background: rgba(0, 86, 210, 0.07);
    color: var(--accent-blue);
    animation: tipPulse 2.6s ease-in-out infinite;
}

@keyframes tipPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 86, 210, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(0, 86, 210, 0); }
}

/* Screen 4: Pay */
.screen-pay {
    background: #fff;
}

.pay-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
}

.pay-btn {
    padding: 15px;
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.pay-btn.apple {
    background: #000;
    color: #fff;
}

.pay-btn.google {
    background: #fff;
    border: 2px solid rgba(45, 45, 45, 0.15);
}

.pay-btn.google b {
    background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pay-btn.card {
    background: rgba(0, 86, 210, 0.06);
    color: var(--accent-blue);
    border: 2px dashed rgba(0, 86, 210, 0.35);
}

/* Screen 5: Done */
.screen-done {
    background: #fff;
}

.done-check {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #00CA51;
    color: #fff;
    font-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    box-shadow: 0 12px 30px rgba(0, 202, 81, 0.35);
}

.app-screen.active .done-check {
    animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes checkPop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.done-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 18px;
}

.done-amount {
    font-size: 1.15rem;
    color: rgba(45, 45, 45, 0.6);
}

.done-badge {
    margin-top: 14px;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(0, 202, 81, 0.12);
    color: #00913B;
    font-weight: 600;
    font-size: 0.9rem;
}

.done-note {
    margin-top: 10px;
    font-size: 0.82rem;
    color: rgba(45, 45, 45, 0.5);
}

@media (max-width: 900px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .phone-frame {
        width: 270px;
        height: 560px;
    }
}

/* Friday Night Comparison Section */
.friday-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0A1428 0%, #0D1B36 100%);
    color: #fff;
}

.friday-section .section-header h2 {
    color: #fff;
}

.friday-section .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.friday-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.friday-column {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 32px;
}

.friday-column h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.friday-column.without h3 {
    color: rgba(255, 255, 255, 0.55);
}

.friday-column.with h3 {
    color: var(--accent-dark-blue);
}

.friday-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.friday-event {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 4px;
}

.friday-column.with .friday-event {
    border-left-color: rgba(41, 151, 255, 0.4);
}

.event-time {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.friday-column.without .event-time {
    color: #FF7A7A;
}

.friday-column.with .event-time {
    color: var(--accent-dark-blue);
}

.friday-event p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.friday-column.with .friday-event p {
    color: rgba(255, 255, 255, 0.92);
}

.friday-result {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.friday-result.bad {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: rgba(255, 200, 200, 0.9);
}

.friday-result.good {
    background: rgba(0, 202, 81, 0.1);
    border: 1px solid rgba(0, 202, 81, 0.3);
    color: rgba(200, 255, 220, 0.95);
}

.friday-footer-line {
    text-align: center;
    margin-top: 40px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
    .friday-grid {
        grid-template-columns: 1fr;
    }
}

/* Security Section */
.security-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 86, 210, 0.03) 0%, transparent 60%);
}

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

.security-card {
    background: #fff;
    border: 1px solid rgba(45, 45, 45, 0.06);
    border-radius: 20px;
    padding: 32px 26px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 86, 210, 0.12);
}

.security-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 86, 210, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.security-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.security-card p {
    font-size: 0.92rem;
    color: rgba(45, 45, 45, 0.65);
    line-height: 1.6;
}

.security-footnote {
    text-align: center;
    margin-top: 40px;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(45, 45, 45, 0.7);
}

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

@media (max-width: 600px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
}

/* Staff Benefits */
.staff-benefits-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.staff-content h2 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.staff-list {
    text-align: left;
    list-style: none;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.staff-list li {
    background: rgba(0, 86, 210, 0.03);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.check-icon {
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.staff-text {
    line-height: 1.6;
    color: var(--text-color);
}

.staff-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--accent-blue);
}

/* Dashboard Section */
.dashboard-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0b1528 0%, #050a14 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dashboard-content h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.dashboard-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.dashboard-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-features li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-features li strong {
    color: var(--accent-yellow);
}

.dashboard-image-wrapper {
    position: relative;
}

.dashboard-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    .dashboard-content {
        order: 2;
    }
    .dashboard-image-wrapper {
        order: 1;
    }
}

/* ROI Calculator */
.roi-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.04) 0%, rgba(0, 113, 227, 0.01) 100%);
}

.calculator-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.form-group-range {
    margin-bottom: 32px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.range-header label {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.calc-num-input {
    width: 80px;
    padding: 6px 10px;
    border: 1.5px solid rgba(45, 45, 45, 0.15);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-align: right;
    transition: all 0.2s ease;
    background-color: var(--bg-color);
}

.calc-num-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

/* Ocultar flechas en Chrome, Safari, Edge, Opera */
.calc-num-input::-webkit-outer-spin-button,
.calc-num-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ocultar flechas en Firefox */
.calc-num-input[type=number] {
    -moz-appearance: textfield;
}

.input-currency-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.input-currency-symbol {
    position: absolute;
    left: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent-blue);
    pointer-events: none;
}

.input-with-currency {
    padding-left: 20px;
    width: 95px;
}

.slider {
    width: 100%;
    accent-color: var(--accent-blue);
    height: 8px;
    outline: none;
}

.calc-results {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px dashed rgba(45,45,45,0.2);
}

.explanation-title {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 24px;
    text-align: center;
}

.explanation-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.explanation-list li {
    background: rgba(0, 86, 210, 0.03);
    padding: 16px;
    border-radius: 12px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.roi-summary {
    text-align: center;
    background: rgba(0, 113, 227, 0.05);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 113, 227, 0.18);
}

.roi-summary p {
    font-weight: 600;
    margin-bottom: 8px;
}

.roi-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    line-height: 1.1;
}

.roi-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(45, 45, 45, 0.04);
    border-radius: 10px;
    font-size: 0.95rem;
}

.roi-net {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px dashed rgba(0, 86, 210, 0.25);
}

.roi-net p {
    color: rgba(45, 45, 45, 0.7);
    font-weight: 500;
}

.roi-disclaimer {
    margin-top: 24px;
    font-size: 0.85rem;
    color: rgba(45, 45, 45, 0.5);
    text-align: center;
    line-height: 1.5;
}

/* Guarantee Box */
.guarantee-box {
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.guarantee-icon {
    font-size: 3rem;
}

.guarantee-text h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.guarantee-text p {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.testimonial-card {
    padding: 40px;
    background-color: rgba(45,45,45,0.02);
    border-radius: 20px;
    border-left: 4px solid var(--accent-blue);
    font-style: italic;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.testimonial-card h4 {
    font-style: normal;
    color: var(--accent-blue);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    position: relative;
}

.pricing-container {
    display: flex;
    justify-content: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-grid .pricing-card {
    max-width: none;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.pricing-grid .pricing-card .pricing-features {
    flex-grow: 1;
}

.pricing-card.pricing-featured {
    border-color: var(--accent-blue);
    border-width: 2px;
    transform: scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 980px;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card.pricing-featured {
        transform: none;
    }
}

.pricing-card {
    background-color: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 60px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-blue);
}

.pricing-header h3 {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.pricing-header p {
    color: rgba(45, 45, 45, 0.7);
    margin-bottom: 32px;
}

.pricing-amount {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 40px;
}

.pricing-amount .currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.pricing-amount .amount {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1.2rem;
    color: rgba(45, 45, 45, 0.6);
    margin-left: 8px;
}

.pricing-commission-note {
    background: rgba(0, 86, 210, 0.04);
    border: 1px dashed rgba(0, 86, 210, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.pricing-commission-note p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.pricing-commission-note p:last-child {
    margin-bottom: 0;
}

.pricing-commission-note .pricing-example {
    color: rgba(45, 45, 45, 0.65);
    font-size: 0.85rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(45, 45, 45, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li span {
    color: var(--accent-blue);
    font-weight: bold;
}

.cta-pricing {
    width: 100%;
}

/* Commission Comparison Table */
.commission-table-wrapper {
    margin-top: 24px;
    overflow-x: auto;
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 86, 210, 0.08);
}

.commission-table th,
.commission-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(45, 45, 45, 0.08);
}

.commission-table thead th {
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.commission-table tbody td:first-child {
    font-weight: 500;
}

.commission-table .total-row td {
    background-color: rgba(0, 86, 210, 0.06);
    border-bottom: none;
}

.commission-table .total-row td:nth-child(2),
.commission-table .highlight-cell {
    color: var(--accent-blue);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(0, 86, 210, 0.02);
    border: 1px solid rgba(45, 45, 45, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--accent-blue);
    background: #FFF;
    box-shadow: 0 10px 30px rgba(0, 86, 210, 0.08);
}

.faq-item summary {
    padding: 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 24px 24px;
    color: rgba(45, 45, 45, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--text-color);
    color: var(--bg-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--bg-color);
}

.contact-content p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.contact-form {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 86, 210, 0.2);
}

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

.form-group label {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(45, 45, 45, 0.2);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.1);
}

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

.required {
    color: #e53935;
    margin-left: 4px;
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon-wrapper {
    background-color: rgba(0, 202, 81, 0.1);
    border-radius: 50%;
    padding: 16px;
    margin-bottom: 24px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-message h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.success-message p {
    color: rgba(45, 45, 45, 0.7);
    font-size: 1.1rem;
}

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

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(45, 45, 45, 0.05);
}

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

.footer-logo p {
    font-size: 0.85rem;
    color: rgba(45, 45, 45, 0.6);
}

.footer-links a {
    color: rgba(45, 45, 45, 0.7);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-legal {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(45, 45, 45, 0.1);
    font-size: 0.9rem;
    color: rgba(45, 45, 45, 0.85);
    text-align: center;
    line-height: 1.6;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.comparison-wrapper {
    max-width: 960px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px; /* Para el scrollbar si aparece */
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-color);
    border: 1px solid rgba(45, 45, 45, 0.05);
}

.comparison-header {
    padding: 32px 24px;
    text-align: center;
    background-color: rgba(45, 45, 45, 0.02);
}

.comparison-header.totempay {
    background-color: rgba(0, 86, 210, 0.05);
    border-left: 2px solid var(--accent-blue);
    border-bottom: 2px solid rgba(0, 86, 210, 0.1);
    box-shadow: inset 0 10px 20px rgba(0, 86, 210, 0.05);
}

.comparison-header h3 {
    font-size: 1.25rem;
    color: var(--text-color);
}

.comparison-header.totempay h3 {
    color: var(--accent-blue);
    font-size: 1.5rem;
    font-weight: 800;
}

.col-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.comparison-cell {
    padding: 24px;
    border-top: 1px solid rgba(45, 45, 45, 0.05);
    display: flex;
    align-items: center;
    font-weight: 500;
    color: rgba(45, 45, 45, 0.8);
    font-size: 1.05rem;
}

.comparison-cell.traditional {
    background-color: var(--bg-color);
}

.comparison-cell.totempay {
    background-color: rgba(0, 86, 210, 0.02);
    border-left: 2px solid var(--accent-blue);
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    transition: background-color 0.3s ease;
}

.comparison-cell.totempay:hover {
    background-color: rgba(0, 86, 210, 0.05);
}

.comparison-cell.totempay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 15px rgba(0, 86, 210, 0.03);
    pointer-events: none;
}

.row-icon {
    font-size: 1.5rem;
    margin-right: 16px;
    min-width: 24px;
    text-align: center;
    display: flex;
    align-items: center;
}

.cell-text {
    display: flex;
    flex-direction: column;
}

.cell-text strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.comparison-cell.totempay .cell-text strong {
    color: var(--accent-blue);
}

.cell-text span {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.4;
}

.comparison-cta {
    text-align: center;
    margin-top: 48px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subheadline {
        margin: 0 auto 40px;
    }
    
    .features-grid, .use-cases-grid, .how-it-works-content, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-image {
        max-width: 180px;
    }
    
    .metrics-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .navbar nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        padding: 90px 24px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        align-items: stretch;
    }
    
    .navbar nav.active {
        right: 0;
    }
    
    .navbar nav a {
        font-size: 1.15rem;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(45, 45, 45, 0.06);
    }
    
    .navbar nav a.btn {
        text-align: center;
        border-bottom: none;
        margin-top: 12px;
        width: auto;
        align-self: center;
        padding: 12px 32px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .pricing-amount .amount {
        font-size: 4rem;
    }
    
    .comparison-cell {
        padding: 16px 12px;
        font-size: 0.9rem;
    }
    
    .comparison-header {
        padding: 20px 12px;
    }

    .comparison-header h3 {
        font-size: 1rem;
    }
    
    .comparison-header.totempay h3 {
        font-size: 1.15rem;
    }
    
    .cell-text strong {
        font-size: 1rem;
    }
    
    .pricing-card {
        padding: 40px 24px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1100;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(45, 45, 45, 0.75);
    margin: 0;
}

.cookie-banner a {
    color: var(--accent-blue);
    font-weight: 600;
}

.cookie-accept {
    flex-shrink: 0;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        max-width: none;
        padding: 14px 16px;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    text-decoration: none;
    animation: wa-enter 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s backwards;
}

.wa-circle {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    flex-shrink: 0;
}

.whatsapp-float:hover .wa-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.wa-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.7);
    animation: wa-ripple 2.2s cubic-bezier(0.25, 0.8, 0.4, 1) infinite;
}

@keyframes wa-ripple {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

@keyframes wa-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wa-notification {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ff3b30;
    border: 3px solid #fff;
    animation: wa-dot 2.2s ease-in-out infinite;
}

@keyframes wa-dot {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
}

.wa-label {
    background: #fff;
    padding: 9px 16px;
    border-radius: 18px 4px 18px 18px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
    margin-right: 14px;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .wa-label {
    transform: translateX(-3px);
}

.wa-label strong {
    font-size: 0.92rem;
    color: var(--text-color);
    font-weight: 700;
}

.wa-label small {
    font-size: 0.75rem;
    font-weight: 600;
    color: #128c7e;
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .wa-circle::after,
    .wa-notification {
        animation: none;
    }
}

/* Beneficios Section */
.benefits-section {
    padding: 100px 0;
    background-color: rgba(0, 86, 210, 0.01);
}

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

.benefit-card {
    position: relative;
    background-color: var(--bg-color);
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(45, 45, 45, 0.04);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 210, 0.08);
    border-color: rgba(0, 86, 210, 0.2);
}

.benefit-icon {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 210, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background-color: rgba(0, 86, 210, 0.08);
}

.benefit-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.benefit-card:hover h3 {
    color: var(--accent-blue);
}

.benefit-detail {
    margin-bottom: 16px;
}

.benefit-detail:last-child {
    margin-bottom: 0;
}

.benefit-label-how {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(45, 45, 45, 0.4);
    margin-bottom: 4px;
}

.benefit-how-text {
    font-size: 0.9rem;
    color: rgba(45, 45, 45, 0.6);
    line-height: 1.5;
    font-style: italic;
}

.benefit-label-result {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #00ca51;
    margin-bottom: 4px;
}

.benefit-divider {
    height: 1px;
    background-color: rgba(45, 45, 45, 0.06);
    margin: 16px 0;
}

.benefit-result-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Sticky Mobile CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sticky-cta-text strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.sticky-cta-text small {
    color: rgba(45, 45, 45, 0.55);
    font-size: 0.75rem;
}

.sticky-cta-btn {
    padding: 12px 22px;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        display: flex;
    }

    .whatsapp-float {
        display: none;
    }

    footer {
        padding-bottom: 80px;
    }
}

/* Imagen comparativa */
.comparison-image {
    margin: 48px auto 0;
    max-width: 860px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.comparison-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Comparativa de ahorro TotemPay vs otras terminales */
.savings-comparison {
    margin: 48px auto 0;
    max-width: 960px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.savings-comparison h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.savings-subtitle {
    color: rgba(45, 45, 45, 0.6);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.savings-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.savings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 560px;
}

.savings-table th {
    background: #f8f9fb;
    padding: 16px 14px;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.savings-table th.highlight-col {
    background: var(--accent-blue);
    color: #fff;
}

.savings-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.savings-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: rgba(45, 45, 45, 0.8);
}

.savings-table td.highlight-col {
    background: rgba(0, 86, 210, 0.04);
    font-weight: 700;
    color: var(--text-color);
}

.savings-table tr.example-row td {
    background: rgba(0, 86, 210, 0.03);
    font-weight: 600;
}

.savings-table tr.example-row td.highlight-col {
    background: rgba(0, 86, 210, 0.08);
    color: var(--accent-blue);
}

.savings-footnote {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(45, 45, 45, 0.55);
    line-height: 1.5;
    text-align: left;
}

/* Destaque SPEI — ahorro por ticket */
.savings-highlight {
    background: linear-gradient(135deg, rgba(0,113,227,0.06) 0%, rgba(0,202,81,0.06) 100%);
    border: 1px solid rgba(0,113,227,0.12);
    border-radius: 20px;
    padding: 28px 24px;
    margin-bottom: 8px;
}

.savings-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vs-card {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.vs-card.highlight {
    border-color: rgba(0,202,81,0.25);
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
    box-shadow: 0 8px 24px rgba(0,202,81,0.12);
}

.vs-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(45,45,45,0.6);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.vs-cost {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 6px;
}

.vs-cost.bad { color: #c0392b; }
.vs-cost.good { color: #00a651; }

.vs-card small {
    font-size: 0.75rem;
    color: rgba(45,45,45,0.55);
    line-height: 1.3;
}

.vs-arrow {
    font-size: 1.6rem;
    color: var(--accent-blue);
    font-weight: 700;
}

.savings-badge {
    display: inline-block;
    margin-top: 18px;
    background: #00a651;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 980px;
    box-shadow: 0 4px 16px rgba(0,166,81,0.25);
}

.savings-note {
    margin-top: 12px;
    font-size: 0.82rem;
    color: rgba(45,45,45,0.6);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .comparison-image {
        margin-top: 32px;
        border-radius: 16px;
    }
}

/* Legal Pages (Términos y Privacidad) */
.legal-main {
    padding: 140px 0 80px;
    background-color: rgba(0, 86, 210, 0.02);
    min-height: 70vh;
}

.legal-container {
    max-width: 860px;
    background-color: var(--bg-color);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.legal-container h1 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.legal-updated {
    color: rgba(45, 45, 45, 0.55);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.legal-container h2 {
    font-size: 1.35rem;
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(45, 45, 45, 0.08);
}

.legal-container p,
.legal-container li {
    color: rgba(45, 45, 45, 0.85);
    margin-bottom: 14px;
    text-align: justify;
}

.legal-container ul {
    padding-left: 24px;
    margin-bottom: 18px;
}

.legal-container a {
    color: var(--accent-blue);
    font-weight: 500;
}

.legal-note {
    margin-top: 48px;
    padding: 20px 24px;
    background-color: rgba(0, 113, 227, 0.05);
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 12px 12px 0;
}

.legal-note p {
    margin-bottom: 0;
    text-align: left;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .legal-main {
        padding: 120px 0 60px;
    }

    .legal-container {
        padding: 32px 24px;
    }

    .legal-container h1 {
        font-size: 2rem;
    }
}

/* ===== Apple-style Modern Refinement — WOW ===== */
.features-section, .use-cases-section, .benefits-section, .comparison-section, .staff-benefits-section, .dashboard-section, .roi-section, .security-section, .pricing-section, .faq-section {
    padding: 96px 0;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.feature-card, .use-case-card, .benefit-card, .security-card, .step-card, .pricing-card, .savings-comparison, .faq-item, .contact-form-wrapper, .calculator-card {
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, border-color 0.3s ease;
    background: #fff;
}

.feature-card:hover, .use-case-card:hover, .benefit-card:hover, .security-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
    border-color: rgba(0,113,227,0.12);
}

.comparison-wrapper, .savings-table-wrapper, .friday-grid, .dashboard-container {
    border-radius: 22px;
}

.hero-background-gradient {
    background: radial-gradient(600px 600px at 70% 20%, rgba(0,113,227,0.06) 0%, transparent 70%);
}

@media (max-width: 768px) {
    .features-section, .use-cases-section, .benefits-section, .comparison-section, .pricing-section {
        padding: 64px 0;
    }
}
