:root {
    --bg-dark: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary: #6366f1;
    --primary-glow: #6366f180;
    --accent: #06b6d4;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
    margin-left: 10px;
}

.btn-outline:hover {
    background: var(--bg-card);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(60px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual & Avatar */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.ai-avatar-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.lita-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.3));
    animation: float 6s ease-in-out infinite;
}

.ai-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.2;
    z-index: 1;
}

.chat-bubble {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: rgba(20, 20, 30, 0.9);
    padding: 20px;
    border-radius: 16px;
    width: 280px;
    z-index: 3;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite 1s;
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 4px;
    animation: typing 1.4s infinite both;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* Features */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Showcase */
.showcase {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0f0f1a);
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.95rem;
}

.chat-message.user {
    background: var(--bg-card);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-message.bot {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    margin-bottom: 20px;
    color: var(--text-main);
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 5px 0;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes typing {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container, .showcase-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 40px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        justify-content: center;
    }
    
    .chat-bubble {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 90%;
    }
}
