:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --bg-dark: #020617;
    --bg-sidebar: #0f172a;
    --bg-chat: #020617;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --bubble-user: #1e293b;
    --bubble-ai: #0f172a;
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Nav Styles */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 16px 36px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
}

.floating-ai {
    width: 320px;
    height: 320px;
    background: var(--gradient-hero);
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    animation: floating 6s infinite ease-in-out;
    z-index: 2;
    overflow: hidden;
}

.floating-ai img {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    pointer-events: none;
}

.visual-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    z-index: 1;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-20px) rotate(-2deg); }
}

/* Features Styles */
.features {
    padding: 8rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.features-grid {
    display: flex;
    gap: 2.5rem;
}

.feature-card {
    flex: 1;
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Footer Styles */
.glass-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(2, 6, 23, 0.5);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-content {
        margin-bottom: 4rem;
    }
    .hero-content h1 { font-size: 4rem; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .features-grid { flex-direction: column; }
}

@media (max-width: 640px) {
    .hero-content h1 { font-size: 3rem; }
}

/* Login Page Blob background */
.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.1;
    z-index: -1;
    border-radius: 50%;
    animation: move-blobs 20s infinite alternate;
}
.blob-1 { top: 10%; left: 10%; }
.blob-2 { bottom: 10%; right: 10%; background: #8b5cf6; }

@keyframes move-blobs {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}
