/* Bruto.AI Custom Styles */

:root {
    --primary-color: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FF7043;
    --secondary-color: #ffffff;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --danger-color: #f56565;
    --dark-color: #1a1a1a;
    --darker-color: #0f0f0f;
    --light-color: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --card-bg: #1a1a1a;
    --border-color: #404040;
    --accent-orange: #FF5722;
    --accent-gray: #404040;
    --logo-orange: #FF5722;
    --backdrop-color: rgba(26, 26, 26, 0.95);
}

/* Override Bootstrap primary color */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-white {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: transparent !important;
}

.btn-outline-white:hover,
.btn-outline-white:focus,
.btn-outline-white:active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-light);
}

.display-4 {
    font-weight: 700;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background: #000000 !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light) !important;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.nav-link {
    font-weight: 500;
    color: var(--text-light) !important;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: 1px solid var(--border-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #000000, #111827, #000000);
    min-height: 75vh;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content h1 {
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Feature Cards */
.feature-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    background-color: var(--card-bg) !important;
    color: var(--text-light) !important;
}

.feature-card h5,
.feature-card p,
.feature-card .card-title,
.feature-card .card-text {
    color: var(--text-light) !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.15) !important;
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 87, 34, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

/* Product Features */
.product-feature {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background-color: #000000 !important;
    color: var(--text-light) !important;
}

.product-feature h5,
.product-feature p,
.product-feature .card-title,
.product-feature .card-text {
    color: var(--text-light) !important;
}

.product-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.12) !important;
    border-color: var(--primary-color);
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    background-color: #000000 !important;
    color: var(--text-light);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 87, 34, 0.15) !important;
    border-color: var(--primary-color);
}

.price-display {
    position: relative;
}

.price-display .display-4 {
    line-height: 1;
    color: var(--text-light);
}

/* Contact Form */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-light);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.25);
    background-color: var(--card-bg);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-light);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.25);
    background-color: var(--card-bg);
    color: var(--text-light);
}

/* Tables */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    font-weight: 600;
    border: none;
}

.table td {
    vertical-align: middle;
    border-color: var(--border-color);
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    background-color: var(--card-bg);
}

.accordion-button {
    font-weight: 600;
    background-color: var(--card-bg);
    border: none;
    padding: 1.25rem;
    color: var(--text-light);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: var(--card-bg);
    color: var(--text-light);
}

/* Additional dark theme styles */

/* Pure Black Background */
.bg-black {
    background-color: #000000 !important;
}

/* Black Gradient Background (same as hero) */
.bg-gradient-black {
    background: linear-gradient(to bottom, #000000, #111827, #000000) !important;
}

/* Black Table */
.table-black {
    background-color: #000000 !important;
}

.table-black th,
.table-black td {
    background-color: #000000 !important;
    border-color: var(--border-color) !important;
}

.table-black .bg-secondary {
    background-color: #1a1a1a !important;
}
.text-muted {
    color: var(--text-muted) !important;
}

.bg-light {
    background-color: var(--card-bg) !important;
}

.border {
    border-color: var(--border-color) !important;
}

/* Override Bootstrap card styles */
.card {
    background-color: var(--card-bg) !important;
    color: var(--text-light) !important;
    border-color: var(--border-color) !important;
}

.card-body {
    background-color: var(--card-bg) !important;
    color: var(--text-light) !important;
}

.card-title {
    color: var(--text-light) !important;
}

.card-text {
    color: var(--text-light) !important;
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: var(--text-light) !important;
}

.card p {
    color: var(--text-light) !important;
}

.table {
    color: var(--text-light);
}

.table th {
    color: var(--text-light);
    border-color: var(--border-color);
}

.table td {
    color: var(--text-light);
    border-color: var(--border-color);
}

/* Alert customization */
.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(245, 101, 101, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

/* Orange accent highlights */
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.25);
}

.hero-section {
    position: relative;
}


/* Add subtle orange glow to cards on hover */
.feature-card:hover,
.product-feature:hover,
.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.15) !important;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: rgba(72, 187, 120, 0.1);
    color: var(--success-color);
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding: 3rem 0 !important;
    }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(66, 153, 225, 0.08) !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(66, 153, 225, 0.12) !important;
}

.rounded {
    border-radius: 10px !important;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

/* Contact Info Styling */
.contact-info h6 {
    color: var(--secondary-color);
}

.contact-info a {
    color: var(--primary-color);
}

.contact-info a:hover {
    color: var(--primary-dark);
}

/* List styling for features */
.list-unstyled li {
    padding: 0.25rem 0;
}

.fas.fa-check {
    font-size: 0.875rem;
}

.fas.fa-times {
    font-size: 0.875rem;
}

/* Badge styling */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Table improvements */
.table-dark th {
    background-color: var(--dark-color) !important;
    border-color: var(--dark-color) !important;
}

.table-secondary {
    background-color: rgba(113, 128, 150, 0.1) !important;
}

/* Loading states and interactions */
.btn:active {
    transform: translateY(1px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Additional professional styling to match Bruto.AI interface */
.bg-light {
    background-color: var(--light-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Enhanced card styling */
.card, .feature-card, .product-feature, .pricing-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(66, 153, 225, 0.06);
}

/* Status indicators like in the original app */
.status-active {
    color: var(--success-color);
    font-weight: 600;
}

.status-pending {
    color: var(--warning-color);
    font-weight: 600;
}

/* Professional button styling */
.btn-professional {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.btn-professional:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* Blue accent colors for icons */
.fas.fa-brain, .fas.fa-calculator {
    color: var(--accent-blue) !important;
}

.fas.fa-file-contract, .fas.fa-file-alt {
    color: var(--primary-color) !important;
}

.fas.fa-chart-line, .fas.fa-dollar-sign {
    color: var(--success-color) !important;
}

.fas.fa-clock, .fas.fa-user-clock, .fas.fa-users-clock {
    color: var(--primary-color) !important;
}

.fas.fa-users, .fas.fa-mobile-alt, .fas.fa-tachometer-alt {
    color: var(--accent-blue) !important;
}

/* Make text primary stand out more with blue */
.text-primary {
    color: var(--primary-color) !important;
}

/* Add blue accent to navigation hover */
.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Override for white outline button - highest specificity */
.btn.btn-outline-white.btn-lg {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: transparent !important;
}

.btn.btn-outline-white.btn-lg:hover,
.btn.btn-outline-white.btn-lg:focus,
.btn.btn-outline-white.btn-lg:active,
.btn.btn-outline-white.btn-lg:visited {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Maximum specificity override for Explore Features button */
a.btn.btn-outline-white[href*="products"],
a.btn.btn-outline-white.btn-lg[href*="products"] {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: transparent !important;
}

a.btn.btn-outline-white[href*="products"]:hover,
a.btn.btn-outline-white[href*="products"]:focus,
a.btn.btn-outline-white[href*="products"]:active,
a.btn.btn-outline-white.btn-lg[href*="products"]:hover,
a.btn.btn-outline-white.btn-lg[href*="products"]:focus,
a.btn.btn-outline-white.btn-lg[href*="products"]:active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}
