:root {
    --primary-color: #10B981;
    /* Mint Green from screenshots */
    --primary-dark: #059669;
    --secondary-color: #D1FAE5;
    --accent-color: #FBBF24;
    /* Yellow for the duck/stars */
    --text-color: #1F2937;
    --text-light: #6B7280;
    --background-color: #F3F4F6;
    /* Light gray background like app */
    --background-alt: #FFFFFF;
    --white: #FFFFFF;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    /* More rounded corners */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
}

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

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

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(236, 253, 245, 0.9), rgba(209, 250, 229, 0.9));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2310B981" fill-opacity="0.2" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,208C1248,192,1344,192,1392,192L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #065F46;
    font-weight: 900;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.duck-mascot {
    width: 120px;
    animation: bounce 2s infinite;
    margin-bottom: 20px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.store-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.store-badge:hover {
    transform: translateY(-3px);
}

.store-badge img {
    height: 50px;
    width: auto;
}

.store-badge.coming-soon {
    cursor: default;
}

.badge-label {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    margin-top: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

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

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

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

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background-color: var(--background-alt);
}

.pricing-table {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.table-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background-color: #f5f5f5;
}

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

.cross {
    color: #e53935;
}

.pro-badge {
    background: var(--accent-color);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 10px;
    font-weight: 700;
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    background-color: var(--background-alt);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.faq-content {
    padding: 20px;
    color: var(--text-light);
    border-top: 1px solid #eee;
}

/* Footer */
footer {
    background-color: #064E3B;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

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

.footer-col a {
    color: #ddd;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Header & Navigation */
    .nav-links {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .duck-mascot {
        width: 80px;
    }

    .hero-stats {
        gap: 30px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .store-badge img {
        height: 45px;
    }

    .hero-image {
        max-width: 95%;
        margin-top: 20px;
    }

    /* Features Section */
    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    /* Comparison Section */
    .comparison {
        padding: 60px 0;
    }

    .pricing-table {
        margin: 0 10px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 15px 10px;
        font-size: 0.85rem;
    }

    .pro-badge {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 0.7rem;
    }

    /* FAQ Section */
    .faq {
        padding: 60px 0;
    }

    .faq-container {
        padding: 0 10px;
    }

    summary {
        padding: 15px;
        font-size: 0.95rem;
    }

    .faq-content {
        padding: 15px;
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .table-header,
    .table-row {
        font-size: 0.75rem;
        padding: 12px 8px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}