/* 新海诚风格 + 猫咪主题 基础重置 */
:root {
    --primary-color: #ff7eb3; /* 梦幻粉色/紫红色，新海诚晚霞色 */
    --primary-hover: #ff529a;
    --text-dark: #1b2749;     /* 深邃星空蓝 */
    --text-muted: #5e6b91;
    --bg-light: #f4f6fb;
    --bg-white: rgba(255, 255, 255, 0.95);
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px rgba(27, 39, 73, 0.05);
    --shadow-md: 0 10px 20px rgba(27, 39, 73, 0.08), 0 6px 6px rgba(27, 39, 73, 0.04);
    --shadow-lg: 0 25px 40px rgba(27, 39, 73, 0.12), 0 10px 10px rgba(27, 39, 73, 0.08);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* 布局辅助 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--text-dark);
    background: linear-gradient(90deg, #1b2749, #6a4c93);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light {
    background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
}

.grid {
    display: grid;
    gap: 30px;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7eb3 0%, #ff758c 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 126, 179, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 126, 179, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    display: block;
    margin-top: 25px;
}

/* 头部导航 - 玻璃拟物态 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo::before {
    content: '🐾';
    font-size: 1.5rem;
}

.nav {
    background: rgba(255,255,255,0.5);
    padding: 8px 25px;
    border-radius: 50px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
}

.nav a {
    margin: 0 18px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

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

/* 主视觉区 - 新海诚风格星空/晚霞 */
.hero {
    position: relative;
    padding: 180px 0 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: #0f172a;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* 唯美的黄昏到星空的渐变 */
    background: linear-gradient(120deg, #1b2749 0%, #4a3e6d 35%, #9b5b82 70%, #ff8a98 100%);
    opacity: 0.95;
    z-index: 1;
}

.hero-bg-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 20%);
}

/* 流星动画 */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: rotate(-45deg);
}
.star {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 2px;
    background: linear-gradient(-45deg, #fff, rgba(0,0,255,0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px #fff);
    animation: tail 3s ease-in-out infinite, falling 3s ease-in-out infinite;
}
@keyframes tail {
    0% { width: 0; }
    30% { width: 100px; }
    100% { width: 0; }
}
@keyframes falling {
    0% { transform: translateX(0); }
    100% { transform: translateX(300px); }
}
.star:nth-child(1) { top: 10%; left: 30%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 1.2s; }
.star:nth-child(3) { top: 40%; left: 10%; animation-delay: 2.5s; }
.star:nth-child(4) { top: 60%; left: 60%; animation-delay: 0.8s; }

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* 动态流图卡 */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.dynamic-card {
    position: relative;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3), 0 0 40px rgba(255, 126, 179, 0.2);
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    border: 4px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

@keyframes float {
    0% { transform: translateY(0px) rotateX(2deg) rotateY(-2deg); }
    50% { transform: translateY(-20px) rotateX(-2deg) rotateY(2deg); }
    100% { transform: translateY(0px) rotateX(2deg) rotateY(-2deg); }
}

.hero-image {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.5);
}

.badge-1 {
    top: -20px;
    right: -20px;
    animation: float-badge 4s ease-in-out infinite reverse;
}

.badge-2 {
    bottom: 30px;
    left: -30px;
    animation: float-badge 5s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* 卡片与玻璃拟物态 */
.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
}

/* 核心优势 */
.feature-card {
    text-align: center;
}

.feature-card .icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
}

/* 流媒体与AI */
.highlight-card {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border: none;
}
.highlight-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 套餐价格 */
.pricing-grid {
    align-items: center;
}

.pricing-card {
    position: relative;
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    padding: 55px 30px;
    transform: scale(1.05);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(255, 126, 179, 0.15);
}

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

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff7eb3, #ff758c);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 126, 179, 0.3);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 25px 0;
    color: var(--text-dark);
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-list {
    text-align: left;
    margin-bottom: 35px;
}

.pricing-list li {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 常见问题 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-muted);
}

/* 用户评价 */
.review-card .stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.user-info {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* 页脚 - 融入深邃的夜空色 */
.footer {
    background: #12192b;
    color: white;
    padding: 70px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 500px;
        margin: 40px auto 0;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .pricing-card.popular {
        transform: scale(1);
        padding: 40px 30px;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
