/* 苹果风格重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 优化选择和焦点效果 */
::selection {
    background: rgba(0, 122, 255, 0.2);
    color: var(--text-primary);
}

:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:root {
    /* 苹果风格配色 */
    --primary-color: #007AFF;
    --secondary-color: #5AC8FA;
    --accent-color: #FF3B30;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-tertiary: #8E8E93;
    --background-primary: #FFFFFF;
    --background-secondary: #F5F5F7;
    --background-tertiary: #FBFBFD;
    --border-color: #D2D2D7;
    --shadow-light: 0 2px 16px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 16px 64px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 20px;
    --radius-xlarge: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    line-height: 1.47059;
    color: var(--text-primary);
    background-color: var(--background-primary);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.022em;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(20px, env(safe-area-inset-left));
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-small);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.company-name {
    font-size: 17px;
    font-weight: 590;
    color: var(--text-primary);
    letter-spacing: -0.022em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 17px;
    transition: var(--transition);
    position: relative;
    padding: 11px 0;
    letter-spacing: -0.022em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-tertiary) 0%, var(--background-secondary) 100%);
    padding: 80px 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: -0.055em;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(19px, 2.5vw, 21px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.38;
    letter-spacing: -0.022em;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: var(--radius-large);
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    letter-spacing: -0.022em;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.28;
    filter: blur(24px);
    will-change: transform;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(3deg); }
    50% { transform: translateY(-24px) rotate(6deg); }
    75% { transform: translateY(-12px) rotate(3deg); }
}

/* 通用 Section 样式 */
section {
    padding: 110px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 88px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.083;
    letter-spacing: -0.055em;
}

.section-subtitle {
    font-size: 21px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.38;
    letter-spacing: -0.022em;
}

/* 关于我们 */
.about {
    background: var(--background-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    margin-top: 48px;
    line-height: 1.14;
    letter-spacing: -0.033em;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.47;
    margin-bottom: 40px;
    letter-spacing: -0.022em;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.advantage-item {
    text-align: center;
    padding: 40px 32px;
    background: var(--background-primary);
    border-radius: var(--radius-xlarge);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.advantage-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.advantage-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.advantage-item h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.18;
    letter-spacing: -0.022em;
}

.advantage-item p {
    font-size: 17px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.47;
    letter-spacing: -0.022em;
}



/* 联系我们 */
.contact {
    background: var(--background-primary);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.contact-info {
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 联系信息卡片 */
.contact-card {
    background: var(--background-secondary);
    border-radius: var(--radius-xlarge);
    border: 1px solid var(--border-color);
    padding: 48px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.contact-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-card-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0 12px;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.022em;
}

.contact-lead {
    color: var(--text-secondary);
    font-size: 17px;
    text-align: center;
    line-height: 1.47;
    letter-spacing: -0.022em;
}

.contact-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--background-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-small);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    letter-spacing: -0.022em;
}

.contact-list { 
    gap: 32px; 
    margin-top: 40px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}

.contact-item { 
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

.copy-btn {
    align-self: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(0,122,255,0.1);
    border-color: var(--primary-color);
}

.copy-btn:active {
    transform: scale(0.98);
}

.contact-icon { display:none; }

.contact-details {
    flex: 1;
}

.contact-details {
    text-align: center;
}

.contact-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.21;
    letter-spacing: -0.022em;
    text-align: center;
}

.contact-item p {
    font-size: 17px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.47;
    letter-spacing: -0.022em;
    text-align: center;
    font-weight: 400;
}

.contact-form { display: none; }

.contact-form-header h3 {
    font-size: 26px;
    font-weight: 600;
}

.contact-form-header .contact-badge {
    margin-bottom: 8px;
}

.contact-form-header .contact-lead {
    margin-top: 8px;
    margin-bottom: 18px;
}

.form-group { display:none; }

.form-group input, .form-group textarea { display:none; }

.contact-form .btn-primary { display:none; }

/* 页脚 */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 88px 0 44px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .company-name {
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    margin: 0;
    line-height: 1.47;
    letter-spacing: -0.022em;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-section h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.022em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 17px;
    transition: var(--transition);
    letter-spacing: -0.022em;
    line-height: 1.47;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.footer-icp {
    margin-top: 12px;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    letter-spacing: -0.022em;
}

.footer-icp a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        text-align: center;
        padding: 120px 20px 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
        padding: 18px 32px;
    }
    
    section {
        padding: 88px 0;
    }
    
    .section-header {
        margin-bottom: 64px;
    }
    
    .advantages {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-content { 
        max-width: 90%; 
    }
    
    .contact-info {
        padding: 0;
    }
    
    .contact-card {
        padding: 32px 24px;
    }
    
    .contact-card-header h3 {
        font-size: 22px;
    }
    
    .contact-list {
        gap: 24px;
    }
    
    .contact-form { display:none; }
    
    .footer {
        padding: 64px 0 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 48px;
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 120px 20px 80px;
    }
    
    .contact-form { display:none; }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .btn-primary,
    .btn-secondary {
        max-width: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .element { animation: none; }
}
