* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

:root {
    --line-color: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
    --transition-speed: 0.3s;
    font-family: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: 'Lato', sans-serif;
}

body {
    font-family: 'Lato', sans-serif;
    color: #fff;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 25px;
    line-height: 1.8;
    padding: env(safe-area-inset-top, 0) 
             env(safe-area-inset-right, 0) 
             env(safe-area-inset-bottom, 0) 
             env(safe-area-inset-left, 0);
}

/* Ensure all text elements inherit the font family */
h1, h2, h3, h4, h5, h6, p, span, a, li, button, input, textarea, select {
    font-family: 'Lato', sans-serif;
}

/* Remove any conflicting font-family declarations */
.mega-title,
.text-overlay-1 .mega-title,
.feature-heading,
.text-overlay-2 .subtitle,
.text-overlay-2 .feature-list,
.text-overlay-2 .feature-list li {
    font-family: 'Lato', sans-serif !important;
    font-weight: 100;
}

.contact-container {
    font-family: 'Lato', sans-serif;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); /* Fallback gradient */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    position: absolute;
    top: 0;
    left: 0;
}

/* Add a subtle overlay to improve text readability */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .video-background video {
        position: fixed;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Main Content */
main {
    position: relative;
    width: 100%;
    z-index: 2;
    padding: 0 20%;
    max-width: 1820px;
    margin: 0 auto;
    padding-bottom: 455px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Menu Styles */
.menu-toggle {
    position: fixed;
    top: calc(10rem + env(safe-area-inset-top, 0));
    left: calc(10rem + env(safe-area-inset-left, 0));
    z-index: 1000;
    background: rgba(190, 84, 3, 0.5);
    border: none;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.menu-toggle:hover {
    transform: scale(1.02);
    background: #45a049;
}

.menu-icon {
    position: relative;
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255);
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 46.8px;
    height: 2px;
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: 0px;
}

.menu-icon::after {
    bottom: 0px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -50px;
    width: 500px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    padding: 130px 152px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.4s ease, 
                opacity 0.4s ease;
    z-index: 1001;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    visibility: hidden;
    opacity: 0;
    padding-top: calc(80px + env(safe-area-inset-top, 0));
    padding-left: calc(20px + env(safe-area-inset-left, 0));
    padding-right: calc(20px + env(safe-area-inset-right, 0));
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
}

.sidebar.active {
    left: 0;
    visibility: visible; /* Show when active */
    opacity: 1; /* Make fully visible when active */
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 999;
    display: none;
    backdrop-filter: blur(2px);
}

.menu-overlay.active {
    display: block;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.menu-header h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 300;
}

.close-menu {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: calc(20px + env(safe-area-inset-top, 0));
    right: calc(20px + env(safe-area-inset-right, 0));
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
}

.sidebar.active .close-menu {
    opacity: 1; /* Show when sidebar is active */
    visibility: visible; /* Show when sidebar is active */
}

.menu-items {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5rem;
}

.menu-items li {
    margin-bottom: 20px;
}

.menu-items a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 50px;
    letter-spacing: -0.02em;
    line-height: 0.1;
    display: block;
}

.menu-items a.active,
.menu-items a:hover {
    transform: translateX(10px);
    color: rgba(5, 154, 40, 0.9);
}

.discover-label, .connect-label, .buy-label {
    text-transform: uppercase;
    font-size: 12px;
    color: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.discover-label::before, .connect-label::before, .buy-label::before {
    content: "■";
    margin-right: 8px;
    font-size: 8px;
}

/* Sidebar bottom and social-links-sidebar: visually distinct from menu-items */
.sidebar-bottom {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-bottom a {
    text-decoration: none !important;
}

.sidebar-bottom .sidebar-contact-link,
.sidebar-bottom .social-links-sidebar a {
    margin-bottom: 10px !important;
}

.social-links-sidebar {
    margin-bottom: 10px;
}

.social-links-sidebar a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 22px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.04em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links-sidebar a:hover {
    color: #05be30;
    transform: scale(1.08) translateY(-1px);
}

/* Text Overlays */
.text-overlay {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-align: left;
    opacity: 1;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 2.6rem auto;
    font-size: 1.755rem;
    line-height: 2.34;
}

.text-overlay p, .text-overlay li, .text-overlay span {
    font-size: 1.56rem;
    line-height: 2.34;
}

.main-content-block,
.text-overlay-2,
.animated-text-section,
.text-overlay-2 .content-below {
    overflow: visible !important;
}

.text-overlay-1,
.text-overlay-2 {
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: block;
    margin-top: 10rem;
    margin-left: 30%;
    align-items: flex-start;
    justify-content: flex-start;
    animation: fadeIn 0.8s ease-out forwards;
}

.text-overlay-1 .mega-title-link,
.text-overlay-1 .mega-title {
    display: block;
    text-align: left;
    margin: 0;
    white-space: normal;
    width: 200%;
}

.text-overlay-1 .mega-title {
    font-size: 13rem;
    font-weight: 100;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    max-width: 100%;
    color: #29a329;
    text-align: left;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

/* Large Monitor Adjustments */
@media (min-width: 2000px) {
    .text-overlay-1 .mega-title {
        font-size: 10.4rem; /* 20% smaller than 13rem */
        line-height: 1.1;
    }
}

.text-overlay-1 .mega-title:hover {
    color: #29a329;
    text-shadow: none;
    transform: none;
}

.text-overlay-2 .content-below {
    max-width: 100%;
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 0;
    pointer-events: auto;
    position: relative;
    margin-left: 0;
}

.text-overlay-2 .subtitle {
    font-size: 3.5rem;
    line-height: 1.4;
    margin: 1.5rem 0;
    text-align: left;
    white-space: normal;
    font-weight: 300;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.text-overlay-2 .feature-list {
    font-size: 2rem;
    line-height: 1.4;
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    font-weight: 300;
}

.text-overlay-2 .feature-list li {
    margin-bottom: 1rem;
    font-weight: 400;
    white-space: normal;
    font-size: 1.6rem !important;
    line-height: 1.4;
    color: #ffffff;
    opacity: 1;
    visibility: visible;
    text-align: left;
}

.text-overlay-2 .feature-list li:hover {
    transform: translateX(10px);
}

.mega-title-link {
    text-decoration: none;
    color: #29a329;
    pointer-events: auto;
    display: inline-block;
    margin-bottom: 0px;
    position: relative;
    text-align: left;
    margin-left: 0;
    transform: none;
}

.mega-title-link:hover {
    transform: none;
    color: #29a329;
}

.content-below {
    max-width: 100%;
    margin: 0;
    text-align: left;
    padding: 20px;
    pointer-events: auto;
    position: relative;
}

.subtitle {
    font-size: 5rem;
    line-height: 1;
    margin: 1.5rem 0;
    font-weight: 500;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.animated-text-section {
    width: 100%;
    overflow: visible;
    margin: 5rem 0;
    transition: opacity 0.5s ease, transform 0.7s ease;
    margin-left: 0;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.animated-text-content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
    font-size: 1.6rem;
}

.feature-heading {
    width: 100%;
    overflow: visible;
    white-space: normal;
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0 0 3rem 0;
    line-height: 1.2;
    text-align: left;
    color: #ffffff;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.feature-list {
    margin-top: 4rem;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin-left: 0;
    font-size: 1.6rem;
}

.feature-list li {
    margin-bottom: 1rem;
    font-weight: 400;
    white-space: normal;
    font-size: 1.6rem !important;
    line-height: 1.4;
    color: #ffffff;
    opacity: 1;
    visibility: visible;
    text-align: left;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Animated Text Section */
.animated-text-section {
    margin-bottom: 10px;

}

.animated-line {
    width: 100%;
    max-width: 100%;
    height: 1px !important;
    background: #047f04 !important;
    margin: 7.5rem 0 !important;
    position: relative !important;
    display: block !important;
    animation: lineAnimation 3s ease forwards;
    z-index: 9999 !important;
}

@keyframes lineAnimation {
    from { width: 0; }
    to { width: 100%; }
}

/* The key-features section has been moved to animated-text.css */

/* Responsive Design */
@media (max-width: 430px) {
    main {
        padding: 0 6.5%;
        max-width: 100%;
    }
    
    body {
        font-size: 16px;
    }
    
    .text-overlay {
        margin-bottom: 100px;
        padding-right: 0;
        padding-left: 20px;
        text-align: left;
    }
    
    .text-overlay-1 {
        padding-right: 1%;
    }
    
    .text-overlay-1 .mega-title {
        font-size: 2.2rem;
        margin-top: 3.2rem;
        word-break: break-word;
        line-height: 1.1;
        text-align: center;
    }
    
    .text-overlay-2 {
        margin-left: 0;
    }
    
    .text-overlay-2 .content-below {
        max-width: 100%;
        width: 100%;
    }
    
    .text-overlay-2 .subtitle,
    .text-overlay-2 .feature-list {
        text-align: center;
        white-space: normal;
    }
    
    .text-overlay-2 .feature-list {
        font-size: 1.2rem;
    }
    
    .text-overlay-2 .subtitle {
        font-size: 2rem;
    }
    
    .text-overlay-2 .feature-list li {
        font-size: 1.2rem;
    }
    
    .feature-heading {
        font-size: 2rem;
    }
    
    .animated-text-section {
        margin: 4rem 0;
    }
    
    .menu-toggle {
        top: calc(1rem + env(safe-area-inset-top, 0));
        left: calc(1rem + env(safe-area-inset-left, 0));
        width: 50px;
        height: 50px;
    }
    
    .menu-icon {
        width: 24px;
        height: 2px;
    }
    
    .menu-icon::before,
    .menu-icon::after {
        width: 24px;
        height: 2px;
    }
    
    .menu-icon::before {
        top: -8px;
    }
    
    .menu-icon::after {
        bottom: -8px;
    }
    
    .sidebar {
        width: 100%;
        padding: 80px 20px;
    }
    
    .menu-items a {
        font-size: 1.5rem;
        margin-top: 20px;
    }
    
    .close-menu {
        top: calc(20px + env(safe-area-inset-top, 0));
        right: calc(20px + env(safe-area-inset-right, 0));
        font-size: 24px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .join-network-button,
    .chatbot-button {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .animated-line {
        margin-bottom: 2rem;
        margin-top: 3rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    main {
        padding: 0 6.5%;
        max-width: 1560px;
    }
}

@media (min-width: 1201px) {
    main {
        padding: 0 6.5%;
        max-width: 1820px;
    }
}

@media (max-width: 900px) {
    .main-content-block {
        max-width: 98vw;
        margin-left: 2vw;
    }
    .text-overlay-1 .mega-title {
        font-size: 7rem;
    }
    .text-overlay-2 .subtitle {
        font-size: 3.9rem;
    }
    .text-overlay-2 .feature-list {
        font-size: 1.6rem;
    }
    .page-title-link, .page-title {
        margin-left: 0 !important;
        padding-left: 2rem !important;
        text-align: left !important;
        display: block;
        width: 100%;
    }
}

@media (max-width: 768px) {
    main {
        padding: 0 1.5rem;
        padding-bottom: 200px;
    }

    .text-overlay-1 {
        margin-top: 2rem;
        margin-left: 0;
        padding: 0 1rem;
        width: 100%;
    }

    .text-overlay-1 .mega-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-top: 4rem;
        text-align: left;
        font-weight: 300;
        width: 100%;
        word-break: break-word;
    }

    .text-overlay-2 {
        margin-top: 2rem;
        margin-left: 0;
        padding: 0 1rem;
        width: 100%;
    }

    .text-overlay-2 .subtitle {
        font-size: 1.8rem;
        line-height: 1.4;
        margin: 1rem 0;
        text-align: left;
        font-weight: 300;
    }

    .text-overlay-2 .feature-list {
        font-size: 1.2rem;
        line-height: 1.5;
        margin: 1rem 0;
        padding-left: 0;
    }

    .text-overlay-2 .feature-list li {
        font-size: 1.2rem !important;
        line-height: 1.5;
        margin-bottom: 1rem;
        text-align: left;
    }

    .feature-heading {
        font-size: 1.6rem;
        line-height: 1.4;
        margin: 1.5rem 0;
        text-align: left;
    }

    .action-buttons {
        position: fixed;
        top: calc(5rem + env(safe-area-inset-top, 0));
        left: calc(1rem + env(safe-area-inset-left, 0));
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        z-index: 999;
    }

    .join-network-button,
    .chatbot-button {
        width: 140px;
        height: 140px;
        font-size: 0.9rem;
    }

    .join-network-button span,
    .chatbot-button span {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .animated-text-section {
        margin: 2rem 0;
        width: 100%;
    }

    .animated-text-content {
        width: 100%;
        padding: 0;
    }

    .animated-line {
        margin: 3rem 0 !important;
    }

    .content-below {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
    .busy-mars-description {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .busy-mars-description p {
        font-size: 1.1rem;
        line-height: 1.4;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .text-overlay-1 .mega-title {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .text-overlay-2 .subtitle {
        font-size: 1.5rem;
    }

    .feature-heading {
        font-size: 1.4rem;
    }

    .text-overlay-2 .feature-list li {
        font-size: 1.1rem !important;
    }

    .join-network-button,
    .chatbot-button {
        width: 140px;
        height: 140px;
        font-size: 0.9rem;
    }

    .join-network-button span,
    .chatbot-button span {
        font-size: 0.9rem;
    }

    .busy-mars-description {
        margin-top: 0.7rem;
        margin-bottom: 1rem;
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
    
    .busy-mars-description p {
        font-size: 1rem;
        line-height: 1.3;
    }
}

.artworks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.artwork-item {
    max-width: 300px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.source-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
    z-index: 1;
}

.artwork-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.artwork-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.artwork-item img.loading {
    opacity: 0;
    background: #f0f0f0;
}

.artwork-item img.loaded {
    opacity: 1;
}

.artwork-item img.error {
    opacity: 1;
    background: #f8f9fa;
    padding: 20px;
}

.artwork-caption {
    padding: 12px;
    background: #f8f9fa;
    font-size: 0.9em;
    line-height: 1.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.artwork-item:hover .artwork-caption {
    background: #e9ecef;
}

.artwork-caption strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.artwork-caption a {
    color: #0066cc;
    text-decoration: none;
}

.artwork-caption a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    position: relative;
    z-index: 3;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: calc(6.5rem + env(safe-area-inset-bottom, 0)) 0;
    margin-top: 13rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    clear: both;
    text-align: center;
}

.footer-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.footer-section ul li {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 100%;
    font-weight: 100;
    line-height: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 0.5;
    transition: color 0.3s ease;
    font-weight: 300;
    font-size: 1.5rem;
}

.footer-section a:hover {
    color: rgba(5, 190, 48, 0.8);
}

.footer-bottom {
    max-width: 100%;
    width: 100%;
    margin: 3rem auto 0;
    padding-top: 1rem;
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 1);
    position: relative;
    z-index: 3;
    font-weight: 300;
    line-height: 1.4;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 1);
    font-size: 1rem;
    margin: 2rem 0;
    text-align: center;
    font-weight: 300;
    line-height: 1.5;
}

.social-links, .social-icons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
}

.social-links a, .social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-weight: 300;
    line-height: 1.4;
}

.social-links a:hover, .social-icons a:hover {
    transform: scale(1.1) translateY(-2px);
    color: rgba(5, 190, 48, 0.5);
}

.social-section h3 {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 1.95rem;
}

/* Contact New Page Styles - Removed and moved to contact-new.css */

.sidebar-contact-link {
  font-size: 22px !important;
  font-weight: 300 !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 10px !important;
  text-align: left !important;
  display: block !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.sidebar-contact-link:hover {
  color: #05be30 !important;
  background: none !important;
}

.minimal-icon {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-weight: 100;
}

.minimal-icon:hover {
    color: rgba(5, 190, 48, 0.5);
    transform: translateY(-2px);
}

.text-overlay-2 {
    margin-top: 4.5rem;
    /* Reduced from 5rem to move subtitle 20% higher */
   
}

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

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.feature-list li {
    animation: slideIn 0.5s ease-out forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
}

.footer .animated-line {
    display: none !important;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
}

.social-links a[href^="mailto:"], 
.social-icons a[href^="mailto:"] {
    font-size: 5rem;
    transition: all 0.3s ease;
}

.social-links a[href^="mailto:"]:hover, 
.social-icons a[href^="mailto:"]:hover {
    color: rgba(5, 190, 48, 0.5);
}

.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: env(safe-area-inset-top, 0);
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1001;
    width: 100%;
    text-align: center;
}

.page-title-link:hover {
    transform: scale(1.05);
}

.page-title {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: black;
    text-align: center;
    margin: 0;
    padding: 0.5rem 1rem;
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    main {
        padding-left: env(safe-area-inset-left, 1rem);
        padding-right: env(safe-area-inset-right, 1rem);
        margin: 0;
        max-width: 100vw;
    }
    .text-overlay-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        margin-top: 2rem;
        padding: 0 env(safe-area-inset-left, 1rem) 0 env(safe-area-inset-right, 1rem);
        min-height: 60vh; /* or 100vh if you want it fully centered */
        width: 100%;
        box-sizing: border-box;
    }
    .text-overlay-1 .mega-title {
        text-align: center;
        margin: 0;
        padding: 0;
        width: 100%;
        font-size: 2.2rem;
        word-break: break-word;
        line-height: 1.1;
    }
    .text-overlay-2 {
        margin-left: 0;
    }
    .page-title {
        font-size: 0.7rem;
    }
}

.join-network-section {
    margin-top: 3rem;
    text-align: center;
}

.join-network-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    border: none;
    animation: float-join 8s ease-in-out infinite;
    margin-top: 30px;
    margin-right: 40px;
}

.join-network-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: surface-shift 8s ease-in-out infinite;
}

.join-network-button::before {
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(232, 90, 26, 1) 0%,
            rgba(193, 68, 14, 0.95) 15%,
            rgba(193, 68, 14, 0.85) 30%,
            rgba(193, 68, 14, 0.75) 45%,
            rgba(193, 68, 14, 0.65) 60%,
            rgba(193, 68, 14, 0.55) 75%,
            rgba(193, 68, 14, 0.45) 90%
        ),
        radial-gradient(circle at 70% 70%,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 30%,
            transparent 60%
        );
    box-shadow: 
        inset -30px -30px 70px rgba(0, 0, 0, 0.5),
        inset 20px 20px 50px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(193, 68, 14, 0.4),
        0 0 80px rgba(193, 68, 14, 0.3),
        0 0 120px rgba(193, 68, 14, 0.2);
}

.join-network-button span {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    line-height: 1.4;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.join-network-button:hover {
    animation-play-state: paused;
    transform: scale(1.1) translateY(-5px);
}

.join-network-button:hover {
    box-shadow: 
        0 0 60px rgba(193, 68, 14, 0.5),
        0 0 120px rgba(193, 68, 14, 0.3),
        0 0 180px rgba(193, 68, 14, 0.2);
}

.join-network-button span {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    line-height: 1.4;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .join-network-button {
        width: 140px;
        height: 140px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .join-network-button {
        width: 120px;
        height: 120px;
        font-size: 0.8rem;
    }
}

/* Chatbot Section Styles */
.chatbot-section {
    margin-top: 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.chatbot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    border: none;
    animation: float-chatbot 9s ease-in-out infinite;
    margin-top: -30px;
    margin-left: 40px;
}

.chatbot-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: surface-shift 8s ease-in-out infinite;
}

.chatbot-button::before {
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(3, 150, 38, 1) 0%,
            rgba(2, 120, 30, 0.95) 15%,
            rgba(2, 100, 25, 0.85) 30%,
            rgba(1, 80, 20, 0.75) 45%,
            rgba(1, 60, 15, 0.65) 60%,
            rgba(1, 40, 10, 0.55) 75%,
            rgba(1, 30, 8, 0.45) 90%
        ),
        radial-gradient(circle at 70% 70%,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 30%,
            transparent 60%
        );
    box-shadow: 
        inset -30px -30px 70px rgba(0, 0, 0, 0.5),
        inset 20px 20px 50px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(2, 120, 30, 0.4),
        0 0 80px rgba(2, 120, 30, 0.3),
        0 0 120px rgba(2, 120, 30, 0.2);
}

.chatbot-button span {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    line-height: 1.4;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.chatbot-button:hover {
    animation-play-state: paused;
    transform: scale(1.1) translateY(-5px);
}

.chatbot-button:hover {
    box-shadow: 
        0 0 60px rgba(2, 120, 30, 0.5),
        0 0 120px rgba(2, 120, 30, 0.3),
        0 0 180px rgba(2, 120, 30, 0.2);
}

.chatbot-description {
    margin-top: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .chatbot-button {
        width: 140px;
        height: 140px;
        font-size: 0.9rem;
    }
    
    .chatbot-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

.action-buttons {
    display: flex;
    gap: 3.5rem;
    margin-top: 9rem;
    margin-left: -35%;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    align-items: center;
    justify-content: center;
    position: relative;
}

.join-network-section,
.chatbot-section {
    margin-top: 0;
    text-align: center;
}

.join-network-button,
.chatbot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    border: none;
    animation: float-join 8s ease-in-out infinite;
    animation: float-chatbot 9s ease-in-out infinite;
}

.join-network-button::before,
.chatbot-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: surface-shift 8s ease-in-out infinite;
}

.join-network-button::before {
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(232, 90, 26, 1) 0%,
            rgba(193, 68, 14, 0.95) 15%,
            rgba(193, 68, 14, 0.85) 30%,
            rgba(193, 68, 14, 0.75) 45%,
            rgba(193, 68, 14, 0.65) 60%,
            rgba(193, 68, 14, 0.55) 75%,
            rgba(193, 68, 14, 0.45) 90%
        ),
        radial-gradient(circle at 70% 70%,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 30%,
            transparent 60%
        );
    box-shadow: 
        inset -30px -30px 70px rgba(0, 0, 0, 0.5),
        inset 20px 20px 50px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(193, 68, 14, 0.4),
        0 0 80px rgba(193, 68, 14, 0.3),
        0 0 120px rgba(193, 68, 14, 0.2);
}

.chatbot-button::before {
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(3, 150, 38, 1) 0%,
            rgba(2, 120, 30, 0.95) 15%,
            rgba(2, 100, 25, 0.85) 30%,
            rgba(1, 80, 20, 0.75) 45%,
            rgba(1, 60, 15, 0.65) 60%,
            rgba(1, 40, 10, 0.55) 75%,
            rgba(1, 30, 8, 0.45) 90%
        ),
        radial-gradient(circle at 70% 70%,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.2) 30%,
            transparent 60%
        );
    box-shadow: 
        inset -30px -30px 70px rgba(0, 0, 0, 0.5),
        inset 20px 20px 50px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(2, 120, 30, 0.4),
        0 0 80px rgba(2, 120, 30, 0.3),
        0 0 120px rgba(2, 120, 30, 0.2);
}

.join-network-button span,
.chatbot-button span {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    line-height: 1.4;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.join-network-button:hover,
.chatbot-button:hover {
    animation-play-state: paused;
    transform: scale(1.1) translateY(-5px);
}

.join-network-button:hover {
    box-shadow: 
        0 0 60px rgba(193, 68, 14, 0.5),
        0 0 120px rgba(193, 68, 14, 0.3),
        0 0 180px rgba(193, 68, 14, 0.2);
}

.chatbot-button:hover {
    box-shadow: 
        0 0 60px rgba(2, 120, 30, 0.5),
        0 0 120px rgba(2, 120, 30, 0.3),
        0 0 180px rgba(2, 120, 30, 0.2);
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .join-network-button,
    .chatbot-button {
        width: 140px;
        height: 140px;
        font-size: 0.9rem;
    }
}

@keyframes float-join {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(5px);
    }
    50% {
        transform: translateY(-25px) translateX(-5px);
    }
    75% {
        transform: translateY(-15px) translateX(5px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes float-chatbot {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-35px) translateX(-8px);
    }
    50% {
        transform: translateY(-45px) translateX(8px);
    }
    75% {
        transform: translateY(-35px) translateX(-8px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes surface-shift {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.chatbot-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px; /* This should match your header's height */
    min-height: 100vh;
    background: url('/images/vector-bg.png') no-repeat center center;
    background-size: cover;
    font-family: 'Inter', sans-serif;
    width: 100vw;
}

@media (max-width: 1024px) {
    .video-background {
        background: linear-gradient(180deg, #146514 0%, #ae3d0c 100%) !important;
    }
    .video-background video {
        display: none !important;
    }
    .video-background::after {
        display: none !important;
    }

    main {
        padding: 0 1.5rem;
        padding-bottom: 200px;
    }

    .text-overlay-1 {
        margin-top: 4rem;
        margin-left: 0;
        padding: 0 1rem;
    }

    .text-overlay-1 .mega-title {
        font-size: 3.5rem;
        line-height: 0.3;
        margin-top: 18rem;
    
        text-align: center;
        font-weight: 300;
        width: 100%;
    }

    .text-overlay-2 {
        margin-top: 2rem;
        margin-left: 0;
        padding: 0 1rem;
    }

    .text-overlay-2 .subtitle {
        font-size: 1.8rem;
        line-height: 1.4;
        margin: 0.5rem 0;
        text-align: left;
    }

    .text-overlay-2 .feature-list {
        font-size: 1.2rem;
        line-height: 1.5;
        margin: 1rem 0;
        padding-left: 0;
    }

    .text-overlay-2 .feature-list li {
        font-size: 1.2rem !important;
        line-height: 1.5;
        margin-bottom: 1rem;
        text-align: left;
    }

    .feature-heading {
        font-size: 1.6rem;
        line-height: 1.4;
        margin: 1.5rem 0;
        text-align: left;
    }

    .menu-toggle {
        top: calc(1rem + env(safe-area-inset-top, 0));
        left: calc(1rem + env(safe-area-inset-left, 0));
        width: 50px;
        height: 50px;
        z-index: 1000;
    }

    .action-buttons {
        position: fixed;
        top: calc(5rem + env(safe-area-inset-top, 0));
        left: calc(1rem + env(safe-area-inset-left, 0));
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        z-index: 999;
    }

    .join-network-button,
    .chatbot-button {
        width: 140px;
        height: 140px;
        font-size: 0.9rem;
        margin: 0;
    }

    .join-network-button span,
    .chatbot-button span {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .busy-mars-description {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        padding: 0;
    }
    
    .busy-mars-description p {
        font-size: 1.3rem;
        line-height: 1.4;
        text-align: left;
    }
}

/* Busy Mars Description Styles */
.busy-mars-description {
    margin-top: 2rem;
    margin-bottom: 3rem;
    text-align: left;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-delay: 0.3s;
    max-width: 100%;
    padding: 0;
}

.busy-mars-description p {
    font-size: 1.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .content-below {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
    .subtitle,
    .busy-mars-description p,
    .feature-heading,
    .feature-list,
    .feature-list li {
        font-family: 'Lato', sans-serif !important;
        font-size: 1.1rem !important;
        font-weight: 400 !important;
        color: #fff !important;
        text-align: left !important;
        line-height: 1.5 !important;
        margin: 0 0 0.7rem 0 !important;
        padding: 0 !important;
        letter-spacing: 0 !important;
        word-break: break-word !important;
        box-sizing: border-box;
    }
    .busy-mars-description {
        margin-top: 1rem;
        margin-bottom: 1.2rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .feature-list {
        padding-left: 0 !important;
        list-style: none;
    }
    .text-overlay-2 {
        margin-top: 1.2rem;
        margin-left: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .text-overlay-2 .animated-text-section {
        margin: 1.2rem 0 0 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .busy-mars-description {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .busy-mars-description p {
        font-size: 1.2rem;
        line-height: 1.3;
    }
}
