/* Sample Report Styles - Modern Design */
html {
    scroll-behavior: smooth;
}

.sample-report {
    padding: 0;
    padding-top: 90px;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.report-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.report-header::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.report-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.report-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.sample-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s ease;
}

.sample-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.report-content {
    max-width: 1000px;
    margin: 0 auto;
}

.report-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
    padding-top: 3rem;
}

.report-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.report-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.report-section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.report-section h2 i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.profile-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
}

.profile-info h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.profile-info p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-info p strong {
    color: var(--primary-color);
    min-width: 120px;
}

.bazi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pillar-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pillar-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.element {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.element:hover {
    transform: scale(1.05);
}

.element.fire { 
    background: linear-gradient(135deg, #ef4444, #dc2626); 
    color: white; 
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.element.earth { 
    background: linear-gradient(135deg, #a3a3a3, #737373); 
    color: white; 
    box-shadow: 0 4px 15px rgba(163, 163, 163, 0.4);
}
.element.metal { 
    background: linear-gradient(135deg, #6b7280, #4b5563); 
    color: white; 
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.4);
}
.element.water { 
    background: linear-gradient(135deg, #3b82f6, #2563eb); 
    color: white; 
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.element.wood { 
    background: linear-gradient(135deg, #22c55e, #16a34a); 
    color: white; 
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.element-chart {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.element-bars {
    margin: 1rem 0;
}

.element-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.element-label {
    width: 60px;
    font-weight: 500;
}

.bar-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bar {
    height: 24px;
    border-radius: 12px;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bar.wood { background: linear-gradient(135deg, #22c55e, #16a34a); }
.bar.fire { background: linear-gradient(135deg, #ef4444, #dc2626); }
.bar.earth { background: linear-gradient(135deg, #a3a3a3, #737373); }
.bar.metal { background: linear-gradient(135deg, #6b7280, #4b5563); }
.bar.water { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.element-insights p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.compatibility-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.compatibility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.compatibility-score {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.score {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compatibility-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.strength-item, .challenge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
}

.strength-item i, .challenge-item i {
    font-size: 1.2rem;
}

.text-success { color: #22c55e; }
.text-warning { color: #f59e0b; }

.lucky-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.date-card {
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #D4A84F !important;
}

.date-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.date-card.excellent { 
    background: linear-gradient(135deg, #dcfce7, #bbf7d0); 
    border: 2px solid #22c55e;
}
.date-card.excellent::before { background: #22c55e; }

.date-card.good { 
    background: linear-gradient(135deg, #dbeafe, #bfdbfe); 
    border: 2px solid #3b82f6;
}
.date-card.good::before { background: #3b82f6; }

.date-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.date {
    font-weight: 700;
    font-size: 1.2rem;
    color: #D4A84F !important;
}

.rating {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: #D4A84F !important;
}

.activities {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity {
    font-size: 0.9rem;
    color: #D4A84F !important;
    font-weight: 500;
}

.timing-tips {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.timing-tips h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.timing-tips p {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Additional specific rules for Lucky Dates text */
.lucky-dates-grid .date-card * {
    color: #D4A84F !important;
}

.lucky-dates-grid .date-card .date {
    color: #D4A84F !important;
}

.lucky-dates-grid .date-card .rating {
    color: #D4A84F !important;
}

.lucky-dates-grid .date-card .activity {
    color: #D4A84F !important;
}

.fengshui-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tip-card i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.name-analysis-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.name-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.numerology-score {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 0.5rem;
}

.life-path {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name-insights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
}

.insight-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.report-cta {
    background: var(--gradient-primary);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.report-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 8px 25px rgba(212, 168, 79, 0.4); }
    100% { box-shadow: 0 12px 35px rgba(212, 168, 79, 0.8); }
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.1); }
    50% { transform: rotate(5deg) scale(1.05); }
    75% { transform: rotate(-3deg) scale(1.08); }
}

@keyframes fade-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

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

@keyframes pulse-cta {
    0%, 100% { transform: scale(1); box-shadow: 0 15px 40px rgba(212, 168, 79, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 20px 50px rgba(212, 168, 79, 0.7); }
}

@keyframes shimmer-cta {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Custom scroll positioning for sections */
.report-section:target {
    scroll-margin-top: 0;
    margin-top: -80px;
    padding-top: 120px;
}

/* Ensure first section starts properly */
.report-content > .report-section:first-child {
    margin-top: 0;
}

.cta-content h3 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .report-header h1 {
        font-size: 2.4rem;
    }

    .report-header h2 {
        font-size: 1.4rem;
    }

    .value-alert {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .social-proof-bar {
        padding: 20px 15px;
    }

    .social-proof-bar > div {
        flex-direction: column;
        gap: 15px;
    }

    .benefits-section {
        padding: 25px 20px;
    }

    .benefits-section > div {
        grid-template-columns: 1fr;
    }

    .report-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

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

    .lucky-dates-grid {
        grid-template-columns: 1fr;
    }

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

    .name-score {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }

    .value-breakdown {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        font-size: 1.2rem;
        padding: 18px 30px;
        width: 100%;
        max-width: 350px;
    }

    .report-cta {
        padding: 2rem 1rem;
    }

    .urgency-banner {
        font-size: 0.9rem;
        padding: 12px;
    }

    .guarantee-badge {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .guarantee-badge > div {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
