/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    background-color: #141D31;
    color: #FFF;
    line-height: 1.6;
    padding-top: 90px;
}

/* 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%;
}

.genx-logo {
    width: 158px;
    height: 52px;
    flex-shrink: 0;
}

.main-navigation {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #FFF;
    text-decoration: none;
    font: 400 16px Inter, -apple-system, Roboto, Helvetica, sans-serif;
    cursor: pointer;
    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;
}

/* 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;
    /* transition: opacity 0.3s ease; */
}

.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, font-size 0.3s ease;
}

.hero-section.hero-sticky {
    position: sticky;
    top: var(--hero-offset, 90px);
    min-height: 90px;
    padding: 16px 80px;
    backdrop-filter: blur(10px);
    /* box-shadow: 0 22px 45px rgba(8, 192, 118, 0.18); */
    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 {
    display: flex;
    width: 100%;
    padding: 24px 100px;
    align-items: flex-start;
    gap: 24px;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    display: flex;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.20);
    min-width: 315px;
    width: 315px;
    position: sticky;
    top: var(--sidebar-sticky-top, 280px);
    align-self: flex-start;
}
@media (max-width: 640px) {
    .sidebar {
        position: static;
        top: auto;
        width: 100%;
        min-width: 0;
        border-right: none;
        padding: 8px 0 16px 0;
    }
}

.contents-header {
    color: #A4A4A4;
    font: 500 12px/130% Lato, -apple-system, Roboto, Helvetica, sans-serif;
    margin-bottom: 8px;
}

.content-navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.nav-item {
    color: rgba(255, 255, 255, 0.53);
    text-decoration: none;
    font: 400 18px/130% Roboto, -apple-system, Roboto, Helvetica, sans-serif;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #ffffff;
}

.nav-item.active {
    color: #08C076;
    font-weight: 600;
}

/* Content area */
.content-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.content-section[style*="display: none"] {
    opacity: 0;
}

.section-title {
    color: #08C076;
    font: 500 24px/130% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-bottom: 8px;
}

.subsection-title {
    color: #08C076;
    font: 600 18px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-top: 16px;
    margin-bottom: 8px;
}

.challenge-title,
.benefit-title,
.process-title,
.summary-title,
.example-title,
.highlight-title,
.pipeline-title,
.advantage-title,
.standout-title,
.practice-title {
    color: #FFF;
    font: 600 18px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-top: 12px;
    margin-bottom: 8px;
}

.importance-title {
    color: #08C076;
    font: 700 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-top: 16px;
    margin-bottom: 8px;
}

.summary-section-title {
    color: #08C076;
    font: 700 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-top: 16px;
    margin-bottom: 8px;
}

.content-paragraph {
    color: #FFF;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 400 !important;
    margin-bottom: 12px;
}

/* Lists */
.challenge-list,
.benefit-list,
.process-list,
.summary-list,
.platform-list,
.highlight-list,
.pipeline-list,
.advantage-list,
.practice-list,
.final-summary-list {
    color: #FFF;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 12px 0;
    padding-left: 20px;
}

.challenge-list li,
.benefit-list li,
.process-list li,
.summary-list li,
.platform-list li,
.highlight-list li,
.pipeline-list li,
.advantage-list li,
.practice-list li,
.final-summary-list li {
    margin-bottom: 4px;
}

/* Technology and feature sections */
.technology-list {
    margin: 12px 0;
}

.technology-list p {
    color: #FFF;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-bottom: 4px;
}

.tech-name {
    font-weight: 700;
}

/* Code blocks */
.code-block {
    background-color: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #c9d1d9;
    white-space: pre;
}

.standout-features {
    margin: 12px 0;
}

.standout-features p {
    color: #FFF;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin-bottom: 8px;
}

.feature-name {
    font-weight: 700;
}

/* Footer */
.main-footer {
    width: 100%;
    background-color: #0B162B;
    padding: 36px 140px;
}

.footer-content {
    display: flex;
    width: 100%;
    max-width: 1160px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    width: 224px;
}

.footer-logo {
    width: 158.419px;
    height: 52px;
}

.social-links {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.social-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
}

.powered-text {
    color: #828282;
    font: 500 16px/150% Inter, sans-serif;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 315px;
}

.footer-section-title {
    color: rgba(255, 255, 255, 0.39);
    font: 400 14px/130% Inter, sans-serif;
    margin-bottom: 8px;
}

.link-columns {
    display: flex;
    align-items: center;
    gap: 67px;
}

.link-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-link {
    color: #FFF;
    text-decoration: none;
    font: 400 16px Inter, sans-serif;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #08C076;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    width: 182px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.contact-text {
    color: #FFF;
    font: 400 14px/130% Inter, sans-serif;
}

/* Responsive design */
@media (max-width: 991px) {
    .header-content {
        padding: 0 40px;
    }

    .main-navigation {
        gap: 20px;
    }

    .nav-link {
        font-size: 15px;
    }

    .register-button,
    .login-button {
        width: 120px;
        padding: 8px 20px;
        font-size: 15px;
    }

    .login-button {
        padding: 8px 20px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-section {
        min-height: 240px;
        padding: 28px 24px;
    }

    .hero-section.hero-sticky {
        padding: 20px 48px;
        min-height: 180px;
    }

    .hero-section.hero-sticky .hero-title {
        text-align: center;
        font-size: 34px;
    }

    .main-content {
        gap: 16px;
    }

    .sidebar {
        min-width: 250px;
        width: 250px;
    }

    .nav-item {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .subsection-title,
    .challenge-title,
    .benefit-title,
    .process-title,
    .summary-title,
    .example-title,
    .highlight-title,
    .pipeline-title,
    .advantage-title,
    .standout-title,
    .practice-title {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
        padding: 24px 40px;
    }

    .footer-brand {
        width: 100%;
        align-items: center;
    }

    .footer-links {
        width: 100%;
    }

    .link-columns {
        gap: 40px;
    }

    .footer-contact {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 0 20px;
    }

    .main-navigation {
        display: none;
    }

    .auth-buttons {
        gap: 8px;
    }

    .register-button,
    .login-button {
        width: 143px;
        padding: 6px 16px;
        font-size: 14px;
    }

    .register-button {
        padding: 6px 8px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-section {
        padding: 24px 16px;
        min-height: 220px;
    }

    .hero-section.hero-sticky {
        top: var(--hero-offset, 76px);
        padding: 18px 20px;
        min-height: 170px;
    }

    .hero-section.hero-sticky .hero-title {
        font-size: 28px;
        text-align: center;
        transform: none;
    }

    .main-content {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
    }

    .sidebar {
        min-width: 100%;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
        padding-bottom: 16px;
        position: static;
        top: auto;
    }

    .contents-header {
        font-size: 11px;
    }

    .nav-item {
        font-size: 16px;
    }

    .section-title {
        font-size: 18px;
    }

    .subsection-title,
    .challenge-title,
    .benefit-title,
    .process-title,
    .summary-title,
    .example-title,
    .highlight-title,
    .pipeline-title,
    .advantage-title,
    .standout-title,
    .practice-title {
        font-size: 16px;
    }

    .importance-title,
    .summary-section-title {
        font-size: 14px;
    }

    .content-paragraph,
    .challenge-list,
    .benefit-list,
    .process-list,
    .summary-list,
    .platform-list,
    .highlight-list,
    .pipeline-list,
    .advantage-list,
    .practice-list,
    .final-summary-list {
        font-size: 14px; 
    }

    .technology-list p,
    .standout-features p {
        font-size: 14px;
    }

    .tech-name,
    .feature-name {
        font-size: 14px;
    }

    .footer-content {
        gap: 24px;
        padding: 20px 16px;
    }

    .footer-brand {
        align-items: center;
    }

    .social-links {
        gap: 24px;
    }

    .powered-text {
        font-size: 14px;
    }

    .sat-logo {
        width: 76px;
        height: 32px;
    }

    .link-columns {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .link-column {
        width: 100%;
    }

    .footer-contact {
        gap: 12px;
    }
}

/* 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; }

@media (max-width: 768px) {
    .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    header .auth-buttons { display: none; }
    .main-navigation { display: none; }
}
