
.highlight-flash {
  animation: flash-border 1.5s ease-out;
}

@keyframes flash-border {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  50% { box-shadow: 0 0 0 20px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.header-section{
    background: linear-gradient(90deg, #4a90a4 0%, #357a8a 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
    position: relative;
}
.header-content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}
.header-right {
    width: 110px;
    margin-right: 2rem;
}


/* CTA button text / note: variantes responsive */
.btn-text-short,
.note-mobile {
    display: none;
}

/* CTA */
.hero-cta {
    margin-bottom: 1rem;
}

.hero-cta-container {
    /*
    background-color: rgb(240 244 247);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    max-width: 500px;*/
    padding: 1rem 0rem;
    margin: 0 auto;
    text-align: center;
}

.hero-cta-title {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto 2rem;
    font-weight: 400;
    color: #5a6c7d;
    text-align: center;
    max-width: 480px;
}
.lg-es .hero-cta-title {
    max-width: 570px;
}
.hero-cta-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.hero-email-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    min-width: 0; /* Para permitir que se comprima */
    width: 90%;
}

.hero-email-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}
.hero-cta .button-arrow{
    display: inline-flex;
    align-items: center;
    font-size: 1.2em;
    line-height: 1;
    transition: transform 0.3s ease;
    will-change: transform;
    padding-left: 1rem;
}
.hero-cta.noplan .button-arrow{
    display: none;
}
.hero-cta .plan-button:hover .button-arrow {
    transform: translateX(4px);
}

.hero-cta-benefits {
    margin-top: 0.4rem;
    text-align: center;
    font-size: 0.9rem;
    color: #8895a7;
}

.hero-cta-benefits span {
    margin: 0 0 0 0.8rem;
}

/* -- trial_14_8 -- */
.hero-badge.trial_14_8 {
    background: linear-gradient(135deg, #e5f5fd 0%, #cae7f1 100%) !important;
    color: #2d6b7a !important;
    border-radius: 20px !important;
}
.hero-cta_trial_14_8 .action-button.plan-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}
/* -- trial_7_4 -- */
.hero-badge.trial_7_4 {
    background: linear-gradient(135deg, #deeff3 0%, #cce7ef 100%) !important;
    color: #5a6c7d !important;
}
.hero-cta_trial_7_4 .action-button.plan-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}
/* -- trial_3_2 -- */
.hero-badge.trial_3_2 {
    background: rgba(245, 124, 0, 0.15);
    color: #e65100;
}
.hero-cta_trial_3_2 .action-button.plan-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}
/* -- trial_1 -- */
.is_start.trial_ending_soon .hero-badge.trial_1 {
    background: rgba(211, 47, 47, 0.15) !important;
    color: #c62828 !important;
    border: 2px solid #ef4444 !important;
    box-shadow: 0 4px 12px rgb(239 68 68 / 25%) !important;
}
.hero-cta_trial_1 .action-button.plan-button {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    box-shadow: 0 6px 5px rgba(244, 67, 54, 0.3);
}
.hero-cta_trial_1 .action-button.plan-button:hover {
    background: linear-gradient(135deg, #f95854 0%, #eb3b3b 100%);
    box-shadow: 0 7px 16px rgba(244, 67, 54, 0.3);
}
/* -- trial_expired -- */
.hero-badge.trial_expired {
    background: rgba(90, 108, 125, 0.12);
    color: #5a6c7d;
}
.how-it-works-cta.trial_expired .action-button.plan-button:hover,
.hero-cta_trial_expired .action-button.plan-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

/* BRAND SECTION - NO STICKY */
.brand-section {
    color: white;
    flex: 1;
}

.brand-section.no-shadow {
    box-shadow: none;
}

.brand-content {
    text-align: center;
    padding: 0rem 1rem 1rem;
    margin: 0 auto;
    position: relative;
    z-index: 101;
}
.brand-header {
    display: flex;
    justify-content: center;
    gap: 0;
}
.brand-quill {
    background: transparent url(/static/img/brand/logo_idazery_main.png) center center no-repeat;
    background-size: 53px auto;
    width: 53px;
    height: 94px;
    margin-right: 10px;
    position: relative;
    top: 0px;
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.1));
}

.brand-quill-right {
    width: 9px;
    margin-left: 0.6rem;
}
.brand-logo {
    font-size: 5.5rem;
    line-height: 6rem;
    font-weight: 600;
    height: 105px;
    background: linear-gradient(to bottom, #fff, #caffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.brand-tagline {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* HERO SECTION */
.hero-section {
    max-width: 1190px;
    margin: 0 auto;
    padding: 3.5rem 2rem 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}



.is_start.trial_active .hero-badge {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #3da8bf;
    color: #0c6b7f;
    box-shadow: 0 4px 12px rgba(55, 185, 207, 0.2);
}

.is_start.trial_ending_soon .hero-badge {
    color: #0c4a6e;
    box-shadow: 0 4px 12px rgb(11 128 245 / 25%);
    background: linear-gradient(135deg, #bee5ff 0%, #bae6fd 100%);
    border: 2px solid #0284c7 !important;
}

.is_start.trial_expired .hero-badge {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #64748b;
    color: #475569;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.15);
}

.is_pro .hero-badge {
    background: linear-gradient(135deg, #f5f8f9 0%, #f5fcff 100%);
    border: 2px solid #4a90a4;
    color: #2c6b7d;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.2);
}

.is_premium .hero-badge {
    background: linear-gradient(135deg, #fffef9 0%, #f5f1e8 100%);
    border: 2px solid #d4af37;
    color: #a08428;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.hero-text {
    text-align: center;
    opacity: 0;
    transform: translateX(-5px);
    animation: heroTextReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.1s;
}
@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateX(-5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero-title {
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.1;
    text-align: center;
    margin: 0 auto 1rem;
}
.hero-title-tagline-light {
    font-size: 3.9rem;
    display: block;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.hero-title-tagline-bold {
    font-size: 3.8rem;
    display: block;
    font-weight: 700;
    color: #4a90a4;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.lg-es .hero-title-tagline-light {
    font-size: 4.1rem;
}
.lg-es .hero-title-tagline-bold {
    font-size: 3rem;
    margin-top: 0.1em;
}

.hero-subtitle {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
    font-size: 1.1rem;
    color: #5a6c7d;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    text-align: center;
    max-width: 500px;
}
.lg-es .hero-subtitle {
    max-width: 550px;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 475px;

    opacity: 0;
    transform: translateX(5px) perspective(1000px) rotateY(-10deg) rotateX(3deg) scale(1);
    animation: imageRevealFloat 1.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    animation-delay: 0.2s;

    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-image-container:hover {
    transform: perspective(1000px) rotateY(-1deg) rotateX(0.5deg) !important;
}
.hero-image-container:not(:hover) {
    transition: transform 0.5s ease;
}
@keyframes imageRevealFloat {
    0% {
        opacity: 0;
        transform: translateX(5px) perspective(1000px) rotateY(-10deg) rotateX(3deg) scale(1);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(1);
    }
}
.hero-image-placeholder {
    background: linear-gradient(135deg, #f0f4f7 0%, #d6e7f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden; /* Por si la imagen es más grande que el contenedor */
}

.hero-image-placeholder img {
    width: 731px;
    height: 487px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    flex-shrink: 0; /* Evita que flex lo redimensione */
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    margin-bottom: 5rem;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.hero-checkmark {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1rem;
}
/* KEY FEATURES SECTION */
.key-features-section {
    margin: 0 2rem 8rem;
}
.key-features-container {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin: 0 auto 10rem;
    width: fit-content;
}
.features-inside {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
/* Features Grid - Más compacto y profesional */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(74, 144, 164, 0.08);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    transform: translate3d(0, 40px, 0);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.feature-card.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.feature-card.animate-in:nth-child(1) { transition-delay: 0.1s; }
.feature-card.animate-in:nth-child(2) { transition-delay: 0.2s; }
.feature-card.animate-in:nth-child(3) { transition-delay: 0.3s; }
.feature-card.animate-in:nth-child(4) { transition-delay: 0.4s; }
.feature-card:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.12);
    border-color: rgba(74, 144, 164, 0.2);
}

.feature-icon-container {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon {
    font-size: 2.2rem;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
    background-size: 4rem;
    width: 4rem;
    height: 4rem;
}
.h-secure {
    background: transparent url(/static/img/home/h_secure.svg) no-repeat top 0 left 0;
}
.h-smart {
    background: transparent url(/static/img/home/h_smart.svg) no-repeat top 0 left 0;
}
.h-way {
    background: transparent url(/static/img/home/h_way.svg) no-repeat top 0px left 0;
}
.feature-card:hover .feature-icon {
    transform: scale(1.05);
}
.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    line-height: 1.3;
}
.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
/* TRUST & RESEARCH85 SECTION */
.trust-research-section {
    background: white;
    /*background: linear-gradient(135deg, #f8fbff 0%, #f0f4f7 100%);*/
    padding: 5rem 2rem 7rem;
    margin: 3rem 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trust-research-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(74, 144, 164, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(76, 175, 80, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trust-header {
    margin-bottom: 3rem;
}

.trust-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
    margin: 0 auto;
    padding-bottom: 1rem;
    max-width: 900px;
}

.trust-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
}

.featured-quote {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem auto;
    max-width: 800px;
    position: relative;
    border: 1px solid rgba(74, 144, 164, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    overflow: hidden;
}

.featured-quote.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.featured-quote::before {
    content: '"';
    font-size: 6rem;
    color: #4a90a4;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: serif;
    line-height: 1;
    z-index: 1;
}

.quote-slider {
    position: relative;
    width: 100%;
    min-height: 225px;
    overflow: hidden;
}

.quote-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.quote-slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.quote-text {
    font-size: 1.3rem;
    color: #2c3e50;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: left;
}

.quote-info {
    background: transparent url(/static/img/brand/logo_idazery_public.png) center left no-repeat;
    background-size: 53px auto;
    padding-left: 73px;
    padding-top: 19px;
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.1));
}
.quote-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.3rem 0;
}

.quote-info p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 0.2rem 0;
}

.quote-info .institution {
    font-size: 0.9rem;
    color: #4a90a4;
    font-weight: 600;
}

.quote-navigation {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(74, 144, 164, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-dot.active {
    background: #4a90a4;
    transform: scale(1.3);
}

.research-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #e8f3f7 0%, #e4f1fb 100%);
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 164, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.stat-item.visible {
    opacity: 1;
}

.stat-item:nth-child(1) { transition-delay: 0.2s; }
.stat-item:nth-child(2) { transition-delay: 0.3s; }
.stat-item:nth-child(3) { transition-delay: 0.4s; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3c798b;
    margin-bottom: 0.5rem;
    display: block;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

.research-references {
    margin-top: 2rem;
    text-align: center;
}

.references-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}
/* HOW IT WORKS SECTION */
.how-it-works-section {
    background: white;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    padding: 6rem 2rem 3rem;
    margin: 0;
    text-align: center;
    position: relative;
    border-top: 1px solid #4a90a426;
    border-bottom: 1px solid #4a90a426;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.how-it-works-header {
    margin-bottom: 4rem;
}

.how-it-works-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.how-it-works-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.step-item {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: none; /* Sin animación para scroll hacia arriba */
}

.step-item:nth-child(1) { transition-delay: 0.1s; }
.step-item:nth-child(2) { transition-delay: 0.2s; }
.step-item:nth-child(3) { transition-delay: 0.3s; }

.step-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90a4 0%, #357a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.3);
    transition: all 0.4s ease;
}

.step-item:hover .step-icon-container {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 144, 164, 0.4);
}

.step-icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.step-icon.write {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z'/%3E%3C/svg%3E");
}

.step-icon.plan {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
}

.step-icon.reflect {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-benefit {
    font-size: 0.9rem;
    color: #4a90a4;
    font-weight: 600;
    font-style: italic;
}

.connecting-line {
    position: absolute;
    top: 40px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, #4a90a4 0%, transparent 100%);
    z-index: -1;
}

.step-item:nth-child(3) .connecting-line {
    display: none;
}

.how-it-works-cta {
    background: linear-gradient(135deg, #fcfdff 0%, #ebf6f9 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(74, 144, 164, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 3rem;
}
.is_start .how-it-works-cta h3 {
    font-weight: 700;
}

.how-it-works-cta .button-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 1.2em;
    line-height: 1;
    transition: transform 0.3s ease;
    will-change: transform;
    padding-left: 1rem;
}

.how-it-works-cta .plan-button:hover .button-arrow {
    transform: translateX(4px);
}
.how-it-works-cta .cta-benefits {
    margin-top: 0.4rem;
    text-align: center;
    font-size: 0.9rem;
    color: #778599;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 15px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #34d058 0%, #25c990 100%);
}

/* -- trial_3_2 -- */
.how-it-works-cta.trial_3_2 strong {
    color:#666;
}
.how-it-works-cta.trial_3_2 .cta-benefits{
    /*color: #f57c00;*/
}
.how-it-works-cta.trial_3_2  .action-button.plan-button {
    background: linear-gradient(135deg, #4a9fb8 0%, #3d8ca8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 159, 184, 0.3);
}
.how-it-works-cta.trial_14_8 .action-button.plan-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}
/* -- trial_1 -- */
.how-it-works-cta.trial_1 strong {
    color:#666;
}
.how-it-works-cta.trial_1 .cta-benefits{
    /*color: #c62828;*/
}
.how-it-works-cta.trial_1  .action-button.plan-button {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    box-shadow: 0 6px 5px rgba(244, 67, 54, 0.3);
}
.how-it-works-cta.trial_1 .action-button.plan-button:hover {
    background: linear-gradient(135deg, #f95854 0%, #eb3b3b 100%);
    box-shadow: 0 7px 16px rgba(244, 67, 54, 0.3);
}
/* DEVICES SECTION */
.devices-section {
    background: white;
    padding: 6rem 2rem;
    margin: 0;
    text-align: center;
    position: relative;
}

.devices-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.devices-header {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.devices-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.devices-header.visible {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.devices-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.devices-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.devices-image-container {
    position: relative;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.devices-image-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.devices-image-container.visible {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}
.devices-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.devices-benefit-item {
    opacity: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafb 0%, #f1f5f8 100%);
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 164, 0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    transform: translate3d(0, 40px, 0);
}
.devices-benefit-item.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.devices-benefit-item.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.devices-benefit-item:nth-child(1) { transition-delay: 0.1s; }
.devices-benefit-item:nth-child(2) { transition-delay: 0.2s; }
.devices-benefit-item:nth-child(3) { transition-delay: 0.3s; }
.devices-benefit-item:hover {
    background: linear-gradient(135deg, #f4f7fa 0%, #edf3f6 100%);
    border-color: rgba(74, 144, 164, 0.12);
    box-shadow: 0 8px 32px rgba(74, 144, 164, 0.12);
}

.devices-benefit-icon {
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}
.icon-responsive {
    background: url('/static/img/home/icon-responsive.png') no-repeat center center;
    background-size: 42px auto;
    width: 46px;
    height: 39px;
}
.icon-private-cloud {
    background: url('/static/img/home/icon-private-cloud.svg') no-repeat center center;
    background-size: 45px auto;
    width: 45px;
    height: 39px;
}
.icon-everywhere {
    background: url('/static/img/home/icon-everywhere.png') no-repeat center center;
    background-size: 37px 37px;
    width: 37px;
    height: 37px;
}

.devices-benefit-item:hover .devices-benefit-icon {
    transform: scale(1.05);
}

.devices-benefit-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

.devices-benefit-highlight {
    color: #4a90a4;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}
.devices {
    width:100%;
    height:100%;
    max-width: 709px;
    padding-bottom: 3rem;
    margin: 0 auto;
}
.devices_dark {
    display:none;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .key-features-container {
        margin: 0 auto 8rem;
        padding: 3rem;
    }
    .features-grid {
        max-width: 1000px;
        gap: 1.2rem;
    }
}
@media (max-width: 1010px) {
    .lg-es .hero-title-tagline-light {
        font-size: 3.5rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.6rem;
    }
}
@media (max-width: 1000px) {
    .hero-content{
        gap: 3rem;
    }
}
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }
    .feature-card {
        padding: 1.8rem 1.3rem;
    }
    .feature-icon {
        font-size: 2rem;
        width: 3.5rem;
        height: 3.5rem;
        background-size: 3.5rem;
    }
    .feature-title {
        font-size: 1.1rem;
    }
    .feature-description {
        font-size: 0.95rem;
    }
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
        margin: 0 auto 4rem;
    }
    .connecting-line {
        display: none;
    }
    .step-icon-container {
        width: 70px;
        height: 70px;
    }
    .step-icon {
        width: 35px;
        height: 35px;
    }
}
@media (max-width: 950px) {
    .hero-title-tagline-light {
        font-size: 3.5rem;
    }
    .hero-title-tagline-bold {
        font-size: 3.4rem;
    }
    .hero-cta-title,
    .hero-subtitle {
        max-width: 414px;
    }
}
@media (max-width: 890px) {
    .lg-es .hero-title-tagline-light {
        font-size: 3.3rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.4rem;
    }
}
@media (max-width: 870px) {
    .trust-title {
        max-width: 500px;
    }
}
@media (max-width: 845px) {
    .hero-title-tagline-light {
        font-size: 3.2rem;
    }
    .hero-title-tagline-bold {
        font-size: 3.1rem;
    }
    .lg-es .hero-title-tagline-light {
        font-size: 3.1rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.2rem;
    }
}
@media (max-width: 812px) {
    .hero-title-tagline-light {
        font-size: 3.1rem;
    }
    .hero-title-tagline-bold {
        font-size: 3rem;
    }
}
@media (max-width: 800px) {
    .lg-es .hero-title-tagline-light {
        font-size: 2.9rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2rem;
    }
}
@media (max-width: 770px) {
    .hero-title-tagline-light {
        font-size: 3rem;
    }
    .hero-title-tagline-bold {
        font-size: 2.9rem;
    }
}
@media (max-width: 768px) {
    .brand-logo {
        font-size: 5rem;
    }
    .brand-tagline {
        font-size: 1rem;
    }
    .brand-quill, brand-quill-right {
        width: 46px;
        height: 81px;
    }
    .brand-quill {
        background-size: 46px auto;
        top: 2px;
        margin-right: 0.7rem;
    }
    .brand-logo{
        line-height: 5.2rem;
        height: 95px;
    }
    .brand-tagline {
        margin-top: 0.3rem;
    }
    .hero-section {
        padding-top: 2.5rem;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        max-width: 530px;
        margin: 0 auto 4rem;
    }
    .hero-text {
        margin: 0 auto;
        text-align: center;
    }
    .hero-title {
        margin: 0 auto 1rem;
        max-width: 488px;
    }
    .hero-title-tagline-light {
        font-size: 3.7rem;
    }
    .hero-title-tagline-bold {
        font-size: 3.6rem;
    }
    .lg-es .hero-title-tagline-light {
        font-size: 3.9rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.8rem;
    }
    .hero-cta-title {
        max-width: 100%;
        margin: 0px auto 2.5rem;
    }
    .hero-cta-container {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-top: 2rem;
        margin-bottom: 0;
        max-width: 500px;
    }
    .hero-image-container {
        transform: none;
        height: 300px;
    }
    .hero-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .key-features-section,
    .key-features-container{
        margin-bottom: 5rem;
    }
    .key-features-container {
        border-radius: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 400px;
    }

    .feature-card {
        padding: 1.5rem 1.2rem;
    }

    .feature-icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: 1.2rem;
    }

    .feature-icon {
        font-size: 1.8rem;
        width: 3rem;
        height: 3rem;
        background-size: 3rem;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .feature-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    /* TRUST & RESEARCH SECTION */
    .trust-container{
        max-width: 500px;
    }
    .trust-research-section {
        padding: 4rem 1.5rem;
    }
    .trust-title {
        max-width: 450px;
    }
    .trust-subtitle {
        font-size: 1rem;
    }
    .featured-quote {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }

    .featured-quote::before {
        font-size: 4rem;
        top: 5px;
        left: 15px;
    }

    .quote-info {
        padding-left: 63px;
    }
    .quote-slider {
        min-height: 250px;
    }

    .quote-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .quote-author {
        flex-direction: column;
        gap: 1rem;
    }

    .research-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .research-references {
        margin-top: 1.5rem;
    }

    .references-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.9rem;
    }

    .how-it-works-section {
        padding: 4rem 1.5rem 5rem;
    }
    .how-it-works-container{
        max-width: 600px;
    }

    .how-it-works-title {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    .how-it-works-subtitle {
        font-size: 1.1rem;
    }

    .steps-container {
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 0.95rem;
    }

    .how-it-works-cta {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .cta-description {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
        max-width: 450px;
    }
    .devices {
        padding-bottom: 1rem;
    }
    .devices-section {
        padding: 4rem 1.5rem;
    }

    .devices-title {
        font-size: 2rem;
        line-height: 2.2rem;
        margin-bottom: 1rem;
    }

    .devices-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .devices-benefits {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
        max-width: 400px;
    }

    .devices-benefit-item {
        padding: 1.25rem;
    }

    .devices-benefit-text {
        font-size: 1.05rem;
    }

    .devices-benefit-highlight {
        font-size: 1.1rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-pricing {
        padding: 2rem 1rem;
    }
}
@media (max-width: 650px) {
    .hero-title-tagline-light {
        font-size: 3.5rem;
    }
    .hero-title-tagline-bold {
        font-size: 3.4rem;
    }
    .hero-subtitle {
        margin-top: 1rem;
    }
    .lg-es .hero-title-tagline-light {
        font-size: 3.6rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.6rem;
    }
}
@media (max-width: 555px) {
    .hero-title-tagline-light {
        font-size: 3.3rem;
    }
    .hero-title-tagline-bold {
        font-size: 3.2rem;
    }
    .lg-es .hero-title-tagline-light {
        font-size: 3.3rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.4rem;
    }
    .hero-cta-title {
        max-width: 410px;
    }
    .hero-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .key-features-section {
        margin: 0 1rem;
    }
}
@media (max-width: 500px) {
    .hero-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .header-section {
        display: none;
    }
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }
    .hero-title {
        max-width: 420px;
        margin: 0.5rem auto 1.5rem;
    }
    .lg-es .hero-title-tagline-light {
        font-size: 3rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.2rem;
    }
    .lg-es .hero-cta-title{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero-subtitle {
        padding: 1.5rem 0.9rem 0;
        max-width: 444px;
    }
}
@media (max-width: 480px) {
    .lg-es .hero-cta-title{
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .key-features-container {
        border-radius: 10px;
    }
    .features-grid {
        gap: 1rem;
        max-width: 320px;
    }
    .feature-card {
        padding: 1.3rem 1rem;
    }
    .feature-icon-container {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    .feature-icon {
        font-size: 1.6rem;
        width: 2.5rem;
        height: 2.5rem;
        background-size: 2.5rem;
    }
    .feature-title {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    /* Ajustar delays en móvil para que sea más rápido */
    .feature-card:nth-child(1) { transition-delay: 0.05s; }
    .feature-card:nth-child(2) { transition-delay: 0.1s; }
    .feature-card:nth-child(3) { transition-delay: 0.15s; }
    .feature-card:nth-child(4) { transition-delay: 0.2s; }

    /* TRUST & RESEARCH SECTION */
    .trust-research-section {
        padding: 3rem 1rem;
    }

    .featured-quote {
        padding: 1.5rem 1.2rem;
    }

    .research-stats {
        padding: 1.5rem;
    }
    .how-it-works-section {
        padding: 3rem 1rem;
    }

    .step-icon-container {
        width: 60px;
        height: 60px;
    }

    .step-icon {
        width: 30px;
        height: 30px;
    }
    .devices-section {
        padding: 3rem 1rem;
    }

    .devices-title {
        font-size: 1.8rem;
    }

    .devices-subtitle {
        font-size: 1rem;
    }

    .devices-image-placeholder {
        height: 250px;
        font-size: 1rem;
    }

    .devices-image-placeholder::before {
        font-size: 1.5rem;
    }

    .devices-benefits {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .devices-benefit-item {
        padding: 1rem;
    }

    .devices-benefit-text {
        font-size: 1rem;
    }

    .devices-benefit-highlight {
        font-size: 1.05rem;
    }
    .how-it-works-cta {
        padding: 2rem 0.5rem;
        margin-top: 2rem;
    }
}
@media (max-width: 450px) {
    .hero-title{
        margin-bottom: 1rem;
    }
    .hero-title-tagline-light {
        font-size: 3.1rem;
    }
    .hero-title-tagline-bold {
        font-size: 3rem;
    }
    .lg-es .hero-title-tagline-light {
        font-size: 3rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.2rem;
    }
    .key-features-container{
        padding: 2.5rem;
    }
}
@media (max-width: 425px) {
    .nav-left, .nav-right {
        gap: 0.2em;
    }
    .hero-subtitle {
        padding: 1.5rem 0.8rem 0;
    }
    .hero-cta-container,
    .hero-image-container{
        margin: 0 0.2rem;
    }
    /* CTA: texto corto del botón y note extendida */
    .btn-text-full,
    .note-full {
        display: none;
    }
    .btn-text-short,
    .note-mobile {
        display: inline;
    }
}
@media (max-width: 405px) {
    .lg-es .hero-title-tagline-light {
        font-size: 2.8rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2.07rem;
    }
}
@media (max-width: 400px) {
    .key-features-container {
        padding: 2.5rem 1rem;
    }
}
@media (max-width: 385px) {
    .hero-title-tagline-light {
        font-size: 2.8rem;
    }
    .hero-title-tagline-bold {
        font-size: 2.7rem;
    }
}
@media (max-width: 372px) {
    .lg-es .hero-cta-container{
        padding-top: 0.5rem;
    }
    .lg-es .hero-title-tagline-light {
        font-size: 2.7rem;
    }
    .lg-es .hero-title-tagline-bold {
        font-size: 2rem;
    }
}
@media (min-width: 1200px) {
    .hero-section {
        padding: 4.5rem 2rem 6rem
    }
}
@media (min-width: 1200px) and (min-height: 850px) {
    .hero-section {
        max-width: 1180px;
        padding: 6.5rem 2rem 6rem
    }
    .hero-title{
        margin-bottom: 1.5rem;
    }
    .hero-subtitle,
    .hero-cta-title {
        max-width: 570px;
    }
    .hero-image-container{
        height: 430px;
    }
}
/* Tablet landscape optimization */
@media (min-width: 769px) and (max-width: 1023px) {
    .devices-benefits {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 900px;
    }
    .devices-benefit-item {
        padding: 1.25rem;
    }
}
