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

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

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 0.5rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

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

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

/* Winner Announcement */
.winner-announcement {
    padding: 3rem 0;
    background: white;
}

.winner-card {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.winner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.winner-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.winner-content {
    flex: 1;
}

.winner-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.winner-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.winner-score {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.score {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.score-label {
    font-size: 1.2rem;
    color: #666;
}

.winner-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.3);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    color: #333;
    backdrop-filter: blur(10px);
}

/* Methodology Section */
.methodology {
    padding: 4rem 0;
    background: #f8f9fa;
}

.methodology h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.methodology-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.methodology-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.methodology-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.methodology-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.criteria-list h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.criterion {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.criterion:hover {
    background: #e9ecef;
}

.criterion i {
    color: #667eea;
    width: 20px;
}

/* Comparison Section */
.comparison {
    padding: 4rem 0;
    background: white;
}

.comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.table-container {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.criteria-column {
    width: 200px;
    min-width: 200px;
    background: #667eea !important;
    color: white;
}

.software-column {
    width: 150px;
    min-width: 150px;
    text-align: center;
}

.software-column.winner {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #333;
}

.software-header {
    text-align: center;
}

.winner-badge-small {
    background: rgba(255,255,255,0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.software-header h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.overall-score {
    font-size: 0.9rem;
    font-weight: 700;
    color: #667eea;
}

.software-column.winner .overall-score {
    color: #333;
}

.criteria-cell {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.criteria-cell i {
    margin-right: 0.5rem;
}

.score-cell {
    text-align: center;
    vertical-align: top;
}

.score-cell.winner {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,165,0,0.1) 100%);
}

.score-badge {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 0.5rem;
}

.score-badge.excellent {
    background: #4CAF50;
}

.score-badge.good {
    background: #2196F3;
}

.score-badge.average {
    background: #FF9800;
}

.score-badge.poor {
    background: #F44336;
}

.score-details {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

/* Winner Analysis */
.winner-analysis {
    padding: 4rem 0;
    background: #f8f9fa;
}

.winner-analysis h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.analysis-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.analysis-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

.analysis-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.analysis-card p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonials h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.testimonial {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
}

.testimonial-content {
    margin-bottom: 1rem;
}

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

.testimonial-author {
    color: #667eea;
    font-weight: 600;
}

/* Sources Section */
.sources {
    padding: 4rem 0;
    background: white;
}

.sources h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.source-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.source-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.sources-list {
    list-style: none;
}

.sources-list li {
    margin-bottom: 0.5rem;
}

.sources-list a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sources-list a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.disclaimer h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.disclaimer p {
    color: #856404;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #FFD700;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .winner-card {
        flex-direction: column;
        text-align: center;
    }
    
    .winner-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .table-container {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
    
    .criteria-column {
        width: 150px;
        min-width: 150px;
    }
    
    .software-column {
        width: 120px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .methodology-grid,
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .winner-card {
        padding: 1.5rem;
    }
    
    .winner-content h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for interactive elements */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Hover effects for cards */
.methodology-item,
.analysis-card,
.testimonial {
    transition: all 0.3s ease;
}

.methodology-item:hover,
.analysis-card:hover {
    transform: translateY(-5px);
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: #333;
    }
    
    .winner-card {
        background: none;
        border: 2px solid #333;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
}

