@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #12b89c; /* Green accent from pricing */
    --primary-light: #2ee6c6;
    --text-dark: #f8fafc; /* Light text for dark mode */
    --text-muted: #94a3b8; /* Muted text for dark mode */
    --bg-light: #0f172a; /* Dark background */
    --white: #1e293b; /* Card background in dark mode */
    --border-color: #334155;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(18, 184, 156, 0.2);
    --shadow-lg: 0 20px 40px -5px rgba(18, 184, 156, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

ul {
    list-style: none;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(18, 184, 156, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(18, 184, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(18, 184, 156, 0); }
}

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

/* Navbar */
.navbar {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, #1e293b, transparent 50%),
                radial-gradient(circle at bottom left, #0f172a, transparent 50%);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    animation: fadeIn 1s ease-out forwards;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #12b89c, #0a8f78);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: pulse-glow 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* Pricing Section (Matching the Image) */
.pricing-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.price-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

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

.popular-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg) translate(25%, -50%);
    transform-origin: top right;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-card-inner-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 0 var(--radius-lg) 0 0;
}

.price-card-inner-badge::before {
    content: "热门选择";
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.plan-price .currency {
    font-size: 1.5rem;
    margin-right: 5px;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
}

.plan-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

.btn-outline {
    display: block;
    width: 100%;
    padding: 12px 0;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-fill {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.btn-fill:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 4px 10px rgba(18, 184, 156, 0.3);
}

/* Features */
.features {
    padding: 80px 0;
    background: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: transparent;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 15px;
    color: var(--text-muted);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-toggle {
    transition: var(--transition);
    font-size: 1.5rem;
    color: var(--primary);
}

/* Reviews */
.reviews-section {
    padding: 80px 0;
    background: transparent;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

/* Footer */
.footer {
    background: transparent;
    color: var(--text-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cbd5e1;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

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

/* Floating Elements */
.shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(18,184,156,0.2) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46,230,198,0.2) 0%, rgba(255,255,255,0) 70%);
    bottom: 100px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid, .feature-grid, .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .price-card.popular {
        transform: scale(1);
    }
    .price-card.popular:hover {
        transform: translateY(-10px);
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid, .feature-grid, .reviews-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Mobile menu needed in reality, simplified here */
    }
    .hero-title {
        font-size: 2.5rem;
    }
}
