@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Noto+Sans+TC:wght@400;700;900&display=swap');

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --neon-purple: #bf5af2;
    --neon-orange: #ff9f0a;
    --glass-bg: rgba(30, 30, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

/* Background Glow Effects */
.bg-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(191,90,242,0.15) 0%, rgba(255,159,10,0.05) 40%, rgba(0,0,0,0) 70%);
    top: -30vh;
    left: 20vw;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.logo span { color: var(--neon-orange); }

.app-logo {
    width: 32px;
    height: 32px;
    border-radius: 22%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 22%;
    box-shadow: 0 15px 40px rgba(255, 159, 10, 0.4);
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Typography */
h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -2px; }
h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 40px; text-align: center; }
p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px; }

.text-gradient {
    background: linear-gradient(90deg, #ff3b30, var(--neon-orange), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(191,90,242,0.3);
}

/* Layout Sections */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
}

.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* UI Components */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(191,90,242,0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-primary); }
.icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; }

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(90deg, #fff, #e0e0e0);
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.download-btn:hover { transform: scale(1.05); }

/* Privacy Policy specific */
.document-container {
    max-width: 800px;
    margin: 150px auto 100px;
    padding: 0 20px;
}
.document-container h2 { font-size: 1.8rem; text-align: left; color: var(--neon-purple); margin-top: 40px; margin-bottom: 15px; }
.document-container ul { padding-left: 20px; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.8; }
.document-container li { margin-bottom: 10px; }

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}
footer a { color: var(--text-primary); text-decoration: none; font-weight: 600; margin: 0 15px; transition: color 0.2s; }
footer a:hover { color: var(--neon-orange); }

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
}
