@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ===== CSS Variables ===== */
:root {
    --sage: #A8BFA3;
    --cream: #F6F3EE;
    --dusty-pink: #E5989B;
    --soft-purple: #9B88B4;
    --text-main: #4A4A4A;
    --text-heading: #3E4A3B;
    --text-secondary: #6B705C;
}


/* ===== Event Cards ===== */
.event-card {
    border: 1px solid rgba(168, 191, 163, 0.05);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s;
    cursor: pointer;
    box-shadow: 0 4px 20px -4px rgba(168, 191, 163, 0.15);
}

.event-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px -8px rgba(168, 191, 163, 0.25);
}

.event-card .card-img-top {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.7s;
}

.event-card:hover .card-img-top {
    transform: scale(1.1);
}

.event-card .img-wrapper {
    overflow: hidden;
    position: relative;
}

.badge-category {
    backdrop-filter: blur(8px);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
}

.badge-webinar {
    background: rgba(155, 136, 180, 0.4);
    color: #fff;
    border: 1px solid rgba(155, 136, 180, 0.2);
}

.badge-seminar {
    background: rgba(168, 191, 163, 0.4);
    color: #fff;
    border: 1px solid rgba(168, 191, 163, 0.2);
}

.badge-healing {
    background: rgba(229, 152, 155, 0.4);
    color: #fff;
    border: 1px solid rgba(229, 152, 155, 0.2);
}

/* ===== Filter Pills ===== */
.filter-pills {
    display: flex;
    padding: 4px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid rgba(168, 191, 163, 0.1);
}

.filter-pill {
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s;
}

.filter-pill.active {
    background: var(--sage);
    color: #fff;
    box-shadow: 0 2px 8px rgba(168, 191, 163, 0.3);
}

.filter-pill:hover:not(.active) {
    color: var(--sage);
}

/* ===== Search ===== */
.search-input {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(168, 191, 163, 0.1);
    padding: 10px 16px 10px 44px;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 191, 163, 0.2);
    border-color: rgba(168, 191, 163, 0.3);
}

/* ===== About Section ===== */
.about-image {
    border-radius: 60px;
    box-shadow: 0 4px 20px -4px rgba(168, 191, 163, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-image-glow {
    position: absolute;
    inset: -16px;
    background: rgba(168, 191, 163, 0.2);
    border-radius: 60px;
    filter: blur(24px);
    z-index: -1;
    transition: background 0.7s;
}

.about-stat {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: #fff;
    padding: 2rem;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(168, 191, 163, 0.05);
}

@media (max-width: 768px) {
    .about-stat {
        position: static;
        margin-top: 1rem;
    }
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 191, 163, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    flex-shrink: 0;
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    background: var(--sage);
    color: #fff;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 40px;
    box-shadow: 0 4px 20px -4px rgba(168, 191, 163, 0.15);
    border: 1px solid rgba(168, 191, 163, 0.05);
    position: relative;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3.5rem;
    color: rgba(168, 191, 163, 0.1);
    line-height: 1;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid var(--cream);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== Footer ===== */
.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(168, 191, 163, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social:hover {
    background: var(--sage);
    color: #fff;
}

/* ===== SOPHIE Chat Widget ===== */
.sophie-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
}

.sophie-fab-btn {
    background: var(--soft-purple);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 14px 24px;
    box-shadow: 0 4px 20px -4px rgba(155, 136, 180, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.sophie-fab-btn:hover {
    box-shadow: 0 8px 30px rgba(155, 136, 180, 0.5);
    color: #fff;
}

.sophie-fab-btn .pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--dusty-pink);
    border-radius: 50%;
    border: 2px solid var(--soft-purple);
    position: absolute;
    top: -2px;
    right: -2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.sophie-chat-window {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    width: 380px;
    max-width: calc(100vw - 2rem);
    height: 540px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(168, 191, 163, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1060;
}

.sophie-chat-window.show {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sophie-chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(168, 191, 163, 0.1);
}

.sophie-avatar-chat {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--soft-purple);
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.sophie-avatar-chat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sophie-online-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.sophie-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: rgba(246, 243, 238, 0.3);
}

.sophie-msg-bubble {
    max-width: 85%;
    padding: 1rem;
    border-radius: 16px;
    font-size: 0.8rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sophie-msg-bubble.assistant {
    background: #fff;
    color: var(--text-secondary);
    border: 1px solid rgba(168, 191, 163, 0.1);
    border-top-left-radius: 0;
    margin-right: auto;
}

.sophie-msg-bubble.user {
    background: var(--dusty-pink);
    color: #fff;
    border-top-right-radius: 0;
    margin-left: auto;
}

.sophie-chat-input {
    padding: 1rem;
    border-top: 1px solid rgba(168, 191, 163, 0.1);
}

.sophie-chat-input input {
    background: var(--cream);
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 12px 50px 12px 20px;
    font-size: 0.875rem;
    width: 100%;
    transition: all 0.3s;
}

.sophie-chat-input input:focus {
    outline: none;
    border-color: rgba(168, 191, 163, 0.3);
    box-shadow: 0 0 0 3px rgba(168, 191, 163, 0.2);
}

.sophie-send-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--soft-purple);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--sage);
    border-radius: 50%;
    animation: bounce 1s infinite;
    margin: 0 2px;
}

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

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

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* ===== Booking Modal ===== */
.modal-booking .modal-content {
    border-radius: 40px;
    border: none;
    overflow: hidden;
    background: var(--cream);
}

.modal-booking .modal-header {
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(168, 191, 163, 0.1);
    padding: 1.5rem 2rem;
}

.modal-booking .modal-body {
    padding: 2rem;
}

.modal-booking .modal-footer {
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(168, 191, 163, 0.1);
    padding: 1.5rem 2rem;
}

.booking-detail-img {
    border-radius: 24px;
    object-fit: cover;
}

.booking-info-card {
    padding: 1rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 191, 163, 0.05);
}

.booking-input {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 191, 163, 0.1);
    padding: 1rem 1rem 1rem 3rem;
}

.booking-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 191, 163, 0.2);
    border-color: rgba(168, 191, 163, 0.3);
}

.payment-summary {
    background: rgba(168, 191, 163, 0.1);
    border: 1px dashed rgba(168, 191, 163, 0.2);
    border-radius: 24px;
    padding: 1.5rem;
}

.payment-option {
    padding: 1rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 191, 163, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover,
.payment-option.selected {
    border-color: var(--sage);
}

.payment-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(168, 191, 163, 0.3);
    flex-shrink: 0;
}

.payment-option.selected .payment-radio {
    border-color: var(--sage);
    background: var(--sage);
    box-shadow: inset 0 0 0 3px #fff;
}

.ticket-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(168, 191, 163, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 360px;
}

.ticket-notch {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--cream);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.ticket-notch.left {
    left: -16px;
}

.ticket-notch.right {
    right: -16px;
}

.qr-placeholder {
    width: 128px;
    height: 128px;
    background: var(--text-main);
    border-radius: 12px;
    padding: 8px;
}

.qr-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    padding: 8px;
}

.qr-cell {
    border-radius: 2px;
}

/* ===== Utility ===== */
.rounded-4xl {
    border-radius: 32px;
}

.rounded-5xl {
    border-radius: 40px;
}

.shadow-soft {
    box-shadow: 0 4px 20px -4px rgba(168, 191, 163, 0.15);
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.no-empty {
    display: none;
}

.no-empty.show {
    display: block;
}

/* ===== Animations ===== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media(max-width:768px) {
    .filter-pills {
        display: inline;
    }
}