/* TechSode Branding Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.accent {
    color: #2D6CDF;
}

.btn-accent {
    background-color: #2D6CDF;
    border-color: #2D6CDF;
    color: white;
}

.btn-accent:hover {
    background-color: #1e4a9e;
    border-color: #1e4a9e;
    color: white;
}

.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.badge {
    font-size: 0.75em;
}

.breadcrumb {
    background-color: transparent;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.navbar-brand {
    font-weight: bold;
    color: #2D6CDF !important;
}

.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 50px;
}

.hero-section {
    background: linear-gradient(135deg, #2D6CDF 0%, #1e3f7d 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-img {
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.feature-img {
    width: 200px;
    height: 200px;
    max-width: 100%;
    object-fit: cover;
}

.btn-get-started {
    font-size: 1.1rem;
    padding: 12px 40px;
}

.screen-nav {
    background: linear-gradient(135deg, #2D6CDF 0%, #1e3f7d 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
}

.screen-nav .btn {
    min-width: 120px;
}

/* Form styles */
.form-control:focus {
    border-color: #2D6CDF;
    box-shadow: 0 0 0 0.2rem rgba(45, 108, 223, 0.25);
}

/* Product card styles */
.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.rating {
    color: #ffc107;
}

/* Comparison table */
.table th {
    background-color: #f8f9fa;
}

/* OTP input */
.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    margin: 0 5px;
}

/* Mobile responsiveness */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
        align-items: center;
    }
    .navbar .container {
        flex-wrap: wrap;
    }
    .navbar .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    .navbar .btn + .btn {
        margin-top: 0.5rem;
    }
    .btn-sm {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    .hero-section {
        padding: 50px 15px;
    }
    .btn-get-started {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
    .screen-nav {
        padding: 1rem;
    }
    .screen-nav .btn {
        min-width: auto;
        width: 100%;
    }
    .contact-form-box, .info {
        margin-bottom: 2rem;
    }
}

/* Watermark text overlay for prototype note */
body::before {
    content: "This is Prototype";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(0,0,0,0.08);
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    body::before {
        font-size: 3rem;
    }
}

/* Chat Widget Styles */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2D6CDF 0%, #1e3f7d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1040;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.chat-panel {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateY(100%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1041;
}

.chat-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, #2D6CDF 0%, #1e3f7d 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 12px;
    display: flex;
}

.message-content {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: #2D6CDF;
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-message {
    justify-content: flex-start;
}

.ai-message .message-content {
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #2D6CDF;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.chat-input-container {
    border-top: 1px solid #e9ecef;
    background: white;
    border-radius: 0 0 12px 12px;
}

.quick-suggestions {
    padding: 12px 16px 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.suggestion-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #2D6CDF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-btn:hover {
    background: #2D6CDF;
    color: white;
    border-color: #2D6CDF;
}

.chat-input-wrapper {
    display: flex;
    padding: 12px 16px;
    gap: 8px;
    align-items: center;
}

#chat-input {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

#chat-input:focus {
    border-color: #2D6CDF;
    box-shadow: 0 0 0 2px rgba(45, 108, 223, 0.1);
}

.chat-send-btn {
    background: #2D6CDF;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chat-send-btn:hover {
    background: #1e4a9e;
}

/* Mobile responsiveness for chat */
@media (max-width: 768px) {
    .chat-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .chat-panel {
        bottom: 75px;
        right: 15px;
        left: 15px;
        width: auto;
        height: 400px;
    }

    .quick-suggestions {
        padding: 8px 12px 4px;
    }

    .suggestion-btn {
        font-size: 11px;
        padding: 4px 8px;
    }

    .chat-input-wrapper {
        padding: 8px 12px;
    }

    #chat-input {
        font-size: 13px;
        padding: 6px 12px;
    }
}
