/* 
 * EuroHosting.site - Professional Hosting Comparison
 * Clean Corporate European Design
 * Colors: Navy Blue (#004494), Gold (#FFD700), White (#FFFFFF), Light Gray (#F5F7FA)
 */

:root {
    --primary-color: #004494;
    /* European Blue */
    --secondary-color: #FFD700;
    /* European Gold */
    --accent-color: #0066CC;
    /* Brighter Blue for interactions */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F7FA;
    --white: #FFFFFF;
    --border-color: #E1E4E8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

.section {
    padding: 60px 0;
}

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

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

/* Utilities for Card Layout (Mimicking Tailwind) */
.bg-white {
    background-color: var(--white);
}

.rounded-2xl {
    border-radius: 1rem;
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.p-8 {
    padding: 2rem;
}

.p-4 {
    padding: 1rem;
}

.border {
    border: 1px solid var(--border-color);
}

.border-slate-100 {
    border-color: #f1f5f9;
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.inline-block {
    display: inline-block;
}

.bg-yellow-400 {
    background-color: #facc15;
}

.text-black {
    color: #000;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-bold {
    font-weight: 700;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.rounded-full {
    border-radius: 9999px;
}

.flex {
    display: flex;
}

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

.img-contain {
    object-fit: contain;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.font-extrabold {
    font-weight: 800;
}

.text-slate-800 {
    color: #1e293b;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-700 {
    color: #334155;
}

.text-yellow-500 {
    color: #eab308;
}

.text-green-600 {
    color: #16a34a;
}

.font-semibold {
    font-weight: 600;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.border-blue-600 {
    border-color: #2563eb;
}

.text-blue-700 {
    color: #1d4ed8;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.text-white {
    color: #fff;
}

.block {
    display: block;
}

/* Header & Navigation */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-dark);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002a5c 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
}

.hero p {
    opacity: 0.9;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Comparison Table */
.comparison-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
    /* Adjusted to sit below the feature card */
    position: relative;
    z-index: 10;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th {
    background-color: var(--bg-light);
    padding: 20px;
    text-align: left;
    color: var(--text-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.rank-badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.provider-logo img {
    max-height: 40px;
    max-width: 120px;
}

.rating {
    color: var(--secondary-color);
    font-weight: 700;
}

.features-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-light);
}

.features-list li::before {
    content: "✓";
    color: var(--success-color);
    margin-right: 5px;
    font-weight: bold;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: #002a5c;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: auto;
}

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

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e0e0e0;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 15px;
    }

    .hero {
        padding: 40px 0 60px;
    }

    h1 {
        font-size: 2rem;
    }

    .grid-cols-3,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}