/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c6e49;
    --secondary: #4c956c;
    --accent: #fefee3;
    --light: #fefee3;
    --dark: #1d3557;
    --text: #333333;
    --highlight: #ff9e00;
    --primary-dark: #1e4d34;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
}

/* 头部样式 */
.header-nav {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /*padding: 16px 0;*/
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 顶部导航 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hidden {
    opacity: 0; /* 完全透明 */
    pointer-events: none; /* 禁用点击事件 */
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: auto;
    margin-right: 10px;
    font-size: 2rem;
    color: var(--primary);
}

/* 登录按钮 */
.login-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans SC', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(44, 110, 73, 0.2);
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 110, 73, 0.3);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: bolder;
    transition: color 0.3s;
    font-size: 20px;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(16, 163, 127, 0.2);
}

.cta-button:hover {
    background: #0d8a69;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 163, 127, 0.3);
}

/* 主要内容 */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,50 Q25,40 50,50 T100,50" stroke="%232c6e49" stroke-width="0.5" fill="none"/></svg>') center/cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

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

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(76, 149, 108, 0.25);
    z-index: -1;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text);
}

/* 倒计时 */
.countdown {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 1rem;
    min-width: 100px;
    text-align: center;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-10px);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 1rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 通知表单 */
.notify-section {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.notify-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.notify-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.input-group {
    flex: 1;
    min-width: 250px;
}

input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(76, 149, 108, 0.2);
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 110, 73, 0.25);
}

/* 功能预览 */
.features {
    padding: 5rem 5%;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    background: var(--primary);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.feature-content {
    padding: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-desc {
    color: #666;
    margin-bottom: 1.5rem;
}

/* 页脚 */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 5% 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.contact-icon {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--accent);
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* 使用流程 */
.process-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f0fdfa, #ecfeff);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-icon {
    font-size: 48px;
    margin: 20px 0;
    height: 70px;
}

.step-icon.wechat {
    color: #2aae67;
}

.step-icon.alipay {
    color: #1677ff;
}

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* 移动端优化 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .notify-section {
        padding: 1.5rem;
    }

    .notify-title {
        font-size: 1.5rem;
    }

    .input-group {
        min-width: 100%;
    }

    .login-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .login-btn span a span {
        display: none;
    }

    .login-btn span a i {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.8rem 0.3rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
    }

    .login-btn span a span {
        display: none;
    }

    .login-btn span a i {
        margin: 0;
    }

    .nav-links a {
        display: none;
    }
}