/* --- Variables & Reset --- */
:root {
    --bg-dark: #050505; 
    --bg-card: #0f1016; 
    --navbar-bg: #e6e6e6; 
    --navbar-text: #333333;
    --primary-neon: #00f3ff; 
    --secondary-neon: #bc13fe;
    --text-main: #ffffff;
    --text-muted: #e2e8f0; 
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-brand: 'Rajdhani', sans-serif;
    
    /* Footer Specific Colors */
    --footer-bg: #0a0b12; 
    --footer-text: #cfd0d6;
    --icon-bg: #1a1b26;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
    padding-top: 140px;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- 1. Floating Pill Navbar --- */
.navbar-custom {
    background: var(--navbar-bg);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 70px; 
}

.navbar-brand {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.6rem;
    color: #000 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
}

/* --- NAVBAR LOGO STYLE --- */
.nav-logo-img {
    height: 45px; /* Perfect size for pill navbar */
    width: auto;
    object-fit: contain;
}

.navbar-custom .navbar-nav {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.nav-link {
    color: var(--navbar-text) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-link:hover { color: #000 !important; text-shadow: 0 0 1px rgba(0,0,0,0.5); }

.btn-nav-cta {
    background-color: var(--primary-neon);
    color: #000 !important;
    font-weight: 800;
    padding: 10px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}

.btn-nav-cta:hover { background-color: #00dce8; transform: scale(1.05); }

.navbar-toggler { border: none; background: none; color: #000; font-size: 1.5rem; display: none; cursor: pointer; }

@media (max-width: 992px) {
    .navbar-custom { padding: 15px 20px; }
    .navbar-toggler { display: block; }
    .navbar-custom .navbar-nav { 
        display: none !important; position: absolute; top: 80px; left: 0; width: 100%; 
        background: #fff; border-radius: 20px; flex-direction: column !important; 
        padding: 20px; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
    }
    .navbar-custom .navbar-nav.active { display: flex !important; }
    .navbar-nav li { margin-bottom: 15px; }
    .btn-nav-cta { display: none; } 
}

/* --- ATTRACTIVE FOOTER STYLES --- */
.footer-wrapper {
    padding: 50px 20px;
    background-color: var(--bg-dark); 
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    background-color: var(--footer-bg); 
    border-radius: 30px;
    padding: 60px 50px 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
}

/* --- FOOTER LOGO SIZE (Medium) --- */
.logo-img { 
    height: 80px; /* MEDIUM SIZE */
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.logo-text { 
    font-family: var(--font-brand); 
    font-size: 2rem; 
    font-weight: 700; 
    color: #fff; 
}

.footer-desc {
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 30px;
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Icons */
.social-icons { display: flex; gap: 12px; }
.social-btn {
    width: 45px; height: 45px;
    background-color: var(--icon-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}
.social-btn:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* Links */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--footer-text);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--primary-neon); padding-left: 5px; }

/* Creator Link */
.created-by { font-size: 0.95rem; color: var(--footer-text); }
.creator-link { color: #007bff; font-weight: 600; text-decoration: none; margin-left: 5px; }
.creator-link:hover { text-decoration: underline; }

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--footer-text);
    font-size: 0.9rem;
}

.legal-links a {
    color: var(--footer-text);
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}
.legal-links a:hover { color: #fff; }

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container { padding: 40px 25px 25px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .legal-links a { margin: 0 10px; }
    .footer-brand-section { margin-bottom: 40px; }
}

/* --- GLOBAL TEXT VISIBILITY FIXES --- */
.text-muted { color: #e2e8f0 !important; }
small, .small { color: #cbd5e1 !important; }
.text-muted a { color: #fff !important; text-decoration: underline; }
.form-control::placeholder { color: #94a3b8 !important; opacity: 1; }

/* Hero & Sections */
.hero-section { padding: 100px 0; text-align: center; background: radial-gradient(circle at center, #1a1d29 0%, #050505 70%); }
.neon-text { color: #fff; text-shadow: 0 0 10px var(--secondary-neon); }
.card-custom {
    background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px; padding: 30px; transition: 0.3s;
}
.card-custom:hover { transform: translateY(-5px); border-color: var(--secondary-neon); }
.price-tag { color: var(--primary-neon); font-size: 2.5rem; font-weight: 700; }

/* Chat UI (Real Chat) */
.chat-container { background: var(--bg-card); border-radius: 10px; height: 400px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.1); }
.chat-messages { flex: 1; overflow-y: auto; padding: 15px; }
.message { margin-bottom: 10px; max-width: 80%; padding: 10px 15px; border-radius: 15px; font-size: 0.9rem; clear: both; }
.msg-customer { background: rgba(0, 243, 255, 0.15); color: #fff; float: left; border-bottom-left-radius: 2px; }
.msg-admin { background: rgba(188, 19, 254, 0.2); color: #fff; float: right; border-bottom-right-radius: 2px; text-align: right; }
.chat-input-area { padding: 10px; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2); }

/* --- CHAT SIMULATION (Demo) STYLES --- */
.chat-sim-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(0, 234, 255, 0.05) 50%, rgba(5,5,5,0) 100%);
}

.chat-sim-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 16, 22, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

/* UPDATED: Dropdown Styling */
.chat-sim-controls {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0,0,0,0.2);
}

.chat-sim-dropdown {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: #fff;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    appearance: none; /* Remove default arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300f3ff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    transition: all 0.3s ease;
}

.chat-sim-dropdown:hover, .chat-sim-dropdown:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.chat-sim-dropdown option {
    background-color: #0f1016;
    color: #fff;
    padding: 10px;
}

/* Chat Window */
.chat-sim-window {
    height: 450px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.chat-sim-row { display: flex; gap: 10px; width: 100%; opacity: 0; animation: fadeInSlide 0.4s forwards; }
.row-user { justify-content: flex-end; }
.row-bot { justify-content: flex-start; }

.chat-sim-avatar {
    width: 35px; height: 35px;
    border-radius: 50%;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: #1a1b26;
    border: 1px solid rgba(255,255,255,0.1);
}
.chat-sim-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-sim-avatar i { color: #ccc; }

.chat-sim-bubble {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.chat-sim-bubble.bot {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-sim-bubble.user {
    background: linear-gradient(135deg, #0094ff 0%, #00eaff 100%);
    color: #000;
    font-weight: 500;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 234, 255, 0.2);
}

.typing-indicator {
    display: none;
    gap: 5px;
    padding: 15px;
    align-items: center;
}
.typing-dot {
    width: 8px; height: 8px;
    background: #00eaff;
    border-radius: 50%;
    animation: bounce 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 fadeInSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}