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

body {
    font-family: 'Noto Serif TC', 'ZCOOL KuaiLe', 'STKaiti', 'Kaiti TC', serif;
    background: linear-gradient(135deg, #f9f6f2 0%, #f3e9e2 100%);
    color: #2d1a06;
    min-height: 100vh;
    letter-spacing: 0.5px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #b22222;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #6e1a1a;
}

h1, h2, h3 {
    font-family: 'Noto Serif TC', 'ZCOOL KuaiLe', serif;
    font-weight: 700;
    color: #1a202c;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
}

/* Navbar */
.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1.5px solid #e0c9a6;
    padding: 1.2rem 6vw 1.2rem 6vw;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px 0 rgba(220, 180, 120, 0.04);
}

.logo {
    font-family: 'ZCOOL KuaiLe', 'Noto Serif TC', serif;
    font-size: 1.7rem;
    color: #b22222;
    letter-spacing: 3px;
}

.main-nav-links {
    display: flex;
    gap: 2.5rem;
}

.main-nav-links li a {
    font-size: 1.08rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border 0.2s;
}

.main-nav-links li a:hover, .main-nav-links li a:focus {
    border-bottom: 2px solid #b22222;
}

/* Hero Section */
.main-hero {
    position: relative;
    background: linear-gradient(120deg, #f7f3ed 60%, #e6e0d6 100%);
    overflow: hidden;
    padding-bottom: 2.5rem;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 6vw 2.5rem 6vw;
    position: relative;
}

.hero-bg-ink {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: url('https://cdn.jsdelivr.net/gh/stevenjoezhang/china-ink-bg@main/ink-bg-2.png') center/cover no-repeat;
    opacity: 0.13;
    z-index: 0;
    pointer-events: none;
}

.hero-text {
    z-index: 1;
    flex: 1.2;
}

.hero-text h1 {
    font-size: 3.2rem;
    color: #222;
    margin-bottom: 1.1rem;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7c5c3b;
    margin-bottom: 2.2rem;
    font-family: 'Noto Serif TC', serif;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #b22222 60%, #e0c9a6 100%);
    color: #fff;
    font-size: 1.15rem;
    padding: 0.8rem 2.2rem;
    border-radius: 30px;
    box-shadow: 0 2px 12px 0 rgba(178,34,34,0.08);
    font-weight: 700;
    letter-spacing: 2px;
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #a01a1a 60%, #cfae7e 100%);
    box-shadow: 0 4px 18px 0 rgba(178,34,34,0.13);
}

.hero-app-mockup {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.hero-app-mockup img {
    max-width: 320px;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(60, 40, 20, 0.13);
    border: 2px solid #e0c9a6;
    background: #fffefb;
}

/* Features Section */
.features-section {
    padding: 4rem 6vw 2.5rem 6vw;
    background: #f9f6f2;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255,255,255,0.92);
    border: 1.5px solid #e0c9a6;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(178,34,34,0.04);
    padding: 2.2rem 1.2rem 1.2rem 1.2rem;
    text-align: center;
    transition: box-shadow 0.2s, border 0.2s;
}

.feature-item:hover {
    box-shadow: 0 6px 24px 0 rgba(178,34,34,0.10);
    border-color: #b22222;
}

.feature-item .icon {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
    display: block;
}

/* Themes Section */
.themes-section {
    padding: 4rem 6vw 2.5rem 6vw;
    background: #f3e9e2;
}

.themes-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.themes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.theme-item {
    background: #fff;
    border: 1.5px solid #e0c9a6;
    border-radius: 1.2rem;
    padding: 1.5rem 1.2rem;
    text-align: center;
    box-shadow: 0 2px 10px 0 rgba(178,34,34,0.04);
}

.theme-color {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 0.7rem auto;
    border: 2.5px solid #e0c9a6;
}

.theme-default .theme-color {
    background: linear-gradient(135deg, #e6e6e6 60%, #b7b7b7 100%);
}

.theme-red .theme-color {
    background: linear-gradient(135deg, #b22222 60%, #e0c9a6 100%);
}

.theme-cyan .theme-color {
    background: linear-gradient(135deg, #7ed6df 60%, #3dc1d3 100%);
}

.theme-purple .theme-color {
    background: linear-gradient(135deg, #a084ca 60%, #6c3483 100%);
}

/* Widget Section */
.widget-section {
    padding: 4rem 6vw 2.5rem 6vw;
    background: #f9f6f2;
}

.widget-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.widget-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.widget-img {
    max-width: 260px;
    border-radius: 1.2rem;
    box-shadow: 0 4px 18px 0 rgba(178,34,34,0.10);
    border: 1.5px solid #e0c9a6;
    background: #fff;
}

.widget-features {
    font-size: 1.08rem;
    color: #7c5c3b;
    line-height: 2.1;
    padding-left: 1.2rem;
}

.widget-features li {
    margin-bottom: 0.5rem;
    position: relative;
}

.widget-features li::before {
    content: '•';
    color: #b22222;
    margin-right: 0.7em;
}

/* Download Section */
.download-section {
    padding: 4rem 6vw 2.5rem 6vw;
    background: #f3e9e2;
    text-align: center;
}

.appstore-btn {
    display: inline-block;
    background: linear-gradient(90deg, #b22222 60%, #e0c9a6 100%);
    color: #fff;
    font-size: 1.15rem;
    padding: 0.8rem 2.2rem;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px 0 rgba(178,34,34,0.08);
}

.appstore-btn:hover {
    background: linear-gradient(90deg, #a01a1a 60%, #cfae7e 100%);
    box-shadow: 0 4px 18px 0 rgba(178,34,34,0.13);
}

.download-tip {
    color: #7c5c3b;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Footer */
.main-footer {
    background: #fff8f0;
    border-top: 1.5px solid #e0c9a6;
    text-align: center;
    padding: 1.5rem 0;
    color: #a67c52;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-visual {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-app-mockup {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 600px) {
    .main-navbar {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1rem 3vw;
    }
    .main-nav-links {
        gap: 1.2rem;
    }
    .hero-text h1 {
        font-size: 2.1rem;
    }
    .hero-visual {
        padding: 2.5rem 3vw 1.5rem 3vw;
    }
    .features-section, .themes-section, .widget-section, .download-section {
        padding: 2.5rem 3vw 1.5rem 3vw;
    }
    .features-list, .themes-list, .widget-flex {
        gap: 1.2rem;
    }
    .widget-img {
        max-width: 180px;
    }
} 