:root {
    --bg-dark: #070709;
    --primary: #00e5ff;
    --primary-dark: #008ba3;
    --accent-purple: #b388ff;
    --accent-blue: #2979ff;
    --text-main: #ffffff;
    --text-muted: #a0aab2;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Mesh */
.bg-mesh {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(0, 139, 163, 0.05), transparent 40%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
}

.blob-1 { width: 500px; height: 500px; background: var(--primary-dark); top: -200px; left: -150px; }
.blob-2 { width: 600px; height: 600px; background: rgba(179, 136, 255, 0.2); bottom: -100px; right: -200px; }
.blob-3 { width: 400px; height: 400px; background: rgba(41, 121, 255, 0.15); top: 30%; left: 40%; }

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
}

.glass-nav {
    background: rgba(7, 7, 9, 0.7);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 16px; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); }

.btn-white { background: #fff; color: #000; }
.btn-outline-white { border: 1px solid #fff; color: #fff; background: transparent; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #000;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 60px;
}

.nav-links {
    display: flex; gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.nav-actions { display: flex; gap: 16px; }

.mobile-menu-toggle {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 101;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-pill.warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-buttons { display: flex; gap: 20px; margin-bottom: 48px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item h3 { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.stat-item p { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* Mockup UI */
.mockup-tilt {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -20px 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0, 229, 255, 0.1);
}

.mockup-tilt:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.mockup-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.mockup-header {
    background: rgba(255,255,255,0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.mockup-title { flex-grow: 1; text-align: center; font-size: 12px; color: var(--text-muted); }

.mockup-body {
    display: flex;
    height: 400px;
}

.chat-sidebar {
    width: 220px;
    border-right: 1px solid var(--glass-border);
    padding: 16px 0;
}

.chat-item {
    display: flex;
    padding: 12px 16px;
    gap: 12px;
    align-items: center;
    transition: background 0.2s;
    cursor: pointer;
}

.chat-item.active { background: rgba(255,255,255,0.05); }

.avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
}

.bg-purple { background: var(--accent-purple); color: #000; }

.chat-info { flex-grow: 1; overflow: hidden; }
.chat-info h4 { font-size: 13px; margin-bottom: 2px; }
.chat-info p { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.chat-meta span { font-size: 10px; color: var(--text-muted); }
.badge { background: var(--primary); color: #000; font-size: 10px; font-weight: bold; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.chat-main { flex-grow: 1; display: flex; flex-direction: column; background: rgba(0,0,0,0.2); }
.chat-header { padding: 16px; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
.chat-header h3 { font-size: 15px; }
.chat-header .actions { display: flex; gap: 16px; color: var(--text-muted); }

.chat-messages { flex-grow: 1; padding: 20px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.msg { padding: 12px 16px; border-radius: 16px; max-width: 80%; font-size: 13px; position: relative; }
.msg.received { background: rgba(255,255,255,0.05); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.sent { background: rgba(0, 229, 255, 0.15); align-self: flex-end; border-bottom-right-radius: 4px; border: 1px solid rgba(0, 229, 255, 0.3); padding-right: 40px;}
.msg-status { position: absolute; right: 10px; bottom: 8px; }
.ticks { font-size: 14px; }
.ticks.read { color: var(--primary); }

.chat-input-area { padding: 16px; border-top: 1px solid var(--glass-border); display: flex; gap: 12px; align-items: center; }
.chat-input-area input { flex-grow: 1; background: rgba(255,255,255,0.05); border: none; padding: 10px 16px; border-radius: 20px; color: #fff; font-size: 13px; }
.btn-send { width: 36px; height: 36px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; }

/* Features */
.features { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 40px; margin-bottom: 16px; letter-spacing: -1px; }
.section-header p { color: var(--text-muted); font-size: 18px; }
.text-center { text-align: center; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { padding: 40px 30px; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); }

.f-icon-wrap { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 28px; }
.bg-blue-glow { background: rgba(41, 121, 255, 0.1); color: #2979ff; border: 1px solid rgba(41, 121, 255, 0.2); box-shadow: 0 0 20px rgba(41, 121, 255, 0.2); }
.bg-purple-glow { background: rgba(179, 136, 255, 0.1); color: #b388ff; border: 1px solid rgba(179, 136, 255, 0.2); box-shadow: 0 0 20px rgba(179, 136, 255, 0.2); }
.bg-orange-glow { background: rgba(255, 152, 0, 0.1); color: #ff9800; border: 1px solid rgba(255, 152, 0, 0.2); box-shadow: 0 0 20px rgba(255, 152, 0, 0.2); }

.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* Split Section */
.split-section { padding: 100px 0; }
.split-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.shield-card { width: 300px; height: 300px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; }
.main-shield { font-size: 80px; color: var(--primary); position: relative; z-index: 2; }
.shield-pulse { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--primary); animation: pulse 2s infinite; opacity: 0.5; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }

.floating-badge { position: absolute; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); padding: 10px 16px; border-radius: 20px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.top-right { top: 20px; right: -40px; }
.bottom-left { bottom: 20px; left: -40px; }

.split-content h2 { font-size: 40px; margin-bottom: 24px; line-height: 1.2; letter-spacing: -1px; }
.split-content p { color: var(--text-muted); font-size: 18px; margin-bottom: 32px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.text-green { color: #4caf50; font-size: 24px; }
.feature-list strong { display: block; color: #fff; margin-bottom: 4px; font-size: 16px; }
.feature-list div { color: var(--text-muted); font-size: 14px; }

/* CTA Section */
.cta-section { padding: 60px 0 100px; text-align: center; }
.cta-box { padding: 60px 40px; background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 139, 163, 0.05)); border: 1px solid rgba(0, 229, 255, 0.2); }
.cta-box h2 { font-size: 36px; margin-bottom: 16px; }
.cta-box p { color: var(--text-muted); margin-bottom: 32px; font-size: 18px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; }

/* Contact Card */
.contact-card {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form {
    padding: 40px;
}

/* Footer */
.footer { border-top: 1px solid var(--glass-border); padding-top: 60px; background: rgba(0,0,0,0.2); }
.footer-content { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 60px; }
.footer-brand { flex: 1; max-width: 320px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; }
.footer-brand h3 { font-size: 20px; margin-top: 12px;}

.footer-links { display: flex; gap: 60px; flex: 2; justify-content: space-between; }
.link-col { flex: 1; min-width: 120px; }
.link-col h4 { font-size: 16px; margin-bottom: 20px; }
.link-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 12px; transition: color 0.3s; }
.link-col a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid var(--glass-border); padding: 24px 0; text-align: center; color: var(--text-muted); font-size: 13px; }

/* Responsive */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu-wrapper {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        height: calc(100vh - 76px);
        background: rgba(7, 7, 9, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
        justify-content: flex-start;
        align-items: stretch;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        margin-left: 0;
        z-index: 99;
    }
    
    .nav-menu-wrapper.active {
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 18px;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--glass-border);
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary);
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-actions .btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    .hero-container, .split-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-buttons { justify-content: center; }
    .feature-grid { grid-template-columns: 1fr; gap: 24px; }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .footer-brand {
        max-width: 100%;
    }
    .footer-brand p {
        margin: 16px auto 0;
    }
    .footer-links {
        width: 100%;
        gap: 30px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .link-col {
        min-width: 150px;
    }
    
    .hero-title { font-size: 56px; }
    
    /* Mockup adjustment for tablet */
    .mockup-tilt {
        transform: none !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    }
    .mockup-tilt:hover {
        transform: scale(1.01) !important;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    
    .split-section { padding: 60px 0; }
    .split-content h2 { font-size: 32px; }
    .split-content p { font-size: 16px; }
    .feature-list li { text-align: left; }
    
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
    
    /* Optimize glass/blobs for performance & fit */
    .blob { display: none; } 
    .shield-card { width: 220px; height: 220px; }
    .main-shield { font-size: 60px; }
    .floating-badge { font-size: 12px; padding: 6px 12px; }
    .top-right { top: 10px; right: -10px; }
    .bottom-left { bottom: 10px; left: -10px; }
}

@media (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    #contact-form {
        padding: 24px 16px;
    }
    
    /* Mobile Chat Mockup layout */
    .chat-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 32px; }
    .hero-stats { gap: 16px; }
    .stat-item h3 { font-size: 24px; }
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-hidden.revealed {
    opacity: 1;
    transform: translateY(0);
}

