/* 全域樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --black: #2C2C2C;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

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

h1, h2, h3 {
    font-weight: bold;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.brand-name {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

/* 產品特色 */
.features {
    padding: 80px 20px;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gold);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* 產品展示 */
.screenshots {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

/* 下載區域 */
.download {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
}

.download h2 {
    color: var(--white);
}

.download-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.version-info {
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold);
}

.loading {
    text-align: center;
    padding: 20px;
    color: var(--gold);
    font-size: 1.1rem;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
    text-decoration: none;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 2rem;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.button-icon {
    font-size: 1.5rem;
}

.download-note {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.download-note strong {
    color: var(--gold);
}

/* Line 社群 */
.line-section {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.line-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.qr-container {
    display: inline-block;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    margin-bottom: 2rem;
}

.qr-code {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.line-benefits {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 2;
}

/* 適用場景 */
.use-cases {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.use-case {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--black);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.use-case:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 動畫 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 響應式設計 */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .brand-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

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

    .qr-code {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 150px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .download-button {
        font-size: 1.1rem;
        padding: 16px;
    }
}
