:root {
    /* Color Palette */
    --bg-base: #0a0e17;
    --bg-darker: #06080d;
    --bg-glass: rgba(16, 24, 39, 0.7);
    --bg-glass-hover: rgba(30, 41, 59, 0.85);
    
    --accent-primary: #00d2ff;
    --accent-secondary: #00e676;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.logo svg {
    color: var(--accent-primary);
}

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

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-base);
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255,255,255,0.2);
}

.btn-outline {
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
    padding: 0.6rem 1.2rem;
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.7) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Glassmorphism Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
}

.glass:hover {
    transform: translateY(-5px);
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Split Layout (AI Section) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.split-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.split-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.feature-list strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.split-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
}

.glow-effect {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 100px rgba(0, 210, 255, 0.1);
    background: linear-gradient(135deg, rgba(0,210,255,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,230,118,0.05) 100%);
    pointer-events: none;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 3rem 2rem;
    background: linear-gradient(180deg, rgba(16, 24, 39, 0) 0%, rgba(16, 24, 39, 0.5) 100%);
    border-bottom: 2px solid var(--accent-primary);
    border-radius: 8px;
}

.stat-card:nth-child(2) { border-bottom-color: var(--accent-secondary); }
.stat-card:nth-child(3) { border-bottom-color: #8b5cf6; }

.stat-value {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 3rem 0;
    background: var(--bg-darker);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add hamburger menu for mobile in production */
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Animated mock chat terminal */
.mock-chat-container {
    background-color: rgba(10, 15, 25, 0.85);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    color: var(--text-color);
    width: 100%;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.chat-header {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.chat-dot.red { background-color: #ff5f56; }
.chat-dot.yellow { background-color: #ffbd2e; }
.chat-dot.green { background-color: #27c93f; }

.chat-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-left: 1rem;
    letter-spacing: 1px;
}

.chat-body {
    padding: 1.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-msg {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    animation: fadeInMsg 0.5s ease forwards;
}

.chat-msg .avatar {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    width: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.chat-msg.ai .avatar {
    background-color: rgba(0, 255, 204, 0.1);
    color: var(--primary-color);
    border-color: rgba(0, 255, 204, 0.3);
}

.chat-msg-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.chat-msg-content p {
    margin: 0;
}

.chat-msg.ai .chat-msg-content {
    background-color: rgba(0, 255, 204, 0.05);
    border-color: rgba(0, 255, 204, 0.2);
    color: #a0aec0;
}

.chat-msg.op { animation-delay: 0.5s; }
.chat-msg.ai.thinking { 
    animation-delay: 2s; 
    animation-duration: 0.5s;
}

.chat-msg.ai.thinking.fade-out {
    animation: fadeOutMsg 0.5s ease forwards;
    animation-delay: 4.5s;
}

.chat-msg.ai.response { animation-delay: 5s; }

.chat-msg.ai.thinking .chat-msg-content {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 1rem;
}

/* Typing animation block */
.typewriter-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-color);
    width: 0;
    color: #00ffcc;
}

.typewriter-text.l1 { animation: typing 1s steps(30, end) forwards, blink-caret .75s step-end infinite; animation-delay: 5.5s; }
.typewriter-text.l2 { animation: typing 1.5s steps(40, end) forwards, blink-caret .75s step-end infinite; animation-delay: 6.8s; color: #a0aec0; }
.typewriter-text.l3 { animation: typing 1.5s steps(40, end) forwards, blink-caret .75s step-end infinite; animation-delay: 8.5s; color: #a0aec0; }

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: typingDot 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes fadeInMsg {
    to { opacity: 1; position: relative; }
}

@keyframes fadeOutMsg {
    to { opacity: 0; height: 0; margin: 0; padding: 0; overflow: hidden; display: none; }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100%; border-color: transparent }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

@keyframes typingDot {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
