:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-green: #00ff9d;
    --accent-blue: #3b82f6;
    --accent-gold: #ffd700;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --grid-color: rgba(255, 255, 255, 0.03);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-color);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vignette Effect */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, #000000 100%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100vh;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    font-size: 1.2rem;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-green);
    text-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
    position: relative;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-top: 1rem;
    font-weight: 300;
}

/* Demo Section */
.demo-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.demo-container {
    display: flex;
    width: 100%;
    gap: 2rem;
    height: 500px;
}

/* Voice Interface */
.voice-interface {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInLeft 1s ease-out 0.3s backwards;
    transition: border-color 0.3s ease;
}

.voice-interface:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.status-indicator {
    position: absolute;
    top: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent-green);
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: blink 2s infinite;
}

.visualizer {
    display: flex;
    gap: 6px;
    height: 80px;
    align-items: center;
    margin-bottom: 3rem;
}

.bar {
    width: 8px;
    height: 10px;
    background: linear-gradient(to top, var(--accent-green), #80ffcc);
    border-radius: 4px;
    transition: height 0.05s ease;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

.mic-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.mic-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: ripple 2s infinite;
    opacity: 0;
}

.mic-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.mic-btn.listening {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.5);
    animation: pulse 2s infinite;
}

.instruction {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
    font-weight: 300;
}

/* Live Logs */
.live-logs {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #222;
    border-radius: 24px;
    padding: 2rem;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    animation: fadeInRight 1s ease-out 0.3s backwards;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.log-header {
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.log-content {
    flex: 1;
    overflow-y: auto;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-right: 10px;
}

/* Scrollbar */
.log-content::-webkit-scrollbar {
    width: 6px;
}

.log-content::-webkit-scrollbar-track {
    background: #111;
}

.log-content::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.log-entry {
    opacity: 0;
    animation: fadeIn 0.4s forwards;
    line-height: 1.5;
}

.log-entry.system {
    color: #666;
    font-size: 0.85rem;
}

.log-entry.user {
    color: var(--accent-blue);
    border-left: 2px solid var(--accent-blue);
    padding-left: 10px;
}

.log-entry.ai {
    color: var(--accent-green);
    border-left: 2px solid var(--accent-green);
    padding-left: 10px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(45deg, #ffd700, #f59e0b);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 100px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.cta-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .demo-container {
        flex-direction: column;
        height: auto;
    }

    .voice-interface,
    .live-logs {
        height: 350px;
    }

    body {
        height: auto;
        overflow-y: auto;
        background-size: 20px 20px;
    }
}