/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00453B;
    --secondary-color: #0AD9BC;
    --text-color: #FFF;
    --background-color: #F8F8F8;
    --container-width: 1280px;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: white;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    position: relative;
    background-color: var(--background-color);
}

/* Header */
header {
    position: absolute;
    width: 100%;
    z-index: 10;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    max-width: 580px;
    width: 90%;
    height: 56px;
    padding: 16px 12px 16px 20px;
    margin: 26px auto;
    align-items: center;
    border-radius: 80px;
    border: 1px solid var(--primary-color);
    background: rgba(1, 58, 51, 0.80);
    backdrop-filter: blur(6px);
}

.nav-bar img {
    height: 24px;
    width: auto;
}

.button {
    display: flex;
    width: 140px;
    height: 42px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 500px;
    text-decoration: none;
    font-weight: 600;
}

.button--primary {
    border: 1px solid var(--secondary-color);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.24) 100%), linear-gradient(97deg, #60FFD9 0%, #2CFECC 100%);
    color: var(--primary-color);
}

.button--secondary {
    border: 1px solid #ccc;
    background-color: white;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: url("../img/hero-background.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    min-height: 1000px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    color: var(--text-color);
    font-size: 3.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 600px;
}

.hero__subtitle {
    color: var(--text-color);
    font-size: 1rem;
    font-style: normal;
    font-weight: 200;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 350px;
}

.hero__subtitle-sm {
    font-size: 0.75rem;
    color: var(--text-color);
}

.hero__subtitle a {
    color: var(--text-color);
    text-decoration: underline;
}

/* Content Section */
.content-section {
    padding: 50px 0px;
}

.scroll-container {
    margin: 0 auto;
    width: 100%;
}

.tabs-container {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 60px;
    margin-bottom: 20px;
    transform: translateX(0);
    transition: transform 0.5s ease;
    display: none;
}

.tabs-container.slide-out {
    transform: translateX(-100%);
}

.tabs-background {
    position: relative;
    border: 1px solid #E7EEEC;
    border-radius: 28px;
    height: 100%;
    width: 476px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.tab-button {
    background: none;
    border: none;
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.tab-button.is-active {
    color: #333;
    font-weight: 600;
}

.tab-highlight {
    position: absolute;
    top: 5%;
    left: 0;
    height: 90%;
    width: calc(100% / 3);
    background-color: white;
    border-radius: 24px;
    box-shadow: 0px 1.83083px 5.49248px rgba(0, 0, 0, 0.145);
    transform: translateX(0px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.content-box {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-areas:
        "title"
        "image"
        "text"
        "links";
    gap: 10px;
    text-align: left;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    word-wrap: break-word;
    max-width: 100%;
}

.content-box:last-child {
    margin-bottom: 0;
}

.content-box h1 {
    grid-area: title;
    font-size: 1.5rem;
    font-weight: 500;
}

.content-image {
    grid-area: image;
    width: 100%;
    max-width: 336px;
    height: auto;
    margin: 0 auto;
}

.content-box p {
    grid-area: text;
    font-size: 0.75rem;
    line-height: 1.5;
}

.content-links {
    grid-area: links;
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}

.track-record {
    border-top: 2px solid #CFEDE6;
    border-bottom: 2px solid #CFEDE6;
    background-image: url("../img/generic-background.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.track-record-content h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.features {
    padding: 80px 0;
    color: white;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.features__item {
    text-align: center;
}

.features__icon {
    margin-bottom: 20px;
}

.features__title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.features__description {
    font-size: 0.75rem;
    font-weight: lighter;
    line-height: 1.5;
    margin: 0 auto;
}

/* Tokenomics Section */
.tokenomics-section {
    padding: 50px 40px;
}

.tokenomics-box {
    /*background-color: white;*/
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-areas:
        "title"
        "image"
        "text"
        "links";
    gap: 10px;
    text-align: left;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.tokenomics-box h1 {
    grid-area: title;
    font-size: 1.5rem;
    font-weight: 500;
}

.tokenomics-box .content-image {
    grid-area: image;
    width: 284px;
    height: 442px;
    margin: 0 auto;
}

.tokenomics-box p {
    grid-area: text;
    font-size: 0.75rem;
    line-height: 1.5;
}

.tokenomics-box .content-links {
    grid-area: links;
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}

/* CTA Section */
.cta-section {
    border-top: 2px solid #CFEDE6;
    border-bottom: 2px solid #CFEDE6;
    background-image: url("../img/generic-background.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 40px;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
}

.cta-content > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-content > div:last-child > div {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content > div:last-child > div:last-child {
    border-bottom: none;
}

.cta-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.cta-content > div:last-child > div img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 40px;
    background-color: var(--background-color);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-content h1 {
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fafbfc;
}

.faq-answer p {
    padding: 0 28px 24px 28px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.faq-answer img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

.faq-item.active .faq-answer {
    max-height: 50rem;
    padding-top: 4px;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-image: url("../img/footer.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 596px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    text-align: center;
    color: white;
    max-width: 600px;
    z-index: 2;
}

.footer-title {
    max-width: 400px;
    margin: 0 auto 20px auto;
}

.footer-content h1 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 0;
}

.footer-content p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-content .button {
    margin: 0 auto 80px auto;
    display: block;
}

.footer-copyright {
    font-size: 0.85rem !important;
    opacity: 0.7;
    margin-bottom: 0 !important;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.close {
    color: #999;
    float: right;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    background-color: #f0f0f0;
    text-decoration: none;
}

.waitlist-section {
    padding: 40px 40px 30px 40px;
    text-align: center;
}

.waitlist-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.3;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.email-input {
    width: 100%;
    max-width: 350px;
    height: 50px;
    padding: 0 20px;
    border: 2px solid #E7EEEC;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Sora', sans-serif;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.email-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(10, 217, 188, 0.1);
}

.email-input::placeholder {
    color: #999;
    font-weight: 400;
}

.submit-btn {
    width: 100%;
    max-width: 200px;
    height: 50px;
    border: 1px solid var(--secondary-color);
    border-radius: 25px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.24) 100%), linear-gradient(97deg, #60FFD9 0%, #2CFECC 100%);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 217, 188, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Media Queries for responsiveness */
@media (min-width: 768px) {
    .tabs-container {
        display: block;
    }

    .content-section {
        padding: 0;
    }

    .scroll-container {
        height: 300vh;
        position: relative;
    }

    .content-box {
        grid-template-columns: 1fr 336px;
        grid-template-areas:
            "title image"
            "text image"
            "links image";
        gap: 20px;
        max-width: 680px;
        margin: 0 auto;
        position: sticky;
        top: 110px;
        opacity: 0;
        transform: translateX(100%);
        transition: opacity 0.5s, transform 0.5s;
        margin-bottom: 0;
    }

    .content-box.is-active {
        opacity: 1;
        transform: translateX(0);
    }

    .content-box.slide-out {
        transform: translateX(-100%);
    }

    .content-box.fade-out {
        opacity: 0;
        transition: opacity 0.5s;
    }

    .track-record-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }
    .track-record-content h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .chart-container {
        width: 100%;
        max-width: 800px;
        height: 400px;
        position: relative;
    }

    .features {
        grid-template-columns: repeat(4, 1fr);
    }

    .tokenomics-box {
        grid-template-columns: 336px 1fr;
        grid-template-areas:
            "image title"
            "image text"
            "image links";
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }

    .cta-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 80px;
        align-items: start;
    }


}
