* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #20262d;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    background: #20262d;
    color: #ffffff;
    border-bottom: 1px solid #303840;
}

.site-nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-mark {
    color: #4d8dcc;
    font-size: 18px;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-menu a {
    color: #d7dde3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.site-menu a:hover {
    color: #6aa4dc;
}

.site-main {
    min-height: calc(100vh - 80px);
}

.hero {
    background: #20262d;
    color: #ffffff;
    padding: 76px 24px 88px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    color: #6aa4dc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.hero h1 {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.hero-text {
    max-width: 650px;
    margin: 24px auto 34px;
    color: #c5cdd5;
    font-size: 17px;
}

.upload-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 30px;
    background: #eef3f7;
    color: #20262d;
    border: 2px dashed #aebdca;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
}

.upload-box:hover {
    border-color: #4d8dcc;
}

.upload-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #dce9f4;
    color: #3977ad;
    font-size: 28px;
    font-weight: 800;
}

.upload-box h2 {
    margin: 0;
    font-size: 24px;
}

.upload-box p {
    margin: 7px 0 22px;
    color: #68737e;
}

.upload-box small {
    display: block;
    margin-top: 18px;
    color: #7b8792;
    font-size: 12px;
}

.primary-button {
    border: 0;
    border-radius: 7px;
    padding: 13px 30px;
    background: #397fbd;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.primary-button:hover {
    background: #2f6fa8;
    transform: translateY(-1px);
}

.popular-section,
.how-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 76px 24px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2,
.how-section h2 {
    margin: 0;
    color: #20262d;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.all-tools-link {
    color: #397fbd;
    font-weight: 700;
    text-decoration: none;
}

.all-tools-link:hover {
    color: #2f6fa8;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tool-card {
    display: block;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #dce2e7;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(32, 38, 45, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-3px);
    border-color: #b5cde1;
    box-shadow: 0 12px 28px rgba(32, 38, 45, 0.09);
}

.tool-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}

.document-icon {
    background: #e3ebf2;
    color: #3e6788;
}

.spreadsheet-icon {
    background: #e1e9ed;
    color: #416d79;
}

.image-icon {
    background: #dfe9f3;
    color: #3b6f9d;
}

.video-icon {
    background: #e7eaed;
    color: #586570;
}

.tool-card h3 {
    margin: 0 0 8px;
    color: #20262d;
    font-size: 18px;
}

.tool-card p {
    margin: 0;
    color: #6c7680;
    font-size: 14px;
}

.how-section {
    padding-top: 20px;
    padding-bottom: 90px;
}

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

.step {
    padding: 28px;
    background: #e9edf1;
    border: 1px solid #dce2e7;
    border-radius: 12px;
}

.step > span {
    color: #397fbd;
    font-size: 13px;
    font-weight: 900;
}

.step h3 {
    margin: 12px 0 7px;
    font-size: 19px;
}

.step p {
    margin: 0;
    color: #69747e;
    font-size: 14px;
}

.site-footer {
    padding: 28px 24px;
    background: #20262d;
    color: #aeb8c1;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 900px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-nav {
        padding: 16px 18px;
    }

    .site-menu {
        gap: 14px;
    }

    .site-menu a {
        font-size: 13px;
    }

    .hero {
        padding: 55px 18px 65px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-text {
        font-size: 15px;
    }

    .upload-box {
        padding: 32px 20px;
    }

    .popular-section,
    .how-section {
        padding: 55px 18px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   EOConvert Main Navigation
   ========================================================= */

.site-header {
    background: #ffffff;
    color: #263238;
    border-bottom: 1px solid #c8d9e8;
}

.site-nav {
    min-height: 70px;
}

.site-logo {
    color: #263238;
}

.logo-mark {
    color: #4f81bd;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
}

.site-menu > a,
.tools-link {
    color: #45545f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.site-menu > a:hover,
.tools-link:hover {
    color: #3f78b5;
}

.tools-menu {
    position: relative;
}

.tools-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tools-arrow {
    font-size: 12px;
    color: #6b8194;
}

.tools-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    right: -20px;
    z-index: 1000;

    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 28px;

    width: 680px;
    padding: 24px;

    background: #ffffff;
    border: 1px solid #b9cee0;
    border-radius: 10px;

    box-shadow: 0 14px 35px rgba(55, 78, 96, 0.14);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}

.tools-menu:hover .tools-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tools-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tools-column strong {
    margin-bottom: 7px;
    color: #3f78b5;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.tools-column a {
    padding: 6px 8px;
    border-radius: 5px;
    color: #52616d;
    text-decoration: none;
    font-size: 14px;
}

.tools-column a:hover {
    background: #edf4fa;
    color: #3f78b5;
}

@media (max-width: 900px) {
    .site-menu {
        gap: 16px;
    }

    .tools-dropdown {
        width: 620px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .site-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-menu {
        width: 100%;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .tools-dropdown {
        position: fixed;
        top: 120px;
        left: 12px;
        right: 12px;
        width: auto;
        grid-template-columns: 1fr;
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* =========================================================
   EOConvert Light Excel-Inspired Theme
   ========================================================= */

body {
    background: #e7edf3;
    color: #263238;
}

/* Main header */
.site-header {
    background: #ffffff;
    color: #45545f;
    border-bottom: 1px solid #b8cde0;
}

.site-logo {
    color: #45545f;
}

.logo-mark {
    color: #4f81bd;
}

/* Main navigation */
.site-menu > a,
.tools-link {
    color: #45545f;
    font-weight: 600;
}

.site-menu > a:hover,
.tools-link:hover {
    color: #3f78b5;
}

.tools-arrow {
    color: #45545f;
}

/* Main hero */
.hero {
    background: #dfe7ee;
    color: #263238;
    border-bottom: 1px solid #b8cde0;
}

.hero .eyebrow {
    color: #3f78b5;
}

.hero h1 {
    color: #263238;
}

.hero-text {
    color: #5f6e7a;
}

/* Upload area */
.upload-box {
    background: #f7f9fb;
    border-color: #9fbdd6;
    box-shadow: 0 10px 30px rgba(67, 91, 110, 0.10);
}

.upload-box:hover {
    border-color: #6f9fc8;
}

.upload-icon {
    background: #dce9f4;
    color: #3f78b5;
}

.upload-box h2 {
    color: #263238;
}

.upload-box p {
    color: #687783;
}

.upload-box small {
    color: #7a8792;
}

/* Primary button */
.primary-button {
    background: #4f81bd;
}

.primary-button:hover {
    background: #3f6fa5;
}

/* Sections */
.popular-section,
.how-section {
    background: #e7edf3;
}

.section-heading h2,
.how-section h2 {
    color: #263238;
}

.all-tools-link {
    color: #3f78b5;
}

/* Tool cards */
.tool-card {
    background: #ffffff;
    border-color: #b8cde0;
    box-shadow: 0 4px 15px rgba(67, 91, 110, 0.07);
}

.tool-card:hover {
    border-color: #7fa8c9;
    box-shadow: 0 9px 24px rgba(67, 91, 110, 0.11);
}

.tool-card h3 {
    color: #263238;
}

.tool-card p {
    color: #687783;
}

/* How it works */
.step {
    background: #f4f7fa;
    border-color: #b8cde0;
}

.step h3 {
    color: #263238;
}

.step p {
    color: #687783;
}

.step > span {
    color: #4f81bd;
}

/* Tools dropdown */
.tools-dropdown {
    background: #ffffff;
    border-color: #a9c2d8;
    box-shadow: 0 14px 35px rgba(55, 78, 96, 0.14);
}

.tools-column strong {
    color: #3f78b5;
}

.tools-column a {
    color: #52616d;
}

.tools-column a:hover {
    background: #edf4fa;
    color: #3f78b5;
}

/* Footer */
.site-footer {
    background: #d4dde5;
    color: #5f6e7a;
    border-top: 1px solid #b8cde0;
}

@media (max-width: 640px) {
    .hero {
        background: #dfe7ee;
    }
}


/* Final navigation and upload colors */

.site-menu > a,
.tools-link {
    color: #45545f !important;
}

.site-menu > a:hover,
.tools-link:hover {
    color: #3f78b5 !important;
}

.tools-arrow {
    color: #45545f !important;
}

/* Upload drop zone */
.upload-box {
    background: #dce9f4;
    border: 2px dashed #8fb3d1;
}

.upload-box:hover {
    background: #d6e5f2;
    border-color: #6f9fc8;
}


/* Final main background tone */
body,
.popular-section,
.how-section {
    background: #d9e0e6;
}


/* Final light gray page background */
body,
.popular-section,
.how-section {
    background: #e5e9ed;
}


/* Hero contrast adjustment */
.hero {
    background: #d9e0e6;
    color: #263238;
}

.hero h1 {
    color: #263238;
}

.hero p,
.hero-text {
    color: #536574;
}

.hero .eyebrow {
    color: #4f81bd;
}


/* Final Hero background - match Popular Tools */
.site-main .hero {
    background: #d9e0e6 !important;
}

/* EOConvert - Final Excel Theme Applied */

/* =========================================================
   EOConvert - Final Excel Inspired Theme
   ========================================================= */

body,
.site-main,
.hero,
.popular-section,
.how-section {
    background: #FFFF00 !important;
}

.site-header {
    background: #00B050 !important;
    color: #ffffff !important;
    border-bottom: 1px solid #008C3F !important;
}

.site-logo,
.site-menu > a,
.tools-link,
.tools-arrow {
    color: #ffffff !important;
}

.site-menu > a:hover,
.tools-link:hover {
    color: #E6E6E6 !important;
}

.hero,
.hero h1 {
    color: #263238 !important;
}

.hero p,
.hero-text {
    color: #263238 !important;
}

.hero .eyebrow {
    color: #008C3F !important;
}

.upload-box {
    background: #92D050 !important;
    border: 2px dashed #00B050 !important;
}

.upload-box:hover {
    background: #8ACB4A !important;
    border-color: #008C3F !important;
}

.upload-icon {
    background: #E6E6E6 !important;
    color: #008C3F !important;
}

.primary-button {
    background: #00B050 !important;
    border-color: #008C3F !important;
    color: #ffffff !important;
}

.primary-button:hover {
    background: #008C3F !important;
}

.tool-card,
.step {
    background: #ffffff !important;
    border-color: #92D050 !important;
}

.tool-card:hover {
    border-color: #00B050 !important;
}

.tools-dropdown {
    background: #ffffff !important;
    border-color: #00B050 !important;
}

.tools-column strong {
    color: #008C3F !important;
}

.tools-column a {
    color: #263238 !important;
}

.tools-column a:hover {
    background: #E6E6E6 !important;
    color: #008C3F !important;
}

.site-footer {
    background: #E6E6E6 !important;
    color: #263238 !important;
    border-top: 1px solid #cccccc !important;
}

/* Final hero background - same as main page */
.site-main .hero {
    background: #FFFF00 !important;
}


/* Light gray main surface preview */
body,
.site-main,
.hero,
.popular-section,
.how-section {
    background: #e5e9ed !important;
}

.site-main .hero {
    background: #e5e9ed !important;
}


/* =========================================================
   Excel engine color - hover interaction
   ========================================================= */

.step,
.tool-card {
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.step:hover,
.tool-card:hover {
    background: #92D050 !important;
    border-color: #70AD47 !important;
}

/* EOConvert Blog Styles */

/* =========================================================
   EOConvert Blog
   ========================================================= */

.page-hero {
    padding: 70px 24px 55px;
    text-align: center;
    background: #e5e9ed;
}

.page-container {
    max-width: 1180px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    margin: 0 0 10px;
    color: #4f81bd;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-hero h1 {
    margin: 0 auto 18px;
    max-width: 760px;
    color: #263238;
    font-size: 42px;
    line-height: 1.15;
}

.page-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #536574;
    font-size: 18px;
}

.blog-section {
    padding: 60px 24px;
    background: #e5e9ed;
}

.section-heading {
    margin-bottom: 35px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 10px;
    color: #263238;
    font-size: 30px;
}

.section-heading p {
    margin: 0;
    color: #536574;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #92d050;
    border-radius: 10px;
    overflow: hidden;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.blog-card:hover {
    background: #92d050;
    border-color: #70ad47;
    transform: translateY(-2px);
}

.blog-card-content {
    padding: 28px;
}

.blog-category {
    display: inline-block;
    margin-bottom: 12px;
    color: #4f81bd;
    font-size: 13px;
    font-weight: 700;
}

.blog-card:hover .blog-category {
    color: #263238;
}

.blog-card h2 {
    margin: 0 0 14px;
    color: #263238;
    font-size: 22px;
    line-height: 1.3;
}

.blog-card p {
    margin: 0 0 20px;
    color: #536574;
}

.blog-card a {
    color: #4f81bd;
    font-weight: 700;
    text-decoration: none;
}

.blog-card:hover a {
    color: #263238;
}

.blog-intro-section {
    padding: 55px 24px 70px;
    background: #e5e9ed;
}

.blog-intro-section .page-container {
    max-width: 820px;
}

.blog-intro-section h2 {
    margin: 0 0 18px;
    color: #263238;
    font-size: 30px;
}

.blog-intro-section p {
    color: #536574;
}

@media (max-width: 760px) {
    .page-hero h1 {
        font-size: 34px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   EOConvert - Section Heading Layout
   Heading above paragraph, left aligned
   ========================================================= */

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
}

.section-heading h2,
.section-heading p {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* Final hero heading adjustment */
.hero h1 {
    max-width: none;
    margin: 0 auto;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero h1 {
        white-space: normal;
        font-size: 38px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 34px;
    }
}

/* Final homepage heading refinement */
.hero h1 {
    max-width: none;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

@media (max-width: 900px) {
    .hero h1 {
        white-space: normal;
        font-size: 38px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 34px;
    }

    .section-heading h2 {
        font-size: 28px;
    }
}

/* Final homepage vertical alignment */
.site-main .hero {
    padding-top: 66px;
}

/* Homepage vertical alignment - final adjustment */
.site-main .hero {
    padding-top: 36px;
}
