/* ============================================ */
/* HighPass Widgets Frontend Styles */
/* ============================================ */

/* Hero Widget (Legacy Layout) */
.highpass-hero.legacy-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.legacy-layout .hero-content {
    max-width: 800px;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.legacy-layout .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legacy-layout .hero-title .highlight {
    color: #0096d9;
}

.legacy-layout .hero-title .highlight.with-underline {
    border-bottom: 3px solid #0096d9;
    padding-bottom: 2px;
}

.legacy-layout .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #6c5ce7;
    font-weight: 600;
}

.legacy-layout .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.legacy-layout .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legacy-layout .hero-btn-primary,
.legacy-layout .hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legacy-layout .hero-btn-primary {
    background-color: #0066cc;
    color: #fff;
    border: 2px solid #0066cc;
}

.legacy-layout .hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.legacy-layout .hero-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.legacy-layout .hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Features Grid Widget (Legacy Layout) */
.highpass-features-grid.legacy-layout {
    padding: 3rem 0;
}

.legacy-layout .features-section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 700;
}

.legacy-layout .features-section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
}

.legacy-layout .features-grid {
    display: grid;
    gap: 2rem;
}

.legacy-layout .feature-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
}

.legacy-layout .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.legacy-layout .feature-icon {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 1rem;
}

.legacy-layout .feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333;
}

.legacy-layout .feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Pricing Widget (Legacy Layout) */
.highpass-pricing.legacy-layout {
    padding: 3rem 0;
}

.legacy-layout .pricing-section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
}

.legacy-layout .pricing-section-title .highlight {
    color: #0096d9;
}

.legacy-layout .pricing-section-title .highlight.with-underline {
    border-bottom: 3px solid #0096d9;
    padding-bottom: 2px;
}

.legacy-layout .pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: #333;
}

.legacy-layout .pricing-toggle label {
    cursor: pointer;
}

.legacy-layout .billing-toggle-checkbox {
    width: 50px;
    height: 28px;
    cursor: pointer;
}

.legacy-layout .pricing-cards {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.legacy-layout .pricing-card {
    padding: 2.5rem;
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.legacy-layout .pricing-card:hover {
    border-color: #0066cc;
    transform: translateY(-5px);
}

.legacy-layout .pricing-card.featured {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    border: none;
}

.legacy-layout .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.3);
}

.legacy-layout .plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.legacy-layout .plan-description {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.legacy-layout .pricing-card.featured .plan-description {
    color: #b0b0b0;
}

.legacy-layout .pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.legacy-layout .pricing-amount .currency {
    font-size: 1.2rem;
    color: #333;
}

.legacy-layout .pricing-amount .amount {
    font-size: 2.5rem;
    color: #0066cc;
}

.legacy-layout .pricing-card.featured .pricing-amount .amount,
.legacy-layout .pricing-card.featured .pricing-amount .currency {
    color: #fff;
}

.legacy-layout .pricing-amount .period {
    color: #666;
}

.legacy-layout .pricing-card.featured .pricing-amount .period {
    color: #b0b0b0;
}

.legacy-layout .pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 1rem 0 2rem;
}

.legacy-layout .pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.legacy-layout .pricing-card.featured .pricing-btn {
    background-color: #fff;
    color: #0066cc;
}

.legacy-layout .pricing-card.featured .pricing-btn:hover {
    background-color: #f0f0f0;
}

.legacy-layout .plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legacy-layout .plan-features li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.legacy-layout .pricing-card.featured .plan-features li {
    color: #b0b0b0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legacy-layout .plan-features li:last-child {
    border-bottom: none;
}

.legacy-layout .checkmark {
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Testimonials Widget (Legacy Layout) */
.highpass-testimonials.legacy-layout {
    padding: 3rem 0;
}

.legacy-layout .testimonials-section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 700;
}

.legacy-layout .testimonials-section-title .highlight {
    color: #0096d9;
}

.legacy-layout .testimonials-section-title .highlight.with-underline {
    border-bottom: 3px solid #0096d9;
    padding-bottom: 2px;
}

.legacy-layout .testimonials-container {
    display: grid;
    gap: 2rem;
}

.legacy-layout .testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    list-style: none;
    text-align: left;
}

.legacy-layout .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.legacy-layout .rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.legacy-layout .star {
    color: #ffc107;
    font-size: 1.2rem;
}

.legacy-layout .testimonial-content {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #555;
}

.legacy-layout .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legacy-layout .author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.legacy-layout .author-info {
    flex: 1;
}

.legacy-layout .author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.legacy-layout .author-position {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0;
}

/* CTA Widget (Legacy Layout) */
.highpass-cta.legacy-layout {
    width: 100%;
}

.legacy-layout .cta-section {
    padding: 4rem 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
}

.legacy-layout .cta-content {
    max-width: 600px;
    color: #fff;
    z-index: 2;
}

.legacy-layout .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.legacy-layout .cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.legacy-layout .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #fff;
    color: #0066cc;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.legacy-layout .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.legacy-layout .cta-button svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .legacy-layout .hero-title {
        font-size: 2.5rem;
    }

    .legacy-layout .hero-subtitle {
        font-size: 1.3rem;
    }

    .legacy-layout .hero-description {
        font-size: 1.05rem;
    }

    .legacy-layout .hero-content {
        max-width: 600px;
    }

    .legacy-layout .features-section-title {
        font-size: 2.2rem;
    }

    .legacy-layout .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .legacy-layout .feature-card {
        padding: 2rem;
    }

    .legacy-layout .feature-icon {
        font-size: 3rem;
    }

    .legacy-layout .feature-title {
        font-size: 1.3rem;
    }

    .legacy-layout .pricing-section-title {
        font-size: 2.2rem;
    }

    .legacy-layout .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .legacy-layout .pricing-card.featured {
        transform: scale(1);
    }

    .legacy-layout .testimonials-section-title {
        font-size: 2.2rem;
    }

    .legacy-layout .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .legacy-layout .testimonial-card {
        padding: 2rem;
    }

    .legacy-layout .cta-title {
        font-size: 2.2rem;
    }

    .legacy-layout .cta-description {
        font-size: 1.05rem;
    }

    .legacy-layout .cta-button {
        padding: 0.9rem 1.8rem;
    }
}

@media (max-width: 768px) {
    .legacy-layout .hero-title {
        font-size: 2rem;
    }

    .legacy-layout .hero-subtitle {
        font-size: 1.1rem;
    }

    .legacy-layout .hero-description {
        font-size: 1rem;
    }

    .legacy-layout .hero-buttons {
        gap: 0.5rem;
    }

    .legacy-layout .hero-btn-primary,
    .legacy-layout .hero-btn-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .legacy-layout .features-section-title {
        font-size: 2rem;
    }

    .legacy-layout .features-grid {
        grid-template-columns: 1fr;
    }

    .legacy-layout .feature-card {
        padding: 1.5rem;
    }

    .legacy-layout .feature-icon {
        font-size: 2.5rem;
    }

    .legacy-layout .pricing-section-title {
        font-size: 2rem;
    }

    .legacy-layout .pricing-cards {
        grid-template-columns: 1fr;
    }

    .legacy-layout .pricing-card.featured {
        transform: scale(1);
    }

    .legacy-layout .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .legacy-layout .plan-name {
        font-size: 1.25rem;
    }

    .legacy-layout .pricing-amount .amount {
        font-size: 2rem;
    }

    .legacy-layout .pricing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }

    .legacy-layout .testimonials-section-title {
        font-size: 2rem;
    }

    .legacy-layout .testimonials-container {
        grid-template-columns: 1fr;
    }

    .legacy-layout .testimonial-card {
        padding: 1.5rem;
    }

    .legacy-layout .cta-title {
        font-size: 1.75rem;
    }

    .legacy-layout .cta-description {
        font-size: 1rem;
    }

    .legacy-layout .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .legacy-layout .hero-title {
        font-size: 1.5rem;
    }

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

    .legacy-layout .features-grid,
    .legacy-layout .pricing-cards,
    .legacy-layout .testimonials-container {
        grid-template-columns: 1fr;
    }

    .legacy-layout .hero-buttons {
        flex-direction: column;
    }

    .legacy-layout .hero-btn-primary,
    .legacy-layout .hero-btn-secondary {
        width: 100%;
    }
}

/* ============================================ */
/* Logo Widget Styles */
/* ============================================ */

.hp-logo-widget {
    display: inline-block;
}

.hp-logo-widget .hp-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hp-logo-widget .hp-logo-link:hover {
    opacity: 0.8;
}

.hp-logo-widget .hp-logo-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.hp-logo-widget .hp-brand__text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
}