:root {
    --primary: #0a0a0f;
    --secondary: #ff3366;
    --accent: #00d4aa;
    --text: #ffffff;
    --text-secondary: rgba(255,255,255,0.6);
    --card-bg: rgba(255,255,255,0.03);
    --card-border: rgba(255,255,255,0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,10,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 5% 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,51,102,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,170,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 10% 60%, rgba(255,51,102,0.06) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-badge span:last-child {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,51,102,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--text);
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--secondary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: white;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -8px; opacity: 1; }
    100% { top: 50px; opacity: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Section Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header.center {
    justify-content: center;
    text-align: center;
}

.section-tag {
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    gap: 0.8rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(255,51,102,0.03) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,51,102,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,51,102,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Featured Works */
.featured-works {
    padding: 6rem 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.work-item {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.4s ease;
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.work-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.08);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-category {
    padding: 0.4rem 1rem;
    background: var(--secondary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.work-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.work-item:hover .work-arrow {
    background: var(--secondary);
    transform: translateX(5px);
}

.work-info {
    padding: 1.2rem 1.5rem;
}

.work-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: rgba(255,51,102,0.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Process Section */
.process {
    padding: 6rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: rgba(255,51,102,0.3);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,51,102,0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255,51,102,0.1) 0%, rgba(0,212,170,0.05) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    color: var(--secondary);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        max-height: 100vh;
        background: linear-gradient(135deg, rgba(10,10,15,0.99) 0%, rgba(25,25,40,0.99) 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 100px 20px 20px;
        gap: 2.5rem;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95) translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        z-index: 9999;
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    .nav-links::before {
        content: '';
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(circle at 20% 20%, rgba(255,51,102,0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(0,212,170,0.1) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);
    }
    
    .nav-links a {
        font-size: 2rem;
        font-weight: 700;
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        padding: 0.8rem 3rem;
        color: #ffffff;
        text-align: center;
    }
    
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active a:nth-child(1) { transition-delay: 0.08s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.16s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.24s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.32s; }
    
    .nav-links a::before {
        content: '';
        position: absolute;
        bottom: 0.3rem;
        left: 50%;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--secondary), var(--accent));
        border-radius: 2px;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-links a:hover::before,
    .nav-links a.active::before {
        width: 50%;
    }
    
    .nav-links a.active {
        color: var(--secondary);
    }
    
    .nav-links a:hover {
        color: var(--secondary);
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--secondary);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==================== */
/* 作品集页面样式 */
/* ==================== */
.page-header {
    padding: 140px 5% 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(255,51,102,0.05) 100%);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.portfolio-section {
    padding: 4rem 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255,51,102,0.3);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.portfolio-item-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item-image img {
    transform: scale(1.1);
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
    opacity: 1;
}

.portfolio-item-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--secondary);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    width: fit-content;
}

.portfolio-item-info {
    padding: 1.5rem;
}

.portfolio-item-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-item-info h3 {
    color: var(--secondary);
}

.portfolio-item-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-item-link {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item-link i {
    transition: transform 0.3s ease;
}

.portfolio-item-link:hover i {
    transform: translateX(5px);
}

/* ==================== */
/* 关于页面样式 */
/* ==================== */
.about-hero {
    padding: 140px 5% 60px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-section {
    padding: 4rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: rgba(255,51,102,0.3);
    transform: translateY(-5px);
}

.skill-card h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255,51,102,0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==================== */
/* 联系页面样式 */
/* ==================== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: rgba(255,51,102,0.3);
    transform: translateX(10px);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,51,102,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.contact-method-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-method-info p,
.contact-method-info a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-method-info a:hover {
    color: var(--secondary);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255,51,102,0.05);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* 作品详情页样式 */
/* ==================== */
.project-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 5% 4rem;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(255,51,102,0.05) 100%);
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(30px);
}

.project-hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.project-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--secondary);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.project-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.project-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.7;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    flex-wrap: wrap;
}

.project-meta-item {
    text-align: center;
}

.project-meta-item span:first-child {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.project-meta-item span:last-child {
    font-size: 1rem;
    font-weight: 600;
}

.project-content {
    padding: 5rem 0;
}

.project-section {
    margin-bottom: 4rem;
}

.project-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.project-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-gallery img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.project-gallery img:first-child {
    grid-column: 1 / -1;
}

.project-gallery img:hover {
    transform: scale(1.02);
}

.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-feature {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-feature:hover {
    border-color: rgba(255,51,102,0.3);
    transform: translateY(-5px);
}

.project-feature i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.project-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.project-feature p {
    font-size: 0.9rem;
}

.project-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-result {
    text-align: center;
    padding: 2rem;
    background: rgba(255,51,102,0.05);
    border: 1px solid rgba(255,51,102,0.2);
    border-radius: 16px;
}

.project-result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.project-result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.project-nav {
    display: flex;
    justify-content: space-between;
    padding: 3rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 3rem;
}

.project-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.project-nav-link:hover {
    border-color: rgba(255,51,102,0.3);
    transform: translateX(-5px);
}

.project-nav-link.next {
    text-align: right;
}

.project-nav-link span:first-child {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.project-nav-link span:last-child {
    font-weight: 600;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--secondary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,51,102,0.3);
}

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 2.5rem;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
    }
    
    .project-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-nav-link.next {
        text-align: left;
    }
}

/* ==================== */
/* 滚动动画 */
/* ==================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟动画 */
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate]:nth-child(5) { transition-delay: 0.4s; }

/* ==================== */
/* 增强的悬停效果 */
/* ==================== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,51,102,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--secondary);
    color: white;
}

/* ==================== */
/* 卡片光效 */
/* ==================== */
.portfolio-item {
    position: relative;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,51,102,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* ==================== */
/* 图片加载动画 */
/* ==================== */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* ==================== */
/* 进度条指示器 */
/* ==================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
}

/* ==================== */
/* 按钮涟漪效果 */
/* ==================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* ==================== */
/* 鼠标跟随光效 */
/* ==================== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,51,102,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ==================== */
/* 毛玻璃效果增强 */
/* ==================== */
.glass {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ==================== */
/* 加载更多按钮 */
/* ==================== */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* ==================== */
/* Hero 背景动效增强 */
/* ==================== */
.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,51,102,0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(0,212,170,0.08) 0%, transparent 25%),
        radial-gradient(circle at 40% 40%, rgba(255,51,102,0.05) 0%, transparent 15%),
        radial-gradient(circle at 60% 70%, rgba(0,212,170,0.06) 0%, transparent 20%);
    animation: particlesFloat 20s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ==================== */
/* 粒子画布 */
/* ==================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ==================== */
/* 英雄区域 */
/* ==================== */
.hero {
    position: relative;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,51,102,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,170,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 10% 60%, rgba(255,51,102,0.06) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ==================== */
/* 滚动驱动横向滚动区域 - Trae风格 */
/* ==================== */
.horizontal-scroll-section {
    height: 300vh;
    position: relative;
    background: var(--primary);
}

.hs-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
}

.hs-header {
    text-align: center;
    padding: 0 5%;
    margin-bottom: 2rem;
}

.hs-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255,51,102,0.15);
    border: 1px solid rgba(255,51,102,0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hs-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hs-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hs-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 0 5%;
}

.hs-track {
    display: flex;
    gap: 2.5rem;
    will-change: transform;
}

.hs-slide {
    flex: 0 0 auto;
    width: 600px;
    height: 450px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.hs-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,51,102,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.hs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.95) 100%);
    z-index: 3;
}

.hs-slide-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.hs-slide-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255,51,102,0.2);
    border: 1px solid rgba(255,51,102,0.3);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 1px;
}

.hs-slide-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,51,102,0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hs-slide-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.hs-slide-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hs-slide-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hs-slide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hs-slide-year {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.hs-slide-arrow {
    width: 44px;
    height: 44px;
    background: rgba(255,51,102,0.2);
    border: 1px solid rgba(255,51,102,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.hs-slide:hover .hs-slide-arrow {
    background: var(--secondary);
    color: white;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .horizontal-scroll-section {
        height: 250vh;
    }
    
    .hs-title {
        font-size: 2rem;
    }
    
    .hs-slide {
        width: 320px;
        height: 320px;
    }
}
