:root{
    --primary-color: #003399;
    --heading-color: #1d2939;
    --text-color: #667085;
    --assest-color: #002266;
    --black-color: #000000;
    --white-color: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
body {
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.text-center {
    text-align: center;
}
/* --- Sub Navigation (HP Header Bar) --- */
.epson-subnav {
    background-color: var(--white-color);
    border-top: 4px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.epson-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.epson-nav-links {
    display: flex;
    gap: 1.8rem;
}

.epson-nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #323841;
    transition: color 0.2s ease;
}

.epson-nav-links a:hover {
    color: var(--assest-color);
}

.btn-epson-pill {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-epson-pill:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 150, 214, 0.25);
}

/* --- Breadcrumbs --- */
.breadcrumb-container {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--white-color);
    padding: 0.65rem 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
    font-size: 0.78rem;
}

.breadcrumbs li a {
    text-decoration: none;
    color: #1e2022;
    transition: color 0.2s ease;
}

.breadcrumbs li a:hover {
    color: var(--primary-color);
}
.breadcrumbs li span {
    color: #cbd5e1;
}

.breadcrumbs li.active {
    color: #0f172a;
    font-weight: 600;
}

/* --- Section 1: Hero Area --- */
.epson-hero {
    padding: 3.5rem 0 3rem 0;
}

.hero-two-col {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid #0369a145;
}

.epson-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.epson-hero-desc {
    font-size: 0.96rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.8rem;
    max-width: 540px;
}

/* Model Search Box */
.epson-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white-color);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: border 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 0.9rem;
}

.epson-input-group:focus-within {
    border-color: var(--assest-color);
    box-shadow: 0 0 0 4px rgba(0, 150, 214, 0.12);
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.epson-input-group input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0.75rem 0.8rem 0.75rem 2.6rem;
    font-size: 0.92rem;
    color: #1e293b;
    background: transparent;
}

.btn-next {
    background: var(--assest-color);
    color: var(--white-color);
    border: none;
    padding: 0.75rem 1.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-next:hover {
    background: var(--primary-color);
    transform: translateX(2px);
}

.model-help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5c4747;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 1.6rem;
    transition: color 0.2s ease;
}

.model-help-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Topic Tags */
.topic-tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tags-heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5c4747;
    margin-right: 4px;
}

.topic-tag {
    font-size: 0.75rem;
    background: #f0f9ff;
    color: var(--assest-color);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    transition: all 0.2s ease;
}

/* Hero Printer Image Card */
.printer-preview-card {
    background: radial-gradient(circle, #f8fafc 40%, #edf2f7 100%);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.4s ease;
}

.printer-preview-card:hover {
    transform: scale(1.02);
}

.epson-device-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.1));
}

/* --- Shared Section Headings --- */
.section-badge {
    background: #e0f2fe;
    color: var(--assest-color);
    border-color: #bae6fd;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.section-title-hp {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.section-subtitle-hp {
    font-size: 0.94rem;
    color: #64748b;
    margin-bottom: 2.8rem;
}

/* --- Section 2: Utilities Section --- */
.epson-utilities-section {
    padding: 4rem 0;
    background: var(--white-color);
    border-top: 1px solid #f1f5f9;
}

.utilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    text-align: left;
}

.utility-card {
    background: var(--white-color);
    border: 2px solid #fff;
    border-top: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 1px 1px 7px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.utility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 22px rgba(0, 150, 214, 0.25);
    border: 2px solid var(--primary-color);
}
.utility-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 22px rgba(0, 150, 214, 0.25);
}

.badge-recommended {
    position: absolute;
    top: -12px;
    right: 0%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 12px;
    border-radius: 12px;
}

.utility-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.2rem;
}

.util-icon {
    font-size: 1.6rem;
    color: var(--assest-color);
}

.text-teal { color: #0d9488; }
.text-cyan { color: var(--assest-color); }

.utility-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.version-tag {
    font-size: 0.72rem;
    color: #94a3b8;
    display: block;
    margin-top: 3px;
}

.card-brief {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1.4rem;
}

.feature-bullets {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}

.feature-bullets li {
    font-size: 0.82rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-bullets li i {
    color: var(--assest-color);
    font-size: 0.8rem;
}

/* Action Buttons */
.btn-utility-action {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-blue-solid {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
}

.btn-blue-solid:hover {
    background: var(--assest-color);
    box-shadow: 0 6px 16px rgba(0, 150, 214, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--assest-color);
    border: 1px solid #cbd5e1;
}

.btn-outline:hover {
    background: #f0f9ff;
    border-color: var(--assest-color);
}

/* --- Section 3: Error Code Matrix --- */
.epson-error-matrix-section {
    padding: 4.5rem 0;
    background: #f8fafc;
}

.error-matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    text-align: left;
}

.error-code-card {
    background: var(--white-color);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.8rem 1.4rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.error-code-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    border-color: var(--assest-color);
}

.error-pill {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}

.code-err { background: #fee2e2; color: #b91c1c; }
.status-err { background: #fef3c7; color: #b45309; }
.alert-err { background: #ffedd5; color: #c2410c; }
.offline-err { background: #f1f5f9; color: #475569; }

.error-code-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.error-code-card p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.error-action-link {
    margin-top: auto;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--assest-color);
    text-decoration: none;
    align-items: center;
    padding: 10px 14px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--assest-color);
    border-radius: 25px;
}

.error-action-link:hover {
    color: var(--white-color);
    background: var(--assest-color);
}

/* --- Section 4: Workflow Steps --- */
.epson-workflow-section {
    padding: 4.5rem 0;
    background: var(--white-color);
}

.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.workflow-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 2.2rem 1.4rem;
    transition: all 0.3s ease;
}

.workflow-card:hover {
    background: var(--white-color);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    border-color: var(--assest-color);
}

.circle-step-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--assest-color);
    color: var(--white-color);
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.workflow-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.workflow-card p {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
}

/* --- Section 5: Dark CTA Banner --- */
.epson-cta-banner {
    background: linear-gradient(135deg, #0b1a30 0%, #11294d 100%);
    padding: 2.6rem 0;
    color: var(--white-color);
}

.cta-inner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 0.3rem;
}

.cta-text p {
    font-size: 0.88rem;
    color: #94a3b8;
}

.btn-start-guided {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-start-guided:hover {
    background: var(--assest-color);
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 150, 214, 0.4);
}

/* --- Section 5: Disclaimer --- */
.section-disclaimer {
    padding: 1rem 0;
    border-top: 1px solid #dedede;
}

.section-disclaimer p {
    font-size: 0.76rem;
    color: #434951;
    line-height: 1.5;
    max-width: 980px;
    margin: 0 auto;
}
.footer{
    background: #000;
    padding: 15px 10px;
}
.footer p{
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

.footer .legal-links {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1.5rem;
}
.footer .legal-links li:first-child {
    list-style: none;
}

.legal-links li a {
    color: #94a3b8;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links li a:hover,
.legal-links li a.active {
    color: var(--white-color);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .utilities-grid {
        grid-template-columns: 1fr;
    }
    .error-matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .epson-nav-links {
        display: none;
    }
    .error-matrix-grid {
        grid-template-columns: 1fr;
    }
    .workflow-steps-grid {
        grid-template-columns: 1fr;
    }
    .cta-inner-flex {
        flex-direction: column;
        text-align: center;
        gap: 1.4rem;
    }
    .epson-hero-title {
        font-size: 1.9rem;
    }
}

.epson-model-form {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.epson-input-group .input-icon {
    color: #5a6872;
    font-size: 18px;
    margin-right: 12px;
}

.epson-input-group .btn-next {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 7px;
    padding: 13px 26px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.epson-input-group .btn-next:hover {
    background-color: var(--assest-color);
}

/* Autocomplete Dropdown Box */
.epson-autocomplete-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 999;
    overflow: hidden;
}

.autocomplete-header {
    background-color: #f0f8ff;
    color: var(--assest-color);
    font-size: 10px;
    font-weight: 700;
    padding: 10px 18px;
    border-bottom: 1px solid #ddecff;
    letter-spacing: 0.4px;
}

.autocomplete-header span {
    font-weight: 400;
    color: var(--primary-color);
    margin-left: 4px;
    font-size: 9px;
}

.autocomplete-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 290px;
    overflow-y: auto;
}

.autocomplete-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 14px;
    color: #1e293b;
}

.autocomplete-list li:last-child {
    border-bottom: none;
}

.autocomplete-list li:hover {
    background-color: #f8fafc;
}

.model-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.model-item-left i {
    color: #475569;
    font-size: 13px;
}

.match-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.epson-badge {
    background-color: #e0f2fe;
    color: var(--assest-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
}
.epson-hero-action-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn-download-driver {
    background-color: var(--assest-color);
    color: #ffffff;
    border: none;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: background-color 0.2s ease;
}

.btn-download-driver:hover {
    background-color: var(--primary-color);
}

.btn-live-chat {
    background-color: #18181b;
    color: #ffffff;
    border: none;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: background-color 0.2s ease;
}

.btn-live-chat:hover {
    background-color: #27272a;
}

@media (max-width: 480px) {
    .epson-hero-action-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-download-driver,
    .btn-live-chat {
        justify-content: center;
        width: 100%;
    }
}