@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #00ff88;
            --secondary: #00d4ff;
            --danger: #ff0000;
            --warning: #ffaa00;
            --success: #00ff88;
            --dark: #0a0e27;
            --darker: #050714;
            --light: #ffffff;
            --gray: #8892b0;
            --purple: #9c88ff;
        }

        body {
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
            background: linear-gradient(135deg, #0a0e27 0%, #050714 100%);
            color: var(--light);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Cyber Grid Background */
        .cyber-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridMove 20s linear infinite;
            pointer-events: none;
            z-index: 1;
        }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        /* Particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 2;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--primary);
            border-radius: 50%;
            animation: float 15s linear infinite;
            opacity: 0.6;
        }

        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% { opacity: 0.6; }
            90% { opacity: 0.6; }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        /* Toast Notifications */
        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 15px 25px;
            border-radius: 8px;
            color: white;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 10000;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .toast-success {
            background: linear-gradient(135deg, #00C851 0%, #007E33 100%);
        }

        .toast-error {
            background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
        }

        .toast-info {
            background: linear-gradient(135deg, #33b5e5 0%, #0099cc 100%);
        }

        .toast-warning {
            background: linear-gradient(135deg, #ffbb33 0%, #ff8800 100%);
        }
        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            z-index: 1000;
            border-bottom: 2px solid var(--primary);
            box-shadow: 0 4px 30px rgba(0, 255, 136, 0.3);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-link {
            color: var(--light);
            text-decoration: none;
            position: relative;
            transition: all 0.3s;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            font-weight: 500;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary);
            background: rgba(0, 255, 136, 0.1);
            transform: translateY(-2px);
        }

        .sign-in-btn {
            background: linear-gradient(45deg, var(--primary), var(--secondary)) !important;
            color: var(--dark) !important;
            font-weight: bold !important;
            border-radius: 25px !important;
            padding: 0.8rem 1.5rem !important;
            text-transform: uppercase !important;
            letter-spacing: 1px !important;
            border: 2px solid var(--primary) !important;
            transition: all 0.3s ease !important;
            margin-left: 1rem !important;
        }

        .sign-in-btn:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4) !important;
        }

        .nav-user-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* avatar ปุ่มด้านขวา */
.profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.6);
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: all 0.25s ease;
}

.profile-pill:hover {
    background: rgba(0, 255, 136, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 255, 136, 0.4);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

#navUsername {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: var(--light);
    opacity: 0.9;
}

        /* Main Content */
        .main-content {
            margin-top: 80px;
            position: relative;
            z-index: 10;
        }

        /* Hero Section */
        .hero-section {
            min-height: calc(100vh - 80px);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 4rem 2rem;
        }

        .hero-content {
            max-width: 900px;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-title {
            font-size: 4.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary), var(--purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: glow 3s ease-in-out infinite alternate;
            line-height: 1.2;
        }

        @keyframes glow {
            from { 
                filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5)); 
            }
            to { 
                filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.8)); 
            }
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--gray);
            margin-bottom: 1rem;
            font-weight: 300;
        }

        .hero-description {
            font-size: 1.1rem;
            color: var(--light);
            margin-bottom: 3rem;
            line-height: 1.8;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary,
        .btn-secondary {
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: var(--dark);
            border: 2px solid var(--primary);
        }

        .btn-primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 255, 136, 0.5);
        }

        .btn-secondary {
            background: transparent;
            color: var(--light);
            border: 2px solid var(--primary);
        }

        .btn-secondary:hover {
            background: rgba(0, 255, 136, 0.1);
            transform: translateY(-5px);
        }

        /* Features Section */
        .features-section {
            padding: 6rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: var(--gray);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: rgba(10, 14, 39, 0.8);
            border: 2px solid rgba(0, 255, 136, 0.3);
            border-radius: 20px;
            padding: 2.5rem;
            transition: all 0.3s;
            backdrop-filter: blur(10px);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 60px rgba(0, 255, 136, 0.4);
        }

        .feature-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            display: block;
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--light);
            margin-bottom: 1rem;
        }

        .feature-description {
            color: var(--gray);
            line-height: 1.7;
        }

        /* Stats Section */
        .stats-section {
            padding: 6rem 2rem;
            background: rgba(0, 255, 136, 0.05);
            border-top: 2px solid rgba(0, 255, 136, 0.2);
            border-bottom: 2px solid rgba(0, 255, 136, 0.2);
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .stat-item {
            text-align: center;
            padding: 2rem;
            background: rgba(10, 14, 39, 0.8);
            border: 2px solid rgba(0, 255, 136, 0.3);
            border-radius: 15px;
            transition: all 0.3s;
        }

        .stat-item:hover {
            transform: scale(1.05);
            border-color: var(--primary);
        }

        .stat-value {
            font-size: 3.5rem;
            font-weight: bold;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 1.2rem;
            color: var(--gray);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* CTA Section */
        .cta-section {
            padding: 6rem 2rem;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .cta-title {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .cta-description {
            font-size: 1.2rem;
            color: var(--light);
            margin-bottom: 2.5rem;
            line-height: 1.8;
        }

        /* Footer */
        footer {
            background: rgba(10, 14, 39, 0.95);
            border-top: 2px solid var(--primary);
            padding: 3rem 2rem;
            position: relative;
            z-index: 10;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .footer-section h3 {
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }

        .footer-section p,
        .footer-section a {
            color: var(--gray);
            line-height: 2;
            text-decoration: none;
            display: block;
        }

        .footer-section a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 3rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 255, 136, 0.2);
            text-align: center;
            color: var(--gray);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .nav-links {
                flex-direction: column;
                gap: 0.5rem;
            }

            .nav-container {
                flex-direction: column;
                gap: 1rem;
            }

            .sign-in-btn {
                margin-left: 0 !important;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .stat-value {
                font-size: 2.5rem;
            }

            .cta-title {
                font-size: 2rem;
            }
        }