:root {
    --accent: #0f62fe;
    --accent-hover: #0043ce;
    --muted: #6b7280;
    --border: #ddd;
    --bg-light: #f8fbff;
    --bg-muted: #f3f4f6;
    --text-dark: #111;
}

/* =====================
   Base Styles
===================== */
body {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    color: var(--text-dark);
    background: #fff;
}

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

.hidden {
    display: none;
}

.small {
    color: var(--muted);
    font-size: 13px;
}

.vis-note {
    font-size: 12px;
    color: #555;
}

/* =====================
   Layout
===================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

section {
    padding: 24px 0;
}

/* =====================
   Header / Navigation
===================== */
#header {
    background: linear-gradient(90deg, var(--bg-light), #fff);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    padding: 10px 16px;
    z-index: 1000;
}

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

.logo {
    font-weight: 700;
    color: var(--accent);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 16px;
}

nav a {
    color: inherit;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 700px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        right: 24px;
        top: 68px;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #eee;
    }

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

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

/* =====================
   Hero
===================== */
.hero {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 48px 0;
}

.hero .left {
    flex: 1;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}

/* =====================
   Cards / Grid
===================== */
.card {
    background: #fff;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 98, 254, 0.06);
    margin-top: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    background: var(--bg-muted);
}

/* =====================
   Forms
===================== */
form {
    display: grid;
    gap: 12px;
}

input,
textarea,
select {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 100%;
    font-size: 14px;
}

/* Remove number input arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* =====================
   Tables
===================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    border: 1px solid var(--border);
    padding: 8px;
    text-align: center;
    vertical-align: top;
}

th {
    background: var(--bg-muted);
}

/* =====================
   Buttons
===================== */
button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s ease;
}

button:hover {
    background: var(--accent-hover);
}

/* =====================
   Footer
===================== */
footer {
    padding: 24px 0;
    border-top: 1px solid #f1f1f1;
    text-align: center;
}

/* =====================
   Results
===================== */
.results {
    font-size: 13px;
    margin-top: 8px;
    text-align: left;
}

/*====================
  Footer
  ====================*/

#footer {
    background: #f9fafb;
    border-top: 1px solid #eee;
    padding: 32px 16px 16px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    color: #444;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    color: #0f62fe;
    margin: 0;
}

.footer-text {
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #444;
}

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

.footer-social a {
    margin-right: 12px;
    font-size: 18px;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #777;
}

/*=======================
Comparison Table
========================= */
#comparisonTable,
#broadbandTable {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

#comparisonTable th,
#comparisonTable td,
#broadbandTable th,
#broadbandTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#comparisonTable th,
#broadbandTable th {
    background-color: #2980b9;
    color: white;
    font-weight: bold;
}

#comparisonTable tr:nth-child(even),
#broadbandTable tr:nth-child(even) {
    background-color: #f2f2f2;
}