/* ===========================================
   Premium Design System
   Modern, clean, professional styling
   =========================================== */

/* ===========================================
   Geist Design Tokens (Vercel-inspired)
   White canvas, #171717 text, shadow-as-border.
   =========================================== */
:root {
    /* Dark surfaces / primary CTAs / emphasis */
    --primary: #171717;
    --primary-light: #404040;
    --primary-dark: #000000;

    /* Interactive blue — links + focus only */
    --accent: #0072f5;
    --accent-hover: #0060d6;

    /* Surfaces */
    --bg: #ffffff;
    --bg-gradient: #ffffff;
    --bg-subtle: #fafafa;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);

    /* Text */
    --text: #171717;
    --text-secondary: #4d4d4d;
    --text-muted: #666666;

    /* Shadow-as-border + whisper elevation (Geist) */
    --shadow-sm: 0 0 0 1px rgba(0, 0, 0, 0.06);
    --shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.04), 0 8px 8px -8px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 8px 24px -12px rgba(0, 0, 0, 0.12);

    /* Radii */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;

    --header-height: 72px;
    --transition: 0.18s ease;
    --transition-slow: 0.3s ease;

    --secondary-color: #fafafa;
    --border-color: #ebebeb;
}


/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    font-feature-settings: "liga" 1, "calt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background var(--transition), color var(--transition);
    overflow-x: hidden;
}

/* Geist headings: compression via negative tracking, weight capped at 600 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 {
    letter-spacing: -0.04em;
}

/* ===========================================
   Gradient headings — all frontpage section h2s
   (applies to sections not already targeted below)
   =========================================== */
.main-content .companies-info h2,
.main-content .tools-section h2,
.main-content .blog-section h2 {
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, #0072f5 20%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


/* Accessibility: consistent keyboard focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: rgba(0, 114, 245, 0.18);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===========================================
   Header & Navigation
   =========================================== */
.header {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background var(--transition);
}



.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.logo .bolt-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--secondary-color);
}

.nav-link.active {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.nav-btn {
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-btn.primary-btn {
    background: var(--primary, #171717);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-btn.primary-btn:hover {
    background: var(--primary-light, #404040);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-btn.secondary-btn {
    background: var(--card-bg);
    color: var(--primary, #171717);
    box-shadow: 0 0 0 1px var(--border-color, #ebebeb);
}

.nav-btn.secondary-btn:hover {
    background: var(--bg-subtle, #fafafa);
    box-shadow: 0 0 0 1px var(--text-secondary, #4d4d4d);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}



@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 1rem;
        flex-direction: column;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .nav-cta {
        flex-direction: column;
        width: 100%;
        margin: 0.5rem 0 0 0;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===========================================
   Standard Page Hero
   =========================================== */
.page-hero,
.calculator-hero,
.blog-hero {
    background: var(--card-bg);
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: var(--text);
    position: relative;
    overflow: hidden;
    margin: 1.5rem auto 3rem;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.calculator-hero {
    max-width: 900px !important;
    /* Matches calculator-container */
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.blog-hero {
    max-width: 1200px !important;
    /* Matches blog-grid */
    margin-bottom: 2rem;
}

.page-hero h1,
.calculator-hero h1,
.blog-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--text);
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.page-hero p,
.calculator-hero p,
.blog-hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

@media (max-width: 768px) {

    .page-hero,
    .calculator-hero,
    .blog-hero {
        margin: 1rem;
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .page-hero h1,
    .calculator-hero h1,
    .blog-hero h1 {
        font-size: 1.75rem;
    }
}

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    background: radial-gradient(circle at top right, rgba(0, 114, 245, 0.04), transparent 45%),
                radial-gradient(circle at bottom left, rgba(233, 30, 99, 0.04), transparent 45%),
                var(--card-bg);
    border-radius: var(--radius-lg);
    margin: 2rem auto;
    max-width: 1200px;
    padding: clamp(4rem, 8vw, 6rem) 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--text);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    background: linear-gradient(135deg, #0072f5 20%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .primary-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary, #171717);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 500;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
    transition: all var(--transition);
}

.cta-buttons .primary-btn:hover {
    background: var(--primary-light, #404040);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.2);
}

.cta-buttons .secondary-btn {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    color: var(--primary, #171717);
    border-radius: var(--radius-sm);
    font-weight: 500;
    box-shadow: 0 0 0 1px var(--border-color, #ebebeb);
    transition: all var(--transition);
}

.cta-buttons .secondary-btn:hover {
    background: var(--bg-subtle, #fafafa);
    box-shadow: 0 0 0 1px var(--text-secondary, #4d4d4d);
    color: var(--primary-light, #404040);
}

/* ===========================================
   Providers Section
   =========================================== */
.providers {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.providers h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0072f5 30%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-answer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.provider-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--provider-color, transparent);
}

.provider-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.provider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.provider-icon, .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    transition: transform var(--transition);
}

.provider-icon svg {
    width: 44px;
    height: 44px;
    padding: 0.6rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--provider-color) 10%, white);
    color: var(--provider-color);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--provider-color) 18%, transparent);
}

.provider-icon img, .feature-icon img, .svg-icon {
    width: 100%;
    height: 100%;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.inline-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    margin-top: -3px;
    margin-right: 0.3rem;
}

h1 .inline-icon, h2 .inline-icon {
    width: 0.9em;
    height: 0.9em;
    margin-top: -5px;
}

.provider-card:hover .provider-icon {
    transform: scale(1.1);
}

.arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.arrow svg {
    width: 14px;
    height: 14px;
}

.provider-card:hover .arrow {
    background: var(--provider-color);
    color: var(--provider-contrast);
    transform: rotate(-45deg);
}

.provider-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.provider-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.division {
    display: none;
}

.check-bill-btn {
    margin-top: auto;
    padding: 0.75rem;
    background: var(--provider-color);
    color: var(--provider-contrast);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    transition: background var(--transition), filter var(--transition);
}

.check-bill-btn:hover {
    background: var(--provider-color);
    filter: brightness(0.9);
    color: var(--provider-contrast);
}

/* ===========================================
   Features Section
   =========================================== */
.features {
    padding: clamp(3rem, 5vw, 4rem) 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, #0072f5 30%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(3deg);
    background: var(--secondary-color);
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon {
    width: 1.2rem;
    height: 1.2rem;
    opacity: 0.5;
    transition: transform var(--transition), opacity var(--transition);
}

.provider-card:hover .arrow-icon, 
.service-box:hover .arrow-icon, 
.company-card:hover .arrow-icon {
    transform: translateX(3px);
    filter: brightness(0) invert(1);
    opacity: 1;
}

.highlight-card .arrow-icon {
    opacity: 0.5;
}

.highlight-card:hover .arrow-icon {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================================
   Services Section
   =========================================== */
.services-section {
    padding: clamp(3rem, 5vw, 4rem) 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    background: linear-gradient(135deg, #0072f5 30%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.service-box {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
    height: 100%;
    box-shadow: var(--shadow);
}

.service-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.service-header .arrow {
    display: none;
}

.service-icon {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0072f5 0%, #e91e63 100%);
    border-radius: 16px;
    color: white;
    margin: 0 auto;
    box-shadow: 0 4px 14px rgba(0, 114, 245, 0.3);
}

.service-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.service-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-description {
    max-width: 100%;
    margin: 1.5rem 0 0 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0072f5 0%, #e91e63 100%);
    border-radius: var(--radius);
    text-align: center;
    grid-column: 1 / -1;
    color: white;
}

.service-description p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.7;
}

.service-description .highlight {
    color: #fff;
    font-weight: 600;
}

/* ===========================================
   SEO summary content block (homepage)
   =========================================== */
.seo-summary {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.seo-summary h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.25rem;
}

.seo-summary p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.seo-summary p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   Companies Info Section
   =========================================== */
.companies-info {
    padding: clamp(3rem, 5vw, 4rem) 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.companies-info h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--primary);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
}

.section-intro {
    grid-column: 1 / -1;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-intro p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 2rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.company-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: box-shadow var(--transition), transform var(--transition);
    box-shadow: var(--shadow);
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 1.75rem;
    margin-right: 1rem;
}

.company-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0072f5 0%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.company-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.highlight-card {
    background: linear-gradient(135deg, #0072f5 0%, #e91e63 100%);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0, 114, 245, 0.3);
}

.highlight-card h3,
.highlight-card p,
.highlight-card .arrow,
.highlight-card .card-icon {
    color: white;
}

/* ===========================================
   FAQ Section
   =========================================== */
.faq {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    margin: 2rem auto;
    max-width: 800px;
    padding: 3rem 2rem;
    border: 1px solid var(--card-border);
}

.faq h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #0072f5 30%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-list details {
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-list details:hover {
    box-shadow: var(--shadow);
}

.faq-list summary {
    padding: 1rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-list summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
}

.faq-list details[open] summary::after {
    content: '−';
}

.faq-list .faq-content {
    padding: 0 1.25rem 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================================
   Footer
   =========================================== */
.footer {
    background: var(--card-bg);
    margin-top: 3rem;
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.footer-brand .bolt-icon {
    font-size: 1.25rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-link {
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition), background var(--transition);
}

.footer-link:hover {
    color: var(--text);
    background: var(--bg-subtle);
}

/* ===========================================
   Utilities
   =========================================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: #0072f5;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.bill-history {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
}

.bill-history h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #0072f5;
}

.history-list {
    list-style: none;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    margin-bottom: 0.25rem;
    cursor: pointer;
    transition: all var(--transition);
}

.history-item:hover {
    background: var(--bg-subtle, #fafafa);
    color: var(--primary, #171717);
    box-shadow: var(--shadow);
}

.history-item .ref-number {
    font-family: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 0.85rem;
}

.history-item .delete-btn {
    background: none;
    border: none;
    opacity: 0.5;
    cursor: pointer;
}

.history-item:hover .delete-btn {
    opacity: 0.6;
    color: var(--primary, #171717);
}

.history-item .delete-btn:hover {
    opacity: 1;
    color: #ef4444;
}

/* ===========================================
   Print & Accessibility
   =========================================== */
@media print {

    .header,
    .footer,
    .mobile-menu-btn,
    .theme-toggle,
    .bill-history {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Section spacing */
section {
    padding: 4rem 0;
}

section:not(.hero) {
    margin: 0 auto 2rem;
    max-width: 1200px;
    padding: 0 1.5rem;
}

/* About Section */
.about-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    border: 1px solid var(--card-border);
}

.about-section h1 {
    background: linear-gradient(135deg, #0072f5 0%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-section {
    padding: 3rem 0;
}

.contact-form {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--card-border);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--card-bg);
    color: var(--text);
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 114, 245, 0.15);
}

.contact-form button {
    background: var(--primary, #171717);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-form button:hover {
    background: var(--primary-light, #404040);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   Content Pages (Privacy, Disclaimer, etc)
   =========================================== */
.content-page {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 2rem auto;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
}

.content-page h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text);
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    text-align: center;
}

.content-page h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.content-page p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-page ul,
.content-page ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-page li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-page a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-page a:hover {
    color: var(--accent-hover);
}

.last-updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* ===========================================
   Tools Section - Homepage
   =========================================== */
.tools-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.tools-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #0072f5 0%, #e91e63 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 8px 24px rgba(0, 114, 245, 0.25);
    text-decoration: none;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 114, 245, 0.35);
}

.tool-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.tool-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tool-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.tool-card .arrow-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: transform var(--transition), opacity var(--transition);
}

.tool-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(3px);
}

/* ===========================================
   Blog Section - Homepage
   =========================================== */
.blog-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Blog Slider Styles */
.blog-slider-wrapper {
    position: relative;
    padding: 2rem 1rem;
    margin-top: 2rem;
    background: var(--bg-subtle);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.blog-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.blog-card-home {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: auto;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.blog-card-icon {
    background: var(--bg-subtle);
    box-shadow: inset 0 -1px 0 var(--border-color);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

/* ===========================================
   Blog Post Styling
   =========================================== */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
}

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, #0072f5 0%, #0052d4 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.blog-header h1 {
    font-size: 2.25rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text) !important;
}

.blog-meta {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
}

.blog-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text);
}

.blog-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text) !important;
    font-weight: 700;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text) !important;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.blog-content ul,
.blog-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.blog-content li {
    margin-bottom: 0.75rem;
}

.blog-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-content a:hover {
    color: var(--accent-hover);
}

.tip-box {
    background: var(--bg-subtle);
    box-shadow: inset 0 0 0 1px var(--card-border);
    border-left: 3px solid var(--accent);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.tip-box h3 {
    color: var(--text) !important;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    margin-top: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0072f5;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: transform var(--transition);
}

.back-link:hover {
    text-decoration: underline;
    transform: translateX(-4px);
}

.blog-page-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Blog Table Styling */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.blog-content thead tr {
    background: var(--secondary-color);
}

.blog-content th,
.blog-content td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
    color: var(--text);
}

.blog-content .table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

/* Formula Box */
.formula-box {
    background: var(--secondary-color);
    box-shadow: inset 0 0 0 1px var(--card-border);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    text-align: center;
    margin: 1rem 0;
    color: var(--text);
}

/* District Grid */
.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.district-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}

.district-card:hover {
    border-color: #0072f5;
    color: #0072f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 114, 245, 0.15);
}

@media (max-width: 768px) {
    .blog-post {
        padding: 1.5rem 1rem;
    }

    .blog-header h1 {
        font-size: 1.75rem;
    }
}

.read-more-link {
    color: #0072f5;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Slider Navigation Buttons */
.blog-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #171717);
    font-size: 1.5rem;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.blog-nav-btn:hover {
    background: var(--primary, #171717);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-nav-btn.prev {
    left: -20px;
}

.blog-nav-btn.next {
    right: -20px;
}

@media (max-width: 768px) {
    .blog-nav-btn {
        display: none;
    }

    /* Hide on mobile where swipe is natural */
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    background: var(--primary, #171717);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition);
}

.view-all-btn:hover {
    background: var(--primary-light, #404040);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.view-all-btn .arrow-icon {
    filter: brightness(10);
}

/* Responsive for Tools and Blog */
@media (max-width: 768px) {
    .tool-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .blog-card-home {
        flex-direction: column;
    }

    .blog-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
}

/* ===========================================
   Comprehensive Mobile-First Responsive Design
   =========================================== */

/* Tablet (max-width: 900px) */
@media (max-width: 900px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .provider-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape / Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        margin-left: auto;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        min-height: 48px;
    }

    .provider-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .provider-card {
        padding: 1.25rem 1rem;
    }

    .provider-card h3 {
        font-size: 1rem;
    }

    .provider-card p {
        font-size: 0.8rem;
    }

    .provider-card .division {
        font-size: 0.7rem;
    }

    .check-bill-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .section-answer {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    section h2 {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .service-box {
        padding: 1rem;
    }

    .service-box h3 {
        font-size: 0.95rem;
    }

    .service-box p {
        font-size: 0.8rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .company-card {
        padding: 1.25rem;
    }

    .faq-list details summary {
        font-size: 0.95rem;
        padding: 1rem;
        min-height: 44px;
    }

    .faq-content {
        padding: 1rem;
    }

    .blog-slider-wrapper {
        margin: 0 -0.5rem;
    }

    .blog-card-home {
        min-width: 260px;
        padding: 1rem;
    }
}

/* Mobile Portrait (max-width: 600px) */
@media (max-width: 600px) {
    .hero {
        padding: 2rem 0.75rem;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .provider-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 0.25rem;
    }

    .provider-card {
        padding: 1rem 0.75rem;
        border-radius: 12px;
    }

    .provider-header {
        margin-bottom: 0.5rem;
    }

    .provider-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .provider-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .provider-card>p:first-of-type {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .provider-card .division {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }

    .check-bill-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        min-height: 40px;
    }

    .features,
    .services-section,
    .companies-info,
    .blog-section,
    .tools-section,
    .faq {
        padding: 2rem 0.75rem;
    }

    section h2 {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .section-answer {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .service-box {
        padding: 0.875rem 0.5rem;
    }

    .service-header {
        margin-bottom: 0.5rem;
    }

    .service-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .service-box h3 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .service-box p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .service-description {
        grid-column: 1 / -1;
        padding: 0.75rem;
    }

    .service-description p {
        font-size: 0.85rem;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .tool-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .tool-content h3 {
        font-size: 1.1rem;
    }

    .tool-content p {
        font-size: 0.9rem;
    }

    .blog-slider {
        gap: 0.75rem;
        padding: 0.5rem;
    }

    .blog-card-home {
        min-width: 240px;
        padding: 0.875rem;
    }

    .blog-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .blog-card-body h3 {
        font-size: 0.95rem;
    }

    .blog-card-body p {
        font-size: 0.8rem;
    }

    .faq h2 {
        margin-bottom: 1rem;
    }

    .faq-list details {
        margin-bottom: 0.5rem;
    }

    .faq-list details summary {
        font-size: 0.9rem;
        padding: 0.875rem;
    }

    .faq-content p {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.35rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .cta-buttons a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .provider-grid {
        gap: 0.4rem;
    }

    .provider-card {
        padding: 0.75rem 0.5rem;
    }

    .provider-card h3 {
        font-size: 0.8rem;
    }

    .provider-card>p:first-of-type {
        display: none;
    }

    .check-bill-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }

    section h2 {
        font-size: 1.25rem;
    }

    .section-answer {
        font-size: 0.85rem;
    }

    .service-icon {
        display: none;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }
}

/* Touch-friendly enhancements */
@media (pointer: coarse) {

    .check-bill-btn,
    .cta-buttons a,
    .nav-btn,
    .primary-btn,
    .secondary-btn,
    .view-all-btn,
    .tool-cta {
        min-height: 44px;
        touch-action: manipulation;
    }

    .provider-card,
    .feature-card,
    .service-box,
    .company-card,
    .blog-card-home {
        touch-action: manipulation;
    }

    .faq-list details summary {
        min-height: 48px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}