/* DESIGN SYSTEM & CONSTANTS - NATURE STYLE GLOSSY */
:root {
    --bg-primary: #040d06;        /* Deep Forest Obsidian */
    --bg-secondary: #081c10;      /* Midnight Moss */
    --bg-light-section: #eef7f2;  /* Sunlit Dewy Meadow */
    --surface-light: #ffffff;
    --surface-dark: rgba(12, 33, 21, 0.75); /* Glossy Frosted Jade */
    
    --accent-primary: #10b981;    /* Luminous Emerald */
    --accent-secondary: #84cc16;  /* Sunlit Moss Leaf */
    --accent-tertiary: #f59e0b;   /* Warm Honey Amber */
    --accent-glow: rgba(16, 185, 129, 0.4);
    
    --text-light: #f0fdf4;        /* Frosted Glass Mint White */
    --text-muted-light: #a3bfae;  /* Soft Sage */
    --text-dark: #0f2d1a;         /* Deep Ivy */
    --text-muted-dark: #415e4b;   /* Forest Canopy Shadow */
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & CORE GLOBALS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(132, 204, 22, 0.08) 0px, transparent 50%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* AMBIENT GLOW ORBS (Nature-themed light refractions) */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    mix-blend-mode: screen;
}
.glow-1 {
    top: 5%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    animation: floatGlow 12s infinite alternate ease-in-out;
}
.glow-2 {
    top: 40%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.3) 0%, transparent 70%);
    animation: floatGlow 18s infinite alternate-reverse ease-in-out;
}
.glow-3 {
    bottom: 15%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    animation: floatGlow 15s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.15); }
}

/* TYPOGRAPHY UTILITIES */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.text-center { text-align: center; }
.text-primary { color: var(--accent-primary); }
.text-secondary { color: var(--accent-secondary); }
.text-light { color: var(--text-light); }
.dark-text { color: var(--text-dark); }
.text-green { color: var(--accent-primary); }

/* STICKY HEADER - Transparent Glossy & Slim Layout */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4, 13, 6, 0.85);
    border-bottom: 1px solid rgba(16, 185, 129, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem; /* Reduced padding for a slimmer silhouette */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px; /* Consistent sleek height */
}

.brand-logo {
    font-size: 1.35rem; /* Slightly more compact & premium branding */
    font-weight: 900;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

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

.logo-domain {
    color: var(--accent-secondary);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NAVIGATION */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 0.35rem; /* Tighter layout alignment */
}

.nav-item {
    font-size: 0.78rem; /* Optimized slim layout typography */
    font-weight: 700;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
    padding: 0.45rem 0.75rem; /* Sleek structural padding */
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-light);
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* MOBILE TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

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

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 8.5rem 2rem 7rem 2rem; /* Adjusted top padding to seamlessly fit the slim header */
    background-color: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.hero-diagonal-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(8, 28, 16, 0.3) 70%);
    transform: skewX(-8deg);
    z-index: 1;
    border-left: 1px solid rgba(16, 185, 129, 0.15);
    mask-image: linear-gradient(to bottom, white, transparent);
    -webkit-mask-image: linear-gradient(to bottom, white, transparent);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
}

.hero-badge .leaf-icon {
    font-size: 0.95rem;
    animation: flutter 3s infinite ease-in-out;
}

@keyframes flutter {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg) scale(1.1); }
}

.hero-title {
    font-size: 4rem;
    max-width: 850px;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--text-light);
    text-shadow: 0 4px 15px rgba(4, 13, 6, 0.8);
    background: linear-gradient(135deg, var(--text-light) 60%, var(--text-muted-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 680px;
    color: var(--text-muted-light);
    margin-bottom: 3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4.5rem;
}

/* BUTTONS - GLOSSY LIQUID EFFECT */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #059669 100%);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #10b981 20%, #10b981 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    border: 1px solid rgba(16, 185, 129, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

/* Shine Animation Overlay */
.glossy-btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
}
.glossy-btn-shine:hover::after {
    left: 130%;
    transition: all 0.7s ease-in-out;
}

/* HERO QUICK STATS */
.hero-quick-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    padding-top: 2rem;
    max-width: 700px;
}

.stat-bubble {
    display: flex;
    flex-direction: column;
}

.bubble-val {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent-secondary);
    line-height: 1;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 10px rgba(132, 204, 22, 0.2);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bubble-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* SECTION CONTAINER GENERAL */
.section-container {
    padding: 7rem 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.light-bg {
    background-color: var(--bg-light-section);
    /* Soft botanical backdrop patterns via gradients */
    background-image: radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.04) 0px, transparent 60%);
}

.dark-bg {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(16, 185, 129, 0.12);
    border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4.5rem auto;
}

.sub-heading {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title.dark-text {
    color: var(--text-dark);
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted-dark);
}

.dark-bg .section-desc {
    color: var(--text-muted-light);
}

/* MATCHUPS INDEX GRID */
.matchups-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.8rem;
}

/* GLOSSY CARD COMPONENT */
.glossy-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--border-radius-md);
    padding: 1.85rem;
    position: relative;
    box-shadow: 
        0 4px 18px rgba(12, 33, 21, 0.04), 
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    overflow: hidden;
}

/* Gloss reflection on cards */
.glossy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 1;
}

.glossy-card:hover {
    transform: translateY(-6px) scale(1.01);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 
        0 12px 30px rgba(12, 33, 21, 0.1), 
        0 0 15px rgba(16, 185, 129, 0.15);
}

.card-group-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    z-index: 2;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-teams {
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.team-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.85rem;
}

.team-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.team-meta {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    font-weight: 600;
    margin-top: 0.1rem;
}

.vs-divider {
    font-size: 0.85rem;
    font-weight: 950;
    color: var(--accent-tertiary);
    margin: 0.6rem 0;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.vs-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.3), transparent);
}

.card-footer {
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    padding-top: 1.1rem;
    position: relative;
    z-index: 2;
}

.card-action-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    transition: var(--transition-smooth);
}

.card-action-link:hover {
    color: var(--accent-primary);
    transform: translateX(3px);
}

/* TOP TITLE CONTEXT GRID (Glassmorphism Panels) */
.favorites-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.8rem;
}

.glass-panel {
    background: rgba(12, 33, 21, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    padding: 2.2rem;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2), 
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    transform: scale(1.02) translateY(-4px);
    border-color: rgba(132, 204, 22, 0.45);
    box-shadow: 
        0 15px 35px rgba(16, 185, 129, 0.15), 
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.fav-rank-badge {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.fav-header {
    margin-bottom: 1.6rem;
}

.fav-country {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.fav-group {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.fav-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: rgba(4, 13, 6, 0.5);
    padding: 1.1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.fav-metric {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* EXPANDED MATCH PREVIEWS */
.previews-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.preview-item-card {
    /* Modifies glossy-card preset for lighter container padding and large size */
    padding: 2.8rem;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.85);
}

.preview-badge-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.badge-accent {
    font-size: 0.75rem;
    font-weight: 850;
    color: var(--text-light);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.bg-green { 
    background: linear-gradient(135deg, var(--accent-primary), #059669); 
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-title {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 1.6rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    padding-bottom: 1rem;
}

.preview-split {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 2.8rem;
}

.stat-comp-bar {
    margin-bottom: 1.8rem;
}

.comp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted-dark);
    margin-bottom: 0.6rem;
    letter-spacing: 0.08em;
}

.comp-bar-wrapper {
    display: flex;
    justify-content: space-between;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.9rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 800;
    color: var(--text-dark);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.stat-grid-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.stat-square {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: inset 0 1px 3px rgba(16, 185, 129, 0.05);
}

.sq-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    padding-bottom: 0.4rem;
}

.sq-p {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    margin-bottom: 0.35rem;
}

.sq-p strong {
    color: var(--text-dark);
}

.preview-text-column {
    display: flex;
    align-items: center;
}

.preview-analytical-para {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* GROUP CONTEXT MATRIX */
.group-context-container {
    max-width: 1200px;
    margin: 0 auto;
}

.group-context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}

.group-context-card {
    border-top: 4px solid var(--accent-tertiary) !important;
}

.gc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.gc-badge {
    background-color: rgba(245, 158, 11, 0.12);
    color: var(--accent-tertiary);
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.3rem 0.65rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.gc-title {
    font-size: 1.05rem;
    color: var(--text-light);
}

.gc-body {
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

/* HOST NATIONS WATCH */
.hosts-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.2rem;
}

.host-card {
    /* Inherits glossy-card styles but customizes borders */
    border-top: 5px solid var(--accent-primary) !important;
}

.host-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
}

.host-flag-pseudo {
    font-weight: 850;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 40px;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.host-usa { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.host-mex { background: linear-gradient(135deg, #065f46, #10b981); }
.host-can { background: linear-gradient(135deg, #991b1b, #ef4444); }

.host-rank-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted-dark);
}

.host-name {
    font-size: 1.9rem;
    color: var(--text-dark);
    margin-bottom: 1.6rem;
    letter-spacing: -0.02em;
}

.host-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.host-stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    padding-bottom: 0.6rem;
}

.host-stat-item.font-highlight {
    font-weight: 800;
    border-bottom: none;
}

.h-val {
    color: var(--text-dark);
    font-weight: 850;
}

/* METHODOLOGY */
.methodology-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.8rem;
}

.method-card {
    background-color: rgba(12, 33, 21, 0.45);
}

.method-title {
    font-size: 1.15rem;
    color: var(--accent-secondary);
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.method-body {
    font-size: 0.88rem;
    color: var(--text-muted-light);
    line-height: 1.65;
}

/* FAQ ACCORDION - Glossy styled */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background-color: var(--surface-light);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(12, 33, 21, 0.03);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 1.8rem;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background-color: rgba(16, 185, 129, 0.03);
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--accent-primary);
    transition: var(--transition-smooth);
    margin-left: 1rem;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: transparent;
}

.faq-answer p {
    padding: 0 1.8rem 1.8rem 1.8rem;
    font-size: 1rem;
    color: var(--text-muted-dark);
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

/* SITE FOOTER */
.site-footer {
    background-color: #030a05;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding: 5rem 2rem 0 2rem;
    color: var(--text-muted-light);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    padding-bottom: 5rem;
}

.footer-brand-section .brand-logo {
    margin-bottom: 1.25rem;
}

.footer-info-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted-light);
}

.footer-header {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.footer-header::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-secondary);
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-secondary);
    padding-left: 4px;
}

.address-container {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted-light);
}

.address-text {
    margin-bottom: 0.6rem;
}

.footer-bottom {
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    padding: 1.8rem 2rem;
    background-color: #010402;
}

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

.copyright-text {
    font-size: 0.75rem;
    color: rgba(163, 191, 174, 0.45);
    line-height: 1.5;
}

/* POLICY CONTENT LAYOUT */
.policy-wrapper {
    max-width: 900px;
    margin: 9rem auto 6rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.policy-card {
    background: rgba(12, 33, 21, 0.75);
    border: 1px solid rgba(16, 185, 129, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.policy-meta {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
}

.policy-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.policy-text h2 {
    font-size: 1.6rem;
    color: var(--accent-secondary);
    margin: 2.5rem 0 1.2rem 0;
    letter-spacing: -0.01em;
}

.policy-text p {
    font-size: 1.05rem;
    color: var(--text-muted-light);
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.policy-text ul {
    list-style: disc;
    padding-left: 1.8rem;
    margin-bottom: 1.8rem;
    color: var(--text-muted-light);
}

.policy-text li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 850px;
    background: rgba(8, 28, 16, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 2rem;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    animation: rotateCookie 5s infinite linear;
}

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

.cookie-banner-text {
    flex-grow: 1;
}

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

.cookie-banner-text p a {
    color: var(--accent-secondary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-text p a:hover {
    color: var(--accent-primary);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.btn-cookie-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #059669 100%);
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.btn-cookie-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted-light);
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
}

.btn-cookie-primary:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-cookie-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

@media (max-width: 992px) {
    .preview-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 3.5rem; /* Adjusted to align perfectly with the slimmed down header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 3.5rem);
        background-color: var(--bg-primary);
        z-index: 999;
        transition: var(--transition-smooth);
        display: block;
        padding: 2.5rem;
        border-top: 1px solid rgba(16, 185, 129, 0.15);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1.8rem;
    }
    
    .nav-item {
        font-size: 1.3rem;
        display: block;
        padding: 0.8rem 1.2rem;
    }
    
    .hero-section {
        padding-top: 6.5rem; /* Reduced for the slim header layout spacing */
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-quick-stats {
        flex-direction: column;
        gap: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .policy-card {
        padding: 2.5rem 1.8rem;
    }
    
    .policy-title {
        font-size: 2.2rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .cookie-banner {
        width: calc(100% - 1.5rem);
    }
    
    .cookie-banner.show {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 4.5rem 1.25rem;
    }
    
    .preview-item-card {
        padding: 1.8rem;
    }
    
    .preview-title {
        font-size: 1.85rem;
    }
}