/* ===============================
   Premium Reports Section - The $3M Premium Look
   =============================== */

/* 1. Premium Variables */
:root {
    --premium-gold: #d4af37;
    --premium-dark: #0f0f23;
    --premium-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Report Layout - Two Column Grid */
.report-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* Climate Zone Grid - 3 columns on desktop, 1 on mobile */
.climate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive Text */
.mobile-responsive-text {
    max-width: 750px;
}

/* 2. Reports Hero Section */
.reports-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.reports-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.reports-hero-content {
    position: relative;
    z-index: 1;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.premium-badge i {
    font-size: 0.9rem;
}

.reports-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reports-hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* 3. Reports Grid */
.reports-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* 4. Premium Report Card */
.report-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid #e2e8f0;
}

.report-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: #10b981;
}

.report-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.report-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.report-category {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.report-card-header h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.report-card-body {
    padding: 1.5rem 2rem 2rem;
}

.report-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.report-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.report-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.report-features li:last-child {
    border-bottom: none;
}

.report-features li i {
    color: #10b981;
    font-size: 0.85rem;
}

.report-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.report-price {
    display: flex;
    flex-direction: column;
}

.report-price .price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
}

.report-price .price-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Featured Report Card */
.report-card.featured {
    border: 2px solid #d4af37;
    position: relative;
}

.report-card.featured::before {
    content: '⭐ FEATURED';
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 5. Report Landing Page Styles */
.report-landing {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.report-landing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.report-landing-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.report-landing-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.9rem;
}

.report-landing-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.report-landing-meta i {
    color: #10b981;
}

/* 6. Paywall & Premium Content */
.premium-preview {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.premium-preview h2 {
    color: #0f172a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.premium-locked {
    position: relative;
    overflow: hidden;
}

.premium-locked-content {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    opacity: 0.6;
}

.paywall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.9) 30%,
            rgba(255, 255, 255, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.paywall-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: white;
    position: relative;
    overflow: hidden;
}

.paywall-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.paywall-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.paywall-icon i {
    font-size: 1.5rem;
    color: #d4af37;
}

.paywall-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.paywall-box p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.paywall-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.paywall-price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.btn-unlock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #0f172a !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.paywall-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.paywall-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.paywall-features i {
    color: #10b981;
}

/* 7. Purchase Sidebar */
.purchase-sidebar {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    position: sticky;
    top: 100px;
}

.purchase-sidebar h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.purchase-price-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.purchase-price-box .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
}

.purchase-price-box .label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.includes-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.includes-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.includes-list li:last-child {
    border-bottom: none;
}

.includes-list li i {
    color: #10b981;
}

/* 8. Responsive Design */
@media (max-width: 1024px) {
    .report-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .report-landing-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .purchase-sidebar {
        position: static !important;
        order: -1;
    }
}

@media (max-width: 768px) {
    .reports-hero {
        padding: 4rem 0 2rem;
    }

    .reports-hero h1 {
        font-size: 1.8rem;
    }

    .reports-hero p {
        font-size: 1rem;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-card.featured::before {
        right: -35px;
        font-size: 0.6rem;
    }

    .report-landing-header h1 {
        font-size: 1.8rem;
    }

    .paywall-box {
        padding: 1.5rem;
    }

    .paywall-price {
        font-size: 2rem;
    }

    .premium-preview {
        padding: 1.5rem;
    }

    .premium-preview h2 {
        font-size: 1.5rem;
    }

    .premium-preview h3 {
        font-size: 1.2rem;
    }

    .purchase-sidebar {
        padding: 1.5rem;
        position: static;
    }

    .climate-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-responsive-text {
        max-width: 100%;
        padding: 0 1rem;
    }

    .purchase-price-box .price {
        font-size: 2rem;
    }

    .includes-list li {
        font-size: 0.85rem;
    }

    /* Fix inline grid layouts */
    [style*="grid-template-columns: 1fr 350px"],
    [style*="grid-template-columns:1fr 350px"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns:repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix table overflow */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Climate zone cards */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .reports-hero h1 {
        font-size: 1.5rem;
    }

    .premium-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .premium-preview {
        padding: 1rem;
    }

    .premium-preview h2 {
        font-size: 1.3rem;
    }

    .climate-grid {
        grid-template-columns: 1fr;
    }

    /* Fix all grid to single column on very small screens */
    [style*="grid-template-columns: repeat(2, 1fr)"],
    [style*="grid-template-columns:repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns:repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .btn-buy {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .purchase-price-box .price {
        font-size: 1.8rem;
    }
}

/* 9. Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.report-card {
    animation: fadeInUp 0.5s ease forwards;
}

.report-card:nth-child(2) {
    animation-delay: 0.1s;
}

.report-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* 10. Dark Mode Support for Report Cards */
@media (prefers-color-scheme: dark) {
    .reports-section {
        background: #0f172a;
    }

    .report-card {
        background: #1e293b;
        border-color: #334155;
    }

    .report-card-body {
        background: #1e293b;
    }

    .report-description {
        color: #94a3b8;
    }

    .report-features li {
        color: #cbd5e1;
        border-color: #334155;
    }

    .report-card-footer {
        border-color: #334155;
    }

    .report-price .price-value {
        color: #f1f5f9;
    }
}