/* ===================================
   auditgit - Enterprise Styling
   =================================== */

:root {
    --primary-color: #0d47a1;
    --primary-dark: #002171;
    --primary-light: #5472d3;
    --secondary-color: #1976d2;
    --success-color: #2e7d32;
    --danger-color: #c62828;
    --warning-color: #f57c00;
    --info-color: #0288d1;
    --dark-color: #1a1a1a;
    --light-color: #f5f7fa;
    --section-alt-bg: #eeeeee;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

/* Section Alternate Background */
.bg-section-alt {
    background-color: var(--section-alt-bg);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.display-3, .display-4, .display-5 {
    font-weight: 800;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Header - Sticky Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Navbar */
.navbar-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Language Switcher */
.language-switcher .dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-switcher .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
    min-width: 180px;
}

.language-switcher .dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.language-switcher .dropdown-item:hover {
    background: var(--primary-light);
    color: #fff;
}

.language-switcher .dropdown-item.active {
    background: var(--primary-color);
    color: #fff;
}

.language-switcher .dropdown-item i {
    margin-right: 0.5rem;
    width: 20px;
}

/* Demo Button */
.demo-button {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-color) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    padding: 0.5rem 1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.demo-button:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section .display-3,
.hero-section .display-4,
.hero-section .display-5 {
    color: #ffffff !important;
}

.hero-section h1 {
    font-size: 2.5rem !important;
}

.hero-section p,
.hero-section .lead {
    color: #ffffff;
}

.hero-icon-wrapper {
    animation: float 6s ease-in-out infinite;
}

.hero-icon {
    font-size: 14rem;
    opacity: 0.95;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
    display: inline-block;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Technology Cards */
.tech-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tech-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.15);
}

.tech-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
}

/* Use Case Cards */
.use-case-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    border-left-width: 8px;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* How It Works */
.how-it-works-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--border-color);
}

.how-it-works-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(13, 71, 161, 0.2);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Why Cards */
.why-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.why-card ul {
    list-style: none;
    padding-left: 0;
}

.why-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.why-card ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* Custom Text Colors */
.text-purple {
    color: #7b1fa2 !important;
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

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

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.pricing-features li.unavailable {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-features li.unavailable i {
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.btn-light:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f8f9fa !important;
}

footer h5,
footer h6,
footer p,
footer small,
footer li {
    color: #f8f9fa !important;
}

footer a {
    color: #adb5bd !important;
    transition: color 0.3s ease;
}

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

footer .text-muted {
    color: #adb5bd !important;
}

/* Content Pages */
.content-page {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-page h1 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.content-page h2 {
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-page h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-page ul, .content-page ol {
    margin-bottom: 1.5rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.content-page a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.content-page a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.content-page strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-icon {
        font-size: 8rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2.2rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-icon {
        font-size: 6rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .tech-icon {
        font-size: 2.8rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.5rem;
    }

    .content-page {
        padding: 1.5rem;
    }
}

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

/* Selection */
::selection {
    background: var(--primary-color);
    color: #fff;
}

::-moz-selection {
    background: var(--primary-color);
    color: #fff;
}

/* Loading Animation for Icons */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.feature-card:hover .feature-icon,
.tech-card:hover .tech-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Section Spacing */
section {
    scroll-margin-top: 70px;
}

/* Box Shadows */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}
