:root {
    --primary: #e94560;
    --primary-dark: #c73650;
    --secondary: #0f3460;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6; color: #333; overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; margin-bottom: 16px;
}
.section-title { font-size: 36px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.section-desc { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto; }
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 8px; font-size: 16px;
    font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4); }
.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover { background: white; color: var(--dark); }
.btn-full { width: 100%; text-align: center; }

.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: var(--transition);
}
.header.scrolled {
    background: rgba(26, 26, 46, 0.95); backdrop-filter: blur(10px);
    padding: 12px 0; box-shadow: var(--shadow);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: white; }
.logo-icon { font-size: 28px; color: var(--primary); }
.logo-text { font-size: 22px; font-weight: 700; }
.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-link { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: white; transition: var(--transition); }

.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 50%, var(--secondary) 100%); overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(15, 52, 96, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(233, 69, 96, 0.1) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; color: white; padding: 120px 0 80px; }
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.highlight {
    background: linear-gradient(135deg, var(--primary), #ff6b8a);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 20px; color: rgba(255,255,255,0.8); margin-bottom: 40px; max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-arrow {
    display: block; width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6); transform: rotate(45deg); animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(5px, 5px); }
}

.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card {
    background: white; border-radius: 16px; padding: 40px 30px;
    transition: var(--transition); box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-icon {
    width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.service-icon svg { width: 32px; height: 32px; color: white; }
.service-title { font-size: 22px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.service-desc { color: var(--gray); margin-bottom: 20px; }
.service-features { list-style: none; }
.service-features li { padding: 6px 0; color: var(--secondary); font-size: 14px; position: relative; padding-left: 20px; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text { color: var(--gray); margin-bottom: 16px; font-size: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.stat-item { text-align: center; padding: 20px; background: var(--light); border-radius: 12px; }
.stat-number { display: block; font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--gray); }
.about-image .image-placeholder { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image svg { width: 100%; height: auto; display: block; }

.cases { background: var(--light); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.case-card {
    background: white; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-image { position: relative; overflow: hidden; }
.case-badge {
    position: absolute; top: 16px; left: 16px; background: var(--primary);
    color: white; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; z-index: 2;
}
.case-image svg { width: 100%; height: 250px; display: block; }
.case-content { padding: 24px; }
.case-title { font-size: 20px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.case-desc { color: var(--gray); margin-bottom: 16px; font-size: 15px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--light); color: var(--secondary); padding: 4px 12px; border-radius: 16px; font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-item { display: flex; gap: 20px; margin-bottom: 32px; }
.contact-icon {
    width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; color: white; }
.contact-detail h4 { font-size: 18px; color: var(--dark); margin-bottom: 4px; }
.contact-detail p { color: var(--gray); font-size: 15px; }
.contact-form-wrapper { background: white; padding: 40px; border-radius: 16px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--dark); }
.form-input {
    width: 100%; padding: 14px 16px; border: 2px solid var(--gray-light);
    border-radius: 8px; font-size: 15px; transition: var(--transition); font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1); }
.form-textarea { resize: vertical; min-height: 120px; }

.footer { background: var(--dark); color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc { color: rgba(255,255,255,0.7); font-size: 15px; }
.footer-links h4 { font-size: 18px; margin-bottom: 20px; color: white; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
    text-align: center; color: rgba(255,255,255,0.5); font-size: 14px;
}

@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 42px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--dark); flex-direction: column; padding: 80px 30px 30px;
        gap: 20px; transition: var(--transition);
    }
    .nav-menu.active { right: 0; }
    .hero-title { font-size: 32px; }
    .section-title { font-size: 28px; }
    .cases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}
