/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1E293B;
    background-color: #F9FAFB;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
}

h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #E0F2FE;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 48px;
    width: 48px;
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.logo-text h1 {
    color: #1E293B;
    margin: 0;
}

.subtitle {
    font-size: 0.875rem;
    color: #64748B;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #1E293B;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-link:hover {
    color: #2563EB;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2563EB;
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: #1E40AF;
    box-shadow: 0 6px 8px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #2563EB;
    color: #2563EB;
}

.btn-outline:hover {
    background-color: #E0F2FE;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-blue {
    background-color: #E0F2FE;
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-green {
    background-color: #D1FAE5;
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-red {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #E0F2FE, #ffffff, #F9FAFB);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, #2563EB 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: #1E293B;
    margin: 1.5rem 0;
}

.hero-description {
    font-size: 1.125rem;
    color: #64748B;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #E0F2FE;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pulse-icon {
    height: 40px;
    width: 40px;
    background: linear-gradient(135deg, #2563EB, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-badge-title {
    font-size: 0.875rem;
    color: #1E293B;
    font-weight: 500;
}

.hero-badge-subtitle {
    font-size: 0.75rem;
    color: #64748B;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.bg-white {
    background-color: #ffffff;
}

.bg-light {
    background-color: #F9FAFB;
}

.bg-light-blue {
    background: linear-gradient(135deg, #E0F2FE, #ffffff);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: #1E293B;
    margin: 1rem 0;
}

.section-description {
    color: #64748B;
    max-width: 48rem;
    margin: 0 auto;
}

.section-footer {
    margin-top: 3rem;
    text-align: center;
}

.footer-text {
    color: #1E293B;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-card-blue {
    background: linear-gradient(135deg, #E0F2FE, #ffffff);
}

.feature-card-blue:hover {
    border-color: #2563EB;
}

.feature-card-green {
    background: linear-gradient(135deg, #D1FAE5, #ffffff);
}

.feature-card-green:hover {
    border-color: #10B981;
}

.feature-card-offset {
    margin-top: 2rem;
}

.feature-icon {
    height: 64px;
    width: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.icon-blue {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
}

.icon-green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.icon-gradient {
    background: linear-gradient(135deg, #2563EB, #10B981);
}

.feature-card h4 {
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #64748B;
    font-size: 0.875rem;
}

.about-content h3 {
    color: #1E293B;
    margin-bottom: 1.5rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}

.benefit-item:hover {
    background-color: #E0F2FE;
}

.benefit-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.benefit-item h4 {
    color: #1E293B;
    margin-bottom: 0.25rem;
}

.benefit-item p {
    color: #64748B;
    font-size: 0.875rem;
}

/* Problems Grid */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: #fca5a5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.problem-icon {
    height: 56px;
    width: 56px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #dc2626;
}

.problem-card h4 {
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.problem-card p {
    color: #64748B;
    font-size: 0.875rem;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: linear-gradient(135deg, #ffffff, rgba(209, 250, 229, 0.2));
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: #10B981;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    height: 56px;
    width: 56px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #10B981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.advantage-card h4 {
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    color: #64748B;
    font-size: 0.875rem;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #E0F2FE;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
}

.step-icon {
    position: relative;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #10B981);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.step-number {
    font-size: 1.125rem;
    color: #2563EB;
    opacity: 0.6;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #64748B;
    font-size: 0.875rem;
}

.step-line {
    display: none;
}

/* Footer */
.footer {
    background-color: #1E293B;
    color: #9ca3af;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    height: 40px;
    width: 40px;
    background: linear-gradient(135deg, #2563EB, #10B981);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.footer-brand-name {
    color: white;
    font-weight: 500;
    margin: 0;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: #9ca3af;
}

.footer-description {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2563EB;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-team {
    color: #2563EB;
    transition: color 0.3s ease;
}

.footer-team:hover {
    color: #10B981;
}

/* Chatbot Button */
.chatbot-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    height: 64px;
    width: 64px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #2563EB, #10B981);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #10B981;
    color: white;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

/* Chatbot Dialog */
.chatbot-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 60;
    display: none;
}

.chatbot-overlay.active {
    display: block;
}

.chatbot-dialog {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 500px;
    height: 600px;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 70;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-dialog.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(90deg, #2563EB, #10B981);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #10B981);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
}

.chatbot-header p {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.close-button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: #F9FAFB;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chatbot-messages::-webkit-scrollbar {
    display: none;
}

.message {
    display: flex;
    max-width: 80%;
}

.message.user {
    align-self: flex-end;
    margin-left: auto;
}

.message.bot {
    align-self: flex-start;
}

.message-content {
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.message.user .message-content {
    background-color: #2563EB;
    color: white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.message.bot .message-content {
    background-color: white;
    color: #1E293B;
    border: 1px solid #E0F2FE;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.voice-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.voice-play-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background-color: #ffffff;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.voice-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.voice-play-button:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.4);
    outline-offset: 3px;
}

.voice-play-button .icon {
    position: relative;
    width: 0;
    height: 0;
    border-left: 14px solid currentColor;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 2px;
    transition: all 0.2s ease;
}

.voice-play-button.playing .icon {
    width: 14px;
    height: 16px;
    border: none;
    margin-left: 0;
}

.voice-play-button.playing .icon::before,
.voice-play-button.playing .icon::after {
    content: "";
    position: absolute;
    top: 0;
    width: 5px;
    height: 16px;
    background: currentColor;
}

.voice-play-button.playing .icon::after {
    right: 0;
}

.voice-play-button.playing .icon::before {
    left: 0;
}

.voice-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.voice-label {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

.voice-time {
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

.voice-menu {
    border: none;
    background: transparent;
    color: #1E293B;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.voice-menu:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.voice-menu:hover {
    color: #2563EB;
}

.voice-menu-dots {
    position: relative;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.voice-menu-dots::before,
.voice-menu-dots::after {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.voice-menu-dots::before {
    top: -7px;
}

.voice-menu-dots::after {
    top: 7px;
}

.voice-message audio {
    display: none;
}

.message.user .voice-play-button {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.message.user .voice-label,
.message.user .voice-time {
    color: rgba(255, 255, 255, 0.92);
}

.message.user .voice-menu {
    color: rgba(255, 255, 255, 0.85);
}

.message.user .voice-menu:hover {
    color: #ffffff;
}

.message.user .voice-menu-dots,
.message.user .voice-menu-dots::before,
.message.user .voice-menu-dots::after {
    background: currentColor;
}

.message-text {
    font-size: 0.875rem;
    margin: 0;
    white-space: pre-line;
}

.message-time {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.message.user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.message.bot .message-time {
    color: #64748B;
}

.typing-indicator {
    display: flex;
    align-self: flex-start;
    max-width: 80%;
}

.typing-content {
    background-color: white;
    border: 1px solid #E0F2FE;
    border-radius: 0.5rem;
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.typing-label {
    font-size: 0.8125rem;
    color: #475569;
    letter-spacing: 0.2px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #E0F2FE;
    border-top-color: #2563EB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.chatbot-input-area {
    padding: 1rem;
    border-top: 1px solid #E0F2FE;
    background-color: white;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.chatbot-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.voice-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background-color: #ffffff;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.voice-button svg {
    width: 20px;
    height: 20px;
}

.voice-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.voice-button:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.4);
    outline-offset: 3px;
}

.voice-button.recording {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
    border-color: transparent;
    animation: pulseGlow 1.3s ease-in-out infinite;
}

.voice-button.recording svg {
    color: currentColor;
}

#chatInput {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#chatInput:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.send-button {
    padding: 0.75rem;
    background: linear-gradient(135deg, #2563EB, #10B981);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.send-button:hover {
    background: linear-gradient(135deg, #1E40AF, #059669);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.4);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-footer-text {
    text-align: center;
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        display: none;
    }

    .chatbot-dialog {
        width: calc(100vw - 3rem);
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .problems-grid,
    .advantages-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-offset {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .chatbot-dialog {
        bottom: 1.5rem;  /* push slightly above bottom */
        right: 1.5rem;   /* small margin from right */
        left: auto;       /* don't stretch to left */
        width: 90%;       /* small window, not full width */
        max-width: 400px; /* optional: limit max width */
        height: 500px;    /* fixed height like desktop */
        border-radius: 1rem; /* rounded corners like desktop */
    }
}

/* Hamburger Button */
.hamburger-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #1E293B;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 80px; /* adjust based on header height */
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    z-index: 90;
}

.mobile-nav-link {
    color: #1E293B;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.mobile-nav-link:hover {
    color: #2563EB;
}

/* Show hamburger only on mobile */
@media (max-width: 1024px) {
    .hamburger-button {
        display: flex;
    }
}

/* Show mobile nav when active */
.mobile-nav.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hamburger-button.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-button.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-button.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

