/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
}

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

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

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

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

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

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* === Hero === */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 60%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* === Section Titles === */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* === Plans === */
.plans {
    padding: 100px 0;
    background: var(--light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.plan-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
}

.plan-card.popular {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 8px;
}

.plan-speed {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 28px;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--gray);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.plan-features li::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: 700;
}

.plans-note {
    text-align: center;
    color: var(--gray);
    margin-top: 36px;
    font-size: 0.9rem;
}

/* === Features === */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius);
    background: var(--light);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* === Reviews === */
.reviews {
    padding: 100px 0;
    background: var(--light);
}

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

.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.review-stars {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.review-author {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* === CTA === */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.cta .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* === Contact === */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.contact-item {
    text-align: center;
    padding: 28px;
    background: var(--light);
    border-radius: var(--radius);
}

.contact-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--gray);
}

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

/* === Comparison === */
.comparison {
    padding: 100px 0;
    background: var(--light);
}

/* === FAQ === */
.faq {
    padding: 100px 0;
}

/* === Footer === */
.footer {
    padding: 28px 0;
    text-align: center;
    background: var(--dark);
    color: var(--gray);
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .plans-grid,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.popular {
        transform: scale(1);
    }

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