/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #8FD629;
    --primary-black: #222222;
    --secondary-green: #7AC025;
    --accent-green: #A8E84A;
    --dark-gray: #333333;
    --light-gray: #666666;
    --white: #FFFFFF;
    --light-bg: #f8f9fa;
    --medium-gray: #e9ecef;
    --gradient-green: linear-gradient(135deg, #8FD629 0%, #7AC025 100%);
    --gradient-dark: linear-gradient(135deg, #222222 0%, #333333 100%);
    --shadow-green: 0 8px 32px rgba(143, 214, 41, 0.3);
    --shadow-dark: 0 8px 32px rgba(34, 34, 34, 0.3);
}

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

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(143, 214, 41, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    min-height: 70px;
}

.logo-image {
    height: 20px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1);
    display: flex;
    align-items: center;
}

.logo-image:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.logo-svg {
    height: 20px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-svg:hover {
    transform: translateY(-2px);
}

/* 第三屏logo反白效果 */
.logo-image-white {
    height: 30px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); /* 反白效果：先变黑再变白 */
}

.logo-image-white:hover {
    transform: translateY(-2px);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

/* 保留原来的样式作为备用 */
.logo-placeholder {
    background: var(--gradient-green);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-green);
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(143, 214, 41, 0.4);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.login-btn {
    background: var(--gradient-green);
    color: var(--primary-black);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: fit-content;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('banner.png') center center/cover no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(15, 15, 35, 0.8) 30%,
            rgba(10, 10, 25, 0.7) 70%,
            rgba(0, 0, 0, 0.85) 100%
        );
    z-index: 1;
}







.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 100px;
    position: relative;
    z-index: 10;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: 6rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-green);
    text-shadow: 0 0 40px rgba(143, 214, 41, 0.6);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1;
    text-align: center;
    animation: breathing 3s ease-in-out infinite;
}

.title-sub {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.2;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes breathing {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 40px rgba(143, 214, 41, 0.6);
    }
    50% { 
        transform: scale(1.02);
        text-shadow: 0 0 50px rgba(143, 214, 41, 0.8);
    }
}





.hero-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: none;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--primary-black);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(143, 214, 41, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Company Profile Section */
.company-profile {
    padding: 6rem 0;
    position: relative;
    background: var(--light-bg);
    overflow: hidden;
}



.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-black);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.profile-text {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.company-intro {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--primary-black);
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 8px 30px rgba(143, 214, 41, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-black);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* App Download Section */
.app-download {
    padding: 6rem 0;
    background: var(--primary-black);
}

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

.download-info {
    max-width: 500px;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    margin-top: 16px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-align: left;
    line-height: 1.1;
}

.yipex-green {
    color: var(--primary-green);
}

.download-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.download-btn i {
    font-size: 1.5rem;
}

.app-store i {
    font-size: 1.8rem;
}

.app-store {
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e8 50%, #d4f0d4 100%);
    color: var(--primary-black);
}

.google-play {
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e8 50%, #d4f0d4 100%);
    color: var(--primary-black);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.btn-store {
    font-size: 1rem;
    font-weight: 600;
}

.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--gradient-green);
    padding: 1rem;
    text-align: center;
}

.app-status-bar {
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.app-title {
    color: var(--primary-black);
    font-weight: 700;
    font-size: 1.2rem;
}

.app-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
}

.card-info h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.card-info p {
    color: var(--light-gray);
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: var(--primary-black);
    padding: 2rem 0;
    border-top: 1px solid rgba(143, 214, 41, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    text-align: center;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 20px;
    }
    
    .title-main {
        font-size: 4rem;
    }
    
    .title-sub {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .company-intro {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .title-sub {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .company-intro {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
} 