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

:root {
    --primary: #00ff88;
    --primary-dark: #00cc6e;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #7c3aed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    /*overflow-x: hidden;*/
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    nav {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1.2rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        height: 40px;
        cursor: pointer;
    }

    .nav-links {
        display: flex;
        gap: 2.5rem;
        list-style: none;

        a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;

            &:hover {
                color: var(--primary);

                &::after {
                    width: 100%;
                }
            }

            &.active {
                color: var(--primary);

                &::after {
                    width: 100%;
                }
            }

            &::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 0;
                height: 2px;
                background: var(--primary);
                transition: width 0.3s;
            }
        }
    }

    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;

        span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
            transition: all 0.3s;
        }

        &.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 7px);
        }

        &.active span:nth-child(2) {
            opacity: 0;
        }

        &.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -7px);
        }
    }

    @media (max-width: 900px) {
        .nav-links {
            gap: 1.5rem;
        }
    }

    @media (max-width: 750px) {
        .mobile-menu-toggle {
            display: flex;
        }

        .nav-links {
            display: flex;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            flex-direction: column;
            background: rgba(10, 10, 10, 0.98);
            padding: 2rem;
            gap: 1.5rem;
            transform: translateY(-100%);
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s;
        }

        .nav-links.active {
            transform: translateY(0);
            opacity: 1;
            pointer-events: all;
        }
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.15), transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(0, 255, 136, 0.15), transparent 50%);
        z-index: -1;
    }

    .hero-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 1400px;
        width: 100%;
        gap: 4rem;
        align-items: center;

        .hero-text {
            max-width: 500px;

            h1 {
                font-size: 4rem;
                line-height: 1.1;
                margin-bottom: 1.5rem;
                background: linear-gradient(135deg, var(--text-primary), var(--primary));
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .highlight {
                color: var(--primary);
                display: block;
            }

            p {
                font-size: 1.25rem;
                color: var(--text-secondary);
                margin-bottom: 2rem;
                line-height: 1.8;
            }

            .cta-buttons {
                display: flex;
                gap: 1.5rem;
            }

            @media (max-width: 400px) {
                h1 {
                    font-size: 2.5rem;
                }

                p {
                    font-size: 1rem;
                }
            }
        }

        img {
            width: 100%;
            max-width: 600px;
            height: auto;
        }
    }
}

.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;

    .section-header {
        text-align: center;
        margin-bottom: 4rem;

        h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        p {
            font-size: 1.2rem;
            color: var(--text-secondary);
        }

        @media (max-width: 400px) {
            h2 {
                font-size: 2rem;
            }

            p {
                font-size: 1rem;
            }
        }
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;

        .feature-card {
            background: var(--bg-card);
            padding: 2.5rem;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            text-decoration: none;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 3px;
                background: linear-gradient(90deg, var(--primary), var(--accent));
                transform: scaleX(0);
                transition: transform 0.3s;
            }

            &:hover {
                transform: translateY(-5px);
                border-color: rgba(0, 255, 136, 0.3);

                &::before {
                    transform: scaleX(1);
                }
            }

            .feature-icon {
                width: 60px;
                height: 60px;
                background: linear-gradient(135deg, var(--primary), var(--accent));
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }

            h3 {
                color : var(--text-primary);
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            p {
                color: var(--text-secondary);
                line-height: 1.8;
            }
        }
    }
}

.feature-section {
    margin: 0 auto;
    padding: 2rem 2rem;

    .feature-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 1400px;
        padding: 4rem 2rem;
        background: var(--bg-card);
        margin: 0 auto;
        text-align: center;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);

        h2 {
            font-size: 2.5rem;
        }

        p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 1000px;
            font-weight: 700;
            margin: 0 auto 4rem;
        }

        .feature-detail {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            max-width: 1000px;
            margin: 1rem auto 1rem;

            p {
                color: var(--text-secondary);
                line-height: 1.6;
                font-weight: 500;
            }

            img {
                border-radius: 16px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
                border: 1px solid rgba(255, 255, 255, 0.1);
            }

            .img-sm {
                width: 100%;
                max-width: 300px;
                height: auto;
            }

            .img-lg {
                width: 100%;
                max-width: 600px;
                height: auto;
            }

            @media (max-width: 900px) {
                flex-direction: column;
                text-align: center;
                &.reverse {
                    flex-direction: column-reverse;
                }

                img {
                    margin: 0 auto;
                }

                p {
                    margin-top: 2rem;
                }
            }
        }

        @media (max-width: 400px) {
            h2 {
                font-size: 2rem;
            }

            p {
                font-size: 1rem;
            }

            .feature-detail p {
                font-size: 0.9rem;
            }
        }
    }
}

.about {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;

    h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    p {
        font-size: 1.2rem;
        color: var(--text-secondary);
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.8;
    }

    .team {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 3rem;
        flex-wrap: wrap;

        .team-member {
            background: var(--bg-card);
            padding: 1.5rem;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 200px;
            text-align: center;

            img {
                width: 100px;
                height: 100px;
                border-radius: 50%;
                margin-bottom: 1rem;
                border: 2px solid var(--primary);
            }

            h3 {
                font-size: 1.2rem;
                margin-bottom: 0.5rem;
            }

            p {
                font-size: 1rem;
                color: var(--text-secondary);
            }
        }
    }

    @media (max-width: 400px) {
        h2 {
            font-size: 2rem;
        }

        p {
            font-size: 1rem;
        }
    }
}

.contact {
    padding: 6rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;

    h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    p {
        font-size: 1.2rem;
        color: var(--text-secondary);
        max-width: 800px;
        margin: 0 auto 2rem;
    }

    a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

    .contact-form {
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        input, textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            background: var(--bg-dark);
            color: var(--text-primary);
            font-size: 1rem;
            resize: vertical;
        }

        input::placeholder, textarea::placeholder {
            color: var(--text-secondary);
        }

        button {
            align-self: flex-end;
        }
    }

    @media (max-width: 400px) {
        h2 {
            font-size: 2rem;
        }

        p {
            font-size: 1rem;
        }
    }
}

.partnership {
    padding: 6rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    .partnership-content {
        max-width: 1400px;
        margin: 0 auto;
        text-align: center;

        h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }

        p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 800px;
            margin: 0 auto 3rem;
        }

        .logo-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2rem;
            font-size: 3rem;
            color: var(--primary);

            .partner-logo {
                padding: 0.5rem 1rem;
                margin: 2rem 0;
                border-radius: 8px;
                background: linear-gradient(
                        135deg,
                        rgba(255, 255, 255, 0.2),
                        rgba(255, 255, 255, 0.5)
                );
                backdrop-filter: blur(6px);
                border: 1px solid rgba(255, 255, 255, 0.2);
            }

            .joint-logo {
                height: 60px;
            }

            @media (max-width: 600px) {
                flex-direction: column;
                font-size: 2.5rem;
                gap: 0;
            }
        }

        @media (max-width: 400px) {
            h2 {
                font-size: 2rem;
            }

            p {
                font-size: 1rem;
            }
        }
    }
}

footer {
    padding: 4rem 2rem;
    background: var(--bg-card);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    p {
        color: var(--text-secondary);
    }
}
