/* Big Deals Assistant - Original Clean Styles */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    background-attachment: fixed;
}

/* Header Styles */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
}

.navbar-brand h4 {
    color: var(--primary-color) !important;
}

.logo-img {
    transition: all 0.3s ease;
    max-height: 60px;
    height: auto;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 123, 255, 0.2));
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 123, 255, 0.3));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700 !important;
    position: relative;
    z-index: 2;
    color: white !important;
}

.hero-section p, .hero-section span {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    position: relative;
    z-index: 2;
    color: white !important;
}

/* Force white text throughout hero section */
.hero-section,
.hero-section *:not(.btn):not(.badge):not(.text-success):not(.text-primary) {
    color: white !important;
}

.hero-section .lead {
    color: white !important;
}

.hero-section .text-white {
    color: white !important;
}

/* Hero Section specific white text rules */
.hero-section .text-white,
.hero-section h1,
.hero-section p.lead,
.hero-section span.text-white {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ensure all text in blue hero section is white */
.bg-primary.hero-section *:not(.btn):not(.badge):not(.text-success):not(.text-primary):not(.text-danger) {
    color: white !important;
}

.price-box {
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.price-box::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.25) !important;
}

.price-box:hover::before {
    opacity: 1;
}

/* Feature Cards */
.feature-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3), 0 0 0 0 rgba(0, 123, 255, 0.4);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-icon i {
    color: white !important;
    z-index: 2;
}

.feature-icon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4), 0 0 0 8px rgba(0, 123, 255, 0.1);
}

.feature-icon:hover::before {
    opacity: 1;
}

.project-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 123, 255, 0.1);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.2) !important;
    border-color: var(--primary-color);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover i {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Enhanced project card text readability */
.project-card h5 {
    font-size: 1.1rem !important;
    color: #333 !important;
    margin-bottom: 0.5rem !important;
}

.project-card p {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: #666 !important;
}

/* Value Proposition Section */
.value-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.15) !important;
    border-color: var(--primary-color);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon i {
    color: white !important;
    font-size: 1.2rem;
}

/* Path Selection Cards */
.path-selection-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(0, 123, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.path-selection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.path-selection-card:hover::before {
    opacity: 0.05;
}

.path-selection-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.path-selection-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(145deg, #e3f2fd 0%, #f3f8ff 100%);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.path-selection-card.selected::before {
    opacity: 0.1;
}

.path-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.path-selection-card:hover .path-icon {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.path-selection-card.selected .path-icon {
    color: var(--primary-color);
}

/* Form Styles */
.form-control {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    border: 2px solid rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1), 0 4px 20px rgba(0, 123, 255, 0.15);
    background: #ffffff;
    transform: translateY(-2px);
}

.form-select {
    border: 2px solid rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1), 0 4px 20px rgba(0, 123, 255, 0.15);
    background: #ffffff;
    transform: translateY(-2px);
}

/* Ensure form elements are interactive */
input, button, select, textarea, a.btn {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 9999 !important;
}

button:disabled {
    pointer-events: none !important;
}

/* Force interactive elements to be clickable */
#email-input, #payment-button {
    pointer-events: auto !important;
    cursor: text !important;
    position: relative !important;
    z-index: 10000 !important;
}

#payment-button {
    cursor: pointer !important;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white !important;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #003d82 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:focus, .btn-primary:active {
    color: white !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Assistant Page Styles */
.stat-card {
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: scale(1.02);
}

.example-project {
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: background-color 0.2s ease;
    border: 1px solid transparent;
}

.example-project:hover {
    background-color: rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
}

/* Loading States */
.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Results Table */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody td {
    border-color: #dee2e6;
    padding: 12px;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-header {
    border: none;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.card-header.bg-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #1e7e34 100%) !important;
}

/* Badge Enhancements */
.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #1e7e34 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.08);
    transition: all 0.3s ease;
    font-weight: 500;
}

.status-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.status-indicator.verified {
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

.status-indicator.usage {
    background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
    border-color: rgba(245, 158, 11, 0.2);
    color: #d97706;
}

/* Professional Enhancement Elements */
.professional-accent {
    position: relative;
    overflow: hidden;
}

.professional-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.professional-accent:hover::after {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .price-box {
        margin-top: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .price-display .display-3 {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .card-header {
        background: #000 !important;
        color: #fff !important;
    }
    
    body {
        font-size: 12px;
    }
    
    .table {
        font-size: 11px;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-primary {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15) !important;
}

.border-primary-2 {
    border: 2px solid var(--primary-color) !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

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

/* Fix for vendor badges text overflow */
.badge.bg-success {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
    padding: 0.5em 0.75em !important;
}

/* Ensure vendor div container allows proper wrapping */
.alert-success .mt-2 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}
