/* Propensity Custom Styles */

/* Purple Theme Colors */
:root {
    --bs-primary: #9333ea !important;
    --bs-primary-rgb: 147, 51, 234 !important;
    --bs-secondary: #6366f1 !important;
    --bs-secondary-rgb: 99, 102, 241 !important;
}

/* Button Styles */
.btn-primary {
    background-color: #9333ea !important;
    border-color: #9333ea !important;
}

.btn-primary:hover {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
}

.btn-outline-primary {
    color: #9333ea !important;
    border-color: #9333ea !important;
}

.btn-outline-primary:hover {
    background-color: #9333ea !important;
    border-color: #9333ea !important;
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 50%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background Lines */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.animated-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.3), rgba(147, 51, 234, 0.6), rgba(147, 51, 234, 0.3), transparent);
    height: 3px;
    border-radius: 2px;
    animation: wave 6s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.2);
}

.line-1 {
    top: 15%;
    left: -150px;
    width: 400px;
    transform: rotate(20deg);
    animation-delay: 0s;
    --rotation: 20deg;
}

.line-2 {
    top: 30%;
    right: -200px;
    width: 500px;
    transform: rotate(-25deg);
    animation-delay: 1s;
    --rotation: -25deg;
}

.line-3 {
    top: 50%;
    left: -250px;
    width: 600px;
    transform: rotate(30deg);
    animation-delay: 2s;
    --rotation: 30deg;
}

.line-4 {
    top: 70%;
    right: -150px;
    width: 450px;
    transform: rotate(-20deg);
    animation-delay: 3s;
    --rotation: -20deg;
}

.line-5 {
    top: 85%;
    left: -100px;
    width: 350px;
    transform: rotate(15deg);
    animation-delay: 4s;
    --rotation: 15deg;
}

.line-6 {
    top: 25%;
    left: -200px;
    width: 450px;
    transform: rotate(35deg);
    animation-delay: 0.5s;
    --rotation: 35deg;
}

.line-7 {
    top: 65%;
    right: -250px;
    width: 550px;
    transform: rotate(-30deg);
    animation-delay: 1.5s;
    --rotation: -30deg;
}

.line-8 {
    top: 45%;
    left: -300px;
    width: 700px;
    transform: rotate(40deg);
    animation-delay: 2.5s;
    --rotation: 40deg;
}

@keyframes wave {
    0% {
        transform: translateX(-100px) rotate(var(--rotation)) translateY(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    25% {
        transform: translateX(25vw) rotate(var(--rotation)) translateY(-10px);
        opacity: 1;
    }
    50% {
        transform: translateX(50vw) rotate(var(--rotation)) translateY(10px);
        opacity: 0.9;
    }
    75% {
        transform: translateX(75vw) rotate(var(--rotation)) translateY(-5px);
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) rotate(var(--rotation)) translateY(0px);
        opacity: 0;
    }
}

/* Additional floating elements */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-section::before {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-section::after {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* Ensure content stays above animated background */
.hero-section .section-inner {
    position: relative;
    z-index: 2;
}

/* Card Hover Effects */
.panel.hover\:border-primary:hover {
    border-color: #9333ea !important;
}

.panel.hover\:border-danger:hover {
    border-color: #dc3545 !important;
}

/* Background Colors */
.bg-purple-50 {
    background-color: #faf5ff !important;
}

.bg-gray-50 {
    background-color: #f9fafb !important;
}

/* Text Colors */
.text-primary {
    color: #9333ea !important;
}

/* Logo Styles */
.propensity-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.propensity-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.propensity-logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: #9333ea;
}

/* Pricing Page Styles */
.pricing-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 50%, #eef2ff 100%);
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.nav-category-items {
    list-style: none;
    li {
        list-style: none;
    }
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.pricing-section {
    padding: 80px 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #9333ea;
}

.pricing-card-featured {
    border-color: #9333ea;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #9333ea;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card-header {
    margin-bottom: 2rem;
}

.pricing-plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.pricing-plan-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
}

.pricing-card-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.price-period {
    color: #6b7280;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.pricing-card-features {
    margin-bottom: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #374151;
}

.feature-icon {
    color: #10b981;
    margin-right: 0.75rem;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.feature-text {
    line-height: 1.5;
}

.pricing-card-action {
    margin-top: auto;
}

.pricing-button {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: #9333ea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pricing-button:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
    color: white;
    text-decoration: none;
}

.pricing-button-featured {
    background: #1f2937;
    color: white;
}

.pricing-button-featured:hover {
    background: #374151;
    color: white;
}

.pricing-footer {
    text-align: center;
    padding: 3rem 0;
    background: #f9fafb;
}

.pricing-disclaimer {
    color: #6b7280;
    font-size: 0.875rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-fallback {
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
    border-radius: 8px;
    margin: 2rem 0;
}

.pricing-fallback-text {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.pricing-link {
    color: #9333ea;
    text-decoration: none;
    font-weight: 600;
}

.pricing-link:hover {
    color: #7c3aed;
    text-decoration: underline;
}

/* Responsive adjustments for pricing */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .pricing-card-featured {
        transform: none;
    }
    
    .pricing-card-featured:hover {
        transform: translateY(-8px);
    }
}
