* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    background-color: #121b2d;
    color: white;
    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%;
}

.genxflo-logo {
    width: 158px;
    height: 52px;
    flex-shrink: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font: 400 16px Inter;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #08c076;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.register-button {
    display: flex;
    width: 143px;
    padding: 10px 12px;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    border: 2px solid #08c076;
    background: transparent;
    color: #08c076;
    font: 500 16px/150% Inter;
    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;
    border-radius: 30px;
    border: none;
    background-color: #08c076;
    color: #121b2d;
    font: 600 16px/150% Inter;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #06a065;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 198px;
    position: relative;
    overflow: hidden;
    background-color: #1d2b48;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.hero-title {
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
    font: 400 52px Roboto;
}

/* Main Content */
.main-content {
    /* background-color: #162034; */
    min-height: 917px;
}

.content-wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    width: 100%;
    padding: 0 100px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.intro-text {
    align-self: stretch;
    color: #fff;
    margin-bottom: 10px;
    font: 400 16px/160% Inter;
}

.content-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    width: 100%;
}

/* Sidebar */
.sidebar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    /* flex: 1 0 0; */
    /* width: 100%; */
}

.sidebar-content {
    display: flex;
    height: 855px;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 315px;
    padding-right: 24px;
}

.sidebar-title {
    color: #a4a4a4;
    margin-bottom: 8px;
    font: 500 12px/130% Lato;
}

.content-navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    text-decoration: none;
    font: 400 18px/130% Roboto;
    color: rgba(255, 255, 255, 0.53);
    transition: color 0.3s ease;
}

.nav-item.active {
    color: #08c076;
    font-weight: 600;
}

.nav-item:hover {
    color: #08c076;
}

/* Main Article */
.main-article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
    padding-left: 24px;
}

.article-intro {
    align-self: stretch;
    color: #fff;
    margin-bottom: 12px;
    font: 400 16px/160% Inter;
}

/* Usecase Content Section Transitions */
.usecase-content-section {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.usecase-content-section[style*="display: none"] {
    opacity: 0;
}

.use-case-section {
    display: flex;
    padding: 24px;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    flex-direction: column;
    border-radius: 24px;
    width: 100%;
    background-color: #1d2b48;
}

.use-case-header {
    display: flex;
    width: 100%;
    height: 58px;
    padding: 14px 14px 14px 0;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.icon-container {
    display: flex;
    width: 50px;
    height: 50px;
    padding: 13px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    margin-right: 8px;
    background-color: #151f33;
}

.lab-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.use-case-title {
    color: #08c076;
    flex: 1;
    font: 600 18px/150% Inter;
}

.use-case-subtitle {
    align-self: stretch;
    color: #fff;
    margin-bottom: 10px;
    font: 400 16px/160% Inter;
}

.use-case-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;
    width: 100%;
}

.content-paragraph {
    align-self: stretch;
    color: #fff;
    margin-bottom: 10px;
    font: 400 16px/160% Inter;
}

.workflow-list {
    align-self: stretch;
    color: #fff;
    margin-bottom: 10px;
    font: 400 16px/160% Inter;
    padding-left: 20px;
}

.workflow-list li {
    margin-bottom: 5px;
}

.benefits-title {
    align-self: stretch;
    color: #fff;
    margin: 10px 0;
    font: 600 18px/160% Inter;
}

.benefit-item {
    align-self: stretch;
    color: #fff;
    margin-bottom: 10px;
    font: 400 16px/160% Inter;
}

.benefit-label {
    color: #fff;
    font: 700 16px Inter;
    display: inline;
    margin-right: 8px;
}

.benefit-description {
    color: #fff;
    font: 400 16px Inter;
    display: inline;
}

.conclusion {
    align-self: stretch;
    color: #fff;
    margin-bottom: 10px;
    font: 400 16px/160% Inter;
}

/* 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;
}

.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;
    width: 100%;
}

.social-link {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link: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;
}

.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;
}

.links-grid {
    display: flex;
    align-items: center;
    gap: 67px;
}

.links-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font: 400 16px Inter;
    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;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-content {
        padding: 0 40px;
    }

    .main-navigation {
        gap: 20px;
    }

    .auth-buttons {
        gap: 10px;
    }

    .hero-title {
        font-size: 40px !important;
    }

    .content-wrapper {
        padding: 0 50px;
    }

    .content-layout {
        flex-direction: column;
    }

    .sidebar-content {
        min-width: 250px;
        height: auto;
        padding-right: 16px;
    }

    .main-article {
        padding-left: 16px;
    }

    .use-case-section {
        padding: 20px;
    }

    .use-case-header {
        width: 100%;
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .footer-brand {
        width: 100%;
        align-items: center;
    }

    .social-links {
        justify-content: flex-start;
    }

    .links-grid {
        gap: 40px;
    }

    .footer-links {
        width: 100%;
    }

    .footer-contact {
        width: 100%;
    }

    .main-footer {
        padding: 24px 40px;
        height: auto;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 0 20px;
        justify-content: space-between;
    }

    .main-navigation {
        display: none;
    }

    .auth-buttons {
        gap: 8px;
    }

    .register-button,
    .login-button {
        width: auto;
        padding: 8px 16px;
        font-size: 14px;
    }

    .login-button {
        padding: 8px 20px;
    }

    .hero-title {
        font-size: 28px !important;
    }

    .content-wrapper {
        padding: 0 20px;
        flex-direction: column;
    }

    .sidebar-content {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .content-navigation {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-item {
        display: inline-block;
        margin-right: 20px;
        padding: 4px 0;
        font-size: 14px;
    }

    .main-article {
        padding-left: 0;
    }

    .use-case-section {
        padding: 16px;
    }

    .use-case-header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 0;
        margin-bottom: 16px;
    }

    .icon-container {
        margin-bottom: 8px;
    }

    .use-case-title {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .intro-text,
    .article-intro,
    .use-case-subtitle,
    .content-paragraph,
    .workflow-list,
    .benefit-item,
    .conclusion {
        font-size: 14px;
    }

    .benefits-title {
        font-size: 16px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .social-links {
        gap: 24px;
    }

    .powered-text {
        font-size: 14px;
    }

    .links-column {
        gap: 8px;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-contact {
        gap: 12px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-text {
        font-size: 13px;
    }

    .main-footer {
        padding: 20px 16px;
    }

    .footer-content {
        gap: 24px;
    }
}

/* 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; }
}
