/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*{
    scrollbar-color: #9094b0 #2f3454 !important;
    scrollbar-width: thin !important;
}

body {
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    background-color: #121b2d;
    color: #fff;
    line-height: 1.6;
    padding-top: 90px;
}

.main-video {
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

/* 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;
    right: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 92px;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.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-btn {
    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-btn:hover {
    background-color: #08c076;
    color: #121b2d;
}

.login-btn {
    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-btn:hover {
    background-color: #06a065;
}

/* Mobile menu toggle (hidden by default) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Mobile overlay styles */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 2000;
}

.mobile-menu-overlay.open {
    display: flex;
    justify-content: flex-end;
}

.mobile-menu {
    width: 80%;
    max-width: 360px;
    height: 100%;
    background: #0b162b;
    padding: 16px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font: 500 18px Inter, -apple-system, Roboto, Helvetica, sans-serif;
    padding: 10px 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
}

/* Mobile auth buttons in drawer */
.mobile-auth {
    display: flex;
    /* flex-direction: column; */
    gap: 12px;
    padding: 8px 0 4px 0;
}

.mobile-auth .register-btn,
.mobile-auth .login-btn {
    width: 100%;
}

/* Prevent body scroll when menu open */
body.no-scroll {
    overflow: hidden;
}

/* Hero Banner Styles */
.hero-banner {
    display: flex;
    padding: 53px 192px;
    flex-direction: column;
    align-items: center;
    gap: 43px;
    position: relative;
    width: 100%;
    min-height: 951px;
    overflow: hidden;
    background-color: #141e31;
}

.background-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(136px);
    z-index: 0;
}

.blur-1 {
    width: 718px;
    height: 355px;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 359px 177.5px at center, #08C076 0%, transparent 100%);
}

.blur-2 {
    width: 524px;
    height: 325px;
    left: 30%;
    top: 15%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 262px 162.5px at center, #08C0AD 0%, transparent 100%);
}

.hero-content {
    display: flex;
    width: 100%;
    max-width: 1051px;
    flex-direction: column;
    align-items: center;
    gap: 43px;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    width: 841px;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    position: relative;
}

.hero-title {
    color: #fff;
    text-align: center;
    font: 400 52px Roboto, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

.hero-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
}

.hero-subtitle {
    width: 857px;
    color: #fff;
    text-align: center;
    font: 500 18px/32px Roboto, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

.hero-details {
    color: #fff;
    text-align: center;
    font: 400 18px/32px Roboto, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.learn-btn {
    display: flex;
    padding: 10px 22px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    border: 2px solid #08c076;
    /* Add subtle black layer for readability over busy backgrounds */
    background: rgba(0, 0, 0, 0.5);
    color: #08c076;
    font: 500 16px/150% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-btn:hover {
    background-color: #08c076;
    color: #121b2d;
}

.start-btn {
    display: flex;
    width: 162px;
    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;
}

.start-btn:hover {
    background-color: #06a065;
}

.hero-image {
    width: 1051px;
    height: 499px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 29.8px 0 rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.image-overlay {
    position: absolute;
    background-color: #181b34;
}

.overlay-1 {
    width: 144px;
    height: 13px;
    left: 41px;
    bottom: 11px;
}

.overlay-2 {
    width: 37px;
    height: 13px;
    right: 36px;
    top: 56px;
    background-color: #2f3455;
}

.hero-indicator {
    position: absolute;
    left: 50%;
    bottom: 200px;
    transform: translateX(-50%);
}

.indicator-circle {
    width: 7px;
    height: 7px;
}

/* AI Integration Section */
.ai-integration {
    display: flex;
    width: 100%;
    padding: 16.79px 203px 15.21px 203px;
    justify-content: center;
    align-items: center;
    height: 173px;
    background-color: #10172a;
    margin-bottom: 24px;
}

.ai-container {
    display: flex;
    /* width: 100%; */
    /* max-width: 1034px; */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ai-image {
    flex-shrink: 0;
}

.ai-visual {
    width: 293px;
    height: 141px;
    aspect-ratio: 293/141;
}

.ai-text {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.ai-title {
    color: #fff;
    text-align: center;
    white-space: nowrap;
    font: 400 32px Roboto;
    margin: 0;
}

.text-white {
    color: rgba(255, 255, 255, 1);
}

.text-gradient {
    background: linear-gradient(105deg, #00ff98 -0.48%, #00c1f0 63.43%, #49f100 103.04%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-cta {
    flex-shrink: 0;
}

.ai-features-btn {
    display: flex;
    padding: 12px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 65px;
    border: 1px solid #08c076;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-features-btn:hover {
    background-color: rgba(8, 192, 118, 0.1);
}

.features-content {
    display: flex;
    width: 126px;
    align-items: center;
    gap: 10px;
}

.features-text {
    color: #08c076;
    font: 500 18px Roboto;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Three Steps Section */
.three-steps {
    display: flex;
    width: 100%;
    max-width: 1440px;
    padding: 0 91px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 auto;
    min-height: 448px;
    /* background-color: #141d31; */
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 36px; */
    width: 100%;
    border-radius: 39px;
    padding: 16px 24px 0 24px;
    background-color: #0d1525;
    margin-bottom: 24px;
}

.steps-title {
    color: #08c076;
    text-align: center;
    margin-top: 42px;
    font: 500 32px Inter, sans-serif;
    width: 100%;
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 66px;
    width: 100%;
    margin-bottom: 24px;
    margin-top: 24px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    flex: 1 0 0;
    max-width: 400px;
}

.step-icon {
    display: flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    border-radius: 125px;
    background: linear-gradient(144deg, #08c076 17.01%, #08bfad 94.1%);
}

.step-icon svg {
    width: 50px;
    height: 50px;
}

.step-title {
    color: #fff;
    text-align: center;
    font: 400 24px Inter, sans-serif;
    margin: 0;
}

.step-description {
    color: #fff;
    text-align: center;
    font: 400 14px/22px Inter, sans-serif;
    margin: 0;
}

.explore-features {
    display: flex;
    padding: 18px 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 39px 39px;
    background-color: #0d1525;
}

.explore-content {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-content:hover {
    transform: translateX(5px);
}

.explore-text {
    color: #08bf94;
    text-align: center;
    font: 500 16px Inter, sans-serif;
}

.explore-arrow {
    width: 24px;
    height: 24px;
}

/* Why GenXflo Section */
.why-genxflo {
    display: flex;
    width: 100%;
    min-height: 612px;
    padding: 0 100px;
    align-items: center;
    gap: 24px;
    background-color: #101829;
}

.why-container {
    display: flex;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    align-items: center;
    gap: 24px;
}

.why-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.why-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
}

.why-title {
    color: #08c076;
    font: 600 36px/150% Inter, sans-serif;
    margin: 0;
}

.why-description {
    color: rgba(255, 255, 255, 0.88);
    font: 400 16px/150% Inter, sans-serif;
    margin: 0;
}

.why-subtitle {
    color: #08c076;
    font: 700 18px/150% Inter, sans-serif;
    margin: 0;
}

.why-details {
    color: rgba(255, 255, 255, 0.88);
    font: 400 16px/150% Inter, sans-serif;
    margin: 0;
}

.features-accordion {
    display: flex;
    width: 555px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.accordion-item {
    width: 100%;
}

.accordion-header {
    display: flex;
    padding: 19px 9px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.accordion-title {
    color: #fff;
    text-align: center;
    font: 400 18px Inter, sans-serif;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 9px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 19px 9px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content p {
    color: #fff;
    font: 400 16px Inter, sans-serif;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Research Teams Section */
.research-teams {
    display: flex;
    width: 100%;
    max-width: 1440px;
    height: auto;
    padding: 45px 88px;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    margin: 0 auto;
    /* background-color: #141d30; */
}

.teams-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    width: 100%;

}

.teams-title {
    color: #08c076;
    text-align: center;
    font: 500 32px Inter, -apple-system, Roboto, Helvetica, sans-serif;
}

.teams-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.team-card {
    display: flex;
    padding: 14px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
    min-height: 120px;
    border-radius: 12px;
    background-color: #223049;
    transition: all 0.3s ease;
    height: 100px;
}

/* .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(8, 192, 118, 0.2);
} */

.team-icon {
    display: flex;
    width: 50px;
    height: 50px;
    padding: 13px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #151f33;
}

.team-name {
    color: #fff;
    font: 400 16px/150% Inter, -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

.explore-use-cases {
    display: flex;
    width: 190px;
    height: 100%;
    padding: 19px 12px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 3px;
    min-height: 120px;
    border-radius: 12px;
    background: linear-gradient(144deg, #08c076 17.01%, #08bfad 94.1%);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-use-cases:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(8, 192, 118, 0.3);
}

.use-cases-text {
    color: #161f33;
    text-align: center;
    font: 500 16px Inter, -apple-system, Roboto, Helvetica, sans-serif;
    width: 100%;
}

.use-cases-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    display: flex;
    width: 100%;
    padding: 19px 138px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 666px;
    background-color: #161f34;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}

.contact-title {
    color: #08c076;
    text-align: center;
    font: 500 32px Inter, sans-serif;
    margin: 0;
}

.contact-description {
    width: 604px;
    color: #fff;
    text-align: center;
    font: 400 20px/150% Inter, sans-serif;
    margin: 0;
}

.contact-form {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid #4d5273;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.16);
    background-color: #0b162b;
}

.form-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
    position: relative;
    width: 100%;
}

.form-label {
    color: #fff;
    font: 400 16px/150% Inter, sans-serif;
}

.input-wrapper {
    display: flex;
    min-height: 45px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10.693px;
    width: 100%;

}

.form-input {
    display: flex;
    padding: 10px;
    align-items: center;
    flex: 1 0 0;
    width: 100%;
    border-radius: 8px;
    border: none;
    background-color: #2f3454;
    color: #fff;
    font: 400 16px/150% Inter, sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 2px #08c076;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
    display: flex;
    padding: 10px;
    align-items: flex-start;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: none;
    background-color: #2f3454;
    color: #fff;
    font: 400 16px/150% Inter, sans-serif;
    outline: none;
    resize: vertical;
    transition: all 0.3s ease;
    width: 100%;
}

.form-textarea:focus {
    box-shadow: 0 0 0 2px #08c076;
}

.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.clear-btn {
    display: flex;
    width: 143px;
    padding: 10px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 2px solid #08c076;
    background: transparent;
    color: #08c076;
    font: 500 16px/150% Inter, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background-color: #08c076;
    color: #121b2d;
}

.submit-btn {
    display: flex;
    width: 184px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: none;
    background-color: #08c076;
    color: #121b2d;
    font: 600 16px/150% Inter, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #06a065;
}

/* Footer Styles */
.main-footer {
    width: 100%;
    height: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 140px;
    background-color: #0b162b;
}

.footer-container {
    display: flex;
    width: 100%;
    max-width: 1160px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    display: flex;
    width: 224px;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    height: 154px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.social-icons {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
}

.powered-text {
    color: #828282;
    font: 500 16px/150% Inter, sans-serif;
}

.sat-logo {
    width: 86px;
}

.footer-links {
    display: flex;
    width: 315px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    height: 138px;
}

.links-title {
    color: rgba(255, 255, 255, 0.39);
    font: 400 14px/130% Inter, sans-serif;
    margin: 0;
}

.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;
    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;
    height: 90px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.contact-icon {
    width: 24px;
    height: 24px;
    aspect-ratio: 1/1;
}

/* Ensure footer location/contact icons are exactly 24x24 even if inline SVG lacks class */
.footer-contact .contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-text {
    color: #fff;
    font: 400 14px/130% Inter, sans-serif;
}

.char-counter {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-container {
        padding: 0 40px;
    }

    .main-navigation {
        gap: 20px;
    }

    .hero-banner {
        padding: 40px 60px;
        gap: 30px;
    }

    .hero-text {
        width: 100%;
        max-width: 700px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        width: 100%;
        font-size: 16px;
        line-height: 28px;
    }

    .steps-container {
        padding: 16px 16px 0 16px;
        border-radius: 20px;
        justify-content: center;
        align-items: center;
    }

    .hero-details {
        font-size: 16px;
        line-height: 28px;
    }

    .hero-image {
        width: 100%;
        max-width: 800px;
        height: auto;
        aspect-ratio: 1051/499;
    }

    .overlay-1 {
        left: 3%;
        bottom: 5%;
        top: auto;
    }

    .overlay-2 {
        right: 3%;
        left: auto;
        top: 10%;
    }

    .ai-integration {
        padding: 16px 40px;
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .ai-container {
        flex-direction: column;
        gap: 20px;
    }

    .ai-visual {
        width: 220px;
        height: 106px;
    }

    .ai-text {
        padding: 0;
    }

    .ai-title {
        font-size: 24px;
    }

    .three-steps {
        padding: 0 40px;
    }

    .steps-title {
        font-size: 28px;
    }

    .steps-grid {
        flex-direction: column;
        gap: 40px;
    }

    .step-item {
        max-width: 600px;
    }

    .why-genxflo {
        flex-direction: column;
        padding: 40px 60px;
        gap: 40px;
    }

    .why-container {
        flex-direction: column;
        gap: 40px;
    }

    .why-content {
        width: 100%;
    }

    .why-title {
        font-size: 32px;
    }

    .features-accordion {
        width: 100%;
        max-width: 600px;
    }

    .research-teams {
        padding: 32px 40px;
        height: auto;
        gap: 32px;
    }

    .teams-title {
        font-size: 28px;
    }

    .teams-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .team-card {
        min-width: calc(50% - 10px);
    }

    .explore-use-cases {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-section {
        padding: 19px 60px;
    }

    .contact-description {
        width: 100%;
        max-width: 604px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .form-group {
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .clear-btn,
    .submit-btn {
        width: 100%;
    }

    .main-footer {
        padding: 24px 40px;
        height: auto;
    }

    .footer-container {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .footer-brand {
        width: 100%;
        align-items: center;
    }

    .footer-links {
        width: 100%;
    }

    .links-grid {
        gap: 40px;
    }

    .footer-contact {
        width: 100%;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0 20px;
        justify-content: space-between;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .auth-buttons {
        gap: 8px;
    }

    /* Hide header auth buttons on small screens; they appear in the mobile drawer */
    .auth-buttons { display: none; }

    .hero-banner {
        padding: 30px 20px;
        gap: 25px;
        min-height: 600px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 24px;
    }

    .hero-details {
        font-size: 14px;
        line-height: 24px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .learn-btn,
    .start-btn {
        width: 100%;
        max-width: 280px;
    }

    .overlay-1 {
        width: 80px;
        height: 8px;
    }

    .overlay-2 {
        width: 25px;
        height: 8px;
    }

    .ai-integration {
        padding: 16px 20px;
        gap: 16px;
    }

    .ai-visual {
        width: 180px;
        height: 87px;
    }

    .ai-title {
        font-size: 18px;
    }

    .text-white,
    .text-gradient {
        font-size: 18px;
    }

    .features-text {
        font-size: 16px;
    }

    .three-steps {
        padding: 0 20px;
    }

    .steps-container {
        padding: 16px 16px 0 16px;
        border-radius: 20px;
        justify-content: center;
        align-items: center;
    }

    .steps-title {
        font-size: 24px;
        margin-top: 20px;
    }

    .steps-grid {
        gap: 30px;
        margin-bottom: 30px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 13px;
        line-height: 20px;
    }

    .explore-features {
        border-radius: 0 0 20px 20px;
    }

    .why-genxflo {
        padding: 20px;
        gap: 30px;
    }

    .why-title {
        font-size: 28px;
    }

    .why-description,
    .why-details {
        font-size: 15px;
    }

    .why-subtitle {
        font-size: 16px;
    }

    .accordion-header {
        padding: 16px 9px;
    }

    .accordion-title {
        font-size: 16px;
    }

    .research-teams {
        padding: 24px 20px;
        gap: 24px;
    }

    .teams-title {
        font-size: 24px;
    }

    .teams-grid {
        flex-direction: column;
        gap: 16px;
    }

    .team-card {
        width: 100%;
    }

    .team-name {
        font-size: 14px;
    }

    .explore-use-cases {
        width: 100%;
    }

    .use-cases-text {
        font-size: 14px;
    }

    .contact-section {
        padding: 19px 20px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-description {
        font-size: 18px;
        width: 100%;
    }

    .contact-form {
        padding: 16px;
    }

    .form-actions {
        justify-content: center;
    }

    .main-footer {
        padding: 20px 16px;
    }

    .footer-container {
        gap: 24px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
        margin-top: 1px;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
    }

    .powered-by {
        justify-content: center;
        width: 100%;
    }

    .links-title {
        text-align: center;
        width: 100%;
    }

    .links-grid {
        gap: 20px;
        align-items: center;
        width: 100%;
    }

    .links-column {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-link {
        text-align: center;
    }

    .footer-contact {
        gap: 12px;
        width: 100%;
        height: auto;
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }

    .contact-text {
        text-align: center;
    }
}