/* assets/css/home.css */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    --warm-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --cool-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: rgba(255, 255, 255, 0.9);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
    --radius-lg: 20px;
    --radius-xl: 28px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.floating-shapes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.shape { position: absolute; border-radius: 50%; opacity: 0.1; animation: float 20s infinite linear; }
.shape:nth-child(1) { width: 80px; height: 80px; background: var(--accent-gradient); top: 20%; left: 10%; animation-delay: 0s; }
.shape:nth-child(2) { width: 120px; height: 120px; background: var(--warm-gradient); top: 60%; right: 15%; animation-delay: -5s; }
.shape:nth-child(3) { width: 60px; height: 60px; background: var(--cool-gradient); bottom: 30%; left: 20%; animation-delay: -10s; }
@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } 100% { transform: translateY(0px) rotate(360deg); } }
.main-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.top-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 15px 0; background: var(--glass-bg); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-light); text-shadow: 2px 2px 8px rgba(0,0,0,0.3); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: all 0.3s ease; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent-gradient); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.hero-section { padding: 140px 0 80px; text-align: center; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; background: linear-gradient(45deg, #ffffff, #f8f9fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); line-height: 1.1; }
.hero-subtitle { font-size: 1.3rem; color: var(--text-light); margin-bottom: 40px; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent-gradient); color: white; padding: 15px 30px; border-radius: var(--radius-lg); text-decoration: none; font-weight: 600; box-shadow: var(--shadow-lg); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid var(--glass-border); }
.hero-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.features-section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; font-weight: 700; color: var(--text-light); margin-bottom: 60px; text-shadow: 2px 2px 8px rgba(0,0,0,0.3); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px; }
.feature-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 40px 30px; text-align: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); transition: left 0.6s; }
.feature-card:hover::before { left: 100%; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: rgba(255, 255, 255, 0.3); }
.feature-icon { font-size: 3rem; margin-bottom: 20px; display: block; filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.2)); }
.feature-title { font-size: 1.4rem; font-weight: 600; color: var(--text-light); margin-bottom: 15px; }
.feature-description { color: rgba(255, 255, 255, 0.8); line-height: 1.6; font-size: 1rem; }
.articles-section { padding: 80px 0; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.article-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: 30px; text-decoration: none; color: inherit; display: block; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: rgba(255, 255, 255, 0.3); }
.article-badge { position: absolute; top: -10px; right: -10px; background: var(--accent-gradient); color: white; padding: 8px 16px; border-radius: var(--radius-lg); font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow-lg); }
.article-title { font-size: 1.5rem; font-weight: 600; color: var(--text-light); margin-bottom: 15px; line-height: 1.3; }
.article-excerpt { color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin-bottom: 20px; }
.article-meta { display: flex; align-items: center; gap: 15px; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-section { padding: 60px 0 40px; text-align: center; border-top: 1px solid var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(20px); }
.social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 50%; color: var(--text-light); text-decoration: none; font-size: 1.2rem; transition: all 0.3s ease; }
.social-link:hover { background: var(--accent-gradient); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.copyright { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
@media (max-width: 768px) { .nav-links { display: none; } .hero-section { padding: 120px 0 60px; } .features-grid, .articles-grid { grid-template-columns: 1fr; gap: 20px; } .feature-card, .article-card { padding: 25px 20px; } .main-container { padding: 0 15px; } }
.fade-in { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.fade-in:nth-child(1) { animation-delay: 0.1s; } .fade-in:nth-child(2) { animation-delay: 0.2s; } .fade-in:nth-child(3) { animation-delay: 0.3s; } .fade-in:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

