/* ===== CSS Variables and Reset ===== */
:root {
    --primary: #3d9fd9;
    --primary-light: #66c2ff;
    --accent: #52c41a;
    --bg-light: #f8fbff;
    --bg-gradient-end: #e6f2ff;
    --foreground: #262626;
    --foreground-light: #b3b3b3;
    --card-bg: rgba(255, 255, 255, 0.7);
    --border-color: #e8f0f7;
    --radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-gradient-end));
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== Canvas Background ===== */
.canvas-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(38, 38, 38, 0.7);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* ===== Main Content ===== */
.main-content {
    position: relative;
    z-index: 10;
}

/* ===== Hero Section ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    margin-top: 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1280px;
    width: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bull-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-cn {
    color: var(--foreground);
}

.title-en {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(38, 38, 38, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.cta-button {
    padding: 0.75rem 2rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(61, 159, 217, 0.2);
}

.cta-button:hover {
    background-color: #2b7aa1;
    box-shadow: 0 8px 16px rgba(61, 159, 217, 0.3);
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(0.98);
}

/* ===== Features Section ===== */
.features {
    padding: 3rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(66, 196, 26, 0.05));
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(61, 159, 217, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--foreground-light);
}

/* ===== Animations ===== */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ===== Decorative Elements ===== */
.decorative-circle {
    position: absolute;
    border: 2px solid rgba(61, 159, 217, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: pulse 3s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 5%;
    border-color: rgba(82, 196, 26, 0.2);
    animation: pulse 3s ease-in-out infinite 1s;
}

.decorative-shape {
    position: absolute;
    pointer-events: none;
    z-index: 5;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 35%;
    right: 20%;
    border: 2px solid rgba(61, 159, 217, 0.1);
    transform: rotate(45deg);
    animation: rotate-slow 20s linear infinite;
}

.floating-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    animation: pulse 2.5s ease-in-out infinite;
}

.dot-1 {
    width: 12px;
    height: 12px;
    background: rgba(82, 196, 26, 0.4);
    top: 25%;
    left: 20%;
}

.dot-2 {
    width: 8px;
    height: 8px;
    background: rgba(61, 159, 217, 0.4);
    top: 65%;
    right: 30%;
    animation-delay: 0.5s;
}

.dot-3 {
    width: 16px;
    height: 16px;
    background: rgba(82, 196, 26, 0.2);
    bottom: 20%;
    left: 30%;
    animation-delay: 1s;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--foreground-light);
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .nav-links {
        gap: 1rem;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .decorative-circle {
        display: none;
    }

    .decorative-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero {
        min-height: calc(100vh - 100px);
        padding: 1rem;
    }

    .hero-container {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}
