/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Progress Section */
.progress-section {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.progress-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.progress-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1f2937;
}

.progress-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
}

.progress-count {
    font-weight: 400;
    color: #6b7280;
    margin-left: 8px;
}

.progress-status {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.progress-status.excellent {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.progress-status.good {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.progress-status.needs-work {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.progress-status.poor {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Section Navigation */
.section-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    overflow-x: auto;
    padding: 0;
}

.nav-list li {
    flex-shrink: 0;
}

.nav-list a {
    display: block;
    padding: 16px 24px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* Main Content */
#main-content {
    padding: 60px 0;
}

/* Checklist Sections */
.checklist-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.section-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2937;
}

.section-header p {
    color: #6b7280;
    font-size: 1.125rem;
}

.subsection {
    margin-bottom: 40px;
}

.subsection h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #374151;
}

/* Checklist Items */
.checklist-grid {
    display: grid;
    gap: 16px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.checkbox-item:hover {
    border-color: #667eea;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.checkbox-item.checked {
    border-color: #10b981;
    background: #f0fdf4;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-item.checked .checkmark {
    background: #10b981;
    border-color: #10b981;
}

.checkbox-item.checked .checkmark::after {
    opacity: 1;
}

.item-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
}

.item-text strong {
    color: #1f2937;
    font-weight: 600;
}

/* Pro Tips */
.pro-tip {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pro-tip i {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-top: 2px;
}

.pro-tip p {
    margin: 0;
    color: #92400e;
}

/* Lead Capture Cards */
.lead-capture-card {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border: 1px solid #8b5cf6;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.lead-capture-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #581c87;
}

.lead-capture-card p {
    color: #6b46c1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.lead-form {
    display: flex;
    gap: 12px;
}

.lead-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.lead-form button {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.lead-form button:hover {
    background: #7c3aed;
}

.lead-capture-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Results Section */
.results-section {
    padding: 60px 0;
    background: #f8fafc;
}

.results-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.results-card h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1f2937;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid #e5e7eb;
    transition: all 0.5s ease;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #374151;
}

.score-details h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1f2937;
}

.score-details p {
    color: #6b7280;
    font-size: 1.125rem;
}

.score-breakdown {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.section-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.section-score {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.section-score h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #374151;
}

.section-score .score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

.next-steps {
    text-align: left;
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
}

.next-steps h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #1f2937;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 8px 0;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 12px;
}

.next-steps li::before {
    content: '→';
    color: #667eea;
    font-weight: bold;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
}

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

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-card > p {
    font-size: 1.25rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cta-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.cta-option {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-option h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.cta-option p {
    margin-bottom: 24px;
    opacity: 0.8;
}

.cta-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid #667eea;
}

.cta-btn.secondary:hover {
    background: #667eea;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0.8;
}

.guarantee img {
    width: 60px;
    height: 60px;
}

/* Score-specific styling */
.score-excellent .score-circle {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.score-excellent .score-number {
    color: #10b981;
}

.score-good .score-circle {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.score-good .score-number {
    color: #3b82f6;
}

.score-needs-work .score-circle {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.score-needs-work .score-number {
    color: #f59e0b;
}

.score-poor .score-circle {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.score-poor .score-number {
    color: #ef4444;
}

/* Form Messages */
.form-message {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.875rem;
}

.form-message.success {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Achievement Toast */
.achievement-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

/* Print Button */
.print-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.2s ease;
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
        gap: 30px;
    }
    
    .progress-card {
        padding: 30px 20px;
    }
    
    .checklist-section {
        padding: 30px 20px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-icon {
        font-size: 2.5rem;
    }
    
    .lead-capture-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .lead-form {
        flex-direction: column;
    }
    
    .score-display {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
    
    .nav-list {
        -webkit-overflow-scrolling: touch;
    }
    
    .guarantee {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .checkbox-item {
        padding: 16px;
    }
    
    .results-card {
        padding: 30px 20px;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .hero, .progress-section, .section-nav, .lead-capture-card, .final-cta {
        display: none !important;
    }
    
    .checklist-section {
        break-inside: avoid;
        margin-bottom: 30px;
    }
    
    .checkbox-item {
        break-inside: avoid;
        margin-bottom: 10px;
    }
    
    .checkbox-item.checked .checkmark {
        background: #000 !important;
        border-color: #000 !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}