/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter></defs><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: -1;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo .project-title,
.footer-section .project-title {
    line-height: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.cta-button {
    background: #ffffff;
    color: #0f0f23 !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.highlight {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Upload Section */
.upload-section {
    margin: 48px 0;
}

/* Room Selector */
.room-selector-container {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.room-selector-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.room-selector {
    position: relative;
    display: inline-block;
    width: auto;
    min-width: 200px;
    max-width: 400px;
}

.room-selector-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.room-selector-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.room-selector-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.room-selector-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.room-selector-btn.active {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.room-selector-arrow {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.room-selector-btn.active .room-selector-arrow {
    transform: rotate(180deg);
}

.room-selector-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-top: 8px;
    overflow: hidden;
    display: none;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.room-selector-dropdown.show {
    display: block;
}

.room-option {
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.room-option:last-child {
    border-bottom: none;
}

.room-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.room-option-disabled {
    opacity: 0.5;
    filter: grayscale(0.4);
    cursor: not-allowed;
    pointer-events: none;
}

.room-option-disabled:hover {
    background: transparent;
}

.room-option-disabled .room-option-text {
    color: rgba(255, 255, 255, 0.5);
}

.room-option-disabled .room-option-icon {
    opacity: 0.6;
}

.room-option-badge {
    position: absolute;
    top: 6px;
    right: -20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8c42);
    color: white;
    padding: 3px 35px;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transform: rotate(30deg);
    transform-origin: center;
    text-align: center;
    line-height: 1.2;
}

.room-option-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.room-option-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Upload Areas Container */
.upload-areas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.upload-area {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 64px 40px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-area:hover::before {
    opacity: 1;
}

.upload-area:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.upload-area h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.upload-area p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.upload-btn {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

/* Smaller upload areas */
.upload-area-small {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.upload-area-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.upload-area-small:hover::before {
    left: 100%;
}

.upload-area-small:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.upload-area-small.dragover {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.upload-area-small .upload-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.upload-area-small h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.upload-area-small p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.upload-btn-small {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.upload-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.file-status {
    margin-top: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.file-status.success {
    color: #4ecdc4;
}

.launch-btn {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 24px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

/* Analysis Progress */
.analysis-progress {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-header h3 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    width: 0%;
    transition: width 0.3s ease;
}

.logs-container {
    max-height: 300px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.log-entry {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.log-entry:last-child {
    border-bottom: none;
}

/* Results Section */
.results-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-message h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.success-message p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.view-report-btn {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    position: relative;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.how-it-works-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.how-it-works-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.how-it-works-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f0f23;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.how-it-works-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.how-it-works-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.how-it-works-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Supported Rooms Section */
.supported-rooms {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Find Logs Section */
.find-logs {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.find-logs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05), rgba(69, 183, 209, 0.05));
    pointer-events: none;
}

.find-logs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.find-logs-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.find-logs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.find-logs-card:hover::before {
    opacity: 1;
}

.find-logs-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.find-logs-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.find-logs-card-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
}

.find-logs-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.find-logs-card-content {
    position: relative;
    z-index: 1;
}

.find-logs-card-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.find-logs-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.find-logs-steps li {
    padding: 12px 0;
    padding-left: 32px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    line-height: 1.6;
}

.find-logs-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f0f23;
}

.find-logs-steps {
    counter-reset: step-counter;
}

.supported-rooms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05), rgba(69, 183, 209, 0.05));
    pointer-events: none;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.room-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-card:hover::before {
    opacity: 1;
}

.room-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.room-card-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.room-card h3 {
    font-size: 0.9rem;
    margin: 0;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.room-card-coming-soon {
    opacity: 0.5;
    filter: grayscale(0.3);
    cursor: default;
}

.room-card-coming-soon:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.room-card-coming-soon::before {
    opacity: 0;
}

.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ff8c42);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(78, 205, 196, 0.05));
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.feature-card li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 20px;
}

.feature-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

/* Methodology */
.methodology {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

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

.methodology-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.score-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.score-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.score-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.score-weight {
    font-weight: 600;
    color: #4ecdc4;
}

.methodology-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05), rgba(69, 183, 209, 0.05));
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.price span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.pricing-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-btn {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.pricing-btn:hover {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.pricing-btn.featured {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border-color: transparent;
}

.pricing-btn.featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

/* Leaderboard Section */
.leaderboard {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.leaderboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(78, 205, 196, 0.05));
    pointer-events: none;
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.tab-btn.active,
.tab-btn:hover {
    border-color: #4ecdc4;
    color: #ffffff;
    background: rgba(78, 205, 196, 0.1);
}

.leaderboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.leaderboard-section h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 600;
}

.leaderboard-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.rank {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 16px;
}

.player-info {
    flex: 1;
}

.player-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.tournament {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.variance-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4ecdc4;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    font-weight: 600;
    color: #ffffff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .upload-area {
        padding: 40px 24px;
    }
    
    .upload-areas-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    
    .find-logs-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .score-breakdown {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom-left {
        justify-content: center;
    }
}

/* Styles spécifiques au leaderboard */
.loading-state {
    text-align: center;
    padding: 2rem;
    color: #ffffff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-state {
    text-align: center;
    padding: 2rem;
    color: #ff6b6b;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.retry-btn {
    background: #4ecdc4;
    color: #0f0f23;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.retry-btn:hover {
    background: #45b7aa;
    transform: translateY(-2px);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #ffffff;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-data {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.score-high {
    color: #4ecdc4;
    font-weight: bold;
}

.score-low {
    color: #ff6b6b;
    font-weight: bold;
}

.nav-links a.active {
    color: #4ecdc4;
    font-weight: 600;
}

/* Layout en grille pour le leaderboard */
.leaderboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.leaderboard-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.leaderboard-section h3 {
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    font-size: 1.25rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
}

/* Charts styles */
.charts-container {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.charts-header {
    margin-bottom: 2rem;
    text-align: center;
}

.charts-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.charts-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
}

.stat-value.positive {
    color: #4ade80;
}

.stat-value.negative {
    color: #f87171;
}

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

.chart-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.chart-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive design pour le leaderboard */
@media (max-width: 768px) {
    .leaderboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leaderboard-section {
        padding: 1rem;
    }
    
    .charts-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-item {
        padding: 1rem;
    }
}
