/* Patreon Page Styles for RFS-Portable-BTS */

/* Performance optimizations */
* {
    box-sizing: border-box;
}

body {
    contain: layout style;
}

/* CSS Grid optimizations */
.tiers-grid,
.content-grid,
.impact-grid,
.testimonials-grid,
.faq-grid {
    contain: layout;
}

/* Reduce paint operations */
.tier-card,
.content-card,
.testimonial-card,
.faq-item,
.impact-stat {
    contain: layout style paint;
}

/* Optimize animations */
.tier-card,
.content-card,
.testimonial-card,
.btn-tier,
.btn-patreon,
.btn-primary,
.btn-secondary {
    will-change: transform, box-shadow;
}

/* Lazy loading placeholder */
.lazy-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, transparent 63%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.sticky-cta-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.sticky-cta-btn {
    background: white;
    color: #ff6b6b;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sticky-cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .sticky-cta-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sticky-cta-text {
        font-size: 1rem;
    }
    
    .sticky-cta-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* Value Props */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-weight: 500;
}

.value-icon {
    font-size: 1.5rem;
}

/* Tier Descriptions */
.tier-description {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Patreon CTA Section */
.patreon-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.patreon-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.btn-patreon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff4757;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

.btn-patreon:hover {
    background: #ff3742;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
}

.patreon-icon {
    font-size: 1.3rem;
}

/* Tier Benefits Section */
.tier-benefits {
    margin: 4rem 0;
}

.tier-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tier-card.featured {
    border-color: #ff6b6b;
    transform: scale(1.05);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tier-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.tier-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ff6b6b;
    margin: 1.5rem 0;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.tier-price span {
    font-size: 1.4rem;
    color: #7f8c8d;
    font-weight: 500;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #34495e;
}

.btn-tier {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff6b6b;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-tier:hover {
    background: #ff4757;
    transform: translateY(-2px);
}

/* Exclusive Content Section */
.exclusive-content {
    margin: 4rem 0;
}

.exclusive-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.content-image {
    height: 200px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-image img {
    transform: scale(1.1);
}

.content-info {
    padding: 1.5rem;
}

.content-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.content-info p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-info ul {
    list-style: none;
    padding: 0;
}

.content-info li {
    padding: 0.3rem 0;
    color: #34495e;
    position: relative;
    padding-left: 1.5rem;
}

.content-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Support Impact Section */
.support-impact {
    margin: 4rem 0;
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 15px;
}

.support-impact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-item {
    text-align: center;
    padding: 1.5rem;
}

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

.impact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.impact-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    margin: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6b6b;
}

.testimonial-content p {
    font-style: italic;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    margin: 4rem 0;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 4rem 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    background: #ff4757;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
}

.cta-note {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-note p {
    font-size: 1rem;
    opacity: 0.8;
}

.cta-note a {
    color: white;
    text-decoration: underline;
}

.cta-note a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .value-props {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .patreon-cta {
        padding: 2rem 1rem;
    }
    
    .patreon-cta h2 {
        font-size: 2rem;
    }
    
    .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .tier-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        min-height: 48px;
    }
    
    .btn-tier {
        min-height: 48px;
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    
    .btn-patreon {
        min-height: 48px;
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .stats-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .patreon-cta h2 {
        font-size: 1.8rem;
    }
    
    .tier-benefits h2,
    .exclusive-content h2,
    .support-impact h2,
    .testimonials h2,
    .faq h2,
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .tier-price {
        font-size: 2rem;
    }
    
    .tier-card {
        padding: 1.5rem;
    }
    
    .content-info {
        padding: 1rem;
    }
    
    .impact-item {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

/* Project Impact Section */
.project-impact {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    text-align: center;
}

.project-impact h2 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.impact-stat {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.impact-description {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6b6b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.testimonial-author {
    font-weight: 600;
    color: #ff6b6b;
    font-size: 0.95rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.badge-icon {
    font-size: 1.1rem;
}

/* Urgency Message */
.urgency-message {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.urgency-message p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-icon {
    font-size: 1.2rem;
}

/* CTA Note */
.cta-note {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.cta-note p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .trust-indicators {
        gap: 1rem;
    }
    
    .trust-item {
        font-size: 0.8rem;
    }
    
    .cta-note {
        padding: 0.8rem 1rem;
    }
    
    .cta-note p {
        font-size: 0.9rem;
    }
}

/* End of Patreon CSS */
