:root {
    --bg-start: #0f172a; /* slate-900 */
    --bg-end: #1e293b;   /* slate-800 */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-stroke: rgba(255, 255, 255, 0.18);
    --text: #e5e7eb;     /* gray-200 */
    --muted: #94a3b8;    /* slate-400 */
    --primary: #6366f1;  /* indigo-500 */
    --primary-strong: #4f46e5; /* indigo-600 */
    --danger: #ef4444;   /* red-500 */
    --input-bg: rgba(255,255,255,0.06);
    --input-border: rgba(255,255,255,0.2);
    --shadow-strong: 0 20px 50px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
    --radius: 16px;
}

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

html, body { 
    height: 100%; 
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 800px at 20% 10%, #1f2937 0%, transparent 60%),
                radial-gradient(1000px 600px at 80% 90%, #111827 0%, transparent 60%),
                linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.035"/></svg>');
    mix-blend-mode: soft-light;
    z-index: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06)) padding-box,
                linear-gradient(180deg, var(--glass-stroke), transparent) border-box;
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px; 
    height: 40px;
    display: grid; 
    place-items: center;
    border-radius: 10px;
    background: conic-gradient(from 160deg at 50% 50%, #22d3ee 0deg, #a78bfa 120deg, #6366f1 240deg, #22d3ee 360deg);
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}

.brand-logo span { 
    font-weight: 700; 
    color: white; 
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
    font-size: 18px;
}

.brand-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--glass-bg);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    background: var(--glass-bg);
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e5e7eb 0%, #6366f1 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.welcome-user {
    background: var(--glass-bg);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(16px);
}

.welcome-user p {
    margin-bottom: 0.5rem;
}

.welcome-user p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(79,70,229,0.35);
}

.btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 30px rgba(79,70,229,0.45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text);
    border: 1px solid var(--glass-stroke);
    backdrop-filter: blur(16px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--glass-stroke);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(79,70,229,0.35);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .nav-menu {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .main-content {
        margin-top: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .features-section {
        padding: 2rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}
