@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');

/* General Styles */
        body {
            margin: 0;
            font-family: "Fredoka", sans-serif;
            font-optical-sizing: auto;
            background-color: #AEC6B9;
        }
        html {
            scrollbar-width: none;
        }

        html::-webkit-scrollbar {
            display: none;
        }

        html.show-scroll {
            scrollbar-width: thin;
        }

        html.show-scroll::-webkit-scrollbar {
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        h1, h2, h3, h4, p {
            margin: 0;
        }

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

        /* Header Notification */
        .header-notification {
            background-color: #78857E;
            color: #fff;
            padding: 15px 10px;
            font-size: 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1001;
            box-sizing: border-box;
            cursor: pointer;
            overflow: hidden;
        }

        .header-notification .notification-text {
            flex: 1;
            text-align: center;
            font-size: 18px;
            line-height: 1.5;
            white-space: nowrap;
            overflow: hidden;
        }

        .header-notification .marquee-content {
            display: inline-block;
            animation: marquee 30s linear infinite;
        }

        @keyframes marquee {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(-33.33%);
            }
        }

        .header-notification a {
            text-decoration: none;
            color: #fff;
        }

        .header-notification .close {
            background: none;
            border: none;
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            margin-left: 10px;
            line-height: 1;
        }

        @media (max-width: 768px) {
            .header-notification {
                padding: 10px;
            }

            .header-notification .notification-text {
                text-align: center;
                font-size: 16px;
                padding-left: 40px;
            }
        }

        /* Fixed Header */
        header {
            position: fixed;
            top: 50px;
            width: 100%;
            z-index: 1000;
            transition: opacity 0.5s ease, background 0.3s ease;
            background: linear-gradient(to bottom, #AEC6B9 0%, rgba(174, 198, 185, 0) 100%);
            opacity: 1;
        }

        header.hidden {
            opacity: 0;
            pointer-events: none;
        }

        header.scrolled {
            background-color: #AEC6B9;
        }

        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
        }

        header img {
            height: 40px;
        }


        header nav a {
            position: relative;
            margin-left: 20px;
            font-size: 16px;
            color: #000;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        header nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 1.5px;
            background-color: #E17B5C;
            transition: width 0.3s ease;
        }

        header nav a:hover {
            color: #E17B5C;
        }

        header nav a:hover::after {
            width: 100%;
        }
        .top-menu{
            margin-right: 20px;
        }

        /* Hero Section */
        .hero {
            background-color: #AEC6B9;
            height: 100vh;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            overflow: hidden;
        }

        .hero #starCanvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .hero .container {
            text-align: center;
            z-index: 2;
            margin-top: -180px;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }


        .hero h1 {
            font-size: 52px;
            line-height: 50px;
            color: #000;
            width: 720px;
            font-weight: normal;
        }

        .hero .buttons {
            margin-top: 20px;
        }

        .hero button {
            padding: 15px 45px;
            font-size: 16px;
            border: none;
            border-radius: 15px;
            cursor: pointer;
            margin: 0 4px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .hero .try-beta {
            background-color: #E17B5C;
            color: #fff;
        }

        .hero .contact {
            background-color: #8AA094;
            color: #fff;
        }

        .hero button:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .hero img:not(.hero-logo) {
            position: absolute;
            bottom: 0;
            max-width: calc(100vh * 0.8);
            width: 100%;
            z-index: 1;
        }

        /* Hero Logo Styles */
        .hero-logo {
            width: 120px !important;
            max-width: 120px !important;
            height: auto;
            display: block;
            margin: 0 auto 20px auto;
            object-fit: contain;
        }



        /* Information Section */
        .information {
            background-color: #C7DCD1;
            padding: 150px 0;
        }

        .information .container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: flex-start;
        }

        .information .column-left {
            flex: 3 1 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding-right: 20px;
            align-items: flex-start;
            text-align: left;
        }

        .information .column-left h4,
        .information .column-left h2,
        .information .column-left p,
        .information .column-left .icon-box {
            text-align: left;
            align-self: flex-start;
        }

        .information .column-left h4 {
            color: #E17B5C;
            font-weight: normal;
            font-size: 20px;
            margin: 0;
            text-align: left;
        }

        .information .column-left h2 {
            font-size: 36px;
            font-weight: 500;
            margin-bottom: 10px;
            text-align: left;
            color: #E17B5C;
        }

        .information .column-left p {
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 20px;
            text-align: left;
            opacity: 0.7;
        }

        .information .accordion {
            display: flex;
            flex-direction: column;
            gap: 0;
            width: 100%;
        }

        .information .accordion-item {
            background: none;
            border-radius: 0;
            border-bottom: 1px solid #8AA094;
        }

        .information .accordion-header {
            width: 100%;
            background: none;
            border: none;
            text-align: left;
            padding: 16px 0;
            font-size: 20px;
            font-weight: 500;
            font-family: inherit;
            line-height: 1.3;
            color: #000;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            cursor: pointer;
        }

        .information .accordion-header::after {
            content: '▾';
            color: #E17B5C;
            transition: transform 0.2s ease;
            margin-left: auto;
            flex-shrink: 0;
        }

        .information .accordion-item.active .accordion-header::after {
            transform: rotate(180deg);
        }

        .information .accordion-content {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.3s ease, opacity 0.2s ease;
            padding: 0 0 16px 0;
        }

        .information .accordion-item.active .accordion-content {
            max-height: 1000px;
            opacity: 1;
            padding-top: 10px;
            padding-bottom: 14px;
        }

        .information .accordion-content p {
            font-size: 16px;
            line-height: 1.6;
            opacity: 0.8;
            margin: 0 0 10px 0;
        }

        .information .icon-box {
            display: flex;
            align-items: center;
            text-align: left;
            margin-top: 25px;
            cursor: pointer;
            transition: opacity 0.3s ease, transform 0.1s ease;
        }

        .information .icon-box:hover {
            opacity: 0.7;
        }

        .information .icon-box:active {
            transform: scale(0.97);
        }

        .information .icon {
            background-color: #EEF6F2;
            color: #E17B5C;
            border-radius: 20px;
            width: 50px;
            height: 50px;
            margin-right: 10px;
            padding-left: 4px;
            font-size: 20px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .information .icon-description {
            font-size: 16px;
            line-height: 1.5;
            color: #000;
        }

        .information .time {
            color: #8AA094;
            font-size: 14px;
        }

        .information .column:not(.column-left) {
            flex: 2 1 0;
            min-width: 300px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        video {
            width: 280px;
            border: none;
            box-shadow: none;
            display: block;
            margin: 0;
            background-color: transparent;
            object-fit: cover;
        }

        /* Investors Section */
        .investors {
            background-color: #ffffff;
            padding: 150px 0;
        }

        .investors .columns {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 40px;
        }

        .investors .investor-card {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            border-radius: 20px;
            background-color: #EEF6F2;
            cursor: pointer;
            transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .investors .investor-card:hover {
            opacity: 0.9;
        }

        .investors .investor-card:active {
            transform: scale(0.98);
        }

        .investors .investor-card img {
            width: 40px;
            height: 40px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .investors .investor-card h3 {
            font-size: 20px;
            font-weight: 500;
        }
        .investors .column p {
            line-height: 21px;
            opacity: 0.7;
        }
        .investors h2{
            font-size: 36px;
            font-weight: 500;
        }
        .investors-subtitle{
            font-size: 24px;
            font-weight: 400;
            margin: 20px 0;
            max-width: 800px;
        }

        .circle-container {
            display: flex;
            align-items: flex-start;
            gap: 25px;
            margin-bottom: 20px;
        }

        .circle {
            background-color: #AEC6B9;
            color: #fff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            font-size: 16px;
            flex-shrink: 0;
        }

        .investors .circle-container p {
            margin: 0;
            opacity: 0.7;
            text-align: left;
            max-width: 650px;
        }

        .investors .circle-container p strong {
            font-weight: bold;
            color: #000;
            text-align: left;
        }

        .investors .contact-box {
            background-color: transparent;
            border-radius: 0;
            padding: 0;
            margin-top: 50px;
            line-height: 30px;
            font-size: 20px;
        }

        .investors .contact-box p {
            margin-bottom: 20px;
        }

        .investors .contact-box p:last-child {
            margin-bottom: 0;
        }
        .investors .contact-box a{
            color: #E17B5C;
            text-decoration: underline;
        }
        .investors .contact-box a:hover{
            color: #E17B5C;
            text-decoration: none;
        }


        @media (max-width: 768px) {
            .investors .columns {
                flex-direction: column;
            }
        }


        /* Footer */
        footer {
            background-color: #000;
            color: #737373;
            padding: 60px 20px;
            display: flex;
            justify-content: center;
        }

        footer .container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            width: 100%;
            max-width: 1000px;
            gap: 20px;
        }

        footer .footer-left {
            flex: 1;
            text-align: left;
        }

        footer .footer-right {
            flex: 1;
            display: flex;
            justify-content: flex-end;
            gap: 20px;
            flex-wrap: wrap;
        }

        footer .footer-right a {
            text-decoration: none;
            color: #fff;
            font-size: 14px;
        }

        footer .footer-right a {
            text-decoration: none;
            color: #fff;
            font-size: 14px;
            position: relative;
            transition: color 0.3s ease;
        }

        footer .footer-right a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 1.5px;
            background-color: #E17B5C;
            transition: width 0.3s ease;
        }

        footer .footer-right a:hover {
            color: #E17B5C;
        }

        footer .footer-right a:hover::after {
            width: 100%;
        }


        footer .footer-right a.back-to-top {
            opacity: 0.6;
            transition: opacity 0.3s;
        }


        footer .footer-links {
            margin-top: 10px;
            font-size: 14px;
            opacity: 0.7;
        }

        footer .footer-links a {
            position: relative;
            transition: color 0.3s ease;
        }

        footer .footer-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0;
            height: 1.5px;
            background-color: #E17B5C;
            transition: width 0.3s ease;
        }

        footer .footer-links a:hover {
            color: #E17B5C;
        }

        footer .footer-links a:hover::after {
            width: 100%;
        }


        /* Мобильная версия */
        @media (max-width: 768px) {
            footer .container {
                flex-direction: column;
                align-items: flex-start;
            }

            footer .footer-right {
                order: 1;
                flex-direction: column;
                gap: 10px;
                text-align: left;
                width: 100%;
            }

            footer .footer-right a {
                display: block;
            }

            footer .footer-left {
                order: 2;
                margin-top: 20px;
                text-align: left;
                width: 100%;
            }
        }


        .close {
            background: none;
            border: none;
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            margin-left: auto;
            padding: 0 10px;
            line-height: 1;
            transition: opacity 0.3s ease, transform 0.1s ease;
        }

        .close:hover {
            opacity: 0.7;
        }

        .close:active {
            transform: scale(0.9);
        }

        .modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background-color: #AEC6B9;
            border-radius: 30px;
            width: 80%;
            max-width: 650px;
            height: 80%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 1002;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .modal.active {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }

        .modal-content {
            position: relative;
            height: 100%;
        }

        .modal .close {
            position: absolute;
            top: 20px;
            right: 10px;
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: #000;
        }
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
        }

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

        /* Видео модальное окно */
        .video-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 2001;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .video-overlay.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .video-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background-color: #fff;
            border-radius: 30px;
            width: 80%;
            max-width: 600px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 2002;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .video-modal.active {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }

        .video-modal .video-modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: #333;
        }
        .modal-content{
            border-radius: 30px;
            padding-right: 5px;
            background-color: #AFC6BA !important;

        }

        .modal-content iframe::-webkit-scrollbar {
            width: 4px;
            background-color: #AFC6BA !important;
        }

        .modal-content iframe::-webkit-scrollbar-thumb {
            background-color: #c3d8cd !important;
            border-radius: 2px;
        }

        .modal-content iframe::-webkit-scrollbar-thumb:hover {
            background-color: #c3d8cd !important;
        }
        .video-pre{
            background-color: transparent;
            object-fit: cover;
            overflow: hidden;
            display: block;
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        .video-wrapper {
            border-radius: 30px !important;
            -webkit-border-radius: 30px !important;
            -moz-border-radius: 30px !important;
            overflow: hidden !important;
            background-color: transparent;
            display: block;
            position: relative;
        }

        /* Стилі для Chrome браузерів */
        @supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
            #video-pre {
                border-radius: 40px;
                -webkit-border-radius: 40px;
                overflow: hidden;
                transform: translateZ(0);
                -webkit-transform: translateZ(0);
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
            }
        }

        /* Стилі для інших браузерів (Safari, Firefox тощо) */
        @supports not ((-webkit-appearance: none) and (not (-moz-appearance: none))) {
            #video-pre {
                overflow: hidden;
                transform: translateZ(0);
                backface-visibility: hidden;
            }
        }

        #modalVideo {
            border-radius: 30px !important;
            -webkit-border-radius: 30px !important;
            -moz-border-radius: 30px !important;
            background-color: transparent;
            object-fit: cover;
            overflow: hidden;
            display: block;
            clip-path: inset(0 round 30px);
            -webkit-clip-path: inset(0 round 30px);
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        /* Mobile adaptation */
        @media (max-width: 768px) {
            .information .column {
                justify-content: center;
                text-align: center;
            }

            .information .column video {
                width: 200px;
                height: auto;
                margin: 0 auto;
            }
            .investors .contact-box{
                font-size: 18px;
                line-height: 25px;
            }
        }


        .mobile-hero {
            display: none;
        }

        /* Desktop media query to show hero section */
        @media (min-width: 769px) {
            .hero {
                display: flex;
            }
            .mobile-hero {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .mobile-hero {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: center;
                padding: 20px;
                background-color: #AEC6B9;
                background-image: url('images/hero-bg.webp');
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
                height: 100vh;
                position: relative;
                overflow: hidden;
            }
            
            .mobile-hero #mobileStarCanvas {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
                pointer-events: none;
            }
            
            .mobile-hero > * {
                position: relative;
                z-index: 2;
            }
            .mobile-hero.shifted {
                margin-top: 3%;
            }


            .mobile-hero .buttons {
                margin-bottom: 20px;
            }

            .mobile-hero button {
                padding: 15px 45px;
                font-size: 16px;
                border: none;
                border-radius: 15px;
                cursor: pointer;
                margin: 0 4px;
                transition: transform 0.2s, box-shadow 0.2s;
            }

            .mobile-hero .try-beta {
                background-color: #E17B5C;
                color: #fff;
            }

            .mobile-hero .contact {
                background-color: #8AA094;
                color: #fff;
            }

            .mobile-hero img {
                width: 70vw;
                display: block;
                margin: 0 auto;
            }

            .mobile-hero-logo {
                width: 100px !important;
                max-width: 100px !important;
                height: auto;
            }



            .header-notification, header, .hero {
                display: none;
            }
        }

        .mobile-hero-text {
            text-align: center;
            margin-bottom: 20px;
        }

        .mobile-hero-text p {
    font-size: 30px;
            line-height: 1.05;
            font-weight: 400;
            color: #000;
            margin: 0;
        }

        .fixed-banner {
    display: none; /* Приховуємо блок за замовчуванням */
}

@media (max-width: 768px) {
    .fixed-banner {
        display: flex;
        position: fixed;
        bottom: 10px;
        left: 10px; /* Відступ зліва */
        right: 10px; /* Відступ справа */
        background-color: #78857E;
        color: #fff;
        padding: 15px 20px;
        justify-content: space-between;
        align-items: center;
        border-radius: 20px;
        box-sizing: border-box;
        z-index: 1000;
    }

    .fixed-banner .banner-text {
        font-size: 14px;
        line-height: 1.5;
        flex: 1;
        text-align: left;
    }

    .fixed-banner a {
        color: #ffffff;
        text-decoration: underline;
    }

    .fixed-banner .close-banner {
        background: none;
        border: none;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        margin-left: 10px;
        line-height: 1;
        padding: 5px;
        transition: opacity 0.3s, transform 0.1s;
    }

    .fixed-banner .close-banner:active {
        transform: scale(0.95);
    }
}


.mobile-header {
    display: none;
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        position: fixed;
        top: 0;
        width: 100%;
        background-color: #AEC6B9;
        padding: 10px 0;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
    }

    .mobile-header .logo {
        height: 30px;
        padding-left: 20px;
    }

    .mobile-header .menu-icon {
        height: 14px;
        cursor: pointer;
        padding-right: 20px;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 43px;
        right: 20px;
        background-color: #78857E;
        border-radius: 20px;
        padding: 10px;
        box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 1001;
        pointer-events: none;
    }

    .mobile-menu.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-menu a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        margin: 0;
        text-align: left;
        padding: 10px 20px 10px 10px;
        display: block;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .mobile-menu a:hover {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 13px;
    }
    .information {padding: 60px 20px;}
    .investors {padding: 60px 20px;}
    .information .column h2{
        font-size: 26px;
    }
    .investors .container h2{
        font-size: 26px;
    }
    .investors-subtitle{
        font-size: 20px;
    }
    .column .circle-container{
        margin-bottom: 4px;
        margin-top: 10px;
    }
    .back-to-top{
        margin-bottom: 15px;
    }
    .information .container h4{
        margin-bottom: -10px;
    }
}

/* Desktop version - show .hero and hide .mobile-hero */
@media (min-width: 769px) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mobile-hero {
        display: none;
    }
}
        .information .accordion-label {
            max-width: 400px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            flex: 0 1 auto;
        }

        .information .accordion-title {
            font-size: 20px;
            font-weight: 400;
            line-height: 1.3;
        }

        .information .accordion-subtitle {
            font-size: 16px;
            font-weight: 400;
            line-height: 1.3;
            color: #E17B5C;
            margin-bottom: 8px;
        }
        #investorModal {
            width: 60%;
            max-width: 520px;
            height: auto;
        }

        #investorModal .modal-content {
            height: auto;
            padding: 24px;
        }

        #investorModal .investor-modal-body h3 {
            font-size: 22px;
            font-weight: 500;
            margin-bottom: 12px;
        }

        #investorModal .investor-modal-body p {
            font-size: 16px;
            line-height: 1.5;
        }
        @media (min-width: 769px) {
            .investors .investor-card {
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
            }
            .investors .investor-card:hover {
                transform: translateY(-3px) scale(1.02);
                box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
                background-color: #E4F1EA;
                opacity: 1;
            }
        }