/* 
   红杏云 - 温暖、友好、俏皮风格样式
*/
:root {
    --bg-color: #FFF8F2; /* Cream background */
    --text-main: #3D2C29; /* Cocoa text */
    --text-light: #7b6965;
    --primary-color: #FF7A45; /* Apricot */
    --secondary-color: #FFB35C; /* Honey */
    --accent-color: #2EC4B6; /* Teal */
    --coral-color: #FF6B6B; /* Coral */
    --white: #ffffff;
    --border-color: #FFE3D2;
    --shadow-candy: 0 12px 24px rgba(255, 122, 69, 0.2);
    --shadow-card: 0 10px 30px rgba(61, 44, 41, 0.05);
    --radius-large: 24px;
    --radius-pill: 50px;
}

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

body {
    font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

/* 友好的大标题 */
h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

/* 卡片样式 */
.card {
    background-color: var(--white);
    border-radius: var(--radius-large);
    padding: 40px 30px;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 122, 69, 0.1);
    border-color: var(--secondary-color);
}

/* 按钮样式 - 药丸形，糖果阴影，Q弹动画 */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--coral-color));
    color: var(--white);
    box-shadow: var(--shadow-candy);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

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

.btn-secondary:hover {
    background-color: #fff1eb;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-candy);
}

/* Header & Logo */
.header {
    padding: 20px 0;
    background-color: rgba(255, 248, 242, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text .cn {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
}

.logo-text .en {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
}

.nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.05rem;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 60px;
    background: radial-gradient(circle at center, #fff 0%, var(--bg-color) 70%);
    border-radius: 40px;
}

.hero h1 {
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--coral-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
}

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

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 10px;
}

/* Grid Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

/* Features */
.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #fff0e6;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    text-align: center;
}

/* Pricing */
.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    border-width: 3px;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
    padding: 0;
}

.pricing-card ul li {
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    background-color: #fffcfb;
    position: relative;
}
.pricing-card.featured::before {
    content: '★ 热门推荐';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Testimonials */
.review-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.reviewer {
    font-weight: 700;
    text-align: right;
    color: var(--accent-color);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    text-align: center;
    margin-top: 60px;
    background-color: #fff0e6;
    border-top: 2px solid var(--border-color);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-copy {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .card-grid, .card-grid.two-col {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}
