/* CSS RESET AND CUSTOM VARIABLES */
:root {
    --bg-primary: #f8fafc;       /* Ultra-clean light slate */
    --bg-secondary: #ffffff;     /* Crisp white for cards/navigation */
    --bg-surface: #f1f5f9;       /* Subtle light contrast surface */
    --bg-dark-surface: #e2e8f0;  /* Deeper light gray dividers */
    
    --accent-primary: #0284c7;   /* Professional Athletic Blue */
    --accent-secondary: #6366f1; /* Energetic Royal Violet */
    --accent-tertiary: #f43f5e;  /* Dynamic Crimson Red */
    --accent-gold: #b45309;      /* Rich Amber Gold (High Contrast) */
    
    --text-light: #0f172a;       /* Deep slate for primary reading */
    --text-dark: #ffffff;        /* Pure white for dark-backed accents */
    --text-muted-light: #475569; /* Balanced slate for body copy */
    --text-muted-dark: #64748b;  /* Lighter slate for secondary metadata */
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
    
    --glow-primary: rgba(2, 132, 199, 0.15);
    --glow-secondary: rgba(99, 102, 241, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    transition: background-color 0.4s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* SECTION UTILITIES */
.section {
    padding: 110px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-primary);
    letter-spacing: 3px;
    margin-bottom: 15px;
    border: 1px solid rgba(2, 132, 199, 0.2);
    background-color: rgba(2, 132, 199, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    animation: pulseLight 2s infinite alternate;
}

@keyframes pulseLight {
    0% { border-color: rgba(2, 132, 199, 0.15); }
    100% { border-color: rgba(2, 132, 199, 0.35); }
}

.text-center .section-tag {
    border-radius: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -1px;
    background: linear-gradient(120deg, var(--text-light) 40%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted-light);
    max-width: 700px;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0284c7 100%);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-light);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--accent-secondary);
    color: var(--text-dark);
    border-color: var(--accent-secondary);
    box-shadow: 0 6px 20px var(--glow-secondary);
    transform: translateY(-3px);
}

/* HEADER NAVIGATION - SLIM & NOT MESSY */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 1px 15px rgba(15, 23, 42, 0.02);
    transition: var(--transition);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    height: 60px; /* Slimmed down from 80px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem; /* Scaled down for sleek proportion */
    font-weight: 900;
    letter-spacing: -1px;
    position: relative;
    color: var(--text-light);
}

.logo-accent {
    color: var(--accent-primary);
}

.nav-menu ul {
    display: flex;
    gap: 16px; /* Optimized gap */
    align-items: center;
}

.nav-link {
    font-size: 0.8rem; /* Elegantly compact */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted-light);
    padding: 6px 10px;
    border-radius: 4px;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--accent-primary);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--accent-primary);
    background-color: rgba(2, 132, 199, 0.03);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Adjusted due to slimmer header */
    padding-bottom: 60px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(2, 132, 199, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(2, 132, 199, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    animation: subtlePan 30s linear infinite;
}

@keyframes subtlePan {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 50%, rgba(99, 102, 241, 0.06), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(2, 132, 199, 0.06), transparent 50%),
                linear-gradient(180deg, rgba(241, 245, 249, 0) 0%, var(--bg-primary) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(2, 132, 199, 0.06);
    border: 1px solid rgba(2, 132, 199, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.03);
}

.hero-badge-container::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-tertiary);
    box-shadow: 0 0 8px var(--accent-tertiary);
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-tertiary); }
}

.hero-badge {
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-date-badge {
    color: var(--text-muted-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted-light);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* HERO VISUAL DASHBOARD ELEMENT */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 380px;
    position: relative;
    animation: floatDashboard 6s ease-in-out infinite alternate;
}

@keyframes floatDashboard {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(1deg); }
}

.db-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 12px;
}

.db-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
}

.db-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted-dark);
}

.db-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 24px;
}

.db-metric {
    background-color: var(--bg-primary);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.db-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.db-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.db-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 120px;
    padding-top: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.db-bar-item {
    width: 45px;
    height: var(--height);
    background: linear-gradient(180deg, var(--color) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    position: relative;
    animation: growBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: bottom;
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.db-bar-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-light);
    transform: translateY(22px);
    position: absolute;
}

/* REPORT CARD DESIGN SYSTEM */
.report-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    clip-path: polygon(100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
}

.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.7;
    transition: var(--transition);
}

/* Report Card grading badge */
.report-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.grade-s {
    background-color: rgba(244, 63, 94, 0.1);
    color: var(--accent-tertiary);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.grade-a {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.grade-b {
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.grade-c {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

/* INTERACTION EFFECTS AND ANIMATIONS */
.animated-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delays for matchup cards */
.match-card:nth-child(1) { animation-delay: 0.05s; }
.match-card:nth-child(2) { animation-delay: 0.1s; }
.match-card:nth-child(3) { animation-delay: 0.15s; }
.match-card:nth-child(4) { animation-delay: 0.2s; }
.match-card:nth-child(5) { animation-delay: 0.25s; }
.match-card:nth-child(6) { animation-delay: 0.3s; }
.match-card:nth-child(7) { animation-delay: 0.35s; }
.match-card:nth-child(8) { animation-delay: 0.4s; }
.match-card:nth-child(9) { animation-delay: 0.45s; }
.match-card:nth-child(10) { animation-delay: 0.5s; }

.report-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(2, 132, 199, 0.08);
    background-color: var(--bg-secondary);
}

.report-card:hover::before {
    opacity: 1;
    height: 6px;
}

/* EDITORIAL MATCH INDEX */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 30px;
}

.card-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
    padding-bottom: 15px;
}

.card-group {
    font-family: var(--font-heading);
    color: var(--text-muted-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-id {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
}

.card-vs {
    margin-bottom: 24px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
}

.team-rank {
    font-size: 0.75rem;
    background-color: rgba(15, 23, 42, 0.04);
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--accent-primary);
    font-weight: 700;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.vs-divider {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-tertiary);
    margin: 12px 0;
    letter-spacing: 4px;
    position: relative;
}

.vs-divider::before, .vs-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: rgba(15, 23, 42, 0.08);
}

.vs-divider::before { left: 0; }
.vs-divider::after { right: 0; }

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 24px;
}

.stat-bubble {
    background-color: rgba(15, 23, 42, 0.02);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.bubble-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.bubble-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.card-link {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-primary);
    padding-top: 15px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-link:hover {
    color: var(--accent-secondary);
}

/* CONTENDERS SECTION */
.favorites-section {
    background-color: var(--bg-surface);
}

.fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.fav-card {
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--accent-gold);
}

.fav-rank {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.08);
    line-height: 1;
}

.fav-body {
    flex-grow: 1;
}

.fav-country {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-light);
}

.fav-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.fav-badge {
    background-color: rgba(217, 119, 6, 0.08);
    color: var(--accent-gold);
    border: 1px solid rgba(217, 119, 6, 0.15);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    white-space: nowrap;
}

/* EXPANDED PREVIEWS - DOSSIER SHEET STYLE */
.previews-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.dossier-sheet {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 45px;
    position: relative;
    box-shadow: var(--shadow-lg);
    background-image: radial-gradient(rgba(15, 23, 42, 0.01) 1px, transparent 1px);
    background-size: 15px 15px;
    clip-path: polygon(100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 0);
    transition: var(--transition);
}

.dossier-sheet:hover {
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.dossier-sheet::after {
    content: 'MALLIN / RAPORTIN ARVIOINTI';
    position: absolute;
    bottom: 25px;
    right: 40px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(15, 23, 42, 0.15);
    font-family: var(--font-heading);
    font-weight: 800;
}

.preview-meta-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.preview-badge-group {
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-id {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    letter-spacing: 1px;
}

.preview-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-light);
}

.comp-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    background-color: rgba(15, 23, 42, 0.02);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.comp-team {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.away .comp-name {
    border-bottom-color: var(--accent-secondary);
}

.comp-metric-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
    padding-bottom: 6px;
}

.comp-metric-row span {
    color: var(--text-muted-light);
}

.comp-metric-row strong {
    color: var(--text-light);
    font-weight: 700;
}

.comp-vs-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-tertiary);
    text-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.preview-editorial {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted-light);
}

/* GROUP RACE CONTEXT */
.groups-section {
    background-color: var(--bg-surface);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.group-analysis-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-top: 3px solid var(--accent-primary);
}

.group-letter {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-light);
}

.group-bar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.group-team-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-team {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
}

.progress-val {
    align-self: flex-end;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.bar-bg {
    background-color: rgba(15, 23, 42, 0.06);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    background: linear-gradient(90deg, var(--accent-primary), #38bdf8);
    height: 100%;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.bar-fill::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: barShimmer 2.5s infinite;
}

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

.bar-fill.accent-tertiary {
    background: linear-gradient(90deg, var(--accent-tertiary), var(--accent-secondary));
}

/* HOST WATCH */
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.host-detail-card {
    background-color: var(--bg-secondary);
}

.host-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
    padding-bottom: 15px;
}

.host-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-light);
}

.host-badge {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
}

.host-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.host-stat-box {
    background-color: rgba(15, 23, 42, 0.02);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.h-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.h-stat-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-heading);
}

/* GUIDE / METHOD NOTE */
.guide-section {
    background-color: var(--bg-surface);
}

.guide-wrapper {
    background-color: var(--bg-secondary);
    padding: 50px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.guide-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-primary);
}

.guide-col p {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    line-height: 1.7;
}

/* FAQ SECTION */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(2, 132, 199, 0.25);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 25px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: var(--transition);
}

.faq-item.active {
    background-color: var(--bg-surface);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent-tertiary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.5);
}

.faq-answer p {
    padding: 0 25px 22px 25px;
    color: var(--text-muted-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* LEGAL PAGES SUBPAGE STYLING */
.legal-page {
    padding-top: 110px; /* Adjusted due to slimmer header */
    padding-bottom: 100px;
    max-width: 900px;
    margin: 0 auto;
    width: 90%;
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
    letter-spacing: -1.5px;
}

.legal-page .last-updated {
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border-left: 3px solid var(--accent-secondary);
    padding-left: 10px;
}

.legal-content {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 45px;
    box-shadow: var(--shadow-md);
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-light);
    border-bottom: 1px dashed rgba(15, 23, 42, 0.12);
    padding-bottom: 8px;
}

.legal-content p {
    color: var(--text-muted-light);
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 25px;
    color: var(--text-muted-light);
}

.legal-content li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* FOOTER AREA - Sleek ground contrast dark blue */
.main-footer {
    background-color: #0f172a;
    color: #f1f5f9;
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(2, 132, 199, 0.2);
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
}

.footer-about {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-links-section h4, .footer-address-section h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-links-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-section a {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-links-section a:hover {
    color: var(--accent-primary);
}

.address-block-container {
    background-color: #1e293b;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.company-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.real-address, .real-address-city {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.tax-id, .contact-email {
    font-size: 0.85rem;
    color: #38bdf8;
    margin-top: 8px;
}

.contact-email {
    display: block;
    color: #cbd5e1;
    text-decoration: underline;
}

.contact-email:hover {
    color: #38bdf8;
}

.footer-bottom {
    background-color: #0b1329;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* COOKIE CONSENT BANNER styling */
.cookie-consent-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: calc(100% - 60px);
    max-width: 400px;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
    padding: 20px 24px;
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    clip-path: polygon(100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 0);
}

.cookie-consent-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    line-height: 1.5;
    margin: 0;
}

.cookie-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-content a:hover {
    color: var(--accent-secondary);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-accept {
    background-color: var(--accent-primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px var(--glow-primary);
}

.btn-cookie-accept:hover {
    background-color: #0274ae;
    transform: translateY(-1px);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-muted-light);
    border: 1px solid rgba(15, 23, 42, 0.15);
}

.btn-cookie-decline:hover {
    background-color: rgba(15, 23, 42, 0.05);
    color: var(--text-light);
    transform: translateY(-1px);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badge-container {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .hero-section {
        height: auto;
        padding: 110px 0 90px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-lead {
        font-size: 1.15rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px; /* Matched to new 60px height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px); /* Matched to new 60px height */
        background-color: var(--bg-secondary);
        transition: var(--transition);
        padding: 40px;
        z-index: 999;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 25px;
    }

    .nav-link {
        font-size: 1.3rem;
        color: var(--text-light);
    }

    .comp-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .comp-vs-text {
        order: -1;
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cookie-consent-banner {
        bottom: 15px;
        right: 15px;
        width: calc(100% - 30px);
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .dossier-sheet {
        padding: 25px;
    }

    .preview-title {
        font-size: 1.6rem;
    }

    .legal-content {
        padding: 25px;
    }

    .legal-page h1 {
        font-size: 2.4rem;
    }
}