@charset "UTF-8";

/* Design Tokens */
:root {
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --secondary: #A78BFA;
    --bg-dark: #FFFFFF;
    --bg-card: #F5F3FF;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --glass-border: rgba(139, 92, 246, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.dual-column-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
}

@media (max-width: 992px) {
    .dual-column-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s;
}

/* Open state for hamburger */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.btn-white {
    background-color: #FFFFFF;
    color: var(--primary);
    border: 1px solid #FFFFFF;
}

.btn-white:hover {
    background-color: #F9FAFB;
    border-color: #F9FAFB;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.1);
}

/* Zigzag Layout */
.zigzag-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

.zigzag-row:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-image {
    flex: 0.3;
    display: flex;
    justify-content: center;
}

.zigzag-image img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 0.75rem;
    filter: drop-shadow(0 10px 20px rgba(139, 92, 246, 0.08));
}

.zigzag-content {
    flex: 1.7;
    background: #F5F3FF;
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.zigzag-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.zigzag-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
    background-color: #ECE7FF;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-image {
    flex: 6;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-content {
    flex: 4;
}

.hero-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: #000000;
}

.hero .text-gradient {
    background: none;
    -webkit-text-fill-color: initial;
    color: #000000;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.bento-1 {
    grid-column: span 8;
}

.bento-2 {
    grid-column: span 4;
}

.bento-3 {
    grid-column: span 4;
}

.bento-4 {
    grid-column: span 8;
}

.bento-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

/* Footer */
footer {
    background: #F9FAFB;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.beian-link {
    color: inherit;
    text-decoration: none;
}

.beian-link:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-1,
    .bento-2,
    .bento-3,
    .bento-4 {
        grid-column: span 12;
    }
}

@media (max-width: 640px) {
    .hide-mobile {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: white;
        padding: 0 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow: hidden;
        display: flex !important;
        flex-direction: column;
        border-bottom: 1px solid var(--glass-border);
    }

    nav.active {
        height: auto;
        padding: 2rem 2rem;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav a {
        font-size: 1.25rem;
        display: block;
    }

    .header-inner .btn {
        display: none;
        /* Hide download button in small header, put it in menu? */
    }

    nav .btn-mobile-only {
        display: inline-flex !important;
        margin-top: 2rem;
        width: 100%;
    }

    .hero {
        text-align: center;
        padding-top: 8rem;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-content div[style*="flex"] {
        justify-content: center !important;
    }

    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
    }

    .zigzag-row,
    .zigzag-row:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: center;
    }

    .zigzag-image {
        padding: 1.5rem;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animations Disabled for Instant Load */
[data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
}

[data-animate].visible {
    opacity: 1;
    transform: none;
}

/* Floating Download Button (Mobile Only) */
.floating-download {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s;
}

.floating-download:active {
    transform: scale(0.9);
}

@media (max-width: 640px) {
    .floating-download {
        display: flex;
    }
}

/* Glassmorphism Card Info */
.info-card {
    background: rgba(139, 92, 246, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}