* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #969696;
}

.nav-btn {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 64px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #969696;
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: 150px 0;
    text-align: left;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero-subtitle {
    color: #969696;
    font-weight: 400;
}

.hero-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 64px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #969696;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: #f8f8f8;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
}

.section p {
    font-size: 18px;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Architecture Section */
.architecture-section {
    margin-top: 60px;
    padding: 40px 0;
}

.architecture-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.architecture-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.architecture-image {
    text-align: center;
}

.architecture-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.architecture-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.architecture-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.architecture-item {
    text-align: center;
    padding: 30px 25px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
}

.architecture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.clickable-card {
    cursor: pointer;
}

.hidden-detail {
    display: none;
}

.architecture-item p {
    font-size: 16px;
    color: #969696;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    position: relative;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #969696;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #000000;
}

.modal-body {
    padding: 0;
    display: flex;
    flex-direction: row;
    min-height: 400px;
}

.card-detail-image {
    flex: 1;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.card-detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.card-detail-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-detail-content h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.card-detail-content p {
    font-size: 16px;
    color: #969696;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.card-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-detail-content li {
    font-size: 15px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.card-detail-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #969696;
    font-size: 16px;
}

/* Dataset Section */
.dataset-section {
    margin-top: 80px;
    padding: 40px 0;
}

.dataset-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.dataset-content {
    max-width: 1000px;
    margin: 0 auto;
}

.dataset-description {
    text-align: center;
    margin-bottom: 50px;
}

.dataset-description p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.dataset-toggle-list {
    max-width: 600px;
    margin: 0 auto;
}

.toggle-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.toggle-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.toggle-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    user-select: none;
}

.toggle-header:hover {
    background-color: #f8f8f8;
}

.toggle-header.active {
    background-color: #f8f8f8;
}

.toggle-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
}

.toggle-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    flex-grow: 1;
}

.toggle-arrow {
    font-size: 14px;
    color: #969696;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.toggle-header.active .toggle-arrow {
    transform: rotate(180deg);
}

.toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f8f8;
}

.toggle-content.active {
    max-height: 200px;
    padding: 20px 25px;
}

.toggle-content p {
    font-size: 16px;
    color: #969696;
    line-height: 1.5;
    margin: 0;
}

/* Training Section */
.training-section {
    margin-top: 80px;
    padding: 40px 0;
}

.training-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.training-content {
    max-width: 1000px;
    margin: 0 auto;
}

.training-description {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.hyperparameters-list {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hyperparameters-list li {
    position: absolute;
    font-size: 16px;
    color: #969696;
    line-height: 1.6;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: left;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(150, 150, 150, 0.2);
}

.hyperparameters-list li:nth-child(1) {
    top: 15%;
    left: 10%;
    transform: rotate(-3deg);
}

.hyperparameters-list li:nth-child(2) {
    top: 25%;
    right: 15%;
    transform: rotate(2deg);
}

.hyperparameters-list li:nth-child(3) {
    top: 45%;
    left: 5%;
    transform: rotate(1deg);
}

.hyperparameters-list li:nth-child(4) {
    top: 35%;
    right: 25%;
    transform: rotate(-2deg);
    max-width: 350px;
}

.hyperparameters-list li:nth-child(5) {
    top: 65%;
    left: 20%;
    transform: rotate(2deg);
}

.hyperparameters-list li:nth-child(6) {
    top: 75%;
    right: 10%;
    transform: rotate(-1deg);
}

.hyperparameters-list li:before {
    content: "•";
    color: #969696;
    font-size: 16px;
    margin-right: 8px;
}

.hyperparameters-list li strong {
    color: #000000;
    font-weight: 600;
}

.hyperparameters-list li:hover {
    transform: rotate(0deg) scale(1.05);
    transition: transform 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Inference Section */
.inference-section {
    margin-top: 80px;
    padding: 40px 0;
}

.inference-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.inference-content {
    max-width: 1000px;
    margin: 0 auto;
}

.inference-description {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.inference-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.inference-type {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inference-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.inference-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.inference-header p {
    font-size: 16px;
    color: #969696;
    margin-bottom: 20px;
}

.code-block {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #969696;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #000000;
}

.inference-details p {
    font-size: 15px;
    color: #969696;
    line-height: 1.5;
    margin-bottom: 10px;
}

.inference-details p strong {
    color: #000000;
    font-weight: 600;
}

.autoregressive-diagram {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
}

.autoregressive-diagram h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

.diagram-container {
    max-width: 600px;
    margin: 0 auto;
}

.diagram-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.data-window, .prediction-window {
    text-align: center;
}

.window-label, .prediction-label {
    font-size: 12px;
    color: #969696;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.data-blocks, .prediction-blocks {
    display: flex;
    gap: 3px;
}

.data-block, .prediction-block {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.data-block.historical {
    background-color: #4CAF50;
}

.data-block.historical.shifted {
    background-color: #81C784;
}

.prediction-block {
    background-color: #2196F3;
}

.arrow {
    font-size: 18px;
    color: #969696;
    font-weight: bold;
}

.diagram-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.historical {
    background-color: #4CAF50;
}

.legend-color.prediction {
    background-color: #2196F3;
}

.legend-item span {
    font-size: 14px;
    color: #969696;
}

/* Work Toggle List */
.work-toggle-list {
    max-width: 800px;
    margin: 0 auto;
}

.work-toggle-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.work-toggle-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.work-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    user-select: none;
}

.work-toggle-header:hover {
    background-color: #f8f8f8;
}

.work-toggle-header.active {
    background-color: #f8f8f8;
}

.work-toggle-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    flex-grow: 1;
}

.work-toggle-arrow {
    font-size: 14px;
    color: #969696;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.work-toggle-header.active .work-toggle-arrow {
    transform: rotate(180deg);
}

.work-toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f8f8;
}

.work-toggle-content.active {
    max-height: 500px;
    padding: 20px 25px;
}

#enhanced-feature.active {
    max-height: 600px;
}

#correlation-selection.active {
    max-height: 650px;
}

#adaptive-loss.active {
    max-height: 800px;
}

#external-data.active {
    max-height: 850px;
}

#domain-prompting.active {
    max-height: 700px;
}

#hyperparameter-optimization.active {
    max-height: 1200px;
}

#mlflow-optuna.active {
    max-height: 500px;
}

#backtesting.active {
    max-height: 900px;
}

.work-toggle-content p {
    font-size: 16px;
    color: #969696;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.faq-item.small {
    grid-column: span 4;
    min-height: 180px;
}

.faq-item.medium {
    grid-column: span 6;
    min-height: 200px;
}

.faq-item.large {
    grid-column: span 8;
    min-height: 220px;
}

.faq-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.faq-item p {
    font-size: 16px;
    color: #969696;
    text-align: left;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.footer-contact {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact:hover {
    color: #969696;
}

.footer-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    max-width: 400px;
}

.footer-quote cite {
    display: block;
    font-size: 1rem;
    font-style: normal;
    color: #969696;
    margin-top: 10px;
    font-weight: 400;
}

.footer-github-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 64px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.footer-github-btn:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 14px;
    color: #969696;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .architecture-text {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablet transition - cards start to float but stay more organized */
@media (max-width: 1024px) and (min-width: 769px) {
    .hyperparameters-list {
        position: relative;
        height: 80vh;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .hyperparameters-list li {
        position: absolute;
        max-width: 280px;
        padding: 16px 18px;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(150, 150, 150, 0.2);
        border-radius: 10px;
        backdrop-filter: blur(5px);
        transition: all 0.4s ease;
        transform: rotate(0deg);
    }
    
    .hyperparameters-list li:nth-child(1) {
        top: 10%;
        left: 5%;
        animation: floatIn 0.6s ease-out 0.1s both;
    }
    
    .hyperparameters-list li:nth-child(2) {
        top: 15%;
        right: 10%;
        animation: floatIn 0.6s ease-out 0.2s both;
    }
    
    .hyperparameters-list li:nth-child(3) {
        top: 40%;
        left: 10%;
        animation: floatIn 0.6s ease-out 0.3s both;
    }
    
    .hyperparameters-list li:nth-child(4) {
        top: 35%;
        right: 5%;
        max-width: 320px;
        animation: floatIn 0.6s ease-out 0.4s both;
    }
    
    .hyperparameters-list li:nth-child(5) {
        top: 65%;
        left: 15%;
        animation: floatIn 0.6s ease-out 0.5s both;
    }
    
    .hyperparameters-list li:nth-child(6) {
        top: 70%;
        right: 15%;
        animation: floatIn 0.6s ease-out 0.6s both;
    }
    
    .hyperparameters-list li:hover {
        transform: rotate(1deg) scale(1.02) translateY(-3px);
        z-index: 10;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
        position: relative;
    }
    
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 0;
    }
    
.nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 18px 0;
        display: block;
        text-decoration: none;
        color: #000000;
        font-size: 16px;
        font-weight: 500;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-btn {
        background-color: #000000;
        color: #ffffff !important;
        margin: 15px 40px;
        padding: 16px 70px;
        border-radius: 25px;
        font-weight: 600;
        border-bottom: none !important;
        font-size: 16px;
        min-width: 160px;
        text-align: center;
    }
    
    .nav-btn:hover {
        background-color: #969696;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .work-toggle-header {
        padding: 18px 20px;
    }
    
    .work-toggle-content.active {
        max-height: 700px;
        padding: 18px 20px;
    }
    
    #enhanced-feature.active {
        max-height: 800px;
    }
    
    #correlation-selection.active {
        max-height: 850px;
    }
    
    #adaptive-loss.active {
        max-height: 1000px;
    }
    
    #external-data.active {
        max-height: 1100px;
    }
    
    #domain-prompting.active {
        max-height: 900px;
    }
    
    .dataset-tags {
        flex-direction: column;
        align-items: center;
    }
    
    #hyperparameter-optimization.active {
        max-height: 1000px;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    #mlflow-optuna.active {
        max-height: 1000px;
    }
    
    .integration-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #backtesting.active {
        max-height: 1100px;
    }
    
    .faq-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .faq-item.small {
        grid-column: span 4;
    }
    
    .faq-item.medium {
        grid-column: span 8;
    }
    
    .faq-item.large {
        grid-column: span 8;
    }
    
    .architecture-text {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .architecture-item {
        min-height: 180px;
        padding: 25px 20px;
    }
    
    .modal-content {
        width: 95vw;
        height: 90vh;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        box-sizing: border-box;
        display: flex;
    }
    
    .modal-body > * {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .card-detail-content {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
        order: 2;
    }
    
    .card-detail-content h4 {
        text-align: center;
        margin-bottom: 15px;
        font-size: 1.4rem;
        word-wrap: break-word;
        order: 1;
    }
    
    .card-detail-image {
        padding: 15px 0;
        background-color: #f8f8f8;
        text-align: center;
        width: 100%;
        order: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
        min-height: 180px;
    }
    
    .card-detail-image img {
        width: 80%;
        height: auto;
        max-height: 160px;
        object-fit: contain;
        border-radius: 8px;
        display: block !important;
    }
    
    .card-detail-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
        word-wrap: break-word;
        text-align: left;
        order: 3;
    }
    
    .card-detail-content ul {
        font-size: 13px;
        line-height: 1.4;
        padding-left: 15px;
        word-wrap: break-word;
        order: 4;
    }
    
    .card-detail-content li {
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    
    .card-detail-content h4 {
        font-size: 1.5rem;
    }
    
    .architecture-section h3 {
        font-size: 1.8rem;
    }
    
    .dataset-section h3 {
        font-size: 1.8rem;
    }
    
    .toggle-header {
        padding: 18px 20px;
    }
    
    .toggle-content.active {
        padding: 18px 20px;
    }
    
    .training-section {
        padding: 30px 0;
        margin-top: 60px;
    }
    
    .training-section h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .training-description {
        font-size: 16px;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    
    .hyperparameters-list {
        position: static;
        height: auto;
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hyperparameters-list li {
        position: static;
        transform: none;
        margin-bottom: 0;
        padding: 15px 20px;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(150, 150, 150, 0.2);
        border-radius: 10px;
        max-width: none;
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
        transition: all 0.4s ease;
        backdrop-filter: blur(5px);
    }
    
    .hyperparameters-list li:before {
        content: "•";
        color: #969696;
        font-size: 16px;
        margin-right: 8px;
    }
    
    .hyperparameters-list li:hover {
        transform: translateY(-5px);
        transition: transform 0.3s ease;
        z-index: 10;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .hyperparameters-list li strong {
        color: #000000;
        font-weight: 600;
    }
    
    .inference-section h3 {
        font-size: 1.8rem;
    }
    
    .inference-types {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .inference-type {
        padding: 25px;
    }
    
    .autoregressive-diagram {
        padding: 25px;
    }
    
    .diagram-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .footer-quote {
        font-size: 1.3rem;
    }
    
    .footer-github-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-item.small,
    .faq-item.medium,
    .faq-item.large {
        grid-column: span 1;
        min-height: auto;
    }
    
    .faq-item {
        padding: 25px;
    }
    
    .footer-content {
        align-items: center;
        text-align: center;
    }
    
    .footer-quote {
        text-align: center;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Feature Engineering Content Styling */
.feature-engineering-content {
    padding: 20px 0;
}

.feature-transformation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #969696;
}

.feature-count {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    padding: 8px 16px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-count.enhanced {
    background-color: #000000;
    color: #ffffff;
}

.feature-transformation .arrow {
    font-size: 18px;
    font-weight: bold;
    color: #969696;
}

.feature-engineering-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.feature-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.feature-category {
    background-color: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #969696;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.feature-category h6 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-category p {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.implementation-note {
    text-align: center;
    padding: 15px;
    background-color: #f1f3f4;
    border-radius: 8px;
    border: 1px solid #e1e3e4;
}

.implementation-note code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    color: #000000;
    font-weight: 600;
    background-color: transparent;
    padding: 0;
}

@media (max-width: 768px) {
    .feature-categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-transformation {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .feature-transformation .arrow {
        transform: rotate(90deg);
    }
}

/* Correlation-Based Feature Selection Styling */
.correlation-content {
    padding: 20px 0;
}

.selection-summary {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #000000;
}

.feature-reduction {
    font-size: 18px;
    color: #000000;
}

.process-section h5 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.process-steps {
    margin-bottom: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    border-left: 3px solid #969696;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    background-color: #000000;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content p {
    margin: 0;
    font-size: 15px;
    color: #333333;
    line-height: 1.4;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #969696;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.benefit-card.full-width {
    grid-column: 1 / -1;
    justify-content: center;
}

.benefit-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-content h6 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 5px 0;
}

.benefit-content p {
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .benefit-card.full-width {
        grid-column: 1;
    }
    
    .process-step {
        padding: 12px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }
}

/* Adaptive Loss Functions Styling */
.adaptive-loss-content {
    padding: 20px 0;
}

.loss-subtitle-simple {
    text-align: center;
    font-size: 16px;
    color: #666666;
    font-style: italic;
    margin: 0 0 60px 0;
    padding-bottom: 40px;
}

.loss-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 4px solid #000000;
}

.loss-header h5 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.loss-subtitle {
    font-size: 16px;
    color: #666666;
    margin: 0;
    font-style: italic;
}

.loss-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.loss-section {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #969696;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loss-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.loss-section.problem {
    border-left-color: #dc3545;
}

.loss-section.solution {
    border-left-color: #28a745;
}

.loss-section.benefits {
    border-left-color: #007bff;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.section-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.section-header h6 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.loss-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loss-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #333333;
    line-height: 1.5;
}

.loss-section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #969696;
    font-size: 16px;
    font-weight: bold;
}

.loss-section li:last-child {
    margin-bottom: 0;
}

.loss-section li strong {
    color: #000000;
    font-weight: 600;
}

@media (max-width: 768px) {
    .loss-header {
        padding: 20px;
    }
    
    .loss-header h5 {
        font-size: 18px;
    }
    
    .loss-subtitle {
        font-size: 14px;
    }
    
    .loss-section {
        padding: 20px;
    }
    
    .section-header h6 {
        font-size: 16px;
    }
    
    .section-icon {
        font-size: 18px;
    }
}

/* External Data Integration Styling */
.external-data-content {
    padding: 20px 0;
}

.data-header {
    text-align: center;
    margin-bottom: 30px;
}

.data-header h5 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.data-subtitle {
    font-size: 14px;
    color: #666666;
    margin: 0;
    padding-bottom: 30px;
    font-style: italic;
}

.before-after {
    margin-bottom: 10px;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.comparison-header h6 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.comparison-item {
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.comparison-item.before {
    background-color: #fff5f5;
    border-left: 3px solid #dc3545;
}

.comparison-item.after {
    background-color: #f0fff4;
    border-left: 3px solid #28a745;
}

.architecture-section {
    margin-bottom: 30px;
}

.architecture-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.arch-step {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #969696;
}

.arch-step h6 {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

/* Domain-Specific Prompting Section */
.domain-prompting-content {
    padding: 0;
}

.prompting-subtitle {
    font-style: italic;
    color: #969696;
    margin-bottom: 20px;
    padding-bottom: 30px;
    text-align: center;
}

.what-we-built {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #969696;
}

.built-description {
    color: #000000;
    font-weight: 500;
    margin-bottom: 20px;
}

.prompt-features {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.prompt-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #969696;
}

.feature-number {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    color: #000000;
    font-weight: 600;
}

.feature-text span {
    color: #969696;
    font-size: 14px;
}

.infrastructure-stats {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

.stat-label {
    color: #969696;
    font-size: 14px;
}

.supported-datasets h6 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 18px;
}

.dataset-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.dataset-tag {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Hyperparameter Sweep Section */
.hyperparameter-content {
    padding: 0;
}

.hyperparameter-subtitle {
    font-style: italic;
    color: #969696;
    margin-bottom: 25px;
    padding-bottom: 30px;
    text-align: center;
}

.hyperparameter-image {
    margin-top: 25px;
    text-align: center;
}

.hyperparameter-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #969696;
    font-style: italic;
}

.hyperparameter-summary {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #969696;
}

.summary-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.summary-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.summary-stats .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

.summary-stats .stat-label {
    color: #969696;
    font-size: 12px;
    text-align: center;
}

.sweep-summary p {
    margin-bottom: 10px;
    color: #000000;
    line-height: 1.5;
}

.sweep-summary p:last-child {
    margin-bottom: 0;
}

/* MLFlow & Optuna Integration Section */
.mlflow-optuna-content {
    padding: 0;
}

.mlflow-subtitle {
    font-style: italic;
    color: #969696;
    margin-bottom: 25px;
    padding-bottom: 30px;
    text-align: center;
}

.integration-sections {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #969696;
}

.integration-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .integration-features {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.feature-section {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid #969696;
}

.feature-section.mlflow {
    border-left-color: #007bff;
}

.feature-section.optuna {
    border-left-color: #28a745;
}

.feature-section h6 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.feature-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-section li {
    padding: 8px 0;
    color: #000000;
    position: relative;
    padding-left: 20px;
}

.feature-section li:before {
    content: "•";
    color: #969696;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Backtesting Section */
.backtesting-content {
    padding: 0;
}

.backtesting-image {
    margin-bottom: 25px;
    text-align: center;
}

.backtesting-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.backtesting-summary {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #969696;
}

.backtesting-highlights p {
    margin-bottom: 12px;
    color: #000000;
    line-height: 1.5;
}

.backtesting-highlights p:last-child {
    margin-bottom: 0;
}

.arch-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arch-step li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333333;
    line-height: 1.4;
}

.arch-step li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #969696;
    font-weight: bold;
}

.arch-step li:last-child {
    margin-bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.feature-item {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #333333;
    text-align: center;
    border-left: 3px solid #28a745;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .arch-step {
        padding: 15px;
    }
    
    .data-header h5 {
        font-size: 16px;
    }
}

/* TimeLLM Link Styling */
.timellm-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.timellm-link:hover {
    color: #969696;
    text-decoration: underline;
}

.timellm-link em {
    font-style: italic;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-image {
    margin-bottom: 25px;
}

.team-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    transition: border-color 0.3s ease;
}

.team-member:hover .team-image img {
    border-color: #007bff;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000;
}

.team-location {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 8px;
}

.team-education {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 8px;
}

.team-future {
    font-size: 1rem;
    color: #007bff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-member {
        text-align: center;
    }
    
    .team-image {
        margin-bottom: 20px;
    }
    
    .team-image img {
        width: 120px;
        height: 120px;
    }
}