:root {
    --primary-color: #f97316;
    /* Orange-500 */
    --primary-hover: #ea580c;
    /* Orange-600 */
    --secondary-color: #3b82f6;
    /* Blue-500 */
    --bg-color: #0f172a;
    /* Slate-900 */
    --card-bg: #1e293b;
    /* Slate-800 */
    --text-color: #f1f5f9;
    /* Slate-100 */
    --text-muted: #94a3b8;
    /* Slate-400 */
    --border-color: #334155;
    /* Slate-700 */
    --success-color: #22c55e;
    /* Green-500 */
    --danger-color: #ef4444;
    /* Red-500 */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
header {
    background-color: rgba(15, 23, 42, 0.95);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: radial-gradient(circle at top, #1e293b 0%, var(--bg-color) 70%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Base Table Styles */
.rank-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
    margin: 40px 0;
}

.rank-row {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rank-row td {
    padding: 24px;
    vertical-align: middle;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.rank-row td:first-child {
    border-left: 1px solid var(--border-color);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-muted);
    width: 80px;
}

.rank-row td:last-child {
    border-right: 1px solid var(--border-color);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.rank-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    background-color: #253045;
}

/* Featured Row (RockHoster) */
.rank-row.featured {
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.05), var(--card-bg));
    border: 1px solid var(--primary-color);
    position: relative;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.rank-row.featured td {
    border-color: var(--primary-color);
}

.provider-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.provider-logo {
    width: 140px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

.provider-details h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: #fff;
}

.rating-stars {
    color: #fbbf24;
    /* Amber-400 */
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: block;
}

.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-top {
    background-color: var(--primary-color);
    color: #fff;
}

.badge-feature {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.features-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

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

.pricing-box {
    text-align: center;
    min-width: 120px;
}

.price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.price-period {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}

.btn {
    display: inline-flex;
    /* Use flexbox for centering */
    align-items: center;
    /* Vertical alignment */
    justify-content: center;
    /* Horizontal alignment */
    width: 100%;
    /* Ensure full width */
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    /* Remove underline */
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* RockHoster Promo Card (Homepage) */
.promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    /* Neon glow effect */
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.1);
}

.promo-badge {
    background-color: #fbbf24;
    color: #000;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.promo-title h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 4px;
}

.promo-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.plan-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.plan-card.highlight {
    background-color: rgba(249, 115, 22, 0.1);
    border-color: var(--primary-color);
}

.plan-price {
    color: var(--success-color);
    font-weight: 800;
    font-size: 1.25rem;
    margin-top: 8px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: #020617;
    /* Slate-950 */
    padding: 60px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 12px;
    font-size: 0.9rem;
}

.copyright {
    color: #64748b;
    /* Slate-500 */
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .rank-row td {
        display: block;
        width: 100% !important;
        border: none !important;
        text-align: center;
        padding: 10px 20px;
    }

    .rank-row td:first-child {
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
        background-color: var(--card-bg);
        /* Reset specifics */
        margin: 0 auto;
        padding-top: 20px;
    }

    .provider-meta {
        flex-direction: column;
    }

    .badges {
        justify-content: center;
    }

    .promo-header {
        flex-direction: column;
        text-align: center;
    }

    .promo-grid-3 {
        grid-template-columns: 1fr;
    }
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}