/* 
  尊贵、温暖的调色板 (适合中老年审美：深红色、暖金色、质感黑、大地色)
*/
:root {
    --primary-color: #8B1E1E; /* 经典中国红/酒红 */
    --secondary-color: #D4AF37; /* 尊贵暖金 */
    --text-main: #2C2C2C;
    --text-light: #5A5A5A;
    --bg-light: #F9F6F0; /* 米白/宣纸白 */
    --bg-dark: #1A1A1A;
    --white: #FFFFFF;
    
    /* 大字号排版系统 */
    --font-size-base: 18px;
    --font-size-lg: 22px;
    --font-size-xl: 32px;
    --font-size-xxl: 48px;
    
    --font-heading: 'Noto Serif SC', 'ZCOOL XiaoWei', serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-light);
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #A82E2E 0%, var(--primary-color) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    padding: 12px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 30, 30, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 30, 30, 0.5);
    color: var(--secondary-color);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: -5px;
    letter-spacing: 2px;
}

.logo span {
    font-size: 14px;
    color: var(--secondary-color);
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    font-size: 20px;
    font-weight: 600;
}

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

/* 首屏 Hero */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1533241280608-8df0c3459c3a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(26,26,26,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    color: var(--white);
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
    letter-spacing: 4px;
}

.hero-content p {
    font-size: var(--font-size-xl);
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 40px;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.5);
}

/* 通用区段样式 */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-bottom: 30px;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 800px;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.feature-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

/* 三大服务 - 深色背景 */
.dark-bg {
    background-color: var(--bg-dark);
    color: var(--white);
}

.dark-bg .section-header h2 {
    color: var(--secondary-color);
}

.dark-bg .section-header p {
    color: #CCC;
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 40px;
    transition: background 0.3s ease;
}

.service-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--secondary-color);
}

.service-text h3 {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 15px;
}

.service-text p {
    font-size: var(--font-size-lg);
    color: #E0E0E0;
}

/* 套餐卡片 */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
}

.card {
    background: var(--white);
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 30, 30, 0.1);
}

.card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

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

.card-header {
    background: var(--bg-light);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #EBEBEB;
    position: relative;
}

.card.featured .card-header {
    background: var(--primary-color);
    color: var(--white);
    border-bottom: none;
}

.card.featured .card-header h3 {
    color: var(--secondary-color);
}

.card-header h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: var(--bg-dark);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.featured-badge {
    background: #FFD700;
}

.card-body {
    padding: 40px 30px;
}

.card-body .price {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #E0E0E0;
    position: relative;
    padding-left: 30px;
    font-size: 18px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 底部表单与联系 */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.cta-banner {
    text-align: center;
    margin-bottom: 60px;
}

.cta-banner h2 {
    color: var(--secondary-color);
    font-size: 40px;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: var(--font-size-lg);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-form input {
    padding: 15px 20px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    width: 250px;
    font-family: var(--font-body);
}

.contact-form button {
    background: var(--secondary-color);
    color: var(--bg-dark);
    box-shadow: none;
}

.contact-form button:hover {
    background: #E5C158;
    color: var(--bg-dark);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.disclaimer {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* 动画类 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav-links { display: none; } /* 移动端可后续补充汉堡菜单 */
    .hero-content h2 { font-size: 48px; }
    .hero-content p { font-size: 24px; }
    .section-header h2 { font-size: 32px; }
    .card.featured { transform: none; }
    .card.featured:hover { transform: translateY(-5px); }
    .contact-form input { width: 100%; }
}
