/* Persona Pages Shared Styles */

.persona-hero {
    color: white;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (min-width: 1400px) {
    .persona-hero {
        background-size: auto 450px;
        background-position: center center;
    }
}

.persona-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    z-index: 1;
}

/* Lateral fade effect for wide screens */
.persona-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        #667eea 0%,
        rgba(102, 126, 234, 0.9) 5%,
        rgba(102, 126, 234, 0.6) 15%,
        rgba(102, 126, 234, 0.2) 25%,
        transparent 35%,
        transparent 65%,
        rgba(118, 75, 162, 0.2) 75%,
        rgba(118, 75, 162, 0.6) 85%,
        rgba(118, 75, 162, 0.9) 95%,
        #764ba2 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@media (min-width: 1400px) {
    .persona-hero::after {
        opacity: 1;
    }
}

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

/* Specific hero backgrounds for each persona level */
.persona-hero-beginner {
    background-image: url('/assets/img/pri.webp');
}

.persona-hero-expert {
    background-image: url('/assets/img/exp.webp');
}

.persona-hero-pro {
    background-image: url('/assets/img/pro.webp');
}

.persona-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.persona-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.persona-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Sections */
.persona-section {
    padding: 4rem 0;
}

.persona-section:nth-child(even) {
    background: var(--bg-secondary, #f8f9fc);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    text-align: center;
}

/* User Profile */
.characteristics-list {
    max-width: 700px;
    margin: 2rem auto;
    list-style: none;
    padding: 0;
}

.characteristics-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    color: #4a5568;
    line-height: 1.6;
    position: relative;
}

.characteristics-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Pricing Box */
.pricing-box {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.pricing-box .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #667eea;
    margin: 1rem 0;
}

.pricing-box .price small {
    font-size: 1.5rem;
}

.pricing-box .price-period {
    font-size: 1.25rem;
    color: #718096;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.comparison-list li {
    padding: 0.5rem 0;
    color: #4a5568;
}

.savings {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.5rem 0;
}

.highlight-text {
    color: #667eea;
    font-weight: 600;
    margin-top: 1rem;
}

/* Benefits */
.benefits-list {
    max-width: 600px;
    margin: 2rem auto;
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    color: #4a5568;
    position: relative;
}

.benefits-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cta-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Upgrade Path Section */
.upgrade-section {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 4rem 0;
}

.upgrade-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.upgrade-section .section-description {
    color: white;
    opacity: 0.95;
}

.upgrade-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.upgrade-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.upgrade-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.upgrade-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.upgrade-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.upgrade-card p {
    opacity: 0.95;
    line-height: 1.6;
}

.upgrade-cta-box {
    text-align: center;
    margin-top: 3rem;
}

.upgrade-cta-button {
    display: inline-block;
    background: white;
    color: #11998e;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upgrade-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.upgrade-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Pro Level Upgrade Section (no external upgrade) */
.max-level-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.max-level-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.max-level-section .section-description {
    color: white;
    opacity: 0.95;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.max-level-benefits {
    max-width: 700px;
    margin: 2rem auto;
    list-style: none;
    padding: 0;
}

.max-level-benefits li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    line-height: 1.6;
}

.max-level-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.marketplace-highlight {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.marketplace-highlight p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .persona-hero {
        height: 350px;
    }

    .persona-hero h1 {
        font-size: 2rem;
    }

    .pricing-box {
        padding: 2rem;
    }

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

    .feature-images {
        grid-template-columns: 1fr;
    }

    .upgrade-benefits {
        grid-template-columns: 1fr;
    }
}
