* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7f7f7;
    color: #222;
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 50px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
    z-index: 1000;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    letter-spacing: 3px;
    color: #11b5ae;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.resource-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #11b5ae;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
}

.resource-btn:hover {
    background: #0d9d97;
    transform: translateY(-3px);
}

.refresh-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
}

.refresh-btn:hover {
    background: #11b5ae;
    border-color: #11b5ae;
    color: #fff;
    transform: rotate(180deg);
}

.hero {
    margin-top: 80px;
    padding: 35px;
    background: #12b8b2;
}

.hero-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.welcome-card,
.quote,
.what-box {
    background: #fff;
    border-radius: 15px;
    transition: .3s;
}

.welcome-card {
    background: #53d0cd;
    padding: 35px;
    color: #fff;
}

.welcome-card:hover,
.quote:hover,
.what-box:hover {
    transform: translateY(-6px);
}

.welcome-card h1 {
    font-family: 'Bebas Neue';
    font-size: 58px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.subtitle {
    background: #fff;
    color: #222;
    padding: 12px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 25px;
}

.welcome-card p {
    font-size: 18px;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote {
    padding: 25px;
    font-family: 'Caveat';
    font-size: 34px;
    text-align: center;
    color: #11b5ae;
}

.what-box {
    padding: 30px;
}

.what-box h2 {
    font-family: 'Bebas Neue';
    font-size: 48px;
    color: #11b5ae;
    margin-bottom: 15px;
}

.hero-footer {
    margin-top: 30px;
    padding: 18px;
    background: #fff;
    border-radius: 10px;
    font-family: 'Caveat';
    font-size: 32px;
    text-align: center;
    color: #11b5ae;
}

.map-section {
    padding: 30px 3% 70px;
    background: #fff;
    display: flex;
    justify-content: center;
}

.gaia-map {
    width: 100%;
    max-width: 1500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    transition: .3s;
    object-fit: contain;
}

.gaia-map:hover {
    transform: scale(1.01);
}

.downloads {
    padding: 70px 20px;
    background: #f8fffe;
    text-align: center;
}

.downloads h2 {
    font-family: 'Bebas Neue';
    font-size: 52px;
    color: #11b5ae;
    margin-bottom: 12px;
}

.downloads p {
    max-width: 760px;
    margin: 0 auto 35px;
    font-size: 18px;
    color: #555;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #11b5ae;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    transition: .3s;
}

.download-btn:hover {
    background: #0d9d97;
    transform: translateY(-5px);
}

.description {
    padding: 80px 10%;
    background: #11b5ae;
    text-align: center;
    color: #fff;
}

.description h2 {
    font-family: 'Bebas Neue';
    font-size: 52px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.description p {
    max-width: 1000px;
    margin: auto;
    font-size: 18px;
    line-height: 2;
}

.dashboard-section,
.network-section {
    padding: 80px 4%;
}

.dashboard-section {
    background: #f7f7f7;
}

.network-section {
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-family: 'Bebas Neue';
    font-size: 54px;
    color: #11b5ae;
    margin-bottom: 10px;
}

.section-title span {
    font-size: 18px;
    color: #666;
}

.dashboard-container {
    max-width: 1450px;
    margin: auto;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.dashboard-container:hover {
    transform: translateY(-6px);
}

.dashboard-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.dashboard-text {
    max-width: 1200px;
    margin: 35px auto 0;
    padding: 28px 35px;
    background: #11b5ae;
    color: #fff;
    border-radius: 15px;
    text-align: center;
    font-size: 18px;
    line-height: 1.9;
}

.network-section .dashboard-text {
    background: #0f9d97;
}

.contact-section {
    padding: 70px 20px;
    background: #f8fffe;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Bebas Neue';
    font-size: 52px;
    color: #11b5ae;
    margin-bottom: 15px;
}

.contact-section p {
    max-width: 850px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #555;
    line-height: 1.9;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: #11b5ae;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    transition: .3s;
}

.contact-btn:hover {
    background: #0d9d97;
    transform: translateY(-5px);
}

footer {
    background: #111;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

footer a {
    color: #fff;
    font-size: 28px;
    transition: .3s;
}

footer a:hover {
    color: #11b5ae;
    transform: translateY(-5px);
}

@media (max-width:992px) {

    header {
        padding: 0 25px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 42px;
    }

    .welcome-card h1 {
        font-size: 46px;
    }

    .what-box h2,
    .description h2,
    .downloads h2,
    .contact-section h2,
    .section-title h2 {
        font-size: 44px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 320px;
        justify-content: center;
    }

    .dashboard-text {
        padding: 25px;
    }

}

@media (max-width:768px) {

    header {
        height: 70px;
        padding: 0 15px;
    }

    .hero {
        margin-top: 70px;
        padding: 20px;
    }

    .logo {
        font-size: 34px;
    }

    .header-buttons {
        gap: 10px;
    }

    .resource-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .refresh-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .welcome-card {
        padding: 25px;
    }

    .welcome-card h1 {
        font-size: 36px;
        text-align: center;
    }

    .subtitle {
        font-size: 15px;
    }

    .quote {
        font-size: 24px;
        padding: 20px;
    }

    .what-box {
        padding: 22px;
    }

    .what-box h2 {
        font-size: 32px;
        text-align: center;
    }

    .hero-footer {
        font-size: 24px;
    }

    .map-section {
        padding: 20px 10px 40px;
    }

    .downloads,
    .description,
    .dashboard-section,
    .network-section,
    .contact-section {
        padding: 60px 20px;
    }

    .description p,
    .downloads p,
    .dashboard-text,
    .contact-section p {
        font-size: 16px;
    }

    .dashboard-text {
        padding: 22px;
    }

    footer {
        gap: 20px;
    }

    footer a {
        font-size: 24px;
    }

}

@media (max-width:480px) {

    .logo {
        font-size: 28px;
    }

    .resource-btn {
        padding: 9px 12px;
        font-size: 13px;
    }

    .resource-btn i {
        display: none;
    }

    .welcome-card h1 {
        font-size: 30px;
    }

    .quote {
        font-size: 20px;
    }

    .what-box h2 {
        font-size: 28px;
    }

    .hero-footer {
        font-size: 20px;
    }

    .download-btn,
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-title h2,
    .downloads h2,
    .description h2,
    .contact-section h2 {
        font-size: 34px;
    }

    footer {
        padding: 25px 15px;
        gap: 18px;
    }

    footer a {
        font-size: 22px;
    }

}

#gaia-chat-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #11b5ae;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    transition: .3s;
    z-index: 99999;
}

#gaia-chat-btn:hover {
    transform: scale(1.08);
}

#gaia-chat-window {
    position: fixed;
    right: 25px;
    bottom: 110px;
    width: 400px;
    max-width: calc(100vw - 30px);
    height: 600px;
    max-height: calc(100vh - 140px);
    display: none;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .20);
    z-index: 999999;
}

.gaia-header {
    background: #11b5ae;
    color: #fff;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.gaia-header button {
    border: none;
    background: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#gaia-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    background: #f7f7f7;
    min-height: 0;
}

.gaia-user {
    align-self: flex-end;
    max-width: 85%;
    margin-bottom: 15px;
    padding: 14px 18px;
    background: #11b5ae;
    color: white;
    border-radius: 18px;
    word-break: break-word;
}

.gaia-bot {
    align-self: flex-start;
    max-width: 90%;
    margin-bottom: 14px;
    padding: 16px;
    background: white;
    border-radius: 16px;
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.gaia-bot p {
    margin: 0 0 14px;
}

.gaia-bot ul,
.gaia-bot ol {
    margin: 12px 0 14px 22px;
    padding: 0;
    list-style-position: outside;
}

.gaia-bot li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.gaia-bot strong {
    font-weight: 700;
}

.gaia-bot em {
    font-style: italic;
}

.gaia-bot h1,
.gaia-bot h2,
.gaia-bot h3,
.gaia-bot h4 {
    margin: 16px 0 10px;
    line-height: 1.4;
    font-weight: 700;
}

.gaia-bot a {
    color: #11b5ae;
    text-decoration: underline;
}

.gaia-bot code {
    background: #f3f3f3;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 90%;
}

.gaia-bot pre {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 10px;
    overflow-x: auto;
}

.gaia-bot img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.gaia-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
}

#gaia-question {
    flex: 1;
    min-width: 0;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 15px;
    font-size: 16px;
}

#gaia-question:focus {
    border-color: #11b5ae;
    box-shadow: 0 0 0 3px rgba(17, 181, 174, .15);
}

#send-gaia {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

#send-gaia:hover {
    background: #0d9d97;
    transform: scale(1.05);
}

#send-gaia i {
    pointer-events: none;
}

.gaia-bot.typing {
    animation: gaiaThinking 2s ease-in-out infinite;
    box-shadow:
        0 0 6px rgba(17, 181, 174, .10),
        0 0 12px rgba(17, 181, 174, .08);
}

@keyframes gaiaThinking {
    0% {
        box-shadow:
            0 0 5px rgba(17, 181, 174, .08),
            0 0 10px rgba(17, 181, 174, .05);
    }

    50% {
        box-shadow:
            0 0 10px rgba(17, 181, 174, .18),
            0 0 18px rgba(17, 181, 174, .10);
    }

    100% {
        box-shadow:
            0 0 5px rgba(17, 181, 174, .08),
            0 0 10px rgba(17, 181, 174, .05);
    }

}

@media (max-width:768px) {

    #gaia-chat-window {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
        border-radius: 18px;
        display: none;
        flex-direction: column;
    }

    #gaia-chat-btn {
        width: 62px;
        height: 62px;
        right: 18px;
        bottom: 18px;
        font-size: 25px;
    }

}
