/* 全局样式 - Ocean Flow Theme */
:root {
    --primary-teal: #14B8A6;
    --primary-indigo: #4338CA;
    --primary-gradient: linear-gradient(135deg, var(--primary-teal), var(--primary-indigo));
    --primary-hover: #115E59;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --nav-border: rgba(67, 56, 202, 0.15);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-btn: 0 4px 14px 0 rgba(20, 184, 166, 0.39);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 渐入渐出动画类 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 按钮样式 (Distinct looking buttons) */
.btn-primary, .btn-outline, .btn-large, .btn-download, .btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem; /* 更圆润的按钮 */
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(20, 184, 166, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}
.btn-outline:hover {
    background: var(--primary-teal);
    color: white;
    box-shadow: var(--shadow-btn);
}

.btn-large {
    background: var(--primary-gradient);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    box-shadow: var(--shadow-btn);
    border-radius: 1rem;
}
.btn-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px 0 rgba(67, 56, 202, 0.4);
}

.btn-download {
    background: var(--primary-indigo);
    color: white;
    width: 100%;
}
.btn-download:hover {
    background: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}

.btn-text {
    color: var(--text-main);
    padding: 0.75rem 1rem;
    background: transparent;
}
.btn-text:hover {
    color: var(--primary-indigo);
    background: rgba(67, 56, 202, 0.05);
}

/* 通用区块样式 */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    color: var(--primary-indigo);
}

/* 导航栏 (Clear border, styling) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    gap: 0.5rem;
}
.brand-logo img {
    height: 32px;
    width: 32px;
}
.nav-links a {
    margin: 0 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}
.nav-links a:hover {
    color: var(--primary-indigo);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-indigo);
    border-radius: 3px;
    transition: 0.3s;
}

/* 首屏 (Hero) - Split Layout */
.hero {
    padding: 10rem 2rem 6rem;
    background: linear-gradient(180deg, #F0FDF4 0%, #EEF2FF 100%);
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}
.hero-content {
    flex: 1;
    max-width: 600px;
}
.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
/* Vector Art Animation */
.animated-vector {
    width: 100%;
    max-width: 500px;
    height: auto;
}
.node-point {
    transform-origin: center;
    animation: pulse 2s infinite alternate;
}
.data-line {
    stroke-dasharray: 100;
    animation: dash 3s linear infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}
@keyframes dash {
    to { stroke-dashoffset: -200; }
}
.float-anim {
    animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.discount-badge {
    display: inline-block;
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary-teal);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(20, 184, 166, 0.2);
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e1b4b;
}
.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* 核心优势卡片 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
}
.card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-indigo);
}
.card p {
    color: var(--text-muted);
}

/* 定价 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-card.recommended {
    background: linear-gradient(to bottom, #ffffff, #F0FDF4);
    border: 2px solid var(--primary-teal);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}
.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}
.pricing-card .tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.35rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: bold;
    box-shadow: var(--shadow-sm);
}
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: var(--primary-indigo);
}
.price span {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
}
.features-list {
    margin-bottom: 2.5rem;
    text-align: left;
    flex-grow: 1;
}
.features-list li {
    margin-bottom: 1rem;
    color: var(--text-main);
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}
.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314B8A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: cover;
}

/* 支持平台 */
.platforms {
    background-color: var(--bg-white);
}
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.platform-card {
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    text-align: center;
    background: var(--bg-light);
    transition: all 0.3s;
}
.platform-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-indigo);
}
.platform-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--primary-indigo);
}
.platform-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

/* 为什么选择我们 */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.why-item {
    background: var(--bg-white);
    color: var(--primary-indigo);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-teal);
}

/* 跑马灯 */
.testimonials {
    overflow: hidden;
    background: var(--bg-light);
}
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 35s linear infinite;
    padding: 1rem 0;
}
.marquee:hover {
    animation-play-state: paused;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.review-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
    width: 320px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}
.stars {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.review-card p {
    font-style: italic;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    line-height: 1.5;
}
.review-card .author {
    font-weight: bold;
    color: var(--primary-teal);
    display: block;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
details {
    background: var(--bg-white);
    margin-bottom: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}
summary {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--primary-indigo);
    transition: background 0.2s;
}
summary:hover {
    background: #f8fafc;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-teal);
    transition: transform 0.3s;
}
details[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(90deg);
}
details p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

/* 底部 CTA */
.bottom-cta {
    text-align: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: 2rem;
    margin: 4rem auto;
    padding: 6rem 2rem;
    max-width: 1000px;
    box-shadow: var(--shadow-lg);
}
.bottom-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}
.bottom-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    opacity: 0.9;
}
.bottom-cta .btn-large {
    background: white;
    color: var(--primary-indigo);
}
.bottom-cta .btn-large:hover {
    background: #f8fafc;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 页脚 */
footer {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}
.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--primary-teal);
}
.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-graphic {
        max-width: 400px;
    }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-text {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .pricing-card.recommended {
        transform: scale(1);
    }
    .pricing-card.recommended:hover {
        transform: translateY(-5px);
    }
    .cards-grid, .pricing-grid, .platforms-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 4rem 1.5rem;
    }
    .bottom-cta {
        margin: 2rem 1rem;
        border-radius: 1rem;
    }
}
