/* public/css/index.css - Ultra-Premium Centralized Styles */

:root {
    --hero-bg-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --hero-bg-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --glass-card-bg: rgba(255, 255, 255, 0.6);
    --glass-card-dark: rgba(30, 41, 59, 0.7);
    --organic-easing: cubic-bezier(0.65, 0, 0.35, 1);
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Hero Section 2.0 */
/* Premium Light Focus */
.hero-section {
    min-height: 95vh;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: pulse-aura 10s infinite alternate var(--organic-easing);
}

@keyframes pulse-aura {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(-50px, 50px);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

.hero-dashboard-img {
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.8s var(--organic-easing);
    z-index: 2;
    position: relative;
}

.hero-dashboard-img:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-20px);
}

/* Feature Cards Premium */
.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.5s var(--organic-easing);
    border-radius: 24px !important;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1.5rem;
    transition: transform 0.5s var(--organic-easing);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Testimonials Glass Influence */
.testimonial-card {
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px !important;
    transition: all 0.4s var(--organic-easing);
}

[data-bs-theme="dark"] .testimonial-card {
    background: var(--glass-card-dark);
}

.testimonial-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* CTA Section Glow 2.0 - Combined Elite Refinement */
.cta-premium-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 40px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-premium-box::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.cta-content-wrapper {
    padding: 80px 60px;
    position: relative;
    z-index: 2;
}

.cta-image-column {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.cta-image-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #020617 0%, transparent 40%);
    opacity: 0.8;
}

.cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(2, 6, 23, 0.4) 100%);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .cta-content-wrapper {
        padding: 60px 40px;
        text-align: center;
    }

    .cta-image-column {
        min-height: 300px;
    }
}

.cta-premium-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    animation: rotate-glow 15s linear infinite;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Back to Top Refined */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--organic-easing);
    box-shadow: 0 10px 25px var(--accent-glow);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-10px) scale(1.1);
    color: white;
}

/* Animations Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--organic-easing);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}