/* ===== 基础样式 / Basic Styles ===== */
:root {
    --primary-color: #FF2389;
    --text-main: #111111;
    --text-secondary: #666666;
    --bg-color: #ffffff;
    --bg-alt: #f9f9f9;
    --border-color: #eeeeee;
    --container-width: 1200px;
    --spacing-unit: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* scroll-behavior: smooth;  Removed for custom full page scroll */
    font-size: 16px;
    overflow: hidden; /* Prevent native scrolling */
    height: 100%;
}

body {
    font-family: 'Poppins', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    overflow: hidden; /* Prevent native scrolling */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.container-full {
    width: 100%;
    padding: 0;
}

/* ===== 页面指示器 / Page Indicator ===== */
.page-indicator {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.5);
}

.dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* ===== 导航栏 / Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.dark-section {
    background: rgba(17, 17, 17, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar.hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.navbar.dark-section.scrolled {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* ===== Hero 区域 / Hero Section ===== */
.hero {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 300;
    max-width: 90%;
}

/* 倒计时 / Countdown */
.countdown-section {
    margin-bottom: 40px;
}

.coming-soon-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.countdown {
    display: flex;
    gap: 40px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end; /* Align to right on desktop */
    padding-right: 40px; /* Add some spacing from edge */
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #f0f0f0;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview-simple {
    text-align: center;
}

.phone-logo {
    width: 100%;
    padding-top: 30px;
}

/* ===== 特色区域 / Features ===== */
.features {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    background: #fff;
}

.features-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 70vh;
    max-height: 700px;
    gap: 24px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-panel {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Background Images */
.panel-1::before {
    background-image: url('https://pub-2187f65c29864b53a458594e22b1ef0a.r2.dev/web/1.jpg');
}

.panel-2::before {
    background-image: url('https://pub-2187f65c29864b53a458594e22b1ef0a.r2.dev/web/3.jpg');
}

.panel-3::before {
    background-image: url('https://pub-2187f65c29864b53a458594e22b1ef0a.r2.dev/web/4.jpg');
}

.panel-1::before, .panel-2::before, .panel-3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-panel:hover::before {
    transform: scale(1.05);
}

/* Gradient Overlay */
.feature-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    transition: var(--transition);
}

.feature-panel:hover::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.9) 100%);
}

.panel-content {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: var(--transition);
}

.panel-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: -20px;
    right: -10px;
    left: auto;
    line-height: 1;
}

.feature-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #fff;
}

.feature-panel p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== 关于我们 / About ===== */
.about {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 32px;
    font-weight: 600;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.stat-item {
    padding: 32px;
    background: var(--bg-alt);
    border-radius: 4px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== 联系我们 / Contact ===== */
.contact-footer-section {
    background: #111;
    color: #fff;
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* justify-content: center; Removed to allow footer to sit at bottom */
    position: relative;
    overflow: hidden;
}

.contact-footer-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('https://pub-2187f65c29864b53a458594e22b1ef0a.r2.dev/logo/weblogowhite.svg');
    background-repeat: space; /* Distribute with space */
    background-size: 150px auto; /* Smaller size */
    background-position: center;
    transform: rotate(-20deg);
    opacity: 0.02; /* Even more subtle */
    z-index: 0;
    pointer-events: none;
}

.contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding-bottom: 30px; /* Add bottom padding */
}

.contact .section-header {
    margin-bottom: 60px; /* Reduced from 80px */
    text-align: center;
}

.contact .section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact .section-subtitle {
    color: #888;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px; /* Reduced from 100px */
}

.contact-card {
    background: #1e1e1e; /* Solid color to block pattern */
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255,255,255,0.1);
}

.card-icon {
    margin-bottom: 24px;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.contact-card p {
    color: #888;
    font-size: 0.9rem;
}

/* ===== 页脚 / Footer ===== */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 24px;
    opacity: 0.8;
}

.footer-social h4 {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 16px;
}

.social-icon {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: var(--transition);
}

.social-icon:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: #444;
    font-size: 0.875rem;
}

/* ===== 响应式 / Responsive ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-image {
        margin-top: 0;
        justify-content: center; /* Center on tablet/mobile */
        padding-right: 0; /* Remove desktop padding */
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .countdown {
        justify-content: center;
    }

    .countdown-item {
        align-items: center;
    }
    
    .features-panels {
        grid-template-columns: 1fr;
        height: 100%;
    }
    
    .feature-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .panel-number {
        position: static;
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-unit: 16px;
    }

    .nav-links {
        display: none;
    }
    
    .page-indicator {
        right: 10px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    /* Hero Mobile */
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
        padding-top: 140px; /* Increased space for navbar */
        padding-bottom: 0;
        position: relative;
        overflow: visible;
    }
    
    .hero-text {
        flex: 0 0 auto;
        margin-bottom: 10px; /* Reduced margin */
        z-index: 10; /* Ensure text is above phone */
        position: relative;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        margin-bottom: 12px;
        letter-spacing: -0.02em;
    }
    
    .hero-text .subtitle {
        font-size: 0.875rem;
        margin-bottom: 20px;
        opacity: 0.8;
    }
    
    .countdown {
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .countdown-value {
        font-size: 1.25rem;
        font-weight: 400;
    }
    
    .hero-image {
        flex: 1;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        margin-top: 0;
        overflow: visible; /* Allow phone to overlap if needed */
        z-index: 1;
    }

    .phone-mockup {
        width: 80%;
        max-width: 340px;
        height: 55vh;
        border-radius: 40px 40px 0 0;
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
        z-index: 1;
        background: #f5f5f5; /* Slightly lighter gray for better contrast */
    }

    .phone-screen {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        height: 100%;
    }
    
    /* Features Mobile */
    .features {
        padding-top: 80px; /* Space for navbar */
        height: 100vh;
        align-items: stretch; /* Ensure panels stretch to fill height */
    }

    .features-panels {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .feature-panel {
        flex: 1;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
        background: transparent; /* Allow background images or container background to show */
        border-bottom: 1px solid rgba(0,0,0,0.05); /* Subtle separator */
    }
    
    .feature-panel h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .feature-panel p {
        font-size: 0.8125rem;
        line-height: 1.5;
        opacity: 0.8;
    }
    
    /* About Mobile */
    .about-content {
        gap: 24px;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .about-text p {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .stat-item {
        padding: 20px;
        min-width: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 0.875rem;
    }
    
    /* Contact Mobile */
    .contact-footer-section {
        padding: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .contact {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    
    .contact .section-header {
        margin-bottom: 30px;
        flex: 0 0 auto;
    }
    
    .contact-cards {
        margin-bottom: 0; /* Remove bottom margin as it's centered */
        gap: 15px;
        flex: 0 0 auto;
    }

    .footer {
        flex: 0 0 auto;
        padding-top: 20px;
        padding-bottom: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        margin-top: 0;
    }

    /* Navbar adjustments for mobile dark section */
    .navbar.dark-section {
        background: transparent; /* Make it transparent on mobile for better look */
        border-bottom: none;
    }
    
    .contact .section-title {
        font-size: 1.75rem;
    }
    
    .contact-cards {
        margin-bottom: 40px;
        gap: 15px;
    }
    
    .contact-card {
        padding: 15px;
        display: flex;
        align-items: flex-start; /* Align icon to top of text block */
        text-align: left;
        gap: 15px;
    }
    
    .card-icon {
        margin-bottom: 0;
        width: 24px;
        height: 24px;
        flex-shrink: 0; /* Prevent icon from shrinking */
        margin-top: 2px; /* Align with text */
    }
    
    .card-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-card h3 {
        margin-bottom: 0;
        font-size: 0.9rem;
    }
    
    .contact-card p {
        font-size: 0.8rem;
    }
    
    .footer {
        padding-top: 20px;
        margin-top: auto; /* Push footer to bottom if flex container */
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-brand p {
        font-size: 0.8rem;
        margin-top: 5px;
    }

    .footer-social h4 {
        margin-bottom: 8px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        opacity: 0.6;
        padding-bottom: 20px; /* Add some bottom padding */
    }
}

/* 隐藏不需要的元素 */
.bg-animation, 
.mobile-page-indicator,
.panel-overlay {
    display: none;
}
