/* Base Styles */
:root {
    --primary: #b794f4;
    --primary-dark: #805ad5;
    --secondary: #ec4899;
    --accent: #6366f1;
    --dark: #1a0036;
    --darker: #0f011f;
    --light: #f8fafc;
    --gray: #94a3b8;
    --success: #10b981;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    font-weight: bold;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

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

/* Utility Classes */
.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 70% 50%, transparent 0%, #0a001a 40%),
                radial-gradient(circle at 30% 30%, #b794f410 0%, transparent 30%);
}

/* Chat Bubble Rotations */
.rotate-n5 {
    transform: rotate(-5deg);
}

.rotate-3 {
    transform: rotate(3deg);
}

.rotate-5 {
    transform: rotate(5deg);
}

.rotate-n3 {
    transform: rotate(-3deg);
}

.rotate-n2 {
    transform: rotate(-2deg);
}

.rotate-2 {
    transform: rotate(2deg);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

/* Status Indicators */
.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    border: 2px solid var(--dark);
    position: absolute;
    bottom: 0;
    right: 0;
}

.status-online {
    background-color: var(--success);
}

.status-offline {
    background-color: var(--gray);
}

/* Utility Classes */
.divider {
    width: 1px;
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Text Colors */
.text-primary {
    color: #b794f4;
}

.text-purple-100 {
    color: #f3e8ff;
}

/* Background Colors */
.bg-purple-100 {
    background-color: #f3e8ff;
}

.bg-purple-600 {
    background-color: #9333ea;
}

.bg-pink-600 {
    background-color: #db2777;
}

/* Opacity */
.opacity-20 {
    opacity: 0.2;
}

.opacity-30 {
    opacity: 0.3;
}

/* Blur and Filters */
.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-3xl {
    --tw-blur: blur(32px);
}

.mix-blend-multiply {
    mix-blend-mode: multiply;
}

/* Animation */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Typography */
.gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, var(--primary), var(--primary-dark));
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
        line-height: 1;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #d1d5db;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Card */
.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-0.25rem);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    background-color: rgba(183, 148, 244, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: rgba(183, 148, 244, 0.3);
    transform: translateY(-0.25rem);
}

/* Chat Message Styles */
.chat-container {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    margin-bottom: 1rem;
    height: 15rem;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 1rem;
}

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

.chat-message.bot {
    display: flex;
}

.message-bubble {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.message-bubble.user {
    background-color: var(--primary);
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.message-bubble.bot {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 0.25rem;
}

.message-time {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

.chat-input-container {
    display: flex;
    margin-top: 1rem;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 0.5rem 1rem;
    outline: none;
}

.chat-input:focus {
    box-shadow: 0 0 0 2px rgba(183, 148, 244, 0.3);
}

.chat-send-btn {
    background-color: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 0 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.chat-send-btn:hover {
    background-color: #a57cec;
}

/* Check Icons */
.check-icon {
    color: #10b981;
    margin-right: 0.5rem;
}

/* Feature Tags */
.feature-tag {
    padding: 0.25rem 0.75rem;
    background-color: rgba(183, 148, 244, 0.1);
    color: #b794f4;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    display: inline-block;
}

/* Heart Icon */
.feature-icon i {
    color: #b794f4;
}

/* Divider */
.divider {
    width: 1px;
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Decorative Elements */
.decorative-blob {
    position: absolute;
    border-radius: 9999px;
    mix-blend-mode: multiply;
    filter: blur(32px);
    opacity: 0.3;
    animation: blob 7s infinite;
}

.decorative-blob.purple {
    background-color: #9333ea;
    width: 16rem;
    height: 16rem;
    top: 25%;
    left: 25%;
}

.decorative-blob.pink {
    background-color: #db2777;
    width: 18rem;
    height: 18rem;
    top: 50%;
    right: 25%;
    opacity: 0.2;
    animation-delay: 2s;
}

/* Avatar Styles */
.avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    border-width: 2px;
    background-size: cover;
    background-position: center;
}

.avatar-purple {
    border-color: #b794f4;
}

.avatar-pink {
    border-color: #ec4899;
}

.avatar-indigo {
    border-color: #818cf8;
}

/* Avatar Background Images */
.avatar.avatar-purple {
    background-image: url('https://ui-avatars.com/api/?name=Ravi+K&background=7c3aed&color=fff&size=128');
}

.avatar.avatar-pink {
    background-image: url('https://ui-avatars.com/api/?name=Ananya+P&background=ec4899&color=fff&size=128');
}

.avatar.avatar-indigo {
    background-image: url('https://ui-avatars.com/api/?name=Karthik+M&background=6366f1&color=fff&size=128');
}
