/* ================================================
   AI Components Styles
   HandyGuru.nl - WhatsApp AI Bot Integration
   Version: 1.0.0
   Date: 2025-12-22
   ================================================ */

/* Hero CTA Note */
.hero__cta-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--neutral-700, #666);
    text-align: center;
}

/* Button Pulse Animation */
.btn--pulse {
    position: relative;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

/* ================================================
   AI STATUS BAR
   ================================================ */

.ai-status-bar {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    animation: slideDown 0.5s ease-out;
}

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

.ai-status-bar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-item--online {
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 1);
    animation: pulse-dot 2s infinite;
}

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

.status-icon {
    fill: white;
    opacity: 0.9;
}

.status-text {
    white-space: nowrap;
}

.status-counter {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.25rem;
    animation: pulse-counter 3s infinite;
}

@keyframes pulse-counter {
    0%, 100% {
        background: rgba(255, 255, 255, 0.2);
    }
    50% {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* Status Bar Responsive */
@media (max-width: 768px) {
    .ai-status-bar {
        padding: 0.6rem 0;
    }

    .ai-status-bar__content {
        gap: 0.75rem;
        justify-content: center;
    }

    .status-item {
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .status-dot {
        width: 8px;
        height: 8px;
    }

    .status-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .ai-status-bar__content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        text-align: center;
    }

    .status-item {
        justify-content: center;
        font-size: 0.75rem;
    }
}

/* ================================================
   CONTACT SECTION - AI BOT CARD
   ================================================ */

.contact-primary {
    margin-bottom: 3rem;
}

.ai-bot-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.ai-bot-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: badge-bounce 2s infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.ai-bot-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-900, #1a1a1a);
}

.ai-bot-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0891b2;
    margin-bottom: 2rem;
}

/* AI Bot Features Grid */
.ai-bot-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.ai-bot-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ai-bot-features .feature svg {
    fill: #0891b2;
}

.ai-bot-features .feature span {
    font-size: 0.9rem;
    color: var(--neutral-700, #666);
    font-weight: 500;
}

/* Quick Questions */
.quick-questions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px dashed #bae6fd;
}

.quick-questions p {
    font-size: 0.95rem;
    color: var(--neutral-700, #666);
    margin-bottom: 1rem;
}

.quick-question-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.quick-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: white;
    color: #0891b2;
    border: 2px solid #bae6fd;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: #0891b2;
    color: white;
    border-color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Button XL Size */
.btn--xl {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ================================================
   SECONDARY CONTACT METHODS
   ================================================ */

.contact-secondary {
    margin: 3rem 0;
}

.contact-secondary h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--neutral-800, #333);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-method {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.contact-method__icon {
    margin-bottom: 1rem;
}

.contact-method__icon svg {
    fill: var(--primary-orange, #FF6600);
}

.contact-method h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900, #1a1a1a);
}

.contact-method__number,
.contact-method__email {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0891b2;
    margin: 0.5rem 0;
}

.contact-method__note {
    font-size: 0.9rem;
    color: var(--neutral-600, #666);
    margin: 1rem 0;
    line-height: 1.6;
}

.contact-method__hours {
    font-size: 0.85rem;
    color: var(--neutral-500, #777);
    margin: 0.5rem 0 1.5rem;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary-orange, #FF6600);
    color: var(--primary-orange, #FF6600);
}

.btn--outline:hover {
    background: var(--primary-orange, #FF6600);
    color: white;
}

/* ================================================
   AI BOT FAQ
   ================================================ */

.ai-bot-faq {
    margin: 3rem 0;
    padding: 2rem;
    background: #fef3c7;
    border-radius: 16px;
}

.ai-bot-faq h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--neutral-900, #1a1a1a);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item strong {
    display: block;
    font-size: 1rem;
    color: var(--neutral-900, #1a1a1a);
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--neutral-600, #666);
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   TRUST BADGES
   ================================================ */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge svg {
    fill: #10b981;
}

.trust-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neutral-700, #666);
}

/* ================================================
   FLOATING WHATSAPP BUTTON
   ================================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.floating-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.wa-icon {
    fill: white;
}

.wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #25D366;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Floating Tooltip */
.floating-wa-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.floating-whatsapp:hover .floating-wa-tooltip {
    opacity: 1;
}

.tooltip-content strong {
    display: block;
    font-size: 1rem;
    color: var(--neutral-900, #1a1a1a);
    margin-bottom: 0.25rem;
}

.tooltip-content p {
    font-size: 0.85rem;
    color: var(--neutral-600, #666);
    margin: 0;
}

/* ================================================
   AI INTRODUCTION MODAL
   ================================================ */

.ai-intro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modal-appear 0.3s ease;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-700, #666);
}

.modal-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ai-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--neutral-900, #1a1a1a);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--neutral-600, #666);
    font-size: 1rem;
}

.modal-body .feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.modal-body .feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    fill: #10b981;
}

.modal-body .feature strong {
    display: block;
    font-size: 1rem;
    color: var(--neutral-900, #1a1a1a);
    margin-bottom: 0.25rem;
}

.modal-body .feature p {
    font-size: 0.9rem;
    color: var(--neutral-600, #666);
    margin: 0;
    line-height: 1.5;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn--ghost {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: var(--neutral-700, #666);
}

.btn--ghost:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .ai-bot-card {
        padding: 1.5rem;
    }

    .ai-bot-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .quick-question-btns {
        flex-direction: column;
    }

    .quick-btn {
        width: 100%;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
    }

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

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
    }

    .floating-wa-btn {
        width: 56px;
        height: 56px;
    }

    .floating-wa-tooltip {
        display: none;
    }

    .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .ai-avatar {
        font-size: 3rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .cta-group {
        gap: 0.75rem;
    }

    .btn--xl {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero__cta-note {
        font-size: 0.85rem;
    }

    .ai-bot-card h3 {
        font-size: 1.5rem;
    }

    .ai-bot-number {
        font-size: 1.2rem;
    }

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