:root {
    --atsa-red: #CA4456;
    --atsa-red-light: #e05a6c;
    --atsa-red-dark: #a03344;
    --atsa-black: #000000;
    --atsa-white: #ffffff;
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --text-muted: #555568;
    --border-color: #2a2a3a;
    --gold: #D4AF37;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --diamond: #B9F2FF;
    --success: #2ecc71;
    --warning: #f39c12;

    --font-main: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== Typography ========== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.25rem; }
p { color: var(--text-secondary); }

a { color: var(--atsa-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--atsa-red-light); }

/* ========== Layout ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

/* ========== Nav ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-display); font-weight: 800; font-size: 24px;
    color: var(--atsa-white); text-decoration: none;
}
.nav-logo .logo-mark {
    width: 36px; height: 36px; background: var(--atsa-red);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 16px; color: white;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--text-secondary); font-size: 15px; font-weight: 500;
    transition: color var(--transition); text-decoration: none;
}
.nav-links a:hover { color: var(--atsa-white); }
.nav-links a.active { color: var(--atsa-red); }

/* ========== Buttons ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-md); font-weight: 600;
    font-size: 15px; cursor: pointer; transition: all var(--transition);
    border: none; text-decoration: none;
}
.btn-primary {
    background: var(--atsa-red); color: white;
    box-shadow: 0 4px 20px rgba(202, 68, 86, 0.3);
}
.btn-primary:hover {
    background: var(--atsa-red-light); color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(202, 68, 86, 0.4);
}
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--atsa-red); color: var(--atsa-red);
    transform: translateY(-2px);
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ========== Hero ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: radial-gradient(ellipse at 30% 20%, rgba(202, 68, 86, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(202, 68, 86, 0.08) 0%, transparent 50%),
                var(--bg-primary);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text h1 { margin-bottom: 24px; }
.hero-text h1 span { color: var(--atsa-red); }
.hero-text p { font-size: 18px; margin-bottom: 40px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    display: flex; justify-content: center; align-items: center;
}
.hero-glow {
    width: 400px; height: 400px; position: relative;
    background: radial-gradient(circle, rgba(202,68,86,0.2) 0%, transparent 70%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: pulse-glow 4s ease-in-out infinite;
}
.hero-glow-text {
    font-family: var(--font-display);
    font-size: 64px; font-weight: 900;
    color: var(--atsa-red);
    text-shadow: 0 0 60px rgba(202,68,86,0.5);
}
@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ========== Stats Bar ========== */
.stats-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    text-align: center;
}
.stat-item .stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem; font-weight: 800; color: var(--atsa-red);
}
.stat-item .stat-label {
    font-size: 14px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Feature Cards ========== */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--atsa-red), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover {
    border-color: rgba(202,68,86,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: rgba(202,68,86,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: 14px; line-height: 1.7; }

/* ========== Section Headers ========== */
.section-header {
    text-align: center; margin-bottom: 48px;
}
.section-header .section-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: rgba(202,68,86,0.1); color: var(--atsa-red);
    font-size: 13px; font-weight: 600; margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 1px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ========== Tour Types ========== */
.tour-types-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.tour-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px; text-align: center;
    transition: all var(--transition);
}
.tour-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212,175,55,0.15);
}
.tour-card .tour-pts {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 800; color: var(--gold);
}
.tour-card .tour-name {
    font-weight: 600; margin-top: 8px;
}
.tour-card .tour-desc {
    font-size: 13px; color: var(--text-muted); margin-top: 4px;
}

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(135deg, var(--atsa-red-dark) 0%, var(--bg-primary) 100%);
    text-align: center; padding: 100px 24px;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ========== Footer ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand-name {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 800; color: var(--atsa-white);
    margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; }
.footer-col h4 { color: var(--text-primary); font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; padding: 4px 0; text-decoration: none; }
.footer-col a:hover { color: var(--atsa-red); }
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px; text-align: center;
    font-size: 13px; color: var(--text-muted);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 100px; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tour-types-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
