html {
    scroll-behavior: smooth;
}
.anchor-offset {
  scroll-margin-top: 80px; /* ajusta a tu header o lo que necesites */
}
.pg_install .breadcrumb {
    max-width: 1100px;
}
/* MAIN CONTAINER */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* HERO SECTION */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4a9fb8 0%, #3d8da0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(74, 159, 184, 0.3);
}
.hero-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}
.platform-icon {
    font-size: 2.8rem;
}
.platform-icon svg {
    transition: transform 0.3s ease;
}

.platform-icon:hover svg {
    transform: scale(1.1);
}
.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* PLATFORMS SECTION */
.platforms-section {
    padding: 3rem 4rem;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin: 1rem auto 7rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    max-width: 900px;
    width: fit-content;
    margin: 0 auto 2rem;
    justify-items: center;
}

.platform-card {
    background: white;
    border-radius: 16px;
    padding: 1rem 1rem 2rem;
    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;
    max-width: 320px;
    align-items: center;
}

.platform-card:hover {
/*    border-color: rgb(71, 159, 184, 0.40);*/
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.12);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.platform-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    height: 80px;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #4a9fb8 0%, #3d8da0 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-link:hover {
    box-shadow: 0 8px 16px rgba(74, 159, 184, 0.4);
}

.platform-link svg {
    width: 20px;
    height: 20px;
}
/* BENEFITS SECTION */
.benefits-section {
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.benefit-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.7rem;
}
h3.benefit-title {
    margin-bottom: 0.3rem;
}

.benefit-text {
    font-size: 0.85rem;
    color: #5a6c7d;
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* INSTRUCTIONS SECTION - HORIZONTAL */
.instructions-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.instructions-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.instructions-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.instructions-header p {
    color: #5a6c7d;
    font-size: 0.95rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
    margin: 0 auto;
    max-width: 800px;
}

.step-item {
    text-align: center;
    margin: 0 auto;
}

.step-screenshot {
    background: #f9fafb;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 1rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.16);
    transition: transform 0.3s ease, box-shadow 0.6s ease;
    border: 2px solid #313131;
}

.step-item:hover .step-screenshot {
    transform: scale(1.02);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.screenshot-text {
    font-size: 0.8rem;
    color: #9ca3af;
}

.step-number {
    background: #4a9fb8;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 0.8rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    white-space: nowrap;
}

.step-text {
    font-size: 0.85rem;
    color: #5a6c7d;
    line-height: 1.5;
    white-space: nowrap;
}

.step-arrow {
    font-size: 2rem;
    color: #4a9fb8;
    font-weight: 700;
}

/* Info Banner (completion message) */
.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #E0F2F7 0%, #B2E5F0 100%);
    border-radius: 8px;
    margin-top: 3.5rem;
}

.info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content {
    flex: 1;
}

.info-content p {
    margin: 0;
}

.info-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.info-text {
    color: #4B5563;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .info-banner {
        padding: 1rem;
    }
}

.button-arrow {
    display: inline-block;
    font-size: 1.2em;
    transition: transform 0.3s ease;
    will-change: transform;
    padding-left: 1rem;
}
.plan-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

.plan-button:hover .button-arrow {
    transform: translateX(4px);
}
/* CTA SECTION */
.cta-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.cta-section p {
    color: #5a6c7d;
    font-size: 1rem;
    margin-bottom: 1.8rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #34d399 0%, #2fb886 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(52, 211, 153, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(52, 211, 153, 0.4);
}

.cta-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
}

/* CTA SECTION - BASE */
.pg_install .cta-status {
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid #e5e7eb;
}


.pg_install .cta-status p {
    color: #5a6c7d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* NOT LOGGED STATE */
.pg_install .cta-status.noplan {
    background: linear-gradient(135deg, #fcfdff 0%, #ebf6f9 100%);
}


/* Platform icon (Android/iOS) */
.platform-icon svg {
    width: 60px;
    height: 60px;
}

/* Benefit icons */
.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

/* RESPONSIVE */
@media (max-width: 920px) {
    .steps-grid {
        gap: 0.5rem;
    }
    .platforms-grid {
        gap: 1rem;
    }
}
@media (max-width: 830px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .platforms-section {
        padding: 3rem 0;
    }
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }

    .step-screenshot {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin: 0 auto 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .instructions-section,
    .cta-section {
        padding: 2rem 1.5rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .main-container {
        padding: 1.5rem 1rem 3rem;
    }
}