* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    background-color: #151e32;
    color: #fff;
    line-height: 1.6;
    padding-top: 90px;
}

.page-container {
    overflow-x: hidden;
    width: 100%;
}

/* Header Styles */
.main-header {
    width: 100%;
    height: 90px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    background-color: #121b2d;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 92px;
    height: 100%;
    position: relative;
}

.genx-logo {
    width: 158px;
    height: 52px;
    flex-shrink: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 1);
    font: 400 16px Inter, -apple-system, Roboto, Helvetica, sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #08c076;
}

.auth-buttons {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.register-button {
    display: flex;
    width: 143px;
    padding: 10px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    border: 2px solid #08c076;
    background: transparent;
    color: #08c076;
    font: 500 16px/150% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-button:hover {
    background-color: #08c076;
    color: #121b2d;
}

.login-button {
    display: flex;
    width: 143px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    border: none;
    background-color: #08c076;
    color: #121b2d;
    font: 600 16px/150% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #06a065;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}
/* Hero Section */
.hero-section {
    width: 100%;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    background-color: #1D2B48;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    transition: min-height 0.4s ease, padding 0.4s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

.hero-title {
    color: #FFF;
    text-align: center;
    position: relative;
    z-index: 2;
    font: 400 48px Roboto, -apple-system, Roboto, Helvetica, sans-serif;
    transition: font-size 0.3s ease, text-align 0.3s ease, transform 0.3s ease;
}

.hero-section.hero-sticky {
    position: sticky;
    top: var(--hero-offset, 90px);
    min-height: 90px;
    padding: 16px 80px;
    backdrop-filter: blur(10px);
    z-index: 900;
}

.hero-section.hero-sticky .hero-title {
    text-align: left;
    width: 100%;
    transform: translateY(-4px);
    font-size: 36px;
}

/* .hero-section.hero-sticky .hero-background {
    opacity: 0.6;
} */

/* Main Content */
.main-content {
    background-color: #131c2f;
    padding: 40px 20px;
}

.content-wrapper {
    margin:0 auto;
    display: flex;
    width: 100%;
    max-width: 1240px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 40px 0;
}

.intro-section {
    width: 100%;
}

.section-title {
    color: #08c076;
    font: 500 24px/130% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-bottom: 12px;
}

.intro-paragraph {
    color: #fff;
    width: 100%;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-bottom: 12px;
}

.subsection-title {
    color: #fff;
    width: 100%;
    font: 600 18px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 24px 0 12px 0;
}

.workflow-description {
    color: #fff;
    width: 100%;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
}

.workflow-paragraph {
    margin-bottom: 8px;
}

.workflow-list {
    margin: 8px 0;
    list-style: none;
}

.workflow-list-item {
    margin-bottom: 4px;
    padding-left: 20px;
    position: relative;
}

.workflow-list-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #08c076;
}

/* Content with Sidebar */
.content-with-sidebar {
    display: flex;
    width: 100%;
    min-height: 540px;
    padding: 0 100px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background-color: #151e32;
}

.sidebar-container {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.table-of-contents {
    display: flex;
    width: 315px;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: var(--sidebar-sticky-top, 180px);
    align-self: flex-start;
}

.toc-title {
    display: flex;
    width: 315px;
    height: 15px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    color: #a4a4a4;
    font: 500 12px/130% Lato, sans-serif;
}

.toc-navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1 0 0;
    color: rgba(255, 255, 255, 0.53);
    font: 400 18px/130% Roboto, sans-serif;
    transition: color 0.3s ease;
}

.toc-link.active {
    color: #08c076;
    font-weight: 600;
}

.toc-link:hover {
    color: #08c076;
}

.detailed-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
}

.content-section-title {
    color: #08c076;
    font: 500 24px/130% Inter, sans-serif;
}

.content-paragraph {
    align-self: stretch;
    color: #fff;
    font: 400 16px/160% Inter, sans-serif;
}

.normalization-list {
    align-self: stretch;
    color: #fff;
    font: 400 16px/160% Inter, sans-serif;
    list-style: none;
}

.normalization-item {
    margin-bottom: 8px;
}

/* Footer */
.main-footer {
    width: 100%;
    height: 256px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    position: relative;
    background-color: #0b162b;
}

.footer-content {
    display: flex;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    position: relative;
    margin: 0 auto;
}

/* .footer-brand {
    display: flex;
    width: 224px;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    position: absolute;
    left: 140px;
    top: 36px;
    height: 154px;
} */

.footer-logo {
    width: 158.419px;
    height: 52px;
    position: relative;
}

.social-links {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    align-self: stretch;
    position: relative;
}

.social-link {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 7px;
    align-self: stretch;
    position: relative;
}

.powered-text {
    color: #828282;
    position: relative;
    font: 500 16px/150% Inter, sans-serif;
}

.sat-logo {
    width: 86px;
    position: relative;
}

/* .footer-links {
    display: flex;
    width: 315px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    left: 577px;
    top: 36px;
    height: 138px;
} */

.footer-section-title {
    color: rgba(255, 255, 255, 0.39);
    position: relative;
    font: 400 14px/130% Inter, sans-serif;
}

.footer-columns {
    display: flex;
    align-items: center;
    gap: 67px;
    position: relative;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}

.footer-link {
    color: #fff;
    position: relative;
    font: 400 16px Inter, sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #08c076;
}
/* 
.footer-contact {
    display: flex;
    width: 182px;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    position: absolute;
    left: 1068px;
    top: 65px;
    height: 90px;
} */

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.contact-text {
    color: #fff;
    position: relative;
    font: 400 14px/130% Inter, sans-serif;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-content {
        padding: 0 40px;
    }

    .main-navigation {
        display: none;
    }

    .auth-buttons {
        gap: 8px;
    }

    .register-button,
    .login-button {
        width: 143px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .login-button {
        padding: 8px 20px;
    }

    .hero-title {
        font-size: 40px;
    }

    .main-content {
        padding: 0 40px;
    }

    .content-wrapper {
        padding: 30px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .intro-paragraph,
    .workflow-description,
    .content-paragraph {
        font-size: 15px;
    }

    .subsection-title {
        font-size: 17px;
    }

    .content-with-sidebar {
        padding: 0 40px;
    }

    .sidebar-container {
        gap: 16px;
    }

    .table-of-contents {
        width: 280px;
    }

    .toc-title {
        width: 280px;
    }

    .content-section-title {
        font-size: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        max-width: none;
    }

    .footer-brand {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
    }

    .footer-columns {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer-column {
        width: 100%;
    }

    .footer-contact {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
    }

    .main-footer {
        height: auto;
        padding: 32px 24px;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 0 20px;
    }

    .main-navigation {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 28px;
    }

    .main-content {
        padding: 0 20px;
    }

    .content-wrapper {
        padding: 20px 0;
        gap: 16px;
    }

    .section-title {
        font-size: 20px;
        line-height: 140%;
    }

    .intro-paragraph,
    .workflow-description,
    .content-paragraph {
        font-size: 14px;
        line-height: 150%;
    }

    .subsection-title {
        font-size: 16px;
        line-height: 150%;
    }

    .workflow-list-item {
        padding-left: 16px;
    }

    .content-with-sidebar {
        padding: 0 20px;
    }

    .sidebar-container {
        flex-direction: column;
        gap: 20px;
    }

    .table-of-contents {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 20px;
    }

    .toc-title {
        width: 100%;
        height: auto;
    }

    .toc-link {
        font-size: 16px;
    }

    .content-section-title {
        font-size: 20px;
    }

    .normalization-list,
    .content-paragraph {
        font-size: 14px;
    }

    .footer-brand {
        gap: 16px;
    }

    .social-links {
        gap: 24px;
    }

    .powered-text {
        font-size: 14px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-columns {
        gap: 16px;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-contact {
        gap: 12px;
    }

    .contact-text {
        font-size: 12px;
    }

    .main-footer {
        padding: 24px 16px;
    }
}

/* Mobile Drawer and shared header overlay styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #FFFFFF;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    width: 320px;
    max-width: 86vw;
    height: 100%;
    background: #121214;
    color: #FFFFFF;
    box-shadow: -8px 0 24px rgba(0,0,0,0.4);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 16px 16px 0 16px;
}

.mobile-menu-close {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 6px;
    color: #FFFFFF;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
}

.mobile-nav-link {
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 10px;
    margin: 4px 0;
    transition: background 0.15s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-auth {
    margin-top: auto;
    padding: 16px;
    display: flex;
    gap: 12px;
}

.register-btn, .login-btn {
    font-family: inherit;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 30px;
    cursor: pointer;
}

.register-btn {
    background: transparent;
    color: #08c076;
    border: 2px solid #08c076;
}

.login-btn {
    background: #08c076;
    color: #121b2d;
    border: none;
}

body.no-scroll { overflow: hidden; }
