/*
  設計系統：Vibe Coding 教學
  風格：霓虹科技感、深色模式、玻璃擬態
*/

:root {
    --bg-dark: #020617;
    --navy-blue: #0f172a;
    --primary-cyan: #06b6d4;
    --accent-purple: #a855f7;
    --deep-violet: #6366f1;
    --white: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-gradient: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
    --card-hover-bg: rgba(30, 41, 59, 0.5);
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.nav-logo span {
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--white);
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: var(--neon-gradient);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(6, 182, 212, 0.4);
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(168, 85, 247, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.9)), 
                url('vibe_coding_hero_bg_1774148824029.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content h1 span {
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--white);
    color: var(--bg-dark);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-4px);
}

/* Animations & Elements */
.vibe-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--neon-gradient);
    filter: blur(120px);
    opacity: 0.2;
    border-radius: 50%;
    animation: floatingOrb 20s infinite alternate linear;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@keyframes floatingOrb {
    0% { transform: translate(-45%, -55%) rotate(0deg); opacity: 0.1; }
    50% { transform: translate(-55%, -45%) rotate(180deg); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.2; }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary-cyan);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 3.5rem;
}

/* About Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-muted);
}

.about-card.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-gradient);
}

/* Animations Logic (JS Hooked) */
.reveal-text, .fade-in, .about-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tool-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.tool-item:hover {
    background: var(--card-hover-bg);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
    transform: scale(1.02);
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--neon-gradient);
    border-radius: 12px;
}

.tool-item h3 {
    margin-bottom: 0.75rem;
}

.tool-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Mindset Section */
.mindset {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f172a 100%);
}

.mindset-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.mindset-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.mindset-row:nth-child(even) {
    flex-direction: row-reverse;
}

.mindset-text {
    flex: 1;
}

.mindset-visual {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    height: 300px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    color: var(--primary-cyan);
    font-size: 1.2rem;
    padding: 2rem;
}

/* Course Section Styles */
.course-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.5) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

.course-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--primary-cyan);
    filter: blur(100px);
    opacity: 0.1;
}

.course-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--glass-border);
    padding-right: 3rem;
}

.course-price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.course-duration {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
}

.course-body {
    flex: 1.5;
}

.course-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.course-body h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.course-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.course-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.course-features li strong {
    color: var(--white);
}

.btn-full {
    width: 100%;
    margin-bottom: 1rem;
}

.course-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Footer Extra */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

/* (原本的 Footer 樣式已存在，此處省略重複內容) */

/* RWD for Course Card */
@media screen and (max-width: 900px) {
    .course-card {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }
    
    .course-header {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding-right: 0;
        padding-bottom: 2rem;
        text-align: center;
    }
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--white);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsiveness Extra */
@media screen and (max-width: 768px) {
    .mindset-row, .mindset-row:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
    
    .mindset-visual {
        width: 100%;
        height: 200px;
    }
}
