/* Color Palette:
Background: #E0F2FE
Primary: #38BDF8
Secondary: #FBBF24
Text: #334155
*/

:root {
    --bg-color: #E0F2FE;
    --primary-color: #38BDF8;
    --primary-hover: #0EA5E9;
    --secondary-color: #FBBF24;
    --text-color: #334155;
    --card-bg: #FFFFFF;
    --border-radius: 24px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Header & Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #BAE6FD;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar nav a {
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Buttons */
.cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
    transition: var(--transition);
    border: 3px solid transparent;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(56, 189, 248, 0.4);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 10%;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '☁️';
    position: absolute;
    font-size: 10rem;
    opacity: 0.1;
    top: 10%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '☁️';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    bottom: 20%;
    left: 10%;
    animation: float 5s ease-in-out infinite alternate;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--secondary-color);
    opacity: 0.3;
    z-index: -1;
    border-radius: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #475569;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.floating-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    animation: float 4s ease-in-out infinite;
    border: 2px solid #BAE6FD;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-card:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s;}
.floating-card:nth-child(2) { top: 40%; right: 10%; animation-delay: 1.5s; }
.floating-card:nth-child(3) { bottom: 10%; left: 30%; animation-delay: 3s; }

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

/* Sections */
section {
    padding: 6rem 10%;
    position: relative;
    z-index: 2;
}

/* Cards Grid */
.feature-cards, .support-cards, .pricing-cards, .testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15);
}

/* Features */
.features .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 20px;
}

/* Streaming & AI */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.badges span {
    background: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid #BAE6FD;
}

/* Pricing */
.pricing-cards {
    align-items: center;
}

.price-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card h3 {
    font-size: 1.5rem;
}

.price-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.price-card .price span {
    font-size: 1rem;
    color: #64748B;
    font-weight: normal;
}

.price-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.price-card ul li {
    margin-bottom: 1rem;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-card ul li::before {
    content: '✅';
    font-size: 0.8rem;
}

.price-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

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

.popular .tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: white;
    margin-bottom: 1rem;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    cursor: pointer;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

details:hover {
    border-color: #BAE6FD;
}

summary {
    font-size: 1.2rem;
    font-weight: 600;
    outline: none;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

details[open] summary::after {
    content: '−';
}

details p {
    margin-top: 1rem;
    color: #475569;
    line-height: 1.8;
    padding-top: 1rem;
    border-top: 1px dashed #E2E8F0;
}

/* Testimonials */
.review-card h4 {
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.review-card p {
    font-style: italic;
    color: #475569;
}

/* Footer */
footer {
    background: white;
    padding: 4rem 10% 2rem;
    text-align: center;
    border-top: 2px solid #BAE6FD;
    position: relative;
}

footer::before {
    content: '☁️ 龙猫云';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 2px solid #BAE6FD;
    font-weight: bold;
    color: var(--primary-color);
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.footer-seo-links {
    margin-bottom: 2rem;
    color: #64748B;
    background: #F8FAFC;
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
}

.footer-seo-links a {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0.5rem;
    text-decoration: none;
}

.footer-seo-links a:hover {
    text-decoration: underline;
}

.copyright {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Simple Pages */
.simple-page-header {
    background: white;
    padding: 3rem 10%;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.simple-page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.simple-page-content {
    padding: 4rem 10%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    min-height: 50vh;
    border-radius: 16px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.simple-page-content h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.simple-page-content p, .simple-page-content ul {
    margin-bottom: 1.5rem;
    color: #475569;
}

.simple-page-content ul {
    padding-left: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .navbar nav ul {
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }

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

    .hero-visual {
        margin-top: 3rem;
        width: 100%;
        height: 300px;
    }
    
    .floating-card {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    .price-card.popular {
        transform: scale(1);
    }
    
    .price-card.popular:hover {
        transform: translateY(-10px);
    }
    
    section {
        padding: 4rem 5%;
    }

    .footer-seo-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}
