:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    /* Precise colors from the reference image */
    --accent-purple: #c084fc; 
    --accent-blue: #38bdf8;
    --accent-gradient: linear-gradient(135deg, #c084fc 0%, #38bdf8 100%);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-hover-bg: rgba(255, 255, 255, 0.6);
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --section-padding: 120px 20px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Clean white base */
    background: #ffffff;
}

/* ─── Exact Gradient Replication ─── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    background: 
        radial-gradient(circle at 10% 10%, rgba(192, 132, 252, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 40%, rgba(56, 189, 248, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(192, 132, 252, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Moving Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Floating Blobs */
.blob {
    position: fixed;
    width: 800px;
    height: 800px;
    filter: blur(140px);
    opacity: 0.25;
    border-radius: 50%;
    z-index: -2;
    pointer-events: none;
    animation: float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 { top: -200px; left: -100px; background: #c084fc; }
.blob-2 { bottom: -100px; right: -100px; background: #38bdf8; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.1); }
}

/* Spotlight Effect */
.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle 400px at var(--x, 50%) var(--y, 50%), rgba(56, 189, 248, 0.06), transparent 100%);
    pointer-events: none;
    z-index: 10;
}

/* Layout System */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    position: relative;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 7vw, 4.8rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: #0f172a;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #ffffff;
    border: 10px solid #ffffff;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: morph 15s ease-in-out infinite;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 80px;
    text-align: center;
    font-weight: 800;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-12px);
    border-color: #c084fc;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

/* About Card */
.about-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: flex-start;
    background: #ffffff;
    padding: 80px;
    border-radius: 40px;
    box-shadow: 0 20px 80px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--glass-border);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-right: 40px;
    border-right: 1px solid var(--glass-border);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.about-content {
    padding-top: 10px;
}

.about-content h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    letter-spacing: -1.5px;
    text-align: left;
}

.about-lead {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.4;
}

.about-text {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary {
    background: #0f172a;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* QR Code */
.wechat-qr-container {
    display: inline-block;
    padding: 24px;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
}

.qr-image { width: 140px; height: 140px; }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive (Mobile & Tablet) */
@media (max-width: 1024px) {
    :root { --section-padding: 80px 20px; }
    .hero-grid { gap: 40px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-card { gap: 40px; padding: 60px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    
    nav { padding: 15px 0; }
    .nav-links { display: none; }
    
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding-top: 40px;
    }
    
    .hero-visual { 
        order: -1; 
        max-width: 280px; 
        margin: 0 auto; 
    }
    
    .hero-btns { justify-content: center; flex-direction: column; }
    .hero-btns .btn { width: 100%; justify-content: center; margin: 0 !important; }
    
    .section-title { font-size: 2.2rem; margin-bottom: 40px; }
    
    .grid-3 { grid-template-columns: 1fr; }
    
    .about-card { 
        grid-template-columns: 1fr; 
        padding: 40px 24px; 
        gap: 40px;
        text-align: center;
    }
    
    .about-stats { 
        flex-direction: row; 
        justify-content: center; 
        gap: 30px; 
        padding-right: 0; 
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 40px;
    }
    
    .stat-number { font-size: 3rem; }
    
    .about-card h2 { text-align: center !important; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.8rem; }
    .stat-number { font-size: 2.5rem; }
    .card { padding: 30px 24px; }
}
