@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --primary: #ffffff;
    --accent: #111111;
    --bg-deep: #000000;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --glass-bg: #0a0a0a;
    --glass-border: #222222;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    font-size: 16px;
}

.blob-container {
    display: none;
}
.blob {
    display: none;
}
.blob-1 { display: none; }
.blob-2 { display: none; }
.blob-3 { display: none; }

.navbar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}
.navbar-brand { font-weight: 700; font-size: 24px; color: white !important; }
.navbar-brand span { color: var(--text-white); }

.hero-section {
    padding-top: 140px; 
    padding-bottom: 100px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    color: #ffffff;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #222222;
    box-shadow: 0 0 0 1px #333333;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: 0.5s;
    display: flex;
    flex-direction: column; 
}
.phone-mockup:hover { transform: rotateY(0) rotateX(0); }

.phone-screen {
    flex: 1;
    background: #000000;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-header {
    height: 80px; 
    background: #0a0a0a;
    border-bottom: 1px solid #222;
    padding-top: 30px; 
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
    z-index: 5;
}
.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 100px; height: 20px; background: #222222;
    border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-messages {
    flex: 1;
    padding: 15px;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.phone-input-area {
    height: 50px;
    background: #0a0a0a;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
}
.fake-input {
    flex: 1;
    height: 35px;
    background: #111111;
    border-radius: 6px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    padding-left: 15px;
    color: #a1a1aa;
    font-size: 12px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
    animation: popIn 0.3s forwards ease-out;
    opacity: 0;
    transform: translateY(10px);
}
@keyframes popIn { to { opacity: 1; transform: translateY(0); } }

.msg-bot { background: #111111; border: 1px solid #222; color: #ededed; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user { background: #ffffff; color: #000000; align-self: flex-end; border-bottom-right-radius: 4px; }

.btn-krypella {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #000000;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 1rem;
}
.btn-krypella:hover { background: #e5e5e5; color: #000000; transform: none; }

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: none;
    height: 100%;
}

.nav-pills .nav-link {
    color: var(--text-gray);
    padding: 12px 20px;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: 0.2s;
    text-align: left;
    font-size: 1rem;
}
.nav-pills .nav-link:hover { background: #111111; color: white; }
.nav-pills .nav-link.active { background: #ffffff; color: #000000; font-weight: 500; }

.form-control {
    background: #000000; border: 1px solid var(--glass-border); color: white;
    padding: 12px; border-radius: 8px;
    font-size: 1rem;
}
.form-control:focus { background: #000000; border-color: #555555; color: white; box-shadow: none; }

@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-section .d-flex { justify-content: center; }
    .phone-mockup { margin-top: 50px; transform: scale(0.9); margin-bottom: 20px; }

    .col-lg-3 .glass-panel {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 !important;
        margin-bottom: 10px;
    }
    
    .nav-pills {
        flex-direction: row !important;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .nav-pills::-webkit-scrollbar { display: none; }
    
    .nav-pills .nav-link {
        white-space: nowrap;
        background: #111111;
        border: 1px solid #222222;
        padding: 10px 15px;
        font-size: 14px;
        margin: 0;
    }

    .glass-panel {
        padding: 20px !important;
    }
    
    .tab-pane .row .col-md-4 {
        width: 100%; 
        margin-bottom: 15px;
    }
    
    .fs-4 { font-size: 1.5rem !important; }
    .fs-1 { font-size: 3rem !important; }
    
    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}