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

:root {
    --primary-color: #111827;
    --primary-dark: #0b1220;
    --primary-light: #1f2937;
    --secondary-color: #0f172a;
    --text-dark: #0b1120;
    --text-light: #4b5563;
    --text-primary: #0b1120;
    --text-secondary: #4b5563;
    --bg-light: #f5f5f4;
    --bg-white: #ffffff;
    --gradient-start: #111827;
    --gradient-end: #1f2937;
    --border-strong: rgba(15, 23, 42, 0.16);
    --border-soft: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 32px 64px rgba(15, 23, 42, 0.16);
    --mono-font: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    --heading-font: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    letter-spacing: -0.01em;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(249, 250, 251, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--mono-font);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--primary-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, var(--border-soft) 1px, transparent 0),
        linear-gradient(180deg, var(--border-soft) 1px, transparent 0);
    background-size: 38px 38px;
    opacity: 0.4;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 90%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(17, 24, 39, 0.12) 0%, rgba(17, 24, 39, 0) 70%);
    filter: blur(0px);
    z-index: -1;
}

.hero-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 560px;
}

.hero-copy,
.hero-terminal {
    position: relative;
}

.hero-eyebrow {
    font-family: var(--mono-font);
    font-size: 0.875rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-title {
    font-size: clamp(2.75rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.1;
}

.hero-title-accent {
    display: inline-block;
    font-family: var(--mono-font);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-light);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.hero-terminal {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-soft);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(8px);
}

.hero-terminal-tabs {
    display: flex;
    gap: 0.5rem;
    font-family: var(--mono-font);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-tab {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--text-light);
}

.hero-tab.active {
    border-color: var(--border-strong);
    color: var(--primary-color);
}

.hero-code-block {
    background: #0f172a;
    color: #e5e7eb;
    font-family: var(--mono-font);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1.5rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow-x: auto;
    text-align: center;
}

.hero-code-block code {
    white-space: pre;
    display: inline-block;
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-dark {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover,
.btn-dark:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-soft);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--border-strong);
    color: var(--primary-dark);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.btn-ghost:hover .btn-arrow,
.btn-ghost:focus-visible .btn-arrow {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

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

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-divider {
    width: 100px;
    height: 1px;
    background: var(--border-soft);
    margin: 1.5rem auto;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-soft);
}

.about-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(245, 245, 244, 1) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.25rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border: 1px solid var(--border-soft);
    background: rgba(15, 23, 42, 0.06);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: 700;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-soft);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.6);
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
    background: rgba(15, 23, 42, 0.06);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1.5px solid var(--border-soft);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.error-message {
    font-size: 0.875rem;
    color: #dc2626;
    margin-top: 0.25rem;
    min-height: 1.25rem;
    display: block;
}

.form-status {
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1.5px solid #10b981;
}

.form-status.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1.5px solid #dc2626;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: #0b1120;
    color: #e5e7eb;
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-family: var(--mono-font);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f9fafb;
}

.footer-brand p {
    color: rgba(248, 250, 252, 0.65);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(248, 250, 252, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(148, 163, 184, 0.12);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248, 250, 252, 0.8);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(248, 250, 252, 0.18);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: rgba(203, 213, 225, 0.75);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }


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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .service-card,
    .stat-card {
        padding: 1.5rem;
    }
}

/* ============================================
   Fase 2 SEO & Accessibility Updates
   ============================================ */

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 100;
    transition: top 0.2s;
    font-weight: 500;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Contact Labels (replaced H4) */
.contact-label {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: block;
}

/* Footer Headings (replaced H4) */
.footer-heading {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Form Accessibility Elements */
.form-status {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.error-message:not(:empty) {
    display: block;
}

.form-hint {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* ============================================
   AI Chatbot Widget
   ============================================ */

.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-center: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

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

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.chatbot-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px 16px 0 0;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.chatbot-status {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chatbot-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f9fafb;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.chatbot-message {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.bot-message .message-content {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-soft);
    border-radius: 12px 12px 12px 4px;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 12px 12px 4px 12px;
}

.chatbot-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--border-soft);
    background: white;
}

.chatbot-typing {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.chatbot-typing span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.chatbot-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-input-form {
    display: flex;
    gap: 8px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--border-soft);
    border-radius: 24px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.chatbot-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.chatbot-send-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.chatbot-send-btn:active {
    transform: scale(0.95);
}

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

/* Quick Action Buttons */
.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.quick-action-btn {
    padding: 8px 14px;
    background: white;
    border: 1.5px solid var(--border-soft);
    border-radius: 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-dark);
    font-weight: 500;
}

.quick-action-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 16px;
        right: 16px;
    }

    .chatbot-toggle {
        width: 56px;
        height: 56px;
    }

    .chatbot-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        bottom: 76px;
    }
}

/* ============================================
   Embedded AI Chatbot Interface (Main Contact Section)
   ============================================ */

.contact-content-new {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Microsoft Form Container */
.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 1rem;
}

.form-container iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: none;
}

/* Chat Interface Container */
.chat-interface-container {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    height: 650px;
}

.chat-interface-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1.5rem;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-header-content h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.chat-status {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0.25rem 0 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px;
    border-radius: 8px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--mono-font);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Chat Messages */
.main-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-chat-messages::-webkit-scrollbar {
    width: 8px;
}

.main-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.main-chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.quick-action-btn {
    padding: 10px 16px;
    background: white;
    border: 1.5px solid var(--border-soft);
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-action-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.quick-action-btn:active {
    transform: translateY(0);
}

/* Main Chat Input Area */
.main-chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid var(--border-soft);
    background: white;
}

.main-chatbot-typing {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.main-chatbot-typing span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.main-chatbot-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.main-chatbot-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

.main-chatbot-form {
    display: flex;
    gap: 10px;
}

.main-chatbot-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border-soft);
    border-radius: 28px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
}

.main-chatbot-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.main-chatbot-send-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.main-chatbot-send-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.main-chatbot-send-btn:active {
    transform: scale(0.95);
}

.main-chatbot-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .contact-content-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-container {
        min-height: 400px;
    }

    .form-container iframe {
        min-height: 400px;
    }

    .chat-interface-container {
        height: 550px;
    }
}

@media (max-width: 768px) {
    .contact-info-cards {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }

    .contact-card {
        min-width: 200px;
        padding: 1.5rem;
    }

    .form-container {
        min-height: 400px;
        padding: 0.5rem;
    }

    .form-container iframe {
        min-height: 400px;
    }

    .chat-interface-container {
        height: 500px;
    }

    .quick-actions {
        padding: 0 1rem;
    }

    .quick-action-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}
