@font-face {
    font-family: "ZSFT-ai";
    src: url("https://fontsapi.zeoseven.com/ai/main.woff2") format("woff2"),
        url("https://fontsapi-storage.zeoseven.com/ai/main.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "ZSFT-o";
    src: url("https://fontsapi.zeoseven.com/o/main.woff2") format("woff2"),
        url("https://fontsapi-storage.zeoseven.com/o/main.woff2") format("woff2");
    font-display: swap;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #1e293b;
    --black: #000000;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --gradient-start: rgba(0, 0, 0, 0.5);
    --gradient-end: rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Swei Toothpaste CJK SC', 'ZSFT-o', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html::-webkit-scrollbar {
    width: 0px;
}

body {
    background-color: var(--black);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    margin: 0 1%;
    z-index: 100;
    border-radius: 0 0 15px 15px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'ZSFT-ai', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.logo img {
    height: 35px;
    margin-right: 10px;
    animation: spin 10s linear infinite;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    backdrop-filter: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'ZSFT-o', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.secondary-button {
    background-color: transparent;
    color: var(--primary);
    margin-left: 1rem;
}

.secondary-button:hover {
    background-color: var(--primary);
    color: white;
}

/* Sections */
section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    padding: 10px;
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.team-member p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    border-radius: 1rem 1rem 0 0;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    font-family: 'ZSFT-ai', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
    animation: spin 10s linear infinite;
}

.footer-text small {
    display: block;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    z-index: -1;
}

@media (max-width: 992px) {

    .about-content,
    .contact-container {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header {
        margin: 0;
        width: 100%;
    }

    .nav-container {
        padding: 0.8rem 0;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 66px;
        left: -200%;
        width: 100%;
        background-color: var(--light);
        border-radius: 15px;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-text small {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* RFAI @RFKONG 2025 */