/* 使用系统字体，无外链，离线可用 */
:root {
    --apple-bg: #f5f5f7;
    --apple-text: #1d1d1f;
    --apple-text-secondary: #86868b;
    --apple-blue: #0071e3;
    --apple-blue-soft: rgba(0, 113, 227, 0.08);
    --apple-border: rgba(0, 0, 0, 0.05);
    --apple-glass-bg: rgba(255, 255, 255, 0.45);
    --apple-glass-border: rgba(255, 255, 255, 0.6);
    --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--apple-bg);
    color: var(--apple-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.015em;
    overflow: hidden;
    position: relative;
    margin: 0;
}

/* Elegant Soft Orbs for Glassmorphism */
.mesh-bg {
    background-color: #f5f5f7;
    background-image: radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.03) 0, transparent 50%), radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.03) 0, transparent 50%), radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.03) 0, transparent 50%);
    position: relative;
    min-height: 100vh;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Apple-style soft blurred orbs */
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 113, 227, 0.35);
    /* Apple Blue */
    top: 50%;
    left: 45%;
    margin-top: -300px;
    margin-left: -300px;
    animation: float 20s infinite alternate;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: rgba(175, 82, 222, 0.35);
    /* Apple Purple */
    top: 50%;
    left: 55%;
    margin-top: -300px;
    margin-left: -300px;
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    100% {
        transform: translate(50px, -40px) scale(0.9);
    }
}

.glass {
    background: var(--apple-glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--apple-glass-border);
    box-shadow: var(--shadow-premium);
    border-radius: 20px;
}

.apple-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--ease-apple);
    position: relative;
    overflow: hidden;
}

.apple-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    background: rgba(255, 255, 255, 0.85);
}

.text-gradient {
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Technical Data Stamps */
.tech-stamp {
    font-family: -apple-system, BlinkMacSystemFont, monospace;
    font-size: 11px;
    color: var(--apple-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    display: inline-block;
}

.apple-btn {
    padding: 12px 28px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--apple-text);
}

@keyframes atomSpinAndFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(120deg);
    }

    66% {
        transform: translateY(2px) rotate(240deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.atom-animated {
    display: inline-block;
    animation: atomSpinAndFloat 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: center center;
}

.apple-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.apple-btn-primary {
    background: var(--apple-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.apple-btn-primary:hover {
    background: #0077ed;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
    transform: scale(1.02);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-reveal {
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}