/* ====================================================================
   Landing.razor — CSS standalone (não usa MudBlazor pra ter aparência
   distinta de marketing, separada do app interno).
   ==================================================================== */

.public-layout {
    background: #fff;
    min-height: 100vh;
}

/* ────────── HERO ────────── */
.hero {
    background: linear-gradient(135deg, #594ae2 0%, #7c4dff 60%, #a18aff 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.hero-nav {
    position: relative;
    z-index: 2;
}

.hero-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 22px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.15s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-link-login {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 18px;
    border-radius: 6px;
}

.nav-link-cta {
    background: #fff;
    color: #594ae2 !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
}

.nav-link-cta:hover {
    background: #f0f0f5;
    opacity: 1 !important;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-highlight {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 14px;
    border-radius: 8px;
}

.hero-subtitle {
    font-size: 20px;
    margin: 0 auto 36px;
    max-width: 720px;
    line-height: 1.55;
    opacity: 0.95;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta-primary {
    background: #fff;
    color: #594ae2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-cta-large {
    font-size: 18px;
    padding: 18px 36px;
}

.hero-cta-note {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.9;
}

/* ────────── SEÇÕES ────────── */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-section,
.testimonials-section,
.pricing-section,
.final-cta {
    padding: 80px 0;
}

.features-section h2,
.testimonials-section h2,
.pricing-section h2,
.final-cta h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    color: #1a202c;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    text-align: center;
    margin: 0 0 56px;
}

.testimonials-section {
    background: #f9fafb;
}

/* ────────── FEATURES GRID ────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: #c7d2fe;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1a202c;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ────────── TESTIMONIALS ────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 24px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    font-size: 14px;
    color: #6b7280;
}

.testimonial-author strong {
    color: #1a202c;
    font-style: normal;
}

/* ────────── PRICING ────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 32px;
    max-width: 850px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
}

.pricing-card-featured {
    border-color: #594ae2;
    box-shadow: 0 10px 40px rgba(89, 74, 226, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #594ae2;
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 24px;
    margin: 0 0 6px;
    color: #1a202c;
}

.pricing-tagline {
    color: #6b7280;
    margin: 0 0 24px;
    font-size: 14px;
}

.pricing-price {
    margin: 24px 0 8px;
}

.price-currency {
    font-size: 24px;
    color: #6b7280;
    vertical-align: top;
    font-weight: 500;
}

.price-value {
    font-size: 56px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -1px;
}

.price-period {
    font-size: 16px;
    color: #6b7280;
}

.pricing-annual {
    color: #594ae2;
    font-size: 14px;
    margin: 0 0 28px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-cta-card {
    display: block;
    background: #594ae2;
    color: #fff;
}

.btn-cta-card:hover {
    background: #4a3fc4;
    color: #fff;
    transform: none;
}

.pricing-card-featured .btn-cta-card {
    background: linear-gradient(135deg, #594ae2, #7c4dff);
}

.pricing-note {
    text-align: center;
    color: #6b7280;
    margin: 48px auto 0;
    font-size: 14px;
}

/* ────────── FINAL CTA ────────── */
.final-cta {
    background: linear-gradient(135deg, #594ae2 0%, #7c4dff 100%);
    color: #fff;
    text-align: center;
}

.final-cta h2 {
    color: #fff;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    margin: 0 0 36px;
    opacity: 0.95;
}

/* ────────── FOOTER ────────── */
.public-footer {
    background: #1a202c;
    color: #d1d5db;
    padding: 40px 0;
}

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

.footer-brand {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-copy {
    font-size: 13px;
    color: #9ca3af;
}

/* ────────── RESPONSIVO ────────── */
@media (max-width: 768px) {
    .hero-content {
        padding: 60px 20px 70px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .nav-links a:not(.nav-link-cta):not(.nav-link-login) {
        display: none;
    }

    .features-section h2,
    .testimonials-section h2,
    .pricing-section h2,
    .final-cta h2 {
        font-size: 28px;
    }

    .features-section,
    .testimonials-section,
    .pricing-section,
    .final-cta {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }

    .nav-link-login {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
