/* AI Checklist Page Styles */

/* Hero Section */
.checklist-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.checklist-hero::before {
    content: '✓';
    position: absolute;
    top: -20%;
    right: -5%;
    font-size: 300px;
    color: rgba(170, 212, 0, 0.05);
    transform: rotate(-15deg);
}

.checklist-hero h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.hero-quote {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.hero-quote blockquote {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

.quote-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Introduction Section */
.checklist-intro {
    padding: 4rem 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Main Checklist Section */
.checklist-main {
    padding: 5rem 0;
    background-color: var(--bg-dark);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* Category Styling */
.checklist-category {
    background-color: var(--bg-card);
    border-radius: 0.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.checklist-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(170, 212, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background-color: rgba(170, 212, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 0;
}

.category-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Checklist Items */
.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 1.25rem;
    background-color: var(--bg-dark);
    border-radius: 0.375rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.checklist-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 1rem;
    margin-top: 2px;
    cursor: pointer;
    appearance: none;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checklist-checkbox:checked {
    background-color: var(--primary-color);
}

.checklist-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-dark);
    font-size: 16px;
    font-weight: bold;
}

.item-content h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.item-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Results Section */
.checklist-results {
    padding: 4rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--primary-color);
}

.results-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.results-card h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.score-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.score-ring {
    position: relative;
}

.score-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 12;
}

.score-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 12;
    stroke-dasharray: 502.7;
    stroke-dashoffset: 502.7;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 1s ease-in-out;
    filter: drop-shadow(0 0 10px rgba(170, 212, 0, 0.5));
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-text #scorePercentage {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.score-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
}

.score-message h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.score-message p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* CTA Section */
.checklist-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    text-align: center;
}

.checklist-cta h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.checklist-cta > p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-note {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(170, 212, 0, 0.1);
    border-radius: 0.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
}

.cta-note strong {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .checklist-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-quote blockquote {
        font-size: 1.25rem;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-header h3 {
        font-size: 1.5rem;
    }
    
    .checklist-category {
        padding: 1.5rem;
    }
    
    .checklist-item {
        padding: 1rem;
    }
    
    .item-content h4 {
        font-size: 1rem;
    }
    
    .item-content p {
        font-size: 0.9rem;
    }
}

/* Animation for checked items */
@keyframes checkBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.checklist-checkbox:checked {
    animation: checkBounce 0.3s ease;
}

/* Print Styles */
@media print {
    .checklist-category {
        page-break-inside: avoid;
    }
    
    .navbar,
    .footer,
    .checklist-cta {
        display: none;
    }
    
    .checklist-checkbox:checked {
        background-color: #000;
    }
}