/* ===== BASE STYLES ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(110deg, #2b4250 0%, #2e3261 100%);
    color: #111827;
    overflow-x: hidden;
}


/* ===== CUSTOM NAVBAR STYLES ===== */

nav {
    background-color: #333;
    border-radius: 10px;
}

.navbar-custom {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid #f0f2f5;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FF6B2C 0%, #FF8A4C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    font-weight: 500;
    color: #64df12 !important;
    margin: 0 0.25rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #e9700ef5 !important;
    padding: 10px;
    border-radius: 5px;
    background-color: white;
}

span {
    color: orangered;
    font-size: 30px;
    background-color: rgba(144, 153, 228, 0.267);
    border-radius: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 10px;
    margin: 0px;
    display: inline-block;
}

.hub {
    color: rgb(0, 195, 255);
    font-size: 30px;
    background-color: rgba(51, 56, 105, 0.267);
    border-radius: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 10px;
    display: inline-block;
}


/* ===== BUTTON STYLES ===== */

.btn-outline-custom {
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    color: #1e293b;
    transition: 0.2s;
}

.btn-outline-custom:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-primary-custom {
    background-color: #74f71e;
    border: none;
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    color: white;
    transition: all 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: #e55a1e;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 107, 44, 0.2);
}

.btn-google-style {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 48px;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    color: #1f2937;
    transition: 0.2s;
    width: 100%;
}

.btn-google-style i {
    color: #FF6B2C;
    margin-right: 8px;
}

.btn-google-style:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}


/* ===== HERO SECTION STYLES ===== */

.hero-badge {
    background: #fef3e8;
    color: #FF6B2C;
    border-radius: 40px;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hero-gradient {
    background: linear-gradient(135deg, #FF6B2C, #FFAA6E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.2rem;
    color: #fff;
    max-width: 550px;
    margin-top: 1rem;
}


/* ===== FEATURE CARDS ===== */

.feature-card {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    border-color: #ffe4d6;
}

.feature-icon {
    background: #fef6f0;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}

.feature-icon i {
    font-size: 28px;
    color: #FF6B2C;
}

.feature-title {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}


/* ===== STATS SECTION ===== */

.stats-section {
    background: #fafcff;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6B2C;
}


/* ===== FOOTER STYLES ===== */

.footer-link {
    color: #d2d9e2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

h6 {
    color: #f36e16;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #FF6B2C;
}


/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-sub {
        font-size: 1rem;
    }
    .navbar-custom .btn-primary-custom,
    .navbar-custom .btn-outline-custom {
        margin-top: 6px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .feature-card {
        padding: 1.2rem;
    }
    .btn-primary-custom,
    .btn-google-style {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-badge {
        font-size: 0.75rem;
    }
}


/* ===== UTILITY CLASSES ===== */

.text-primary-emphasis {
    color: #FF6B2C !important;
}

.bg-light-soft {
    background-color: #fef6f0;
}


/* ========================================== */


/* AI CHAT BUTTON & MODAL STYLES ONLY */


/* ========================================== */


/* Floating Chat Button */

.ai-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B2C, #FF8C42);
    border: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(255, 107, 44, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.ai-chat-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(255, 107, 44, 0.6);
    background: linear-gradient(135deg, #FF8C42, #FF6B2C);
}


/* Pulse Animation */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 44, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 44, 0);
    }
}


/* Chat Modal Container */

.chat-modal {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-modal.hidden {
    display: none;
}


/* Chat Header */

.chat-header {
    background: linear-gradient(110deg, #2b4250, #2e3261);
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.chat-header span i {
    margin-right: 8px;
    font-size: 20px;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.chat-header button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}


/* Chat Messages Area */

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* Custom Scrollbar */

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #FF6B2C;
    border-radius: 10px;
}


/* Message Bubbles */

.message {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message .bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.message.user .bubble {
    background: linear-gradient(135deg, #FF6B2C, #FF8C42);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message.bot .bubble {
    background: white;
    color: #1e2a3e;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}


/* Typing Indicator */

.typing-indicator {
    font-style: italic;
    color: #888;
    font-size: 12px;
    padding: 8px 12px;
    background: white;
    border-radius: 18px;
    display: inline-block;
    border: 1px solid #e9ecef;
}


/* Chat Input Area */

.chat-input-area {
    display: flex;
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 30px;
    padding: 12px 18px;
    outline: none;
    font-size: 14px;
    transition: 0.2s;
}

.chat-input-area input:focus {
    border-color: #FF6B2C;
    box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.1);
}

.chat-input-area button {
    background: #FF6B2C;
    border: none;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-input-area button:hover {
    background: #e05a1f;
    transform: scale(1.05);
}


/* Mobile Responsive */

@media (max-width: 576px) {
    .ai-chat-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    .chat-modal {
        width: calc(100% - 40px);
        max-width: 350px;
        height: 500px;
        bottom: 90px;
        right: 20px;
    }
    .chat-header {
        padding: 15px;
        font-size: 14px;
    }
    .chat-messages {
        padding: 15px;
    }
    .message .bubble {
        max-width: 90%;
        padding: 10px 14px;
        font-size: 13px;
    }
    .chat-input-area {
        padding: 12px;
    }
    .chat-input-area input {
        padding: 10px 15px;
        font-size: 13px;
    }
    .chat-input-area button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}