:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --accent: #a855f7;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #f1f5f9;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Background Decoration */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    -webkit-filter: blur(100px);
    opacity: 0.5;
}

.circle-1 { top: -10%; right: -5%; width: 600px; height: 600px; background: var(--primary); animation: float-pro 25s infinite linear; }
.circle-2 { bottom: -10%; left: -10%; width: 500px; height: 500px; background: var(--accent); animation: float-pro 20s infinite linear reverse; }
.circle-3 { top: 40%; left: 30%; width: 300px; height: 300px; background: #3b82f6; animation: float-pro 30s infinite ease-in-out; }

@keyframes float-pro {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(100px, 50px) rotate(120deg); }
    66% { transform: translate(-50px, 100px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.particles { position: absolute; width: 100%; height: 100%; }
.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* Navbar Shared */
.navbar { height: 90px; display: flex; align-items: center; position: absolute; top: 0; width: 100%; z-index: 100; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-wrapper { display: flex; align-items: center; gap: 12px; }
.logo-dot { width: 12px; height: 12px; background: linear-gradient(to right, var(--primary), var(--accent)); border-radius: 50%; box-shadow: 0 0 15px var(--primary-glow); }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.5rem; letter-spacing: 2px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-item { color: var(--text-dim); text-decoration: none; font-weight: 500; transition: var(--transition); font-size: 0.95rem; }
.nav-item:hover { color: var(--text-main); }
.btn-nav { background: var(--glass); border: 1px solid var(--glass-border); color: var(--text-main); padding: 10px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-nav:hover { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 20px var(--primary-glow); }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }
.hero-content { max-width: 800px; }
.hero h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 2rem; font-family: 'Montserrat', sans-serif; }
.hero p { font-size: 1.25rem; color: var(--text-dim); margin-bottom: 3rem; max-width: 600px; }
.hero-actions { display: flex; gap: 20px; }

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* Common Buttons */
.btn { padding: 16px 36px; border-radius: 12px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--transition); border: none; }
.btn-glow { background: var(--primary); color: white; box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); }
.btn-glow:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5); }
.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: var(--text-main); }
.btn-outline:hover { background: var(--glass); }

/* Footer */
.footer { padding: 60px 0; border-top: 1px solid var(--glass-border); margin-top: 100px; }
.footer-grid { text-align: center; color: var(--text-dim); font-size: 0.9rem; }

/* Common Helpers */
.text-gradient { background: linear-gradient(to right, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.animate-text { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Toast */
.toast-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); z-index: 2000; visibility: hidden; opacity: 0; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; }
.toast-container.show { visibility: visible; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.toast-content { background: rgba(15, 23, 42, 0.95); border: 1px solid var(--glass-border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 1.5rem 2.5rem; border-radius: 16px; display: flex; align-items: center; gap: 15px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); min-width: 300px; justify-content: center; }
.toast-success { color: #10b981; }
.toast-error { color: #ef4444; }

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links { gap: 20px; }
}
