/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    background-color: #121b2d;
    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-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 92px;
    height: 100%;
}

.logo-container {
    flex-shrink: 0;
}

.genx-logo {
    width: 158px;
    height: 52px;
    flex-shrink: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.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;
}

/* Main Content */
.main-content {
    background-color: #131c2f;
    padding: 40px 20px;
}

.content-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.intro-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.main-title {
    color: #08c076;
    font: 24px/130% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

.brand-name {
    font-weight: 700;
    color: #08c076;
}

.title-description {
    font-weight: 500;
    color: #08c076;
}

.description-paragraph {
    color: #fff;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

/* Workflow Section */
.workflow-section {
    background-color: #131c2f;
    padding: 23px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.workflow-container {
    display: flex;
    width: 100%;
    max-width: 1240px;
    align-items: flex-start;
    gap: 24px;
}

/* Sidebar Navigation */
.sidebar-navigation {
    display: flex;
    width: 315px;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: var(--sidebar-sticky-top, 280px);
    align-self: flex-start;
}

.sidebar-title {
    color: #a4a4a4;
    font: 500 12px/130% Lato, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.53);
    font: 400 18px/130% Roboto, -apple-system, Roboto, Helvetica, sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.sidebar-link.active {
    color: #08c076;
    font-weight: 600;
}

.sidebar-link:hover {
    color: #08c076;
}

/* Workflow Content */
.workflow-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.workflow-content[style*="display: none"] {
    opacity: 0;
}

.step-detail-content {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    width: 100%;
}

.step-detail-content[style*="display: none"] {
    opacity: 0;
}

.steps-header {
    height: 78px;
    width: 100%;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.44);
    position: relative;
}

.step-indicator {
    width: auto;
    height: 73px;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
    background-color: #08c076;
    position: absolute;
    left: 0;
    top: 5px;
    transition: left 0.3s ease, width 0.3s ease;
    z-index: 0;
}

.steps-container {
    display: inline-flex;
    padding: 0 12px;
    align-items: center;
    gap: 32px;
    position: absolute;
    left: 0;
    top: 19px;
    width: 100%;
    height: 41px;
    z-index: 1;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

.step-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
}

.step-icon-container {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: #1c2842;
    flex-shrink: 0;
}

.step-icon-container.secondary {
    background-color: #1c2842;
}

.step-icon {
    width: 40px;
    height: 40px;
}

.step-icon-small {
    width: 24px;
    height: 24px;
}

.step-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.step-number {
    color: rgba(0, 0, 0, 0.34);
    font: 500 12px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
}

.workflow-step:first-child .step-number {
    color: rgba(0, 0, 0, 0.34);
}

.workflow-step:not(:first-child) .step-number {
    color: rgba(255, 255, 255, 0.53);
}

.step-title {
    font: 600 18px/124% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
    color: #141d31;
    white-space: nowrap;
}

.workflow-step:first-child .step-title {
    color: #141d31;
}

.workflow-step:not(:first-child) .step-title {
    color: #fff;
}

/* Workflow Description */
.workflow-description {
    margin-top: 24px;
    width: 100%;
}

.workflow-description img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
}

.description-intro {
    color: #fff;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0 0 16px 0;
}

.tools-list {
    color: #fff;
    font: 400 16px/160% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 16px 0;
    padding-left: 20px;
}

.tools-list li {
    margin-bottom: 8px;
}

.section-subtitle {
    color: #08c076;
    font: 600 20px/130% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 24px 0 12px 0;
}

.workflow-heading {
    color: #08c076;
    font: 700 28px/130% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0 0 20px 0;
}

/* Mobile Drawer 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 {
    flex: 1;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    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; 
}

/* Tablet Responsive (991px and below) */
@media (max-width: 991px) {
    body {
        padding-top: 76px;
    }

    .main-header {
        height: 76px;
    }

    .header-container {
        padding: 0 40px;
    }

    .genx-logo {
        width: 140px;
        height: auto;
    }

    .main-navigation {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-section {
        min-height: 180px;
    }

    .hero-section.hero-sticky {
        min-height: 76px;
        padding: 14px 40px;
        top: 76px;
    }

    .hero-section.hero-sticky .hero-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 40px;
    }

    .main-content {
        padding: 32px 40px;
    }

    .content-container {
        max-width: 100%;
    }

    .intro-content {
        gap: 16px;
    }

    .main-title {
        font-size: 22px;
    }

    .description-paragraph {
        font-size: 15px;
        line-height: 150%;
    }

    .workflow-section {
        padding: 20px 40px;
    }

    .workflow-container {
        flex-direction: column;
        gap: 24px;
    }

    .sidebar-navigation {
        position: static;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 12px 0 20px 0;
    }

    .sidebar-title {
        width: 100%;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .sidebar-link {
        font-size: 16px;
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .steps-header {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(8, 192, 118, 0.5) rgba(255, 255, 255, 0.1);
    }

    .steps-header::-webkit-scrollbar {
        height: 6px;
    }

    .steps-header::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    .steps-header::-webkit-scrollbar-thumb {
        background: rgba(8, 192, 118, 0.5);
        border-radius: 3px;
    }

    .steps-container {
        width: auto;
        min-width: max-content;
    }

    .workflow-step {
        flex-shrink: 0;
    }

    .workflow-heading {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 18px;
    }
}

/* Mobile Responsive (640px and below) */
@media (max-width: 640px) {
    body {
        padding-top: 70px;
    }

    .main-header {
        height: 70px;
    }

    .header-container {
        padding: 0 20px;
    }

    .genx-logo {
        width: 120px;
    }

    .hero-section {
        min-height: 140px;
        padding: 24px 16px;
    }

    .hero-section.hero-sticky {
        top: 70px;
        min-height: 64px;
        padding: 12px 20px;
    }

    .hero-section.hero-sticky .hero-title {
        font-size: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .main-content {
        padding: 24px 20px;
    }

    .intro-content {
        gap: 16px;
    }

    .main-title {
        font-size: 20px;
        line-height: 140%;
    }

    .description-paragraph {
        font-size: 14px;
        line-height: 150%;
    }

    .workflow-section {
        padding: 20px 20px;
    }

    .workflow-container {
        gap: 20px;
    }

    .sidebar-navigation {
        padding: 12px 0 16px 0;
    }

    .sidebar-nav {
        flex-direction: column;
        gap: 10px;
    }

    .sidebar-link {
        font-size: 15px;
        padding: 10px 12px;
        width: 100%;
    }

    .steps-header {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .steps-header::-webkit-scrollbar {
        height: 4px;
    }

    .steps-container {
        gap: 20px;
        padding: 0 8px;
    }

    .step-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .step-icon-container {
        width: 36px;
        height: 36px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
    }

    .step-icon-small {
        width: 22px;
        height: 22px;
    }

    .step-info {
        gap: 2px;
    }

    .step-number {
        font-size: 11px;
    }

    .step-title {
        font-size: 15px;
    }

    .workflow-description {
        margin-top: 16px;
    }

    .workflow-description img {
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .description-intro {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .tools-list {
        font-size: 14px;
        margin: 12px 0;
        padding-left: 16px;
    }

    .workflow-heading {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 16px;
        margin: 20px 0 10px 0;
    }
}

/* Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    .header-container {
        padding: 0 16px;
    }

    .genx-logo {
        width: 110px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-section.hero-sticky .hero-title {
        font-size: 18px;
    }

    .main-content {
        padding: 20px 16px;
    }

    .main-title {
        font-size: 18px;
    }

    .description-paragraph {
        font-size: 13px;
    }

    .workflow-section {
        padding: 16px 16px;
    }

    .sidebar-link {
        font-size: 14px;
        padding: 8px 10px;
    }

    .steps-container {
        gap: 16px;
    }

    .step-title {
        font-size: 14px;
    }

    .workflow-heading {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .tools-list {
        font-size: 13px;
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
.sidebar-link:focus,
.social-link:focus {
    outline-offset: 2px;
}

.register-button:focus,
.login-button:focus,
.mobile-menu-button:focus {
    outline-offset: 2px;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .mobile-menu-overlay {
        display: none;
    }

    .main-content,
    .workflow-section {
        background: white;
        color: black;
    }
}