/* Import Garet font */
@import url('https://fonts.cdnfonts.com/css/garet');

/* Thin (100) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd31b6fe57c2365d151_TypeType%20-%20TT%20Commons%20Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd382e660019845878e_TypeType%20-%20TT%20Commons%20Thin%20Italic.otf") format("opentype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd37c1d8952ab359a92_TypeType%20-%20TT%20Commons%20ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3580139efe046b48b_TypeType%20-%20TT%20Commons%20ExtraLight%20Italic.otf") format("opentype");
  font-weight: 200;
  font-style: italic;
}

/* Light (300) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3061c6888a9b40bce_TypeType%20-%20TT%20Commons%20Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3f523a749e11ff038_TypeType%20-%20TT%20Commons%20Light%20Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

/* Regular (400) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd34a506f9d26c520ac_TypeType%20-%20TT%20Commons%20Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3cec97410288fa84b_TypeType%20-%20TT%20Commons%20Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}

/* Medium (500) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd33e8941f3a5e3dea6_TypeType%20-%20TT%20Commons%20Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3cf53a097f5b938e4_TypeType%20-%20TT%20Commons%20Medium%20Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
}

/* DemiBold (600) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd36cce782939b04b8f_TypeType%20-%20TT%20Commons%20DemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3d8e0730fd70da4ea_TypeType%20-%20TT%20Commons%20DemiBold%20Italic.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
}

/* Bold (700) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3d8e0730fd70da4e2_TypeType%20-%20TT%20Commons%20Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd31ccb71eefe8bab06_TypeType%20-%20TT%20Commons%20Bold%20Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

/* ExtraBold (800) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd37c1d8952ab359a95_TypeType%20-%20TT%20Commons%20ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3ebd64c6a4ef50b96_TypeType%20-%20TT%20Commons%20ExtraBold%20Italic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
}

/* Black (900) */
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3a3d7be5170850fa7_TypeType%20-%20TT%20Commons%20Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "TT Commons";
  src: url("https://cdn.prod.website-files.com/63ce823acf939e1e64f927c4/650cbdd3d8a16b075ae2702c_TypeType%20-%20TT%20Commons%20Black%20Italic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
}

:root {
    
    /* Core Gradients */
    --hero-gradient: linear-gradient(135deg,
        #0B1437 0%,    /* Deep navy */
        #1E3A8A 30%,   /* Royal blue */
        #3B82F6 60%,   /* Bright blue */
        #60A5FA 100%   /* Light blue */
    );
    --hero-overlay: linear-gradient(180deg,
        rgba(11, 20, 55, 0.85) 0%,
        rgba(30, 58, 138, 0.75) 50%,
        rgba(59, 130, 246, 0.5) 100%
    );
    --section-gradient-1: linear-gradient(135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(96, 165, 250, 0.1) 50%,
        rgba(147, 197, 253, 0.1) 100%
    );
    --section-gradient-2: linear-gradient(-135deg,
        rgba(11, 20, 55, 0.1) 0%,
        rgba(30, 58, 138, 0.1) 50%,
        rgba(59, 130, 246, 0.1) 100%
    );
    --card-gradient: linear-gradient(135deg,
        #0B1437 0%,    /* Deep navy */
        #1E3A8A 100%   /* Royal blue */
    );
    --primary-gradient: linear-gradient(135deg,
        #2563EB 0%,    /* Primary blue */
        #3B82F6 50%,   /* Bright blue */
        #60A5FA 100%   /* Light blue */
    );
    --accent-gradient: linear-gradient(135deg,
        #3B82F6 0%,    /* Bright blue */
        #38BDF8 100%   /* Sky blue */
    );
    --success-gradient: linear-gradient(135deg,
        #059669 0%,    /* Emerald */
        #10B981 100%   /* Green */
    );
    --glass-gradient: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    
    /* Base Colors */
    --bs-body-color: FFFFFF;
    --primary-color: #2563EB;     /* Primary blue */
    --primary-light: #60A5FA;     /* Light blue */
    --primary-dark: #1E3A8A;      /* Royal blue */
    --accent-color: #38BDF8;      /* Sky blue */
    --success-color: #059669;     /* Emerald */
    --warning-color: #FBBF24;     /* Amber */
    --error-color: #EF4444;       /* Red */
    --background-color: #0B1437;  /* Deep navy */
    --surface-color: #1E3A8A;     /* Royal blue */
    --text-color: #F8FAFC;        /* Off white */
    --text-muted: #94A3B8;        /* Cool gray */
    --border-color: rgba(37, 99, 235, 0.2);
    --card-bg: #0B1437;           /* Deep navy */
    --hover-color: #3B82F6;       /* Bright blue */
    --nav-bg: rgba(11, 20, 55, 0.98);
    --card-hover: #1E3A8A;        /* Royal blue */
    --shadow-color: rgba(11, 20, 55, 0.3);
    --axis-margin-top: 12%;
    --axis-margin-bottom: 9%;
    --axis-margin-left: 12%;
    --axis-margin-right: 9%;
    --dark-navy-bg: #0a192f;
    --light-navy-bg: #1d2c48;
    --light-slate: #ccd6f6;
    --slate: #a8b2d1;
    --dark-slate: #303c55;
    --mid-slate: #505c75;
    
    /* Enhanced Text Colors */
    --text-color-hero: #FFFFFF;          /* Pure white for hero */
    --text-color-primary: #F8FAFC;       /* Off white for headings */
    --text-color-body: #E2E8F0;          /* Light gray for body text */
    --text-color-muted: #CBD5E1;         /* Lighter gray for muted text */
    --text-color-footer: #E2E8F0;        /* Light gray for footer */
}


/* Global styles */
body {
    font-family: 'TT Commons', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;

    margin: 0px;
    padding: 0px;
}

/* Modern Navigation */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 20, 55, 0.98),
        rgba(30, 58, 138, 0.95)
    );
    box-shadow: 0 4px 20px var(--shadow-color);
}

.navbar-brand {
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
    background: transparent;
}

.navbar-brand:hover .navbar-logo {
    transform: translateY(-2px);
}

.nav-link {
    color: var(--text-color-primary) !important;
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Interactive Gradient Elements */
.gradient-border {
    position: relative;
    background: var(--surface-gradient);
    border-radius: 16px;
    padding: 1px;
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

.gradient-border > * {
    background: var(--surface-gradient);
    border-radius: 15px;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Glass Effect Cards */
.glass-card {
    background: var(--glass-gradient);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Interactive Buttons */
.btn-gradient {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s linear infinite;
    border: none;
    color: #FFFFFF !important;
    font-weight: 500;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-gradient:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    color: #FFFFFF !important;
}

.btn-accent {
    background: var(--accent-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s linear infinite;
}

.btn-success {
    background: var(--success-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s linear infinite;
}

/* Solutions Section */
.solutions-card {
    background: var(--surface-gradient);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.solutions-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.solutions-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.solutions-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Cards */
.card {
    background: var(--card-gradient);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(236, 77, 55, 0.2);
}

/* Forms */
.form-control {
    background-color: rgba(41, 52, 98, 0.5);
    border: 1px solid rgba(120, 88, 166, 0.2);
    color: white;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(41, 52, 98, 0.7);
    border-color: white;
    box-shadow: 0 0 0 3px rgba(236, 77, 55, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Footer */
.footer {
    background: var(--card-gradient);
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding: 4rem 0;
}

.footer h5 {
    color: var(--text-color-primary);
    font-weight: 500;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer p {
    color: var(--text-color-footer);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

.footer-links a {
    color: var(--text-color-footer);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    background: transparent;
}

.login-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.admin-navbar-logo {
    height: 35px;
    width: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

/* Hero Section Styles */
.hero {
    position: relative;
    background: var(--hero-gradient);
    overflow: hidden;
    min-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
}

.hero-text-column {
    padding: 4rem 2rem;
    position: relative;
    z-index: 3;
}

.hero-text-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.hero-text-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 8s ease infinite;
}

.hero-text-wrapper .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-align: justify;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta .btn::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: 0.5s;
}

.hero-cta .btn:hover::before {
    left: 100%;
}

.hero-video-column {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.dashboard-video-container:hover {
    transform: perspective(1000px) rotateY(-8deg) rotateX(8deg) translateZ(20px);
}

.dashboard-video {
    width: 100%;
    height: auto;
    min-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(37, 99, 235, 0.2) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-video-container:hover .video-overlay {
    opacity: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    opacity: 0.5;
}

.floating-dot:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.floating-dot:nth-child(2) {
    top: 60%;
    right: 20%;
    animation: float 8s ease-in-out infinite reverse;
}

.floating-dot:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(15px, -15px);
    }
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-text-column {
        padding: 3rem 1rem;
        text-align: center;
    }

    .hero-text-wrapper h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-video-column {
        min-height: 400px;
    }

    .dashboard-video-container {
        transform: none;
        margin: 1rem auto;
    }

    .dashboard-video-container:hover {
        transform: none;
    }

    .dashboard-video {
        min-height: 350px;
    }
}

@media (max-width: 767.98px) {
    .hero-text-wrapper h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-text-wrapper .lead {
        font-size: 1.1rem;
        text-align: justify;
    }

    .hero-cta .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .hero-video-column {
        min-height: 300px;
    }

    .dashboard-video {
        min-height: 250px;
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Cards */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--hover-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: #FFFFFF !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 77, 55, 0.4);
    color: #FFFFFF !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: #FFFFFF !important;
    font-weight: 500;
    background: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #FFFFFF !important;
}

/* Features */
.feature-box {
    padding: 2rem;
    border-radius: 16px;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}

.feature-box p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Dashboard */
.dashboard-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.chart-container {
    position: relative;
    height: 400px;
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--card-hover);
    transform: rotate(360deg);
}

/* Enhanced Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    background: var(--card-gradient);
    border: 1px solid rgba(120, 88, 166, 0.2);
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 0.5rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Desktop Dropdown Styles */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .nav-link {
        color: var(--primary-color) !important;
    }

    .navbar .dropdown-menu {
        margin-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
        box-shadow: none;
    }
    
    .dropdown-item {
        padding: 0.5rem 1.5rem;
        text-align: justify;
    }
    
    .dropdown-item:hover {
        transform: translateX(5px);
        background: var(--primary-gradient);
    }

    .dropdown-menu.show {
        display: block;
        margin-left: 1rem;
        border-left: 2px solid var(--primary-color);
    }
}

.dropdown-toggle::after {
    transition: transform 0.2s ease;
}

.dropdown-item {
    color: var(--text-color-body);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-weight: 500;
    text-align: justify;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.2s ease;
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: var(--text-color-hero);
}

.dropdown-item:hover::before {
    opacity: 1;
}

.dropdown-item i {
    transition: transform 0.2s ease;
}

.dropdown-item:hover i {
    transform: translateX(3px);
}

/* Navbar Dropdown Specific */
.navbar .nav-item.dropdown:hover .nav-link {
    color: var(--primary-color) !important;
}

.navbar .dropdown-menu {
    margin-top: 0.125rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (max-width: 992px) {
    .dropdown-menu {
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
        box-shadow: none;
    }
    
    .dropdown-item {
        padding: 0.5rem 1.5rem;
        text-align: justify;
    }
    
    .dropdown-item:hover {
        transform: translateX(0);
        background: var(--surface-gradient);
    }
}

/* Cards with Gradient Borders */
.feature-card {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(120, 88, 166, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    color: var(--text-color-primary);
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.5rem;
    text-align: justify;
}

.feature-card p {
    color: var(--text-color-body);
    line-height: 1.6;
    font-size: 1rem;
    text-align: justify;
}

/* Gradient Text */
.gradient-text {
    background: var(--hero-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 8s linear infinite;
}

/* Animations */
@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes sectionGradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Gradient Borders for Sections */
.gradient-section {
    position: relative;
    padding: 1px;
    border-radius: 16px;
    background: var(--hero-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s linear infinite;
}

.gradient-section-content {
    background: var(--surface-gradient);
    border-radius: 15px;
    padding: 2rem;
}

/* Interactive Navigation */
.nav-link:hover {
    background: var(--glass-gradient);
    backdrop-filter: blur(8px);
}

/* Dynamic Section Backgrounds */
.section-gradient-1 {
    position: relative;
    background: var(--background-color);
    overflow: hidden;
}

.section-gradient-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--section-gradient-1);
    background-size: 200% 200%;
    animation: sectionGradient 10s ease infinite;
    opacity: 0.15;
}

.section-gradient-2 {
    position: relative;
    background: var(--background-color);
    overflow: hidden;
}

.section-gradient-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--section-gradient-2);
    background-size: 200% 200%;
    animation: sectionGradient 10s ease infinite reverse;
    opacity: 0.15;
}

/* Dynamic Call-to-Action Section */
.cta-section {
    position: relative;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%);
    animation: pulseGlow 3s ease infinite;
}

/* CTA Section specific text alignment */
.bg-primary .lead {
    text-align: center !important;
}

/* Enhanced Animations */
@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* Interactive Hover Effects */
.hover-gradient {
    position: relative;
    overflow: hidden;
}

.hover-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hover-gradient:hover::after {
    opacity: 0.1;
}

/* Social Links Update */
.social-links a {
    color: var(--text-color-muted);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Section Titles */
.section-title {
    color: var(--text-color-primary);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-align: center;
}

.section-subtitle {
    color: var(--text-color-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
    justify-content: center;
}

/* Card Typography */
.card-title {
    color: var(--text-color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.card-text {
    color: var(--text-color-body);
    line-height: 1.6;
    text-align: justify;
}

/* Form Labels and Text */
.form-label {
    color: var(--text-color-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-control::placeholder {
    color: white;
    opacity: 0.7;
    text-align: left;
}

/* List Typography */
.list-styled {
    color: var(--text-color-body);
    line-height: 1.6;
    text-align: justify;
}

.list-styled li {
    margin-bottom: 0.5rem;
    text-align: justify;
}

/* General Text */
p {
    color: var(--text-color-body);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

small {
    color: var(--text-color-muted);
    text-align: left;
}

.text-muted {
    color: var(--text-color-muted) !important;
    text-align: left;
}

.dashboard-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(11, 20, 55, 0.2);
    transition: transform 0.3s ease;
}

.dashboard-container:hover {
    transform: translateY(-5px);
}

.dashboard-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .dashboard-container {
        height: 300px;
        margin-top: 2rem;
    }
}

.dashboard-image-container {
    position: relative;
    width: 100%;
    padding: 20px;
    perspective: 1000px;
    z-index: 2;
}

.dashboard-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-image-container:hover .dashboard-image {
    transform: rotateY(-8deg) rotateX(8deg) translateZ(20px);
}

.dashboard-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(59, 130, 246, 0.3), 
        transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dashboard-image-container:hover .dashboard-glow {
    opacity: 1;
}

.floating-chart {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.chart-1 {
    top: 20%;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.chart-2 {
    bottom: 20%;
    left: -20px;
    animation: float 6s ease-in-out infinite reverse;
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: floatBackground 15s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
    .dashboard-image-container {
        margin-top: 2rem;
        padding: 10px;
    }

    .floating-chart {
        width: 60px;
        height: 60px;
    }

    .chart-1 {
        right: -10px;
    }

    .chart-2 {
        left: -10px;
    }
}

.dashboard-video-container {
    position: relative;
    width: 100%;
    padding: 20px;
    perspective: 1000px;
    z-index: 2;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(11, 20, 55, 0.1);
    backdrop-filter: blur(8px);
}

.dashboard-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    object-fit: cover;
    min-height: 400px;
    display: block;
    background: var(--card-gradient);
}

/* Ensure video is visible while loading */
.dashboard-video::-webkit-media-controls-start-playback-button {
    display: none;
}

.dashboard-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-gradient);
    opacity: 0.1;
}

/* Loading state */
.dashboard-video:not([playsinline]) {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .dashboard-video-container {
        margin-top: 2rem;
        padding: 10px;
    }

    .dashboard-video {
        min-height: 300px;
        transform: none;
    }
}

/* Add debug outline to help identify video container */
.dashboard-video-container * {
    outline: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu Styles */
.navbar .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 0;
    border: none;
    background: var(--card-gradient);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.navbar .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar .dropdown-item {
    color: var(--text-color-primary);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.navbar .dropdown-item:hover {
    background: var(--primary-gradient);
    color: #FFFFFF;
    transform: translateX(5px);
}

.navbar .dropdown-item:active {
    background: var(--primary-gradient);
    color: #FFFFFF;
}

.navbar .dropdown-item i {
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
}

.navbar .dropdown-item:hover i {
    transform: translateX(3px);
}

/* Responsive Dropdown Styles */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        transform: none;
    }

    .navbar .dropdown-item {
        color: var(--text-color-primary);
        padding: 0.5rem 1rem;
    }

    .navbar .dropdown-item:hover {
        transform: none;
        background: transparent;
        color: var(--primary-color);
    }
}

/* Enhanced Navbar Styles */
.navbar .nav-item {
    position: relative;
    margin: 0 0.25rem;
}

.navbar .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar .dropdown-toggle::after {
    transition: transform 0.2s ease;
    vertical-align: middle;
}

/* Navbar Animation */
.navbar.scrolled .nav-link::after {
    bottom: -2px;
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--card-gradient);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .navbar .dropdown-menu {
        display: none !important;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0.5rem 0 0.5rem 1rem;
        transform: none !important;
        position: static !important;
    }

    .navbar .dropdown-menu.show {
        display: block !important;
        animation: slideDown 0.3s ease forwards;
    }

    .navbar .nav-item {
        transform: translateY(0);
        opacity: 1;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .navbar.scrolled .nav-item {
        transform: translateY(-10px);
        opacity: 0.8;
    }

    .navbar .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar .dropdown-toggle::after {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

}

/* Add slide down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add slide up animation */
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Navbar Scroll Animation */
.navbar {
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scroll-up {
    transform: translateY(0);
}

.navbar.scroll-down {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: linear-gradient(
        to bottom,
        rgba(11, 20, 55, 0.98),
        rgba(30, 58, 138, 0.95)
    );
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px var(--shadow-color);
}

/* Navbar Brand Mobile Adjustments */
@media (max-width: 575.98px) {
    .navbar-brand {
        padding: 6px 12px;
        background: transparent;
    }
    
    .navbar-logo {
        height: 32px;
        background: transparent;
    }
    
    .footer-logo-container {
        padding: 12px;
        background: transparent;
    }
    
    .footer-logo {
        height: 40px;
        background: transparent;
    }
    
    .login-logo-container {
        padding: 12px 20px;
    }
    
    .login-logo {
        height: 50px;
    }
    
    .admin-navbar-brand {
        padding: 4px 8px;
        background: transparent;
    }
    
    .admin-navbar-logo {
        height: 30px;
        background: transparent;
    }
}

/* Logo Container Styles */
.footer-logo-container {
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 1.5rem;
    background: transparent;
}

.login-logo-container {
    background: #FFFFFF;
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.admin-navbar-brand {
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.admin-navbar-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Steps Section Styles */
.steps-section {
    padding: 8rem 0;
    position: relative;
    background: var(--section-gradient-1);
    overflow: hidden;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(59, 130, 246, 0.1) 0%,
        transparent 70%);
    animation: pulseGradient 8s ease infinite;
}

.step-card {
    background: rgba(11, 20, 55, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(37, 99, 235, 0.1) 100%
    );
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(59, 130, 246, 0.1);
}

.step-card:hover::before {
    transform: translateY(0);
}

.step-number {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.step-card:hover .step-number {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.step-card:hover .step-title {
    transform: translateX(5px);
}

.step-description {
    color: var(--text-color-body);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    text-align: justify;
}

.step-card:hover .step-description {
    opacity: 1;
}

.step-card .icon-container {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover .icon-container {
    transform: rotate(360deg) scale(1.1);
    background: var(--primary-gradient);
    color: #FFFFFF;
}

.step-card .learn-more {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
}

.step-card:hover .learn-more {
    opacity: 1;
    transform: translateY(0);
}

.step-card .learn-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.step-card .learn-more:hover i {
    transform: translateX(5px);
}

/* Floating Elements Animation */
.step-card .floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.2;
    pointer-events: none;
}

.step-card .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: float 6s infinite;
}

.step-card .floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation: float 8s infinite reverse;
}

.step-card .floating-element:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation: float 7s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px);
    }
}

@keyframes pulseGradient {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive Styles for Steps */
@media (max-width: 991.98px) {
    .steps-section {
        padding: 6rem 0;
    }

    .step-card {
        padding: 2.5rem;
        margin-bottom: 2rem;
    }

    .step-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .steps-section {
        padding: 4rem 0;
    }

    .step-card {
        padding: 2rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .step-description {
        font-size: 1rem;
    }
}

/* Unified View Section Styles */
.unified-view-section {
    background: var(--background-color);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.visualization-container {
    position: relative;
    height: 600px;
    perspective: 1200px;
    transform-style: preserve-3d;
    background: rgba(11, 20, 55, 0.5);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Analytics Dashboard Styles */
.analytics-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    z-index: 1;
}

.analytics-dashboard {
    background: rgba(11, 20, 55, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.time-period {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
}

.facebook-card .metric-icon {
    background: rgba(24, 119, 242, 0.2);
    color: #1877f2;
}

.instagram-card .metric-icon {
    background: rgba(225, 48, 108, 0.2);
    color: #E1306C;
}

.twitter-card .metric-icon {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
}

.linkedin-card .metric-icon {
    background: rgba(10, 102, 194, 0.2);
    color: #0a66c2;
}

.metric-data {
    flex: 1;
}

.metric-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    text-align: center;
}

.metric-trend.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    text-align: center;
}

.metric-trend.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    text-align: center;
}

.metric-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.metric-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    opacity: 0.2;
    background: linear-gradient(to top right, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    transition: opacity 0.3s ease;
}

.metric-card:hover .metric-chart {
    opacity: 0.3;
}

.dashboard-summary {
    margin-top: 2rem;
}

.summary-card {
    background: var(--primary-gradient);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.summary-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
}

.summary-content {
    flex: 1;
}

.summary-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.summary-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
    text-align: justify;
}

.summary-content strong {
    color: #ffffff;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .analytics-hub {
        width: 95%;
    }
}

@media (max-width: 767.98px) {
    .visualization-container {
        height: auto;
        min-height: 500px;
        padding: 2rem 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metric-card {
        padding: 1.25rem;
    }

    .metric-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .summary-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Customer Reviews Section */
.reviews-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% -20%,
        rgba(59, 130, 246, 0.15),
        rgba(37, 99, 235, 0.1),
        transparent 70%
    );
}

.section-header {
    position: relative;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.reviews-section .section-title {
    color: var(--text-color-primary);
    font-size: 2.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center !important;
}

.reviews-section .section-subtitle {
    color: var(--text-color-body);
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Reviews Slider Container */
.reviews-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    margin: 0 auto;
    padding: 1rem;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
}

.reviews-slider:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Review Card Styles */
.review-card {
    flex: 0 0 calc((100% - 4rem) / 3);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    max-width: 450px;
    min-width: 320px;
}

.review-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(59, 130, 246, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-card:hover .review-background {
    opacity: 1;
}

.review-content {
    position: relative;
    z-index: 1;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.review-rating i {
    color: #FFD700;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.review-card:hover .review-rating i {
    transform: scale(1.1);
    animation: starPulse 1s ease infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.review-text {
    color: var(--text-color-body);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
    text-align: justify;
}

.review-card:hover .review-text {
    color: var(--text-color-primary);
}

.review-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.review-card:hover .stat {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
}

.stat-value {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: center;
}

.review-card:hover .stat-value {
    color: #FFFFFF;
}

.stat-label {
    color: var(--text-color-muted);
    font-size: 0.85rem;
    transition: color 0.3s ease;
    text-align: center;
}

.review-card:hover .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: auto;
}

.reviewer-image {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.review-card:hover .reviewer-image {
    transform: scale(1.05);
}

.reviewer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.review-card:hover .reviewer-image img {
    transform: scale(1.1);
}

.reviewer-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--background-color);
    transition: transform 0.3s ease;
}

.review-card:hover .reviewer-badge {
    transform: scale(1.1) rotate(15deg);
}

.reviewer-badge i {
    color: #FFFFFF;
    font-size: 0.6rem;
}

.reviewer-details {
    flex: 1;
}

.reviewer-details h4 {
    color: var(--text-color-primary);
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    transition: transform 0.3s ease;
    text-align: left;
}

.review-card:hover .reviewer-details h4 {
    transform: translateX(5px);
    color: var(--primary-color);
}

.reviewer-details p {
    color: var(--text-color-muted);
    font-size: 0.85rem;
    margin: 0;
    transition: transform 0.3s ease;
    text-align: justify;
}

.review-card:hover .reviewer-details p {
    transform: translateX(5px);
}

.review-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-muted);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.review-card:hover .review-icon {
    transform: translateY(-2px);
}

.review-card:hover .review-icon::before {
    opacity: 1;
}

.review-card:hover .review-icon i {
    color: #FFFFFF;
    transform: scale(1.1);
}

/* Auto-movement animation */
@keyframes slideLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.reviews-track.auto-sliding {
    animation: slideLoop 30s linear infinite;
}

.reviews-track.auto-sliding:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .review-card {
        flex: 0 0 calc((100% - 4rem) / 3);
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .review-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media (max-width: 767.98px) {
    .review-card {
        flex: 0 0 100%;
        min-width: 280px;
    }
}

/* Reviews Controls */
.reviews-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    padding: 0 1rem;
}

.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 20;
    opacity: 0.7;
    backdrop-filter: blur(8px);
}

.review-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    opacity: 1;
}

.review-arrow.prev {
    left: 2rem;
}

.review-arrow.next {
    right: 2rem;
}

/* Reviews Navigation Dots */
.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.nav-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-dot:hover::before,
.nav-dot.active::before {
    opacity: 1;
}

.nav-dot:hover {
    transform: scale(1.2);
}

.nav-dot.active {
    transform: scale(1.3);
}

/* Responsive Styles */
@media (min-width: 1200px) {
    .review-card {
        flex: 0 0 calc((100% - 4rem) / 3);
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .review-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media (max-width: 767.98px) {
    .review-card {
        flex: 0 0 100%;
        min-width: 280px;
    }
}

/* Background Shapes */
.reviews-shape-1,
.reviews-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.reviews-shape-1 {
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.reviews-shape-2 {
    background: var(--accent-color);
    bottom: -100px;
    right: -100px;
}

/* Touch Slider Styles */
.reviews-slider.dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.reviews-slider.dragging .review-card {
    pointer-events: none;
}

/* Slider Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reviews-track {
    animation: slideIn 0.5s ease-out;
}

/* Enhanced Navigation Dots */
.nav-dot::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--background-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-dot:not(.active):hover::after {
    opacity: 1;
}

/* Creative Analytics Section */
.creative-analytics-section {
    position: relative;
    background: var(--section-gradient-1);
    overflow: hidden;
    padding: 6rem 0;
}

.creative-analytics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(59, 130, 246, 0.1),
        transparent 70%);
    animation: pulseGlow 8s ease infinite;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--primary-gradient);
    border-color: transparent;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: rotate(360deg);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-color-primary);
    transition: color 0.3s ease;
    text-align: center;
}

.stat-card:hover .stat-content h3 {
    color: #FFFFFF;
}

.stat-content p {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-align: justify;
}

.stat-card:hover .stat-content p {
    color: rgba(255, 255, 255, 0.9);
}

.stat-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #10B981;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    text-align: center;
}

.stat-card:hover .stat-indicator {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    }

    .stat-content p {
        font-size: 0.85rem;
    }

    .stat-indicator {
        font-size: 0.8rem;
    }
}

/* Creative Dashboard */
.creative-dashboard {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.time-filter {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color-muted);
    text-align: center;
}

.performance-grid {
    display: grid;
    gap: 1.5rem;
}

.performance-card {
    border-radius: 16px;
    overflow: hidden;
    min-height: 580px;
}

.performance-card:hover {
    transform: translateY(-5px);
}

.creative-preview {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.creative-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-overlay i {
    font-size: 3rem;
    color: #FFFFFF;
}

.performance-card:hover .preview-overlay {
    opacity: 1;
}

.performance-stats {
    padding: 1.5rem;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 1s ease;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--primary-gradient);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    right: -20px;
}

.floating-card:nth-child(2) {
    bottom: 20%;
    left: -20px;
    animation-delay: 2s;
}

/* Comparison Section */
.comparison-section {
    position: relative;
    background: var(--section-gradient-2);
    overflow: hidden;
    padding: 6rem 0;
}

.comparison-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    background: var(--primary-gradient);
    border-color: transparent;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-color-primary);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.feature-content p {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 0.9rem;
    text-align: justify;
}

.feature-arrow {
    color: var(--text-color-muted);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-arrow {
    transform: translateX(5px);
    color: #FFFFFF;
}

/* Metrics Dashboard */
.metrics-dashboard {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    background: transparent;
    border: none;
    color: var(--text-color-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.tab.active {
    background: var(--primary-gradient);
    color: #FFFFFF;
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.date-range {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color-muted);
    text-align: center;
}

.metrics-grid {
    display: grid;
    gap: 1.5rem;
}

.metric-comparison {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.channel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 120px;
    text-align: left;
}

.channel i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.comparison-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.bar-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 1s ease;
}

.comparison-value {
    width: 80px;
    text-align: right;
    color: var(--primary-color);
    font-weight: 500;
}

/* Floating Insights */
.floating-insights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.insight-card {
    position: absolute;
    background: var(--primary-gradient);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    max-width: 250px;
    text-align: center;
}

.insight-card:nth-child(1) {
    top: 10%;
    right: -20px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

    .floating-card, .insight-card {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .dashboard-tabs {
        flex-wrap: wrap;
    }

    .tab {
        width: 100%;
        text-align: center;
    }

    .metric-comparison {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .channel {
        width: 100%;
        text-align: left;
    }

    .comparison-value {
        width: 100%;
        text-align: left;
    }
}

/* Creative Preview Styles */
.creative-preview {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

/* Performance Card */
.performance-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.performance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Video and Image Specific */
.video-preview .creative-video,
.image-preview .creative-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.performance-card:hover .creative-video,
.performance-card:hover .creative-image {
    transform: scale(1.05);
}

/* Creative Overlay */
.creative-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.performance-card:hover .creative-overlay {
    opacity: 1;
}

.creative-info {
    flex: 1;
}

.creative-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(4px);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    text-align: center;
}

.performance-card:hover .creative-type {
    transform: translateY(0);
    opacity: 1;
}

.creative-info h4 {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
    text-align: center;
}

.performance-card:hover .creative-info h4 {
    transform: translateY(0);
    opacity: 1;
}

.creative-play,
.creative-zoom {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.2rem;
    cursor: pointer;
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.performance-card:hover .creative-play,
.performance-card:hover .creative-zoom {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.creative-play:hover,
.creative-zoom:hover {
    transform: translateY(0) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .creative-preview {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .creative-preview {
        height: 300px;
    }
    
    .creative-overlay {
        padding: 1rem;
    }
    
    .creative-info h4 {
        font-size: 1.1rem;
    }
    
    .creative-play,
    .creative-zoom {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Measurement Approach Section */
.measurement-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--surface-color) 100%);
    padding: 120px 0;
}

.measurement-section .section-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    text-align: center;
}

.measurement-section .section-description {
    font-size: 1.2rem;
    color: var(--text-color-body);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
}

.approach-card {
    background: rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 100%;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.2),
        0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(30, 58, 138, 0.4);
}

.approach-card .card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 24px -8px rgba(59, 130, 246, 0.5);
}

.approach-card .card-icon i {
    font-size: 1.75rem;
    color: white;
    transition: all 0.5s ease;
}

.approach-card:hover .card-icon i {
    transform: scale(1.1);
}

.approach-card h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--text-color-primary);
    position: relative;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    text-align: center;
}

.approach-card:hover h3 {
    color: var(--primary-light);
    transform: translateX(8px);
}

.approach-card p {
    color: var(--text-color-body);
    line-height: 1.75;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: justify;
}

.approach-card:hover p {
    color: var(--text-color-primary);
}

.approach-card .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    padding: 0.5rem 0;
}

.approach-card .read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: width 0.4s ease;
}

.approach-card:hover .read-more::after {
    width: 100%;
}

.approach-card .read-more i {
    margin-left: 0.75rem;
    transition: transform 0.4s ease;
}

.approach-card:hover .read-more {
    color: var(--accent-color);
}

.approach-card:hover .read-more i {
    transform: translateX(8px);
}

.approach-card .card-shape {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(96, 165, 250, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-card:hover .card-shape {
    transform: scale(1.8) rotate(45deg);
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(96, 165, 250, 0.15) 100%);
}

.section-shape-1,
.section-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.1;
    pointer-events: none;
}

.section-shape-1 {
    background: var(--primary-color);
    top: -200px;
    left: -200px;
    animation: shapeFloat 20s ease-in-out infinite;
}

.section-shape-2 {
    background: var(--primary-light);
    bottom: -200px;
    right: -200px;
    animation: shapeFloat 25s ease-in-out infinite reverse;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(40px, -40px);
    }
}

@media (max-width: 768px) {
    .measurement-section {
        padding: 80px 0;
    }

    .measurement-section .section-title {
        font-size: 2.5rem;
    }

    .approach-card {
        padding: 2.5rem;
        margin-bottom: 2rem;
    }
}

/* Enhanced Card Entrance Animation */
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.approach-card {
    animation: cardEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.approach-card:nth-child(1) {
    animation-delay: 0.2s;
}

.approach-card:nth-child(2) {
    animation-delay: 0.4s;
}

.approach-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Alternative Reviews Section */
.alt-reviews-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    background: linear-gradient(180deg, 
        var(--surface-color) 0%,
        var(--background-color) 100%
    );
}

.alt-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% -20%,
        rgba(96, 165, 250, 0.15),
        rgba(59, 130, 246, 0.1),
        transparent 70%
    );
}

.alt-reviews-section .section-badge.alt-badge {
    background: linear-gradient(135deg,
        rgba(96, 165, 250, 0.1) 0%,
        rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: var(--primary-light);
    text-align: center;
}

.alt-reviews-section .section-title {
    background: linear-gradient(135deg, var(--primary-light) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.alt-review-card {
    background: rgba(96, 165, 250, 0.05);
    border: 1px solid rgba(96, 165, 250, 0.1);
}

.alt-review-card:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.2);
    transform: translateY(-10px);
}

.alt-review-card .review-background {
    background: radial-gradient(
        circle at 50% 0%,
        rgba(96, 165, 250, 0.1),
        transparent 70%
    );
}

.alt-review-card .stat {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.1);
}

.alt-review-card:hover .stat {
    background: linear-gradient(135deg,
        rgba(96, 165, 250, 0.2) 0%,
        rgba(59, 130, 246, 0.2) 100%);
    border-color: transparent;
}

.alt-review-card .stat-value {
    color: var(--primary-light);
}

.alt-review-card:hover .reviewer-details h4 {
    color: var(--primary-light);
}

.alt-review-card .review-icon {
    background: rgba(96, 165, 250, 0.1);
}

.alt-review-card:hover .review-icon::before {
    background: linear-gradient(135deg,
        var(--primary-light) 0%,
        var(--accent-color) 100%);
}

.alt-shape-1,
.alt-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.alt-shape-1 {
    background: var(--primary-light);
    top: -100px;
    right: -100px;
    animation: shapeFloat 20s ease-in-out infinite;
}

.alt-shape-2 {
    background: var(--accent-color);
    bottom: -100px;
    left: -100px;
    animation: shapeFloat 25s ease-in-out infinite reverse;
}

/* Responsive styles for alternative reviews */
@media (max-width: 991.98px) {
    .alt-reviews-section {
        padding: 6rem 0;
    }
}

@media (max-width: 767.98px) {
    .alt-reviews-section {
        padding: 4rem 0;
    }
}

/* Marketing Tool Section */
.marketing-tool-section {
    position: relative;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--surface-color) 100%);
    padding: 120px 0;
    overflow: hidden;
}

.marketing-tool-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(59, 130, 246, 0.1),
        transparent 70%
    );
    animation: pulseGlow 8s ease infinite;
}

.marketing-card {
    background: rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.marketing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(59, 130, 246, 0.1);
}

.marketing-card .card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.marketing-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.marketing-card:hover .card-image img {
    transform: scale(1.1);
}

.marketing-card .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 20, 55, 0.2),
        rgba(30, 58, 138, 0.8)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marketing-card:hover .image-overlay {
    opacity: 1;
}

.marketing-card .card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.marketing-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--text-color-primary);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.marketing-card:hover h3 {
    color: var(--primary-light);
    transform: translateX(8px);
}

.marketing-card p {
    color: var(--text-color-body);
    line-height: 1.75;
    margin-bottom: 2rem;
    flex: 1;
    text-align: justify;
}

.marketing-card .card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marketing-card .stat {
    display: flex;
    flex-direction: column;
}

.marketing-card .stat-value {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
    text-align: center;
}

.marketing-card:hover .stat-value {
    transform: scale(1.1);
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-color-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.marketing-card .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.marketing-card .stat-icon i {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: all 0.4s ease;
}

.marketing-card:hover .stat-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-5px) rotate(8deg);
}

.marketing-card:hover .stat-icon i {
    transform: scale(1.1);
    color: #60a5fa;
}

.marketing-card .card-shape {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(96, 165, 250, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.marketing-card:hover .card-shape {
    transform: scale(1.8) rotate(45deg);
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(96, 165, 250, 0.15) 100%);
}

@media (max-width: 991.98px) {
    .marketing-tool-section {
        padding: 80px 0;
    }

    .marketing-card {
        margin-bottom: 2rem;
    }

    .marketing-card .card-content {
        padding: 2rem;
    }

    .marketing-card h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .marketing-tool-section {
        padding: 60px 0;
    }

    .marketing-card .card-image {
        height: 200px;
    }
}



/* CHART */
#chart-container {
    width: 100%;
    min-width: 300px;
    aspect-ratio: 1 / 1;
    position: relative;
    background-color: var(--light-navy-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
#grid-area {
    position: absolute;
    top: var(--axis-margin-top);
    left: var(--axis-margin-left);
    width: calc(100% - var(--axis-margin-left) - var(--axis-margin-right));
    height: calc(100% - var(--axis-margin-top) - var(--axis-margin-bottom));
}
#grid-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin-top: -15px;
}
.y-axis-label, .x-axis-label {
    position: absolute; text-align: center; color: var(--light-slate);
    font-size: clamp(1rem, 3vw, 1.3rem); user-select: none; font-weight: 600;
    transition: opacity 0.4s ease-in-out;
}
.y-axis-label { writing-mode: vertical-rl; transform: rotate(180deg); }
.axis-line {
    position: absolute;
    background-color: var(--slate);
    z-index: 10;
}
.axis-line::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.y-axis-line {
    left: calc(var(--axis-margin-left) - 15px);
    bottom: calc(var(--axis-margin-bottom) + 15px);
    width: 1.5px;
    height: calc(100% - var(--axis-margin-top) - var(--axis-margin-bottom));
}
.y-axis-line::before {
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 10px 5px;
    border-color: transparent transparent var(--slate) transparent;
}
.x-axis-line {
    bottom: calc(var(--axis-margin-bottom) - 5px);
    left: calc(var(--axis-margin-left) + 5px);
    height: 1.5px;
    width: calc(100% - var(--axis-margin-left) - var(--axis-margin-right));
    transform: rotate(180deg);
}
.x-axis-line::before {
     left: -1px;
     top: 50%;
     transform: translateY(-50%);
     border-width: 5px 10px 5px 0;
     border-color: transparent var(--slate) transparent transparent;
}
.point {
    width: clamp(80px, 10vw, 110px);
    height: clamp(100px, 12vw, 130px);
    border-radius: 6px;
    border: 2px solid var(--slate);
    box-shadow: 0 3px 6px rgba(0,0,0,0.5);
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
    background-color: var(--dark-slate);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                bottom 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.2s ease;
}
.point-image {
    height: 60%;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.point-text {
    height: 40%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 4px;
    box-sizing: border-box;
    font-size: 0.8rem !important;
}

.metric-line {
     width: 100%;
     text-align: center;
}
.metric-label {
    font-weight: 300;
    font-size: 0.6rem !important;
    color: var(--slate);
}

.metric-value {
    font-weight: 600;
    font-size: 0.7rem !important;
    color: var(--light-slate);
}
.point:hover {
    transform: translate(-50%, -50%) scale(1.15); /* Slightly reduced scale for better view */
    z-index: 15; /* Ensure hovered point is above others */
}
/* --- Tooltip CSS Fix --- */
#chart-tooltip {
    visibility: hidden; /* Hide by default */
    position: absolute; /* Position relative to the grid-area */
    background-color: var(--mid-slate);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 20; /* Highest z-index */
    text-align: left;
    line-height: 1.4;
    pointer-events: none; /* Tooltip should not be interactive */
}

#chart-tooltip.active {
    visibility: visible; /* Show when active */
    opacity: 1;
}

.tooltip-title {
    font-weight: bold;
    color: var(--light-slate);
}