:root {
    --primary: #15803d;
    --primary-dark: #14532d;
    --secondary: #166534;
    --accent: #059669;
    --dark: #0a0f0a;
    --dark-lighter: #1a2e1a;
    --gray: #94a3b8;
    --light: #2d3e2d;
    --white: #ffffff;
    --gradient-eco: linear-gradient(135deg, #15803d 0%, #166534 50%, #059669 100%);
    --gradient-dark: linear-gradient(135deg, #0a0f0a 0%, #1a2e1a 100%);
    --shadow: 0 10px 30px rgba(21, 128, 61, 0.2);
    --shadow-lg: 0 20px 40px rgba(21, 128, 61, 0.3);
    --glow: 0 0 20px rgba(21, 128, 61, 0.5);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--dark);
    overflow-x: hidden;
    padding-top: 140px; /* Space for top banner + navbar + discount banner */
}

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

/* 頂部小橫幅 */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
    padding: 0.25rem 0;
    font-size: 0.8rem;
    color: white;
    text-align: center;
    font-weight: 500;
}

/* 優惠橫幅 - 移到導航列下方 */
.discount-banner {
    position: fixed;
    top: 96px; /* Position under navbar (32px + 64px navbar height) */
    left: 0;
    right: 0;
    z-index: 1010; /* Much higher than navbar to ensure visibility */
    background: linear-gradient(90deg, #ff6b00 0%, #ff9500 50%, #ff6b00 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    padding: 0.5rem 0;
    box-shadow: 0 6px 25px rgba(255, 149, 0, 0.8); /* Strong shadow to ensure prominence */
}

/* 響應式設計 */
@media (max-width: 768px) {
    .top-banner {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }
    
    .navbar {
        top: 28px; /* Smaller top banner on mobile */
    }
    
    .discount-banner {
        top: 92px; /* Adjusted for mobile */
        padding: 0.4rem 0;
    }
    
    .banner-content {
        font-size: 0.8rem;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .banner-timer {
        font-size: 0.75rem;
    }
    
    body {
        padding-top: 130px; /* Reduced padding for mobile */
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.banner-icon {
    font-size: 1.2rem;
    animation: pulse-banner 1s ease-in-out infinite;
}

@keyframes pulse-banner {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.banner-text {
    letter-spacing: 0.5px;
}

.banner-text s {
    opacity: 0.7;
    font-weight: 400;
}

.banner-text strong {
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.banner-cta {
    background: white;
    color: #ff6b00;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1011; /* Higher than discount banner to ensure clickability */
    position: relative;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    animation: bounce-cta 2s ease-in-out infinite;
}

.banner-cta:hover {
    background: #fff5f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes bounce-cta {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

.banner-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.banner-timer {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.85rem;
}

/* 導航列 */
.navbar {
    position: fixed;
    top: 32px; /* Adjusted for smaller top banner height */
    width: 100%;
    background: linear-gradient(135deg, rgba(2, 8, 5, 0.98), rgba(3, 12, 7, 0.98));
    backdrop-filter: blur(20px);
    box-shadow: none; /* Remove shadow completely to prevent covering discount banner */
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 2px solid rgba(21, 128, 61, 0.3); /* Slightly stronger border to compensate */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(21, 128, 61, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a:hover {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}

.nav-menu a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* 主英雄區塊 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px; /* Adjusted for banner + navbar */
    background: var(--gradient-eco);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(21, 128, 61, 0.25);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(21, 128, 61, 0.4);
    letter-spacing: 0.025em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-main {
    font-size: 1em;
    font-weight: 900;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-sub {
    font-size: 0.7em;
    font-weight: 600;
    color: var(--white);
    opacity: 0.95;
    letter-spacing: 0.05em;
}

.gradient-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-description strong {
    color: var(--white);
    font-weight: 700;
    background: rgba(21, 128, 61, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 2px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    min-height: 44px;
}

.btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

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

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #86efac;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 手機模型 */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--dark-lighter);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(21, 128, 61, 0.4);
    margin: 0 auto;
    position: relative;
    border: 2px solid rgba(21, 128, 61, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.map-preview {
    height: 70%;
    background: linear-gradient(45deg, #1a1a2e 25%, #2a2a3e 25%, #2a2a3e 50%, #1a1a2e 50%, #1a1a2e 75%, #2a2a3e 75%);
    background-size: 20px 20px;
    position: relative;
}

.map-pin {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.map-route {
    position: absolute;
    top: 30%;
    left: 20%;
    right: 30%;
    height: 3px;
    background: var(--secondary);
    transform: rotate(15deg);
}

.truck-icon {
    position: absolute;
    top: 35%;
    right: 25%;
    font-size: 2rem;
    animation: move-truck 3s infinite ease-in-out;
}

@keyframes move-truck {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-20px, 10px);
    }
}

.phone-ui {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--dark-lighter);
}

.notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--dark);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(21, 128, 61, 0.2);
    border: 1px solid rgba(21, 128, 61, 0.3);
    color: var(--white);
}

/* 服務範圍 */
.coverage {
    padding: 60px 0;
    background: var(--dark-lighter);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.coverage-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.coverage-grid.compact .region-card {
    padding: 1.25rem;
}

.coverage-grid.compact .region-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.coverage-grid.compact .region-card span {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.4;
}

.region-card {
    background: rgba(21, 128, 61, 0.05);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid;
    transition: var(--transition);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

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

.region-card.north {
    border-left-color: #3b82f6;
}

.region-card.central {
    border-left-color: #10b981;
}

.region-card.south {
    border-left-color: #f59e0b;
}

.region-card.east {
    border-left-color: #8b5cf6;
}

.region-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.region-card ul {
    list-style: none;
    padding: 0;
}

.region-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.region-card li:hover {
    color: var(--primary);
}

/* 功能區塊 */
.features {
    padding: 100px 0;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--dark-lighter);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(21, 128, 61, 0.3);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

/* 如何使用 */
.how-it-works {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
}

.step-line {
    flex: 0.5;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    margin: 0 -20px;
    margin-bottom: 80px;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.step-content p {
    color: var(--gray);
}

/* 統計區塊 */
.stats-section {
    padding: 100px 0;
    background: var(--gradient-eco);
    color: white;
}

.stats-content {
    text-align: center;
}

.stats-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.stats-text p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 下載區塊 */
.download {
    padding: 100px 0;
    background: var(--dark);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.download-text p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.store-button img {
    height: 50px;
}

.qr-code {
    display: inline-block;
}

.qr-code p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--dark-lighter);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.app-preview {
    display: flex;
    justify-content: center;
}

.preview-card {
    width: 300px;
    background: var(--dark-lighter);
    border-radius: var(--radius);
    box-shadow: var(--glow);
    overflow: hidden;
    border: 1px solid rgba(21, 128, 61, 0.3);
}

.preview-header {
    padding: 1rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-align: center;
}

.preview-content {
    padding: 1.5rem;
}

.mini-map {
    height: 150px;
    background: var(--dark);
    border-radius: 8px;
    position: relative;
    margin-bottom: 1rem;
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.route-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--secondary);
}

.truck-dot,
.user-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.truck-dot {
    background: var(--primary);
    left: 30%;
}

.user-dot {
    background: var(--secondary);
    right: 20%;
}

.info-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--dark);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--gray);
}

/* 頁尾 */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(21, 128, 61, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.support-email a {
    color: var(--primary);
    text-decoration: none;
}

.support-email a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* 用戶評價區塊 */
.testimonials {
    padding: 100px 0;
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--dark-lighter);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: var(--primary);
}

.rating {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

/* App Store 整合樣式 */
.app-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.app-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.app-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.stars {
    color: #fbbf24;
}

.app-description {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.app-info {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.app-info p {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0.25rem 0;
}

.developer {
    font-weight: 500;
}

.app-showcase {
    text-align: center;
}

.app-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(21, 128, 61, 0.3);
    margin-bottom: 2rem;
    border: 2px solid rgba(21, 128, 61, 0.2);
}

.app-features {
    background: var(--dark-lighter);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.app-features h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.app-features ul {
    list-style: none;
    padding: 0;
}

.app-features li {
    padding: 0.75rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(21, 128, 61, 0.1);
}

.app-features li:last-child {
    border-bottom: none;
}

.feature-icon img {
    border-radius: 8px;
}

/* iOS 評分樣式 */
.ios-ratings {
    padding: 60px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.ios-ratings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.ratings-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 700px;
    margin: 2rem auto 0;
    align-items: center;
}

.rating-summary {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-lighter);
    border-radius: var(--radius);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.rating-subtitle {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.rating-stars {
    margin-bottom: 1rem;
}

.rating-stars .star {
    font-size: 1.5rem;
    color: var(--gray);
}

.rating-stars .star.filled {
    color: #fbbf24;
}

.rating-stars .star.partial {
    background: linear-gradient(90deg, #fbbf24 30%, var(--gray) 30%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-count {
    color: var(--gray);
    font-size: 0.875rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bar-label {
    color: #fbbf24;
    font-size: 0.875rem;
    min-width: 80px;
    text-align: right;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: var(--dark-lighter);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

@media (max-width: 768px) {
    .ratings-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rating-summary {
        padding: 1.5rem;
    }
    
    .rating-number {
        font-size: 3rem;
    }
}

/* 模態視窗樣式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: var(--dark-lighter);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    width: 90%;
    max-width: 600px;
    position: relative;
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    color: var(--gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.modal-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.modal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary);
}

.modal:target {
    display: block;
}

.data-attribution {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.data-attribution a {
    color: rgba(21, 128, 61, 0.6);
    text-decoration: none;
}

.data-attribution a:hover {
    color: rgba(21, 128, 61, 0.8);
    text-decoration: underline;
}

/* Hero 下載區塊樣式 */
.download-section-hero {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.download-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.phone-caption {
    text-align: center;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* 限時優惠區塊 */
.limited-offer {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f1f0f 0%, #1a2e1a 100%);
    position: relative;
    overflow: hidden;
}

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

.offer-banner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(21, 128, 61, 0.3);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.offer-badge {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.badge-urgent, .badge-seats {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    animation: pulse 2s infinite;
}

.badge-seats {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.offer-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.price-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.original-price {
    color: #999;
    text-decoration: line-through;
}

.arrow {
    color: var(--primary);
    font-weight: bold;
}

.discount-price {
    color: #10b981;
    font-weight: 900;
    font-size: 2rem;
}

.discount-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
}

.offer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.offer-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
}

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

.timer-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.timer-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.timer-separator {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.5rem;
}

.seats-remaining {
    margin-bottom: 2rem;
}

.seats-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.seats-filled {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.seats-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.seats-count {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.125rem;
}

.btn-offer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    margin-bottom: 1.5rem;
}

.btn-offer:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-arrow {
    font-size: 1.5rem;
}

.offer-terms {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* 準點計算說明區塊 */
.how-calculate {
    padding: 100px 0;
    background: #0a0f0a;
    position: relative;
    overflow: hidden;
}

.calculation-image {
    margin-top: 4rem;
    text-align: center;
    padding: 0 2rem;
}

.diagram-container {
    margin: 0 auto;
    display: inline-block;
    position: relative;
    max-width: 900px;
    width: 100%;
}

.diagram-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
    aspect-ratio: 2464 / 1846; /* Preserve original aspect ratio */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: #0a0f0a; /* Fallback background color */
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .calculation-image {
        padding: 0 1.5rem;
    }
    
    .diagram-img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .calculation-image {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .diagram-img {
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(16, 185, 129, 0.15);
    }
}

@media (max-width: 480px) {
    .calculation-image {
        padding: 0 0.5rem;
    }
    
    .diagram-img {
        border-radius: 8px;
    }
}



/* 截圖展示區塊 */
.screenshots {
    padding: 100px 0;
    background: var(--dark-lighter);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--dark);
    border: 1px solid rgba(21, 128, 61, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(21, 128, 61, 0.4);
    border-color: var(--primary);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 0.46/1;
    background: var(--dark);
}

.screenshot-caption {
    padding: 1rem;
    background: var(--dark);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid rgba(21, 128, 61, 0.2);
}

/* 響應式調整 */
@media (min-width: 768px) {
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 1200px) {
    .screenshots-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 響應式設計 */
@media (max-width: 768px) {
    /* 優惠橫幅 - 行動版 */
    .discount-banner {
        padding: 0.4rem 0;
    }
    
    .banner-content {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .banner-icon {
        font-size: 1rem;
    }
    
    .banner-text strong {
        font-size: 1rem;
    }
    
    .banner-cta {
        padding: 0.25rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .banner-timer {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }
    .nav-menu {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .download-section-hero {
        padding: 1.5rem;
    }
    
    .download-title {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .flow-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .center-column {
        margin-top: 0;
    }
    
    .flow-bottom {
        gap: 4rem;
    }
    
    .cross-arrows {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-line {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .download-image {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}