/* ========================================
   AI Sales Voice - Custom Design Enhancements
   Modern, Dynamic, Elevated Design
   ======================================== */

/* === SMOOTH SCROLLING === */
html {
    scroll-behavior: smooth;
}

/* === ANIMATED GRADIENTS === */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6a4dff 0%, #4a3acc 25%, #2a1a88 50%, #4a3acc 75%, #6a4dff 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    opacity: 0.15;
    z-index: 0;
}

/* === FLOATING ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-5deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

/* === GLASSMORPHISM EFFECTS === */
.glass-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(106, 77, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(106, 77, 255, 0.3) !important;
    box-shadow: 0 12px 48px 0 rgba(106, 77, 255, 0.2);
    transform: translateY(-8px);
}

/* === CARD HOVER EFFECTS === */
.feature-card,
.review-card,
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card:hover,
.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(106, 77, 255, 0.25),
                0 0 40px rgba(106, 77, 255, 0.15);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(106, 77, 255, 0.2);
    border-color: rgba(106, 77, 255, 0.4) !important;
}

/* === BUTTON ENHANCEMENTS === */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gradient-1,
.btn-primary-dark {
    background: linear-gradient(135deg, #6a4dff 0%, #8b5cf6 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(106, 77, 255, 0.4);
}

.btn-gradient-1:hover,
.btn-primary-dark:hover {
    box-shadow: 0 8px 30px rgba(106, 77, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline-primary-dark {
    border: 2px solid #6a4dff;
    color: #6a4dff;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary-dark:hover {
    background: #6a4dff;
    color: white;
    box-shadow: 0 4px 20px rgba(106, 77, 255, 0.5);
    transform: translateY(-2px);
}

/* === GRADIENT TEXT === */
.text-gradient-1 {
    background: linear-gradient(135deg, #6a4dff 0%, #a78bfa 50%, #6a4dff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

.text-gradient-2 {
    background: linear-gradient(135deg, #6a4dff 0%, #ec4899 50%, #8b5cf6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* === HERO IMAGE ENHANCEMENTS === */
.image-with-shape {
    position: relative;
}

.image-with-shape img.shape {
    position: absolute;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.6;
    animation: pulse-glow 4s ease-in-out infinite;
}

.image-with-shape .rounded-5 {
    transition: all 0.4s ease;
    box-shadow: 0 20px 60px rgba(106, 77, 255, 0.3);
}

.image-with-shape:hover .rounded-5 {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(106, 77, 255, 0.4);
}

/* === NAVBAR ENHANCEMENTS === */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(17, 18, 28, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6a4dff, #a78bfa);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* === SECTION BACKGROUNDS === */
.section-gradient-bg {
    background: linear-gradient(180deg,
        rgba(106, 77, 255, 0.05) 0%,
        transparent 50%,
        rgba(106, 77, 255, 0.05) 100%);
}

/* === ICON ANIMATIONS === */
.icon-wrapper {
    transition: all 0.3s ease;
}

.icon-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
}

/* === REVIEW BADGES === */
.review-badges img {
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.review-badges img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* === PARALLAX EFFECT === */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* === LOADING ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* === GLOW EFFECTS === */
.glow-on-hover {
    position: relative;
    transition: all 0.3s ease;
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(106, 77, 255, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    border-radius: inherit;
    z-index: -1;
}

.glow-on-hover:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

/* === PRICE CARD ENHANCEMENTS === */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(106, 77, 255, 0.3);
}

.pricing-card.featured {
    border: 2px solid #6a4dff !important;
    box-shadow: 0 15px 50px rgba(106, 77, 255, 0.25);
}

/* === FLOATING ELEMENTS === */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(106, 77, 255, 0.1), rgba(139, 92, 246, 0.1));
    filter: blur(60px);
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

.floating-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-shape-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: 5%;
    animation-delay: 2s;
}

.floating-shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

/* === IMPROVED TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

.display-1, .display-2, .display-3 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* === SMOOTH TRANSITIONS FOR ALL === */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESPONSIVE ENHANCEMENTS === */
@media (max-width: 768px) {
    .glass-card:hover,
    .feature-card:hover,
    .card:hover {
        transform: none;
    }

    .floating-shape {
        display: none;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === ICON CONTRAST FIXES === */
/* Fix white icons on lime green backgrounds for WCAG AA compliance */
.bg-primary-dark.bg-opacity-20 .text-primary-dark,
.bg-primary-dark .text-primary-dark {
    color: #1a1a1a !important;
}

/* Ensure NEW badge has good contrast */
.badge.bg-primary-dark {
    background: #e6f85e !important;
    color: #1a1a1a !important;
    font-weight: 700;
}

/* === CTA BUTTON CENTERING === */
.glass-card .d-flex.gap-4 {
    justify-content: center !important;
}

/* === DEMO BUTTON IMPROVEMENTS === */
.btn-primary-dark.btn-sm,
.btn.btn-primary-dark[href*="demo"] {
    font-size: 1.125rem !important;
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    min-width: 200px;
}

/* === NAVIGATION SPACING & ALIGNMENT === */
.navbar-nav {
    gap: 1.5rem !important;
}

@media (min-width: 992px) {
    .navbar-content-inner {
        margin-left: auto !important;
        gap: 2rem !important;
    }

    .navbar-nav {
        gap: 2rem !important;
    }
}

/* === ICON SIZING IN CIRCULAR CONTAINERS === */
/* Make icons larger and properly centered within circles */
.bg-primary-dark.bg-opacity-20.rounded-circle svg,
.bg-primary-dark.bg-opacity-20.rounded-circle .text-primary-dark {
    width: 3rem !important;
    height: 3rem !important;
    transform: scale(1.3);
}

/* Ensure circles have proper padding */
.w-16.h-16.bg-primary-dark.bg-opacity-20.rounded-circle {
    padding: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* === ABOUT SECTION WITH BACKGROUND IMAGE === */
.about-section-hero {
    position: relative;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231a1a1a;stop-opacity:1" /><stop offset="100%" style="stop-color:%232d2d3d;stop-opacity:1" /></linearGradient><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23e6f85e" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grad1)"/><rect width="1200" height="600" fill="url(%23grid)"/><circle cx="200" cy="100" r="150" fill="%23e6f85e" opacity="0.03"/><circle cx="1000" cy="400" r="200" fill="%23e6f85e" opacity="0.03"/><circle cx="600" cy="300" r="100" fill="%23e6f85e" opacity="0.05"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 61, 0.85) 100%);
    z-index: 0;
}

.about-section-hero .container {
    position: relative;
    z-index: 1;
}
