:root {
    --epc-primary: #2563eb;
    --epc-primary-dark: #1e4ed8;
    --epc-bg-light: #f8fafc;
    --epc-border: #e5e7eb;
    --epc-text-muted: #6b7280;
    --epc-text: #111827;
    --epc-surface: #ffffff;
}

/* Base */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--epc-text);
    background-color: #ffffff;
}

.container {
    max-width: 1100px;
}

body,
p,
li {
    line-height: 1.7;
}

.text-muted {
    color: var(--epc-text-muted) !important;
}

/*section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
*/
/* Buttons */

.btn {
    border-radius: 0.6rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .btn:focus,
    .btn:active:focus,
    .btn-link.nav-link:focus,
    .form-control:focus,
    .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(37, 99, 235, 0.35);
    }

.btn-primary {
    background-color: var(--epc-primary);
    border-color: var(--epc-primary);
}

    .btn-primary:hover {
        background-color: var(--epc-primary-dark);
        border-color: var(--epc-primary-dark);
    }

/* Navbar */

.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--epc-border);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.2px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    margin-right: 2rem;
}

.navbar .nav-link {
    font-weight: 500;
    color: #374151 !important;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

    .navbar .nav-link:hover {
        color: var(--epc-primary) !important;
    }

.navbar .navbar-nav {
    gap: 0.2rem;
}

/* Hero */

.hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

    .hero h1 {
        font-weight: 700;
        letter-spacing: -0.02em;
    }

.hero-image {
    background: linear-gradient( to right, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 30%, rgba(255, 255, 255, 0.45) 55%, rgba(255, 255, 255, 0.12) 75%, rgba(255, 255, 255, 0.0) 100% ), url('/images/hero.jpg') 100% center / cover no-repeat;
    border-bottom: 1px solid var(--epc-border);
    min-height: 520px;
}

/* Hero elements */

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-point {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    color: #334155;
}

.hero-quickstart {
    max-width: 420px;
    /* Softer, blended look */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    /* subtle depth */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.hero-checklist {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .hero-checklist li {
        position: relative;
        padding-left: 1.4rem;
        margin-bottom: 0.55rem;
        color: #374151;
    }

        .hero-checklist li:last-child {
            margin-bottom: 0;
        }

        .hero-checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--epc-primary);
            font-weight: 700;
        }

/* Card styling */

.hero-card,
.info-card,
.why-box {
    background: var(--epc-surface);
    border: 1px solid var(--epc-border);
    border-radius: 1rem;
}

.hero-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Feature list */

.feature-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

    .feature-list li {
        margin-bottom: 0.6rem;
    }

/* Info cards */

.info-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

    .info-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: transparent;
        transition: background 0.2s ease;
    }

    .info-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
        border-color: #d7e3f8;
    }

        .info-card:hover::before {
            background: var(--epc-primary);
        }

    .info-card h3 a {
        transition: color 0.2s ease;
    }

    .info-card:hover h3 a {
        color: var(--epc-primary) !important;
    }

    .info-card p {
        flex-grow: 1;
    }

    .info-card .btn {
        margin-top: auto;
        align-self: flex-start;
    }

    .info-card a.text-decoration-none:hover {
        text-decoration: underline !important;
    }

/* Why box */

.why-box {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.why-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef1f4;
}

    .why-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

/* Typography */

main h1,
main h2,
main h3 {
    line-height: 1.25;
    color: var(--epc-text);
}

main h1 {
    margin-bottom: 1.5rem;
}

main h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

main h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Layout elements */

table {
    background: #ffffff;
}

.footer {
    background: #ffffff;
}

hr {
    border-top: 1px solid var(--epc-border);
    opacity: 0.6;
}

/* Logo */

.site-logo {
    height: 70px;
    width: auto;
    display: block;
}

/* Comparison cards */

.provider-grid {
    display: grid;
    gap: 1.5rem;
}

.provider-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--epc-border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.provider-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.provider-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--epc-text);
}

.provider-tag {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--epc-primary);
    background: #e9f2ff;
    border-radius: 999px;
}

.provider-price {
    text-align: right;
    white-space: nowrap;
}

.provider-price-label {
    display: block;
    font-size: 0.8rem;
    color: var(--epc-text-muted);
}

.provider-price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--epc-text);
}

.provider-features {
    margin: 0;
    padding-left: 1.2rem;
}

    .provider-features li {
        margin-bottom: 0.45rem;
    }

.provider-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.provider-meta-item {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--epc-border);
    border-radius: 999px;
    font-size: 0.9rem;
    color: #374151;
    background: #f8fafc;
}

.provider-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.provider-note {
    font-size: 0.95rem;
    color: var(--epc-text-muted);
}

.comparison-note {
    background: #f8fafc;
    border: 1px solid var(--epc-border);
    border-radius: 1rem;
    padding: 1.25rem;
    color: var(--epc-text-muted);
}

#articles {
    margin-top: -1.5rem;
}

#articles .text-center {
    margin-bottom: 2rem !important;
}

.featured-provider {
    border-color: #d7e3f8;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.compare-table th,
.compare-table td {
    padding: 0.95rem;
}

.compare-table tbody tr:hover {
    background: #f8fbff;
}

.affiliate-note {
    font-size: 0.9rem;
    color: var(--epc-text-muted);
    background: #f8fafc;
    border: 1px solid var(--epc-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
}

.provider-compare-grid-full .provider-group-col {
    background: #f3f5f8;
    text-align: center;
    border-bottom: 1px solid #d9dde3;
    min-width: 180px;
}

.provider-compare-grid-full thead tr:first-child th {
    background: #f3f5f8;
}

.provider-compare-grid-full thead tr:nth-child(2) th {
    background: #fafbfc;
}

.provider-compare-grid-full .plan-col {
    min-width: 140px;
}

.provider-compare-grid-full .provider-header {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.provider-compare-grid-full tr:last-child td {
    background: #f9fafb;
    border-top: 2px solid #e5e7eb;
}

/* Responsive */

@media (min-width: 992px) {
    .provider-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-logo {
        height: 38px;
    }
}
