/* TrustedSport Premium Design System 2025 */
:root {
    /* Color Palette - Slate & Royal Blue */
    --primary-color: #0f172a;
    /* Slate 900 */
    --secondary-color: #334155;
    /* Slate 700 */
    --accent-color: #2563eb;
    /* Blue 600 */
    --accent-hover: #1d4ed8;
    /* Blue 700 */
    --bg-body: #f8fafc;
    /* Slate 50 */
    --bg-surface: #ffffff;
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    /* Slate 200 */
    --success-color: #10b981;
    --danger-color: #ef4444;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 72px;
    --radius-lg: 12px;
    --radius-md: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    margin-top: 0;
    line-height: 1.25;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header - Glassmorphism */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

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

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

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(#334155 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.1;
    pointer-events: none;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    /* Slate 300 */
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Content Sections */
.content-section {
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* Section underline decorator */
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Cards & Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Features List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: auto;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    color: white;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 3rem 0;
    margin-top: auto;
}

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

.site-footer h3.footer-brand {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.site-footer .footer-tagline {
    font-size: 0.9rem;
    color: #9ca3af;
}

.site-footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f9fafb !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-disclaimer {
    background: var(--primary-color);
    color: #94a3b8;
    /* Slate 400 */
    padding: 4rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    border-top: 1px solid var(--secondary-color);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
        padding: 0.5rem;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-color);
        gap: 1rem;
    }

    .main-nav.open {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Review List Layout (Desktop) */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    gap: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-logo {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-logo img {
    width: 100px;
    /* Standardize logo width */
    height: auto;
    max-height: 50px;
    /* Prevent overly tall logos */
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.review-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.review-stars {
    color: #fbbf24;
    /* Amber-400 */
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.review-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.review-tag {
    font-size: 0.75rem;
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}


.review-action {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.review-action .btn {
    width: 100%;
}

.review-sublink {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .review-item {
        flex-direction: column;
        align-items: center;
        /* Changed from flex-start to center */
        gap: 1.5rem;
        /* Increased gap for better spacing */
        padding: 1.5rem;
        text-align: center;
        /* Center text */
    }

    .review-logo {
        flex: 0 0 auto;
        width: 100%;
        flex-direction: column;
        /* Stack logo and badge */
        justify-content: center;
        align-items: center;
        /* Center logo items */
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
        gap: 0.5rem;
    }

    .review-logo img {
        margin-bottom: 0;
    }

    .review-header {
        justify-content: center;
        /* Center header items */
        flex-direction: column;
        gap: 0.5rem;
    }

    .review-tags {
        justify-content: center;
        /* Center tags */
        flex-wrap: wrap;
    }

    .review-rating-mobile {
        display: block;
    }

    .review-action {
        width: 100%;
        flex: 0 0 auto;
        flex-direction: column;
        /* Stack buttons on mobile */
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .review-action .btn {
        width: 100%;
    }
}